0043a8b6ec15e866a14db38c273df8c7c49ff16b
[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.39.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.39.2'
595 PACKAGE_STRING='libxml++ 2.39.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.39.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.39.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.39.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.39.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 macros "$srcdir"/macros; 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 macros \"$srcdir\"/macros" "$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.39.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++-2.6'
3123
3124 LIBXMLXX_VERSION='2.39.2'
3125
3126 LIBXMLXX_API_VERSION='2.6'
3127
3128 LIBXMLXX_MAJOR_VERSION=2
3129
3130
3131 $as_echo "#define LIBXMLXX_MAJOR_VERSION 2" >>confdefs.h
3132
3133 LIBXMLXX_MINOR_VERSION=39
3134
3135
3136 $as_echo "#define LIBXMLXX_MINOR_VERSION 39" >>confdefs.h
3137
3138 LIBXMLXX_MICRO_VERSION=2
3139
3140
3141 $as_echo "#define LIBXMLXX_MICRO_VERSION 2" >>confdefs.h
3142
3143
3144
3145 # Copy the mm-common .pl scripts into docs/,
3146 # 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 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3159 LIBXMLXX_SO_VERSION=2:7:0
3160
3161
3162 ac_ext=cpp
3163 ac_cpp='$CXXCPP $CPPFLAGS'
3164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3167 if test -z "$CXX"; then
3168   if test -n "$CCC"; then
3169     CXX=$CCC
3170   else
3171     if test -n "$ac_tool_prefix"; then
3172   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3173   do
3174     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if ${ac_cv_prog_CXX+:} false; then :
3179   $as_echo_n "(cached) " >&6
3180 else
3181   if test -n "$CXX"; then
3182   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3183 else
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3186 do
3187   IFS=$as_save_IFS
3188   test -z "$as_dir" && as_dir=.
3189     for ac_exec_ext in '' $ac_executable_extensions; do
3190   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3191     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193     break 2
3194   fi
3195 done
3196   done
3197 IFS=$as_save_IFS
3198
3199 fi
3200 fi
3201 CXX=$ac_cv_prog_CXX
3202 if test -n "$CXX"; then
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3204 $as_echo "$CXX" >&6; }
3205 else
3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3208 fi
3209
3210
3211     test -n "$CXX" && break
3212   done
3213 fi
3214 if test -z "$CXX"; then
3215   ac_ct_CXX=$CXX
3216   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3217 do
3218   # Extract the first word of "$ac_prog", so it can be a program name with args.
3219 set dummy $ac_prog; ac_word=$2
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3223   $as_echo_n "(cached) " >&6
3224 else
3225   if test -n "$ac_ct_CXX"; then
3226   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3227 else
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 for as_dir in $PATH
3230 do
3231   IFS=$as_save_IFS
3232   test -z "$as_dir" && as_dir=.
3233     for ac_exec_ext in '' $ac_executable_extensions; do
3234   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3235     ac_cv_prog_ac_ct_CXX="$ac_prog"
3236     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237     break 2
3238   fi
3239 done
3240   done
3241 IFS=$as_save_IFS
3242
3243 fi
3244 fi
3245 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3246 if test -n "$ac_ct_CXX"; then
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3248 $as_echo "$ac_ct_CXX" >&6; }
3249 else
3250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3252 fi
3253
3254
3255   test -n "$ac_ct_CXX" && break
3256 done
3257
3258   if test "x$ac_ct_CXX" = x; then
3259     CXX="g++"
3260   else
3261     case $cross_compiling:$ac_tool_warned in
3262 yes:)
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned=yes ;;
3266 esac
3267     CXX=$ac_ct_CXX
3268   fi
3269 fi
3270
3271   fi
3272 fi
3273 # Provide some information about the compiler.
3274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3275 set X $ac_compile
3276 ac_compiler=$2
3277 for ac_option in --version -v -V -qversion; do
3278   { { ac_try="$ac_compiler $ac_option >&5"
3279 case "(($ac_try" in
3280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281   *) ac_try_echo=$ac_try;;
3282 esac
3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284 $as_echo "$ac_try_echo"; } >&5
3285   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3286   ac_status=$?
3287   if test -s conftest.err; then
3288     sed '10a\
3289 ... rest of stderr output deleted ...
3290          10q' conftest.err >conftest.er1
3291     cat conftest.er1 >&5
3292   fi
3293   rm -f conftest.er1 conftest.err
3294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295   test $ac_status = 0; }
3296 done
3297
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h.  */
3300
3301 int
3302 main ()
3303 {
3304
3305   ;
3306   return 0;
3307 }
3308 _ACEOF
3309 ac_clean_files_save=$ac_clean_files
3310 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3311 # Try to create an executable without -o first, disregard a.out.
3312 # It will help us diagnose broken compilers, and finding out an intuition
3313 # of exeext.
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3315 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3316 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3317
3318 # The possible output files:
3319 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3320
3321 ac_rmfiles=
3322 for ac_file in $ac_files
3323 do
3324   case $ac_file in
3325     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3326     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3327   esac
3328 done
3329 rm -f $ac_rmfiles
3330
3331 if { { ac_try="$ac_link_default"
3332 case "(($ac_try" in
3333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334   *) ac_try_echo=$ac_try;;
3335 esac
3336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3337 $as_echo "$ac_try_echo"; } >&5
3338   (eval "$ac_link_default") 2>&5
3339   ac_status=$?
3340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341   test $ac_status = 0; }; then :
3342   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3343 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3344 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3345 # so that the user can short-circuit this test for compilers unknown to
3346 # Autoconf.
3347 for ac_file in $ac_files ''
3348 do
3349   test -f "$ac_file" || continue
3350   case $ac_file in
3351     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3352         ;;
3353     [ab].out )
3354         # We found the default executable, but exeext='' is most
3355         # certainly right.
3356         break;;
3357     *.* )
3358         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3359         then :; else
3360            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3361         fi
3362         # We set ac_cv_exeext here because the later test for it is not
3363         # safe: cross compilers may not add the suffix if given an `-o'
3364         # argument, so we may need to know it at that point already.
3365         # Even if this section looks crufty: it has the advantage of
3366         # actually working.
3367         break;;
3368     * )
3369         break;;
3370   esac
3371 done
3372 test "$ac_cv_exeext" = no && ac_cv_exeext=
3373
3374 else
3375   ac_file=''
3376 fi
3377 if test -z "$ac_file"; then :
3378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3379 $as_echo "no" >&6; }
3380 $as_echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3382
3383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 as_fn_error 77 "C++ compiler cannot create executables
3386 See \`config.log' for more details" "$LINENO" 5; }
3387 else
3388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3389 $as_echo "yes" >&6; }
3390 fi
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3392 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3394 $as_echo "$ac_file" >&6; }
3395 ac_exeext=$ac_cv_exeext
3396
3397 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3398 ac_clean_files=$ac_clean_files_save
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3400 $as_echo_n "checking for suffix of executables... " >&6; }
3401 if { { ac_try="$ac_link"
3402 case "(($ac_try" in
3403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404   *) ac_try_echo=$ac_try;;
3405 esac
3406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3407 $as_echo "$ac_try_echo"; } >&5
3408   (eval "$ac_link") 2>&5
3409   ac_status=$?
3410   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3411   test $ac_status = 0; }; then :
3412   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3413 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3414 # work properly (i.e., refer to `conftest.exe'), while it won't with
3415 # `rm'.
3416 for ac_file in conftest.exe conftest conftest.*; do
3417   test -f "$ac_file" || continue
3418   case $ac_file in
3419     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3420     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3421           break;;
3422     * ) break;;
3423   esac
3424 done
3425 else
3426   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3429 See \`config.log' for more details" "$LINENO" 5; }
3430 fi
3431 rm -f conftest conftest$ac_cv_exeext
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3433 $as_echo "$ac_cv_exeext" >&6; }
3434
3435 rm -f conftest.$ac_ext
3436 EXEEXT=$ac_cv_exeext
3437 ac_exeext=$EXEEXT
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h.  */
3440 #include <stdio.h>
3441 int
3442 main ()
3443 {
3444 FILE *f = fopen ("conftest.out", "w");
3445  return ferror (f) || fclose (f) != 0;
3446
3447   ;
3448   return 0;
3449 }
3450 _ACEOF
3451 ac_clean_files="$ac_clean_files conftest.out"
3452 # Check that the compiler produces executables we can run.  If not, either
3453 # the compiler is broken, or we cross compile.
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3455 $as_echo_n "checking whether we are cross compiling... " >&6; }
3456 if test "$cross_compiling" != yes; then
3457   { { ac_try="$ac_link"
3458 case "(($ac_try" in
3459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460   *) ac_try_echo=$ac_try;;
3461 esac
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464   (eval "$ac_link") 2>&5
3465   ac_status=$?
3466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3467   test $ac_status = 0; }
3468   if { ac_try='./conftest$ac_cv_exeext'
3469   { { case "(($ac_try" in
3470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471   *) ac_try_echo=$ac_try;;
3472 esac
3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3474 $as_echo "$ac_try_echo"; } >&5
3475   (eval "$ac_try") 2>&5
3476   ac_status=$?
3477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3478   test $ac_status = 0; }; }; then
3479     cross_compiling=no
3480   else
3481     if test "$cross_compiling" = maybe; then
3482         cross_compiling=yes
3483     else
3484         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 as_fn_error $? "cannot run C++ compiled programs.
3487 If you meant to cross compile, use \`--host'.
3488 See \`config.log' for more details" "$LINENO" 5; }
3489     fi
3490   fi
3491 fi
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3493 $as_echo "$cross_compiling" >&6; }
3494
3495 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3496 ac_clean_files=$ac_clean_files_save
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3498 $as_echo_n "checking for suffix of object files... " >&6; }
3499 if ${ac_cv_objext+:} false; then :
3500   $as_echo_n "(cached) " >&6
3501 else
3502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h.  */
3504
3505 int
3506 main ()
3507 {
3508
3509   ;
3510   return 0;
3511 }
3512 _ACEOF
3513 rm -f conftest.o conftest.obj
3514 if { { ac_try="$ac_compile"
3515 case "(($ac_try" in
3516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517   *) ac_try_echo=$ac_try;;
3518 esac
3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3520 $as_echo "$ac_try_echo"; } >&5
3521   (eval "$ac_compile") 2>&5
3522   ac_status=$?
3523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524   test $ac_status = 0; }; then :
3525   for ac_file in conftest.o conftest.obj conftest.*; do
3526   test -f "$ac_file" || continue;
3527   case $ac_file in
3528     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3529     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3530        break;;
3531   esac
3532 done
3533 else
3534   $as_echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3536
3537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3539 as_fn_error $? "cannot compute suffix of object files: cannot compile
3540 See \`config.log' for more details" "$LINENO" 5; }
3541 fi
3542 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3543 fi
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3545 $as_echo "$ac_cv_objext" >&6; }
3546 OBJEXT=$ac_cv_objext
3547 ac_objext=$OBJEXT
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3549 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3550 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3551   $as_echo_n "(cached) " >&6
3552 else
3553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h.  */
3555
3556 int
3557 main ()
3558 {
3559 #ifndef __GNUC__
3560        choke me
3561 #endif
3562
3563   ;
3564   return 0;
3565 }
3566 _ACEOF
3567 if ac_fn_cxx_try_compile "$LINENO"; then :
3568   ac_compiler_gnu=yes
3569 else
3570   ac_compiler_gnu=no
3571 fi
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3574
3575 fi
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3577 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3578 if test $ac_compiler_gnu = yes; then
3579   GXX=yes
3580 else
3581   GXX=
3582 fi
3583 ac_test_CXXFLAGS=${CXXFLAGS+set}
3584 ac_save_CXXFLAGS=$CXXFLAGS
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3586 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3587 if ${ac_cv_prog_cxx_g+:} false; then :
3588   $as_echo_n "(cached) " >&6
3589 else
3590   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3591    ac_cxx_werror_flag=yes
3592    ac_cv_prog_cxx_g=no
3593    CXXFLAGS="-g"
3594    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h.  */
3596
3597 int
3598 main ()
3599 {
3600
3601   ;
3602   return 0;
3603 }
3604 _ACEOF
3605 if ac_fn_cxx_try_compile "$LINENO"; then :
3606   ac_cv_prog_cxx_g=yes
3607 else
3608   CXXFLAGS=""
3609       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h.  */
3611
3612 int
3613 main ()
3614 {
3615
3616   ;
3617   return 0;
3618 }
3619 _ACEOF
3620 if ac_fn_cxx_try_compile "$LINENO"; then :
3621
3622 else
3623   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3624          CXXFLAGS="-g"
3625          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h.  */
3627
3628 int
3629 main ()
3630 {
3631
3632   ;
3633   return 0;
3634 }
3635 _ACEOF
3636 if ac_fn_cxx_try_compile "$LINENO"; then :
3637   ac_cv_prog_cxx_g=yes
3638 fi
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3645 fi
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3647 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3648 if test "$ac_test_CXXFLAGS" = set; then
3649   CXXFLAGS=$ac_save_CXXFLAGS
3650 elif test $ac_cv_prog_cxx_g = yes; then
3651   if test "$GXX" = yes; then
3652     CXXFLAGS="-g -O2"
3653   else
3654     CXXFLAGS="-g"
3655   fi
3656 else
3657   if test "$GXX" = yes; then
3658     CXXFLAGS="-O2"
3659   else
3660     CXXFLAGS=
3661   fi
3662 fi
3663 ac_ext=c
3664 ac_cpp='$CPP $CPPFLAGS'
3665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3668 DEPDIR="${am__leading_dot}deps"
3669
3670 ac_config_commands="$ac_config_commands depfiles"
3671
3672
3673 am_make=${MAKE-make}
3674 cat > confinc << 'END'
3675 am__doit:
3676         @echo this is the am__doit target
3677 .PHONY: am__doit
3678 END
3679 # If we don't find an include directive, just comment out the code.
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3681 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3682 am__include="#"
3683 am__quote=
3684 _am_result=none
3685 # First try GNU make style include.
3686 echo "include confinc" > confmf
3687 # Ignore all kinds of additional output from 'make'.
3688 case `$am_make -s -f confmf 2> /dev/null` in #(
3689 *the\ am__doit\ target*)
3690   am__include=include
3691   am__quote=
3692   _am_result=GNU
3693   ;;
3694 esac
3695 # Now try BSD make style include.
3696 if test "$am__include" = "#"; then
3697    echo '.include "confinc"' > confmf
3698    case `$am_make -s -f confmf 2> /dev/null` in #(
3699    *the\ am__doit\ target*)
3700      am__include=.include
3701      am__quote="\""
3702      _am_result=BSD
3703      ;;
3704    esac
3705 fi
3706
3707
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3709 $as_echo "$_am_result" >&6; }
3710 rm -f confinc confmf
3711
3712 # Check whether --enable-dependency-tracking was given.
3713 if test "${enable_dependency_tracking+set}" = set; then :
3714   enableval=$enable_dependency_tracking;
3715 fi
3716
3717 if test "x$enable_dependency_tracking" != xno; then
3718   am_depcomp="$ac_aux_dir/depcomp"
3719   AMDEPBACKSLASH='\'
3720   am__nodep='_no'
3721 fi
3722  if test "x$enable_dependency_tracking" != xno; then
3723   AMDEP_TRUE=
3724   AMDEP_FALSE='#'
3725 else
3726   AMDEP_TRUE='#'
3727   AMDEP_FALSE=
3728 fi
3729
3730
3731
3732 depcc="$CXX"  am_compiler_list=
3733
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3735 $as_echo_n "checking dependency style of $depcc... " >&6; }
3736 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3737   $as_echo_n "(cached) " >&6
3738 else
3739   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3740   # We make a subdir and do the tests there.  Otherwise we can end up
3741   # making bogus files that we don't know about and never remove.  For
3742   # instance it was reported that on HP-UX the gcc test will end up
3743   # making a dummy file named 'D' -- because '-MD' means "put the output
3744   # in D".
3745   rm -rf conftest.dir
3746   mkdir conftest.dir
3747   # Copy depcomp to subdir because otherwise we won't find it if we're
3748   # using a relative directory.
3749   cp "$am_depcomp" conftest.dir
3750   cd conftest.dir
3751   # We will build objects and dependencies in a subdirectory because
3752   # it helps to detect inapplicable dependency modes.  For instance
3753   # both Tru64's cc and ICC support -MD to output dependencies as a
3754   # side effect of compilation, but ICC will put the dependencies in
3755   # the current directory while Tru64 will put them in the object
3756   # directory.
3757   mkdir sub
3758
3759   am_cv_CXX_dependencies_compiler_type=none
3760   if test "$am_compiler_list" = ""; then
3761      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3762   fi
3763   am__universal=false
3764   case " $depcc " in #(
3765      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3766      esac
3767
3768   for depmode in $am_compiler_list; do
3769     # Setup a source with many dependencies, because some compilers
3770     # like to wrap large dependency lists on column 80 (with \), and
3771     # we should not choose a depcomp mode which is confused by this.
3772     #
3773     # We need to recreate these files for each test, as the compiler may
3774     # overwrite some of them when testing with obscure command lines.
3775     # This happens at least with the AIX C compiler.
3776     : > sub/conftest.c
3777     for i in 1 2 3 4 5 6; do
3778       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3779       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3780       # Solaris 10 /bin/sh.
3781       echo '/* dummy */' > sub/conftst$i.h
3782     done
3783     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3784
3785     # We check with '-c' and '-o' for the sake of the "dashmstdout"
3786     # mode.  It turns out that the SunPro C++ compiler does not properly
3787     # handle '-M -o', and we need to detect this.  Also, some Intel
3788     # versions had trouble with output in subdirs.
3789     am__obj=sub/conftest.${OBJEXT-o}
3790     am__minus_obj="-o $am__obj"
3791     case $depmode in
3792     gcc)
3793       # This depmode causes a compiler race in universal mode.
3794       test "$am__universal" = false || continue
3795       ;;
3796     nosideeffect)
3797       # After this tag, mechanisms are not by side-effect, so they'll
3798       # only be used when explicitly requested.
3799       if test "x$enable_dependency_tracking" = xyes; then
3800         continue
3801       else
3802         break
3803       fi
3804       ;;
3805     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3806       # This compiler won't grok '-c -o', but also, the minuso test has
3807       # not run yet.  These depmodes are late enough in the game, and
3808       # so weak that their functioning should not be impacted.
3809       am__obj=conftest.${OBJEXT-o}
3810       am__minus_obj=
3811       ;;
3812     none) break ;;
3813     esac
3814     if depmode=$depmode \
3815        source=sub/conftest.c object=$am__obj \
3816        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3817        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3818          >/dev/null 2>conftest.err &&
3819        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3820        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3821        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3822        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3823       # icc doesn't choke on unknown options, it will just issue warnings
3824       # or remarks (even with -Werror).  So we grep stderr for any message
3825       # that says an option was ignored or not supported.
3826       # When given -MP, icc 7.0 and 7.1 complain thusly:
3827       #   icc: Command line warning: ignoring option '-M'; no argument required
3828       # The diagnosis changed in icc 8.0:
3829       #   icc: Command line remark: option '-MP' not supported
3830       if (grep 'ignoring option' conftest.err ||
3831           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3832         am_cv_CXX_dependencies_compiler_type=$depmode
3833         break
3834       fi
3835     fi
3836   done
3837
3838   cd ..
3839   rm -rf conftest.dir
3840 else
3841   am_cv_CXX_dependencies_compiler_type=none
3842 fi
3843
3844 fi
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3846 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3847 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3848
3849  if
3850   test "x$enable_dependency_tracking" != xno \
3851   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3852   am__fastdepCXX_TRUE=
3853   am__fastdepCXX_FALSE='#'
3854 else
3855   am__fastdepCXX_TRUE='#'
3856   am__fastdepCXX_FALSE=
3857 fi
3858
3859
3860
3861     ax_cxx_compile_cxx11_required=true
3862   ac_ext=cpp
3863 ac_cpp='$CXXCPP $CPPFLAGS'
3864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3867   ac_success=no
3868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
3869 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
3870 if ${ax_cv_cxx_compile_cxx11+:} false; then :
3871   $as_echo_n "(cached) " >&6
3872 else
3873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h.  */
3875
3876   template <typename T>
3877     struct check
3878     {
3879       static_assert(sizeof(int) <= sizeof(T), "not big enough");
3880     };
3881
3882     struct Base {
3883     virtual void f() {}
3884     };
3885     struct Child : public Base {
3886     virtual void f() override {}
3887     };
3888
3889     typedef check<check<bool>> right_angle_brackets;
3890
3891     int a;
3892     decltype(a) b;
3893
3894     typedef check<int> check_type;
3895     check_type c;
3896     check_type&& cr = static_cast<check_type&&>(c);
3897
3898     auto d = a;
3899     auto l = [](){};
3900     // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3901     struct use_l { use_l() { l(); } };
3902
3903     // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3904     // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3905     namespace test_template_alias_sfinae {
3906         struct foo {};
3907
3908         template<typename T>
3909         using member = typename T::member_type;
3910
3911         template<typename T>
3912         void func(...) {}
3913
3914         template<typename T>
3915         void func(member<T>*) {}
3916
3917         void test();
3918
3919         void test() {
3920             func<foo>(0);
3921         }
3922     }
3923
3924 _ACEOF
3925 if ac_fn_cxx_try_compile "$LINENO"; then :
3926   ax_cv_cxx_compile_cxx11=yes
3927 else
3928   ax_cv_cxx_compile_cxx11=no
3929 fi
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3931 fi
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
3933 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
3934   if test x$ax_cv_cxx_compile_cxx11 = xyes; then
3935     ac_success=yes
3936   fi
3937
3938
3939
3940     if test x$ac_success = xno; then
3941             for switch in -std=c++11 -std=c++0x +std=c++11; do
3942       cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
3943       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
3944 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
3945 if eval \${$cachevar+:} false; then :
3946   $as_echo_n "(cached) " >&6
3947 else
3948   ac_save_CXXFLAGS="$CXXFLAGS"
3949          CXXFLAGS="$CXXFLAGS $switch"
3950          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h.  */
3952
3953   template <typename T>
3954     struct check
3955     {
3956       static_assert(sizeof(int) <= sizeof(T), "not big enough");
3957     };
3958
3959     struct Base {
3960     virtual void f() {}
3961     };
3962     struct Child : public Base {
3963     virtual void f() override {}
3964     };
3965
3966     typedef check<check<bool>> right_angle_brackets;
3967
3968     int a;
3969     decltype(a) b;
3970
3971     typedef check<int> check_type;
3972     check_type c;
3973     check_type&& cr = static_cast<check_type&&>(c);
3974
3975     auto d = a;
3976     auto l = [](){};
3977     // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3978     struct use_l { use_l() { l(); } };
3979
3980     // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3981     // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3982     namespace test_template_alias_sfinae {
3983         struct foo {};
3984
3985         template<typename T>
3986         using member = typename T::member_type;
3987
3988         template<typename T>
3989         void func(...) {}
3990
3991         template<typename T>
3992         void func(member<T>*) {}
3993
3994         void test();
3995
3996         void test() {
3997             func<foo>(0);
3998         }
3999     }
4000
4001 _ACEOF
4002 if ac_fn_cxx_try_compile "$LINENO"; then :
4003   eval $cachevar=yes
4004 else
4005   eval $cachevar=no
4006 fi
4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008          CXXFLAGS="$ac_save_CXXFLAGS"
4009 fi
4010 eval ac_res=\$$cachevar
4011                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4012 $as_echo "$ac_res" >&6; }
4013       if eval test x\$$cachevar = xyes; then
4014         CXXFLAGS="$CXXFLAGS $switch"
4015         ac_success=yes
4016         break
4017       fi
4018     done
4019   fi
4020   ac_ext=c
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4025
4026   if test x$ax_cxx_compile_cxx11_required = xtrue; then
4027     if test x$ac_success = xno; then
4028       as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
4029     fi
4030   else
4031     if test x$ac_success = xno; then
4032       HAVE_CXX11=0
4033       { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
4034 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
4035     else
4036       HAVE_CXX11=1
4037
4038 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
4039
4040     fi
4041
4042
4043   fi
4044
4045
4046
4047 case `pwd` in
4048   *\ * | *\     *)
4049     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4050 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4051 esac
4052
4053
4054
4055 macro_version='2.4.2'
4056 macro_revision='1.3337'
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070 ltmain="$ac_aux_dir/ltmain.sh"
4071
4072 # Make sure we can run config.sub.
4073 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4074   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4075
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4077 $as_echo_n "checking build system type... " >&6; }
4078 if ${ac_cv_build+:} false; then :
4079   $as_echo_n "(cached) " >&6
4080 else
4081   ac_build_alias=$build_alias
4082 test "x$ac_build_alias" = x &&
4083   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4084 test "x$ac_build_alias" = x &&
4085   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4086 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4087   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4088
4089 fi
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4091 $as_echo "$ac_cv_build" >&6; }
4092 case $ac_cv_build in
4093 *-*-*) ;;
4094 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4095 esac
4096 build=$ac_cv_build
4097 ac_save_IFS=$IFS; IFS='-'
4098 set x $ac_cv_build
4099 shift
4100 build_cpu=$1
4101 build_vendor=$2
4102 shift; shift
4103 # Remember, the first character of IFS is used to create $*,
4104 # except with old shells:
4105 build_os=$*
4106 IFS=$ac_save_IFS
4107 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4108
4109
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4111 $as_echo_n "checking host system type... " >&6; }
4112 if ${ac_cv_host+:} false; then :
4113   $as_echo_n "(cached) " >&6
4114 else
4115   if test "x$host_alias" = x; then
4116   ac_cv_host=$ac_cv_build
4117 else
4118   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4119     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4120 fi
4121
4122 fi
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4124 $as_echo "$ac_cv_host" >&6; }
4125 case $ac_cv_host in
4126 *-*-*) ;;
4127 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4128 esac
4129 host=$ac_cv_host
4130 ac_save_IFS=$IFS; IFS='-'
4131 set x $ac_cv_host
4132 shift
4133 host_cpu=$1
4134 host_vendor=$2
4135 shift; shift
4136 # Remember, the first character of IFS is used to create $*,
4137 # except with old shells:
4138 host_os=$*
4139 IFS=$ac_save_IFS
4140 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4141
4142
4143 # Backslashify metacharacters that are still active within
4144 # double-quoted strings.
4145 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4146
4147 # Same as above, but do not quote variable references.
4148 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4149
4150 # Sed substitution to delay expansion of an escaped shell variable in a
4151 # double_quote_subst'ed string.
4152 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4153
4154 # Sed substitution to delay expansion of an escaped single quote.
4155 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4156
4157 # Sed substitution to avoid accidental globbing in evaled expressions
4158 no_glob_subst='s/\*/\\\*/g'
4159
4160 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4161 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4162 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4163
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4165 $as_echo_n "checking how to print strings... " >&6; }
4166 # Test print first, because it will be a builtin if present.
4167 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4168    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4169   ECHO='print -r --'
4170 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4171   ECHO='printf %s\n'
4172 else
4173   # Use this function as a fallback that always works.
4174   func_fallback_echo ()
4175   {
4176     eval 'cat <<_LTECHO_EOF
4177 $1
4178 _LTECHO_EOF'
4179   }
4180   ECHO='func_fallback_echo'
4181 fi
4182
4183 # func_echo_all arg...
4184 # Invoke $ECHO with all args, space-separated.
4185 func_echo_all ()
4186 {
4187     $ECHO ""
4188 }
4189
4190 case "$ECHO" in
4191   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4192 $as_echo "printf" >&6; } ;;
4193   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4194 $as_echo "print -r" >&6; } ;;
4195   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4196 $as_echo "cat" >&6; } ;;
4197 esac
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212 ac_ext=c
4213 ac_cpp='$CPP $CPPFLAGS'
4214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4217 if test -n "$ac_tool_prefix"; then
4218   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4219 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_CC+:} false; then :
4223   $as_echo_n "(cached) " >&6
4224 else
4225   if test -n "$CC"; then
4226   ac_cv_prog_CC="$CC" # Let the user override the test.
4227 else
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4229 for as_dir in $PATH
4230 do
4231   IFS=$as_save_IFS
4232   test -z "$as_dir" && as_dir=.
4233     for ac_exec_ext in '' $ac_executable_extensions; do
4234   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4236     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4237     break 2
4238   fi
4239 done
4240   done
4241 IFS=$as_save_IFS
4242
4243 fi
4244 fi
4245 CC=$ac_cv_prog_CC
4246 if test -n "$CC"; then
4247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4248 $as_echo "$CC" >&6; }
4249 else
4250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4252 fi
4253
4254
4255 fi
4256 if test -z "$ac_cv_prog_CC"; then
4257   ac_ct_CC=$CC
4258   # Extract the first word of "gcc", so it can be a program name with args.
4259 set dummy gcc; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4263   $as_echo_n "(cached) " >&6
4264 else
4265   if test -n "$ac_ct_CC"; then
4266   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4267 else
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 for as_dir in $PATH
4270 do
4271   IFS=$as_save_IFS
4272   test -z "$as_dir" && as_dir=.
4273     for ac_exec_ext in '' $ac_executable_extensions; do
4274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275     ac_cv_prog_ac_ct_CC="gcc"
4276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4277     break 2
4278   fi
4279 done
4280   done
4281 IFS=$as_save_IFS
4282
4283 fi
4284 fi
4285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4286 if test -n "$ac_ct_CC"; then
4287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4288 $as_echo "$ac_ct_CC" >&6; }
4289 else
4290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4292 fi
4293
4294   if test "x$ac_ct_CC" = x; then
4295     CC=""
4296   else
4297     case $cross_compiling:$ac_tool_warned in
4298 yes:)
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4301 ac_tool_warned=yes ;;
4302 esac
4303     CC=$ac_ct_CC
4304   fi
4305 else
4306   CC="$ac_cv_prog_CC"
4307 fi
4308
4309 if test -z "$CC"; then
4310           if test -n "$ac_tool_prefix"; then
4311     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4312 set dummy ${ac_tool_prefix}cc; ac_word=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_CC+:} false; then :
4316   $as_echo_n "(cached) " >&6
4317 else
4318   if test -n "$CC"; then
4319   ac_cv_prog_CC="$CC" # Let the user override the test.
4320 else
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 for as_dir in $PATH
4323 do
4324   IFS=$as_save_IFS
4325   test -z "$as_dir" && as_dir=.
4326     for ac_exec_ext in '' $ac_executable_extensions; do
4327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328     ac_cv_prog_CC="${ac_tool_prefix}cc"
4329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330     break 2
4331   fi
4332 done
4333   done
4334 IFS=$as_save_IFS
4335
4336 fi
4337 fi
4338 CC=$ac_cv_prog_CC
4339 if test -n "$CC"; then
4340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4341 $as_echo "$CC" >&6; }
4342 else
4343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4345 fi
4346
4347
4348   fi
4349 fi
4350 if test -z "$CC"; then
4351   # Extract the first word of "cc", so it can be a program name with args.
4352 set dummy cc; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_prog_CC+:} false; then :
4356   $as_echo_n "(cached) " >&6
4357 else
4358   if test -n "$CC"; then
4359   ac_cv_prog_CC="$CC" # Let the user override the test.
4360 else
4361   ac_prog_rejected=no
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 for as_dir in $PATH
4364 do
4365   IFS=$as_save_IFS
4366   test -z "$as_dir" && as_dir=.
4367     for ac_exec_ext in '' $ac_executable_extensions; do
4368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4370        ac_prog_rejected=yes
4371        continue
4372      fi
4373     ac_cv_prog_CC="cc"
4374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375     break 2
4376   fi
4377 done
4378   done
4379 IFS=$as_save_IFS
4380
4381 if test $ac_prog_rejected = yes; then
4382   # We found a bogon in the path, so make sure we never use it.
4383   set dummy $ac_cv_prog_CC
4384   shift
4385   if test $# != 0; then
4386     # We chose a different compiler from the bogus one.
4387     # However, it has the same basename, so the bogon will be chosen
4388     # first if we set CC to just the basename; use the full file name.
4389     shift
4390     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4391   fi
4392 fi
4393 fi
4394 fi
4395 CC=$ac_cv_prog_CC
4396 if test -n "$CC"; then
4397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4398 $as_echo "$CC" >&6; }
4399 else
4400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401 $as_echo "no" >&6; }
4402 fi
4403
4404
4405 fi
4406 if test -z "$CC"; then
4407   if test -n "$ac_tool_prefix"; then
4408   for ac_prog in cl.exe
4409   do
4410     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4413 $as_echo_n "checking for $ac_word... " >&6; }
4414 if ${ac_cv_prog_CC+:} false; then :
4415   $as_echo_n "(cached) " >&6
4416 else
4417   if test -n "$CC"; then
4418   ac_cv_prog_CC="$CC" # Let the user override the test.
4419 else
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 for as_dir in $PATH
4422 do
4423   IFS=$as_save_IFS
4424   test -z "$as_dir" && as_dir=.
4425     for ac_exec_ext in '' $ac_executable_extensions; do
4426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4427     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429     break 2
4430   fi
4431 done
4432   done
4433 IFS=$as_save_IFS
4434
4435 fi
4436 fi
4437 CC=$ac_cv_prog_CC
4438 if test -n "$CC"; then
4439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4440 $as_echo "$CC" >&6; }
4441 else
4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4444 fi
4445
4446
4447     test -n "$CC" && break
4448   done
4449 fi
4450 if test -z "$CC"; then
4451   ac_ct_CC=$CC
4452   for ac_prog in cl.exe
4453 do
4454   # Extract the first word of "$ac_prog", so it can be a program name with args.
4455 set dummy $ac_prog; ac_word=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4459   $as_echo_n "(cached) " >&6
4460 else
4461   if test -n "$ac_ct_CC"; then
4462   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4463 else
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 for as_dir in $PATH
4466 do
4467   IFS=$as_save_IFS
4468   test -z "$as_dir" && as_dir=.
4469     for ac_exec_ext in '' $ac_executable_extensions; do
4470   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471     ac_cv_prog_ac_ct_CC="$ac_prog"
4472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473     break 2
4474   fi
4475 done
4476   done
4477 IFS=$as_save_IFS
4478
4479 fi
4480 fi
4481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4482 if test -n "$ac_ct_CC"; then
4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4484 $as_echo "$ac_ct_CC" >&6; }
4485 else
4486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4488 fi
4489
4490
4491   test -n "$ac_ct_CC" && break
4492 done
4493
4494   if test "x$ac_ct_CC" = x; then
4495     CC=""
4496   else
4497     case $cross_compiling:$ac_tool_warned in
4498 yes:)
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501 ac_tool_warned=yes ;;
4502 esac
4503     CC=$ac_ct_CC
4504   fi
4505 fi
4506
4507 fi
4508
4509
4510 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4512 as_fn_error $? "no acceptable C compiler found in \$PATH
4513 See \`config.log' for more details" "$LINENO" 5; }
4514
4515 # Provide some information about the compiler.
4516 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4517 set X $ac_compile
4518 ac_compiler=$2
4519 for ac_option in --version -v -V -qversion; do
4520   { { ac_try="$ac_compiler $ac_option >&5"
4521 case "(($ac_try" in
4522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523   *) ac_try_echo=$ac_try;;
4524 esac
4525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4526 $as_echo "$ac_try_echo"; } >&5
4527   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4528   ac_status=$?
4529   if test -s conftest.err; then
4530     sed '10a\
4531 ... rest of stderr output deleted ...
4532          10q' conftest.err >conftest.er1
4533     cat conftest.er1 >&5
4534   fi
4535   rm -f conftest.er1 conftest.err
4536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4537   test $ac_status = 0; }
4538 done
4539
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4541 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4542 if ${ac_cv_c_compiler_gnu+:} false; then :
4543   $as_echo_n "(cached) " >&6
4544 else
4545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h.  */
4547
4548 int
4549 main ()
4550 {
4551 #ifndef __GNUC__
4552        choke me
4553 #endif
4554
4555   ;
4556   return 0;
4557 }
4558 _ACEOF
4559 if ac_fn_c_try_compile "$LINENO"; then :
4560   ac_compiler_gnu=yes
4561 else
4562   ac_compiler_gnu=no
4563 fi
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4566
4567 fi
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4569 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4570 if test $ac_compiler_gnu = yes; then
4571   GCC=yes
4572 else
4573   GCC=
4574 fi
4575 ac_test_CFLAGS=${CFLAGS+set}
4576 ac_save_CFLAGS=$CFLAGS
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4578 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4579 if ${ac_cv_prog_cc_g+:} false; then :
4580   $as_echo_n "(cached) " >&6
4581 else
4582   ac_save_c_werror_flag=$ac_c_werror_flag
4583    ac_c_werror_flag=yes
4584    ac_cv_prog_cc_g=no
4585    CFLAGS="-g"
4586    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h.  */
4588
4589 int
4590 main ()
4591 {
4592
4593   ;
4594   return 0;
4595 }
4596 _ACEOF
4597 if ac_fn_c_try_compile "$LINENO"; then :
4598   ac_cv_prog_cc_g=yes
4599 else
4600   CFLAGS=""
4601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h.  */
4603
4604 int
4605 main ()
4606 {
4607
4608   ;
4609   return 0;
4610 }
4611 _ACEOF
4612 if ac_fn_c_try_compile "$LINENO"; then :
4613
4614 else
4615   ac_c_werror_flag=$ac_save_c_werror_flag
4616          CFLAGS="-g"
4617          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h.  */
4619
4620 int
4621 main ()
4622 {
4623
4624   ;
4625   return 0;
4626 }
4627 _ACEOF
4628 if ac_fn_c_try_compile "$LINENO"; then :
4629   ac_cv_prog_cc_g=yes
4630 fi
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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    ac_c_werror_flag=$ac_save_c_werror_flag
4637 fi
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4639 $as_echo "$ac_cv_prog_cc_g" >&6; }
4640 if test "$ac_test_CFLAGS" = set; then
4641   CFLAGS=$ac_save_CFLAGS
4642 elif test $ac_cv_prog_cc_g = yes; then
4643   if test "$GCC" = yes; then
4644     CFLAGS="-g -O2"
4645   else
4646     CFLAGS="-g"
4647   fi
4648 else
4649   if test "$GCC" = yes; then
4650     CFLAGS="-O2"
4651   else
4652     CFLAGS=
4653   fi
4654 fi
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4656 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4657 if ${ac_cv_prog_cc_c89+:} false; then :
4658   $as_echo_n "(cached) " >&6
4659 else
4660   ac_cv_prog_cc_c89=no
4661 ac_save_CC=$CC
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h.  */
4664 #include <stdarg.h>
4665 #include <stdio.h>
4666 struct stat;
4667 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4668 struct buf { int x; };
4669 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4670 static char *e (p, i)
4671      char **p;
4672      int i;
4673 {
4674   return p[i];
4675 }
4676 static char *f (char * (*g) (char **, int), char **p, ...)
4677 {
4678   char *s;
4679   va_list v;
4680   va_start (v,p);
4681   s = g (p, va_arg (v,int));
4682   va_end (v);
4683   return s;
4684 }
4685
4686 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4687    function prototypes and stuff, but not '\xHH' hex character constants.
4688    These don't provoke an error unfortunately, instead are silently treated
4689    as 'x'.  The following induces an error, until -std is added to get
4690    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4691    array size at least.  It's necessary to write '\x00'==0 to get something
4692    that's true only with -std.  */
4693 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4694
4695 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4696    inside strings and character constants.  */
4697 #define FOO(x) 'x'
4698 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4699
4700 int test (int i, double x);
4701 struct s1 {int (*f) (int a);};
4702 struct s2 {int (*f) (double a);};
4703 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4704 int argc;
4705 char **argv;
4706 int
4707 main ()
4708 {
4709 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4710   ;
4711   return 0;
4712 }
4713 _ACEOF
4714 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4715         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4716 do
4717   CC="$ac_save_CC $ac_arg"
4718   if ac_fn_c_try_compile "$LINENO"; then :
4719   ac_cv_prog_cc_c89=$ac_arg
4720 fi
4721 rm -f core conftest.err conftest.$ac_objext
4722   test "x$ac_cv_prog_cc_c89" != "xno" && break
4723 done
4724 rm -f conftest.$ac_ext
4725 CC=$ac_save_CC
4726
4727 fi
4728 # AC_CACHE_VAL
4729 case "x$ac_cv_prog_cc_c89" in
4730   x)
4731     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4732 $as_echo "none needed" >&6; } ;;
4733   xno)
4734     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4735 $as_echo "unsupported" >&6; } ;;
4736   *)
4737     CC="$CC $ac_cv_prog_cc_c89"
4738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4739 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4740 esac
4741 if test "x$ac_cv_prog_cc_c89" != xno; then :
4742
4743 fi
4744
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750
4751 ac_ext=c
4752 ac_cpp='$CPP $CPPFLAGS'
4753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4757 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4758 if ${am_cv_prog_cc_c_o+:} false; then :
4759   $as_echo_n "(cached) " >&6
4760 else
4761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h.  */
4763
4764 int
4765 main ()
4766 {
4767
4768   ;
4769   return 0;
4770 }
4771 _ACEOF
4772   # Make sure it works both with $CC and with simple cc.
4773   # Following AC_PROG_CC_C_O, we do the test twice because some
4774   # compilers refuse to overwrite an existing .o file with -o,
4775   # though they will create one.
4776   am_cv_prog_cc_c_o=yes
4777   for am_i in 1 2; do
4778     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4779    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4780    ac_status=$?
4781    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782    (exit $ac_status); } \
4783          && test -f conftest2.$ac_objext; then
4784       : OK
4785     else
4786       am_cv_prog_cc_c_o=no
4787       break
4788     fi
4789   done
4790   rm -f core conftest*
4791   unset am_i
4792 fi
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4794 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4795 if test "$am_cv_prog_cc_c_o" != yes; then
4796    # Losing compiler, so override with the script.
4797    # FIXME: It is wrong to rewrite CC.
4798    # But if we don't then we get into trouble of one sort or another.
4799    # A longer-term fix would be to have automake use am__CC in this case,
4800    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4801    CC="$am_aux_dir/compile $CC"
4802 fi
4803 ac_ext=c
4804 ac_cpp='$CPP $CPPFLAGS'
4805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4808
4809
4810 depcc="$CC"   am_compiler_list=
4811
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4813 $as_echo_n "checking dependency style of $depcc... " >&6; }
4814 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4815   $as_echo_n "(cached) " >&6
4816 else
4817   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4818   # We make a subdir and do the tests there.  Otherwise we can end up
4819   # making bogus files that we don't know about and never remove.  For
4820   # instance it was reported that on HP-UX the gcc test will end up
4821   # making a dummy file named 'D' -- because '-MD' means "put the output
4822   # in D".
4823   rm -rf conftest.dir
4824   mkdir conftest.dir
4825   # Copy depcomp to subdir because otherwise we won't find it if we're
4826   # using a relative directory.
4827   cp "$am_depcomp" conftest.dir
4828   cd conftest.dir
4829   # We will build objects and dependencies in a subdirectory because
4830   # it helps to detect inapplicable dependency modes.  For instance
4831   # both Tru64's cc and ICC support -MD to output dependencies as a
4832   # side effect of compilation, but ICC will put the dependencies in
4833   # the current directory while Tru64 will put them in the object
4834   # directory.
4835   mkdir sub
4836
4837   am_cv_CC_dependencies_compiler_type=none
4838   if test "$am_compiler_list" = ""; then
4839      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4840   fi
4841   am__universal=false
4842   case " $depcc " in #(
4843      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4844      esac
4845
4846   for depmode in $am_compiler_list; do
4847     # Setup a source with many dependencies, because some compilers
4848     # like to wrap large dependency lists on column 80 (with \), and
4849     # we should not choose a depcomp mode which is confused by this.
4850     #
4851     # We need to recreate these files for each test, as the compiler may
4852     # overwrite some of them when testing with obscure command lines.
4853     # This happens at least with the AIX C compiler.
4854     : > sub/conftest.c
4855     for i in 1 2 3 4 5 6; do
4856       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4857       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4858       # Solaris 10 /bin/sh.
4859       echo '/* dummy */' > sub/conftst$i.h
4860     done
4861     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4862
4863     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4864     # mode.  It turns out that the SunPro C++ compiler does not properly
4865     # handle '-M -o', and we need to detect this.  Also, some Intel
4866     # versions had trouble with output in subdirs.
4867     am__obj=sub/conftest.${OBJEXT-o}
4868     am__minus_obj="-o $am__obj"
4869     case $depmode in
4870     gcc)
4871       # This depmode causes a compiler race in universal mode.
4872       test "$am__universal" = false || continue
4873       ;;
4874     nosideeffect)
4875       # After this tag, mechanisms are not by side-effect, so they'll
4876       # only be used when explicitly requested.
4877       if test "x$enable_dependency_tracking" = xyes; then
4878         continue
4879       else
4880         break
4881       fi
4882       ;;
4883     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4884       # This compiler won't grok '-c -o', but also, the minuso test has
4885       # not run yet.  These depmodes are late enough in the game, and
4886       # so weak that their functioning should not be impacted.
4887       am__obj=conftest.${OBJEXT-o}
4888       am__minus_obj=
4889       ;;
4890     none) break ;;
4891     esac
4892     if depmode=$depmode \
4893        source=sub/conftest.c object=$am__obj \
4894        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4895        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4896          >/dev/null 2>conftest.err &&
4897        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4898        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4899        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4900        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4901       # icc doesn't choke on unknown options, it will just issue warnings
4902       # or remarks (even with -Werror).  So we grep stderr for any message
4903       # that says an option was ignored or not supported.
4904       # When given -MP, icc 7.0 and 7.1 complain thusly:
4905       #   icc: Command line warning: ignoring option '-M'; no argument required
4906       # The diagnosis changed in icc 8.0:
4907       #   icc: Command line remark: option '-MP' not supported
4908       if (grep 'ignoring option' conftest.err ||
4909           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4910         am_cv_CC_dependencies_compiler_type=$depmode
4911         break
4912       fi
4913     fi
4914   done
4915
4916   cd ..
4917   rm -rf conftest.dir
4918 else
4919   am_cv_CC_dependencies_compiler_type=none
4920 fi
4921
4922 fi
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4924 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4925 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4926
4927  if
4928   test "x$enable_dependency_tracking" != xno \
4929   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4930   am__fastdepCC_TRUE=
4931   am__fastdepCC_FALSE='#'
4932 else
4933   am__fastdepCC_TRUE='#'
4934   am__fastdepCC_FALSE=
4935 fi
4936
4937
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4939 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4940 if ${ac_cv_path_SED+:} false; then :
4941   $as_echo_n "(cached) " >&6
4942 else
4943             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4944      for ac_i in 1 2 3 4 5 6 7; do
4945        ac_script="$ac_script$as_nl$ac_script"
4946      done
4947      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4948      { ac_script=; unset ac_script;}
4949      if test -z "$SED"; then
4950   ac_path_SED_found=false
4951   # Loop through the user's path and test for each of PROGNAME-LIST
4952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953 for as_dir in $PATH
4954 do
4955   IFS=$as_save_IFS
4956   test -z "$as_dir" && as_dir=.
4957     for ac_prog in sed gsed; do
4958     for ac_exec_ext in '' $ac_executable_extensions; do
4959       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4960       as_fn_executable_p "$ac_path_SED" || continue
4961 # Check for GNU ac_path_SED and select it if it is found.
4962   # Check for GNU $ac_path_SED
4963 case `"$ac_path_SED" --version 2>&1` in
4964 *GNU*)
4965   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4966 *)
4967   ac_count=0
4968   $as_echo_n 0123456789 >"conftest.in"
4969   while :
4970   do
4971     cat "conftest.in" "conftest.in" >"conftest.tmp"
4972     mv "conftest.tmp" "conftest.in"
4973     cp "conftest.in" "conftest.nl"
4974     $as_echo '' >> "conftest.nl"
4975     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4976     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4977     as_fn_arith $ac_count + 1 && ac_count=$as_val
4978     if test $ac_count -gt ${ac_path_SED_max-0}; then
4979       # Best one so far, save it but keep looking for a better one
4980       ac_cv_path_SED="$ac_path_SED"
4981       ac_path_SED_max=$ac_count
4982     fi
4983     # 10*(2^10) chars as input seems more than enough
4984     test $ac_count -gt 10 && break
4985   done
4986   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4987 esac
4988
4989       $ac_path_SED_found && break 3
4990     done
4991   done
4992   done
4993 IFS=$as_save_IFS
4994   if test -z "$ac_cv_path_SED"; then
4995     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4996   fi
4997 else
4998   ac_cv_path_SED=$SED
4999 fi
5000
5001 fi
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5003 $as_echo "$ac_cv_path_SED" >&6; }
5004  SED="$ac_cv_path_SED"
5005   rm -f conftest.sed
5006
5007 test -z "$SED" && SED=sed
5008 Xsed="$SED -e 1s/^X//"
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5021 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5022 if ${ac_cv_path_GREP+:} false; then :
5023   $as_echo_n "(cached) " >&6
5024 else
5025   if test -z "$GREP"; then
5026   ac_path_GREP_found=false
5027   # Loop through the user's path and test for each of PROGNAME-LIST
5028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5030 do
5031   IFS=$as_save_IFS
5032   test -z "$as_dir" && as_dir=.
5033     for ac_prog in grep ggrep; do
5034     for ac_exec_ext in '' $ac_executable_extensions; do
5035       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5036       as_fn_executable_p "$ac_path_GREP" || continue
5037 # Check for GNU ac_path_GREP and select it if it is found.
5038   # Check for GNU $ac_path_GREP
5039 case `"$ac_path_GREP" --version 2>&1` in
5040 *GNU*)
5041   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5042 *)
5043   ac_count=0
5044   $as_echo_n 0123456789 >"conftest.in"
5045   while :
5046   do
5047     cat "conftest.in" "conftest.in" >"conftest.tmp"
5048     mv "conftest.tmp" "conftest.in"
5049     cp "conftest.in" "conftest.nl"
5050     $as_echo 'GREP' >> "conftest.nl"
5051     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5052     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5053     as_fn_arith $ac_count + 1 && ac_count=$as_val
5054     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5055       # Best one so far, save it but keep looking for a better one
5056       ac_cv_path_GREP="$ac_path_GREP"
5057       ac_path_GREP_max=$ac_count
5058     fi
5059     # 10*(2^10) chars as input seems more than enough
5060     test $ac_count -gt 10 && break
5061   done
5062   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5063 esac
5064
5065       $ac_path_GREP_found && break 3
5066     done
5067   done
5068   done
5069 IFS=$as_save_IFS
5070   if test -z "$ac_cv_path_GREP"; then
5071     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5072   fi
5073 else
5074   ac_cv_path_GREP=$GREP
5075 fi
5076
5077 fi
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5079 $as_echo "$ac_cv_path_GREP" >&6; }
5080  GREP="$ac_cv_path_GREP"
5081
5082
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5084 $as_echo_n "checking for egrep... " >&6; }
5085 if ${ac_cv_path_EGREP+:} false; then :
5086   $as_echo_n "(cached) " >&6
5087 else
5088   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5089    then ac_cv_path_EGREP="$GREP -E"
5090    else
5091      if test -z "$EGREP"; then
5092   ac_path_EGREP_found=false
5093   # Loop through the user's path and test for each of PROGNAME-LIST
5094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5096 do
5097   IFS=$as_save_IFS
5098   test -z "$as_dir" && as_dir=.
5099     for ac_prog in egrep; do
5100     for ac_exec_ext in '' $ac_executable_extensions; do
5101       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5102       as_fn_executable_p "$ac_path_EGREP" || continue
5103 # Check for GNU ac_path_EGREP and select it if it is found.
5104   # Check for GNU $ac_path_EGREP
5105 case `"$ac_path_EGREP" --version 2>&1` in
5106 *GNU*)
5107   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5108 *)
5109   ac_count=0
5110   $as_echo_n 0123456789 >"conftest.in"
5111   while :
5112   do
5113     cat "conftest.in" "conftest.in" >"conftest.tmp"
5114     mv "conftest.tmp" "conftest.in"
5115     cp "conftest.in" "conftest.nl"
5116     $as_echo 'EGREP' >> "conftest.nl"
5117     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5118     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5119     as_fn_arith $ac_count + 1 && ac_count=$as_val
5120     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5121       # Best one so far, save it but keep looking for a better one
5122       ac_cv_path_EGREP="$ac_path_EGREP"
5123       ac_path_EGREP_max=$ac_count
5124     fi
5125     # 10*(2^10) chars as input seems more than enough
5126     test $ac_count -gt 10 && break
5127   done
5128   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5129 esac
5130
5131       $ac_path_EGREP_found && break 3
5132     done
5133   done
5134   done
5135 IFS=$as_save_IFS
5136   if test -z "$ac_cv_path_EGREP"; then
5137     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5138   fi
5139 else
5140   ac_cv_path_EGREP=$EGREP
5141 fi
5142
5143    fi
5144 fi
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5146 $as_echo "$ac_cv_path_EGREP" >&6; }
5147  EGREP="$ac_cv_path_EGREP"
5148
5149
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5151 $as_echo_n "checking for fgrep... " >&6; }
5152 if ${ac_cv_path_FGREP+:} false; then :
5153   $as_echo_n "(cached) " >&6
5154 else
5155   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5156    then ac_cv_path_FGREP="$GREP -F"
5157    else
5158      if test -z "$FGREP"; then
5159   ac_path_FGREP_found=false
5160   # Loop through the user's path and test for each of PROGNAME-LIST
5161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5163 do
5164   IFS=$as_save_IFS
5165   test -z "$as_dir" && as_dir=.
5166     for ac_prog in fgrep; do
5167     for ac_exec_ext in '' $ac_executable_extensions; do
5168       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5169       as_fn_executable_p "$ac_path_FGREP" || continue
5170 # Check for GNU ac_path_FGREP and select it if it is found.
5171   # Check for GNU $ac_path_FGREP
5172 case `"$ac_path_FGREP" --version 2>&1` in
5173 *GNU*)
5174   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5175 *)
5176   ac_count=0
5177   $as_echo_n 0123456789 >"conftest.in"
5178   while :
5179   do
5180     cat "conftest.in" "conftest.in" >"conftest.tmp"
5181     mv "conftest.tmp" "conftest.in"
5182     cp "conftest.in" "conftest.nl"
5183     $as_echo 'FGREP' >> "conftest.nl"
5184     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5185     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5186     as_fn_arith $ac_count + 1 && ac_count=$as_val
5187     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5188       # Best one so far, save it but keep looking for a better one
5189       ac_cv_path_FGREP="$ac_path_FGREP"
5190       ac_path_FGREP_max=$ac_count
5191     fi
5192     # 10*(2^10) chars as input seems more than enough
5193     test $ac_count -gt 10 && break
5194   done
5195   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5196 esac
5197
5198       $ac_path_FGREP_found && break 3
5199     done
5200   done
5201   done
5202 IFS=$as_save_IFS
5203   if test -z "$ac_cv_path_FGREP"; then
5204     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5205   fi
5206 else
5207   ac_cv_path_FGREP=$FGREP
5208 fi
5209
5210    fi
5211 fi
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5213 $as_echo "$ac_cv_path_FGREP" >&6; }
5214  FGREP="$ac_cv_path_FGREP"
5215
5216
5217 test -z "$GREP" && GREP=grep
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237 # Check whether --with-gnu-ld was given.
5238 if test "${with_gnu_ld+set}" = set; then :
5239   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5240 else
5241   with_gnu_ld=no
5242 fi
5243
5244 ac_prog=ld
5245 if test "$GCC" = yes; then
5246   # Check if gcc -print-prog-name=ld gives a path.
5247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5248 $as_echo_n "checking for ld used by $CC... " >&6; }
5249   case $host in
5250   *-*-mingw*)
5251     # gcc leaves a trailing carriage return which upsets mingw
5252     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5253   *)
5254     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5255   esac
5256   case $ac_prog in
5257     # Accept absolute paths.
5258     [\\/]* | ?:[\\/]*)
5259       re_direlt='/[^/][^/]*/\.\./'
5260       # Canonicalize the pathname of ld
5261       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5262       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5263         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5264       done
5265       test -z "$LD" && LD="$ac_prog"
5266       ;;
5267   "")
5268     # If it fails, then pretend we aren't using GCC.
5269     ac_prog=ld
5270     ;;
5271   *)
5272     # If it is relative, then search for the first ld in PATH.
5273     with_gnu_ld=unknown
5274     ;;
5275   esac
5276 elif test "$with_gnu_ld" = yes; then
5277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5278 $as_echo_n "checking for GNU ld... " >&6; }
5279 else
5280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5281 $as_echo_n "checking for non-GNU ld... " >&6; }
5282 fi
5283 if ${lt_cv_path_LD+:} false; then :
5284   $as_echo_n "(cached) " >&6
5285 else
5286   if test -z "$LD"; then
5287   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5288   for ac_dir in $PATH; do
5289     IFS="$lt_save_ifs"
5290     test -z "$ac_dir" && ac_dir=.
5291     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5292       lt_cv_path_LD="$ac_dir/$ac_prog"
5293       # Check to see if the program is GNU ld.  I'd rather use --version,
5294       # but apparently some variants of GNU ld only accept -v.
5295       # Break only if it was the GNU/non-GNU ld that we prefer.
5296       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5297       *GNU* | *'with BFD'*)
5298         test "$with_gnu_ld" != no && break
5299         ;;
5300       *)
5301         test "$with_gnu_ld" != yes && break
5302         ;;
5303       esac
5304     fi
5305   done
5306   IFS="$lt_save_ifs"
5307 else
5308   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5309 fi
5310 fi
5311
5312 LD="$lt_cv_path_LD"
5313 if test -n "$LD"; then
5314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5315 $as_echo "$LD" >&6; }
5316 else
5317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5319 fi
5320 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5322 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5323 if ${lt_cv_prog_gnu_ld+:} false; then :
5324   $as_echo_n "(cached) " >&6
5325 else
5326   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5327 case `$LD -v 2>&1 </dev/null` in
5328 *GNU* | *'with BFD'*)
5329   lt_cv_prog_gnu_ld=yes
5330   ;;
5331 *)
5332   lt_cv_prog_gnu_ld=no
5333   ;;
5334 esac
5335 fi
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5337 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5338 with_gnu_ld=$lt_cv_prog_gnu_ld
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5349 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5350 if ${lt_cv_path_NM+:} false; then :
5351   $as_echo_n "(cached) " >&6
5352 else
5353   if test -n "$NM"; then
5354   # Let the user override the test.
5355   lt_cv_path_NM="$NM"
5356 else
5357   lt_nm_to_check="${ac_tool_prefix}nm"
5358   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5359     lt_nm_to_check="$lt_nm_to_check nm"
5360   fi
5361   for lt_tmp_nm in $lt_nm_to_check; do
5362     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5363     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5364       IFS="$lt_save_ifs"
5365       test -z "$ac_dir" && ac_dir=.
5366       tmp_nm="$ac_dir/$lt_tmp_nm"
5367       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5368         # Check to see if the nm accepts a BSD-compat flag.
5369         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5370         #   nm: unknown option "B" ignored
5371         # Tru64's nm complains that /dev/null is an invalid object file
5372         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5373         */dev/null* | *'Invalid file or object type'*)
5374           lt_cv_path_NM="$tmp_nm -B"
5375           break
5376           ;;
5377         *)
5378           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5379           */dev/null*)
5380             lt_cv_path_NM="$tmp_nm -p"
5381             break
5382             ;;
5383           *)
5384             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5385             continue # so that we can try to find one that supports BSD flags
5386             ;;
5387           esac
5388           ;;
5389         esac
5390       fi
5391     done
5392     IFS="$lt_save_ifs"
5393   done
5394   : ${lt_cv_path_NM=no}
5395 fi
5396 fi
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5398 $as_echo "$lt_cv_path_NM" >&6; }
5399 if test "$lt_cv_path_NM" != "no"; then
5400   NM="$lt_cv_path_NM"
5401 else
5402   # Didn't find any BSD compatible name lister, look for dumpbin.
5403   if test -n "$DUMPBIN"; then :
5404     # Let the user override the test.
5405   else
5406     if test -n "$ac_tool_prefix"; then
5407   for ac_prog in dumpbin "link -dump"
5408   do
5409     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_DUMPBIN+:} false; then :
5414   $as_echo_n "(cached) " >&6
5415 else
5416   if test -n "$DUMPBIN"; then
5417   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5418 else
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5420 for as_dir in $PATH
5421 do
5422   IFS=$as_save_IFS
5423   test -z "$as_dir" && as_dir=.
5424     for ac_exec_ext in '' $ac_executable_extensions; do
5425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5428     break 2
5429   fi
5430 done
5431   done
5432 IFS=$as_save_IFS
5433
5434 fi
5435 fi
5436 DUMPBIN=$ac_cv_prog_DUMPBIN
5437 if test -n "$DUMPBIN"; then
5438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5439 $as_echo "$DUMPBIN" >&6; }
5440 else
5441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5443 fi
5444
5445
5446     test -n "$DUMPBIN" && break
5447   done
5448 fi
5449 if test -z "$DUMPBIN"; then
5450   ac_ct_DUMPBIN=$DUMPBIN
5451   for ac_prog in dumpbin "link -dump"
5452 do
5453   # Extract the first word of "$ac_prog", so it can be a program name with args.
5454 set dummy $ac_prog; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5458   $as_echo_n "(cached) " >&6
5459 else
5460   if test -n "$ac_ct_DUMPBIN"; then
5461   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5465 do
5466   IFS=$as_save_IFS
5467   test -z "$as_dir" && as_dir=.
5468     for ac_exec_ext in '' $ac_executable_extensions; do
5469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5470     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472     break 2
5473   fi
5474 done
5475   done
5476 IFS=$as_save_IFS
5477
5478 fi
5479 fi
5480 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5481 if test -n "$ac_ct_DUMPBIN"; then
5482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5483 $as_echo "$ac_ct_DUMPBIN" >&6; }
5484 else
5485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5487 fi
5488
5489
5490   test -n "$ac_ct_DUMPBIN" && break
5491 done
5492
5493   if test "x$ac_ct_DUMPBIN" = x; then
5494     DUMPBIN=":"
5495   else
5496     case $cross_compiling:$ac_tool_warned in
5497 yes:)
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5500 ac_tool_warned=yes ;;
5501 esac
5502     DUMPBIN=$ac_ct_DUMPBIN
5503   fi
5504 fi
5505
5506     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5507     *COFF*)
5508       DUMPBIN="$DUMPBIN -symbols"
5509       ;;
5510     *)
5511       DUMPBIN=:
5512       ;;
5513     esac
5514   fi
5515
5516   if test "$DUMPBIN" != ":"; then
5517     NM="$DUMPBIN"
5518   fi
5519 fi
5520 test -z "$NM" && NM=nm
5521
5522
5523
5524
5525
5526
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5528 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5529 if ${lt_cv_nm_interface+:} false; then :
5530   $as_echo_n "(cached) " >&6
5531 else
5532   lt_cv_nm_interface="BSD nm"
5533   echo "int some_variable = 0;" > conftest.$ac_ext
5534   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5535   (eval "$ac_compile" 2>conftest.err)
5536   cat conftest.err >&5
5537   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5538   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5539   cat conftest.err >&5
5540   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5541   cat conftest.out >&5
5542   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5543     lt_cv_nm_interface="MS dumpbin"
5544   fi
5545   rm -f conftest*
5546 fi
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5548 $as_echo "$lt_cv_nm_interface" >&6; }
5549
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5551 $as_echo_n "checking whether ln -s works... " >&6; }
5552 LN_S=$as_ln_s
5553 if test "$LN_S" = "ln -s"; then
5554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5555 $as_echo "yes" >&6; }
5556 else
5557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5558 $as_echo "no, using $LN_S" >&6; }
5559 fi
5560
5561 # find the maximum length of command line arguments
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5563 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5564 if ${lt_cv_sys_max_cmd_len+:} false; then :
5565   $as_echo_n "(cached) " >&6
5566 else
5567     i=0
5568   teststring="ABCD"
5569
5570   case $build_os in
5571   msdosdjgpp*)
5572     # On DJGPP, this test can blow up pretty badly due to problems in libc
5573     # (any single argument exceeding 2000 bytes causes a buffer overrun
5574     # during glob expansion).  Even if it were fixed, the result of this
5575     # check would be larger than it should be.
5576     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5577     ;;
5578
5579   gnu*)
5580     # Under GNU Hurd, this test is not required because there is
5581     # no limit to the length of command line arguments.
5582     # Libtool will interpret -1 as no limit whatsoever
5583     lt_cv_sys_max_cmd_len=-1;
5584     ;;
5585
5586   cygwin* | mingw* | cegcc*)
5587     # On Win9x/ME, this test blows up -- it succeeds, but takes
5588     # about 5 minutes as the teststring grows exponentially.
5589     # Worse, since 9x/ME are not pre-emptively multitasking,
5590     # you end up with a "frozen" computer, even though with patience
5591     # the test eventually succeeds (with a max line length of 256k).
5592     # Instead, let's just punt: use the minimum linelength reported by
5593     # all of the supported platforms: 8192 (on NT/2K/XP).
5594     lt_cv_sys_max_cmd_len=8192;
5595     ;;
5596
5597   mint*)
5598     # On MiNT this can take a long time and run out of memory.
5599     lt_cv_sys_max_cmd_len=8192;
5600     ;;
5601
5602   amigaos*)
5603     # On AmigaOS with pdksh, this test takes hours, literally.
5604     # So we just punt and use a minimum line length of 8192.
5605     lt_cv_sys_max_cmd_len=8192;
5606     ;;
5607
5608   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5609     # This has been around since 386BSD, at least.  Likely further.
5610     if test -x /sbin/sysctl; then
5611       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5612     elif test -x /usr/sbin/sysctl; then
5613       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5614     else
5615       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5616     fi
5617     # And add a safety zone
5618     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5619     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5620     ;;
5621
5622   interix*)
5623     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5624     lt_cv_sys_max_cmd_len=196608
5625     ;;
5626
5627   os2*)
5628     # The test takes a long time on OS/2.
5629     lt_cv_sys_max_cmd_len=8192
5630     ;;
5631
5632   osf*)
5633     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5634     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5635     # nice to cause kernel panics so lets avoid the loop below.
5636     # First set a reasonable default.
5637     lt_cv_sys_max_cmd_len=16384
5638     #
5639     if test -x /sbin/sysconfig; then
5640       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5641         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5642       esac
5643     fi
5644     ;;
5645   sco3.2v5*)
5646     lt_cv_sys_max_cmd_len=102400
5647     ;;
5648   sysv5* | sco5v6* | sysv4.2uw2*)
5649     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5650     if test -n "$kargmax"; then
5651       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5652     else
5653       lt_cv_sys_max_cmd_len=32768
5654     fi
5655     ;;
5656   *)
5657     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5658     if test -n "$lt_cv_sys_max_cmd_len" && \
5659         test undefined != "$lt_cv_sys_max_cmd_len"; then
5660       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5661       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5662     else
5663       # Make teststring a little bigger before we do anything with it.
5664       # a 1K string should be a reasonable start.
5665       for i in 1 2 3 4 5 6 7 8 ; do
5666         teststring=$teststring$teststring
5667       done
5668       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5669       # If test is not a shell built-in, we'll probably end up computing a
5670       # maximum length that is only half of the actual maximum length, but
5671       # we can't tell.
5672       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5673                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5674               test $i != 17 # 1/2 MB should be enough
5675       do
5676         i=`expr $i + 1`
5677         teststring=$teststring$teststring
5678       done
5679       # Only check the string length outside the loop.
5680       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5681       teststring=
5682       # Add a significant safety factor because C++ compilers can tack on
5683       # massive amounts of additional arguments before passing them to the
5684       # linker.  It appears as though 1/2 is a usable value.
5685       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5686     fi
5687     ;;
5688   esac
5689
5690 fi
5691
5692 if test -n $lt_cv_sys_max_cmd_len ; then
5693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5694 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5695 else
5696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5697 $as_echo "none" >&6; }
5698 fi
5699 max_cmd_len=$lt_cv_sys_max_cmd_len
5700
5701
5702
5703
5704
5705
5706 : ${CP="cp -f"}
5707 : ${MV="mv -f"}
5708 : ${RM="rm -f"}
5709
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5711 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5712 # Try some XSI features
5713 xsi_shell=no
5714 ( _lt_dummy="a/b/c"
5715   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5716       = c,a/b,b/c, \
5717     && eval 'test $(( 1 + 1 )) -eq 2 \
5718     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5719   && xsi_shell=yes
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5721 $as_echo "$xsi_shell" >&6; }
5722
5723
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5725 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5726 lt_shell_append=no
5727 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5728     >/dev/null 2>&1 \
5729   && lt_shell_append=yes
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5731 $as_echo "$lt_shell_append" >&6; }
5732
5733
5734 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5735   lt_unset=unset
5736 else
5737   lt_unset=false
5738 fi
5739
5740
5741
5742
5743
5744 # test EBCDIC or ASCII
5745 case `echo X|tr X '\101'` in
5746  A) # ASCII based system
5747     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5748   lt_SP2NL='tr \040 \012'
5749   lt_NL2SP='tr \015\012 \040\040'
5750   ;;
5751  *) # EBCDIC based system
5752   lt_SP2NL='tr \100 \n'
5753   lt_NL2SP='tr \r\n \100\100'
5754   ;;
5755 esac
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5766 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5767 if ${lt_cv_to_host_file_cmd+:} false; then :
5768   $as_echo_n "(cached) " >&6
5769 else
5770   case $host in
5771   *-*-mingw* )
5772     case $build in
5773       *-*-mingw* ) # actually msys
5774         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5775         ;;
5776       *-*-cygwin* )
5777         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5778         ;;
5779       * ) # otherwise, assume *nix
5780         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5781         ;;
5782     esac
5783     ;;
5784   *-*-cygwin* )
5785     case $build in
5786       *-*-mingw* ) # actually msys
5787         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5788         ;;
5789       *-*-cygwin* )
5790         lt_cv_to_host_file_cmd=func_convert_file_noop
5791         ;;
5792       * ) # otherwise, assume *nix
5793         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5794         ;;
5795     esac
5796     ;;
5797   * ) # unhandled hosts (and "normal" native builds)
5798     lt_cv_to_host_file_cmd=func_convert_file_noop
5799     ;;
5800 esac
5801
5802 fi
5803
5804 to_host_file_cmd=$lt_cv_to_host_file_cmd
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5806 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5807
5808
5809
5810
5811
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5813 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5814 if ${lt_cv_to_tool_file_cmd+:} false; then :
5815   $as_echo_n "(cached) " >&6
5816 else
5817   #assume ordinary cross tools, or native build.
5818 lt_cv_to_tool_file_cmd=func_convert_file_noop
5819 case $host in
5820   *-*-mingw* )
5821     case $build in
5822       *-*-mingw* ) # actually msys
5823         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5824         ;;
5825     esac
5826     ;;
5827 esac
5828
5829 fi
5830
5831 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5833 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5834
5835
5836
5837
5838
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5840 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5841 if ${lt_cv_ld_reload_flag+:} false; then :
5842   $as_echo_n "(cached) " >&6
5843 else
5844   lt_cv_ld_reload_flag='-r'
5845 fi
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5847 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5848 reload_flag=$lt_cv_ld_reload_flag
5849 case $reload_flag in
5850 "" | " "*) ;;
5851 *) reload_flag=" $reload_flag" ;;
5852 esac
5853 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5854 case $host_os in
5855   cygwin* | mingw* | pw32* | cegcc*)
5856     if test "$GCC" != yes; then
5857       reload_cmds=false
5858     fi
5859     ;;
5860   darwin*)
5861     if test "$GCC" = yes; then
5862       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5863     else
5864       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5865     fi
5866     ;;
5867 esac
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877 if test -n "$ac_tool_prefix"; then
5878   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5879 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_OBJDUMP+:} false; then :
5883   $as_echo_n "(cached) " >&6
5884 else
5885   if test -n "$OBJDUMP"; then
5886   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5887 else
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889 for as_dir in $PATH
5890 do
5891   IFS=$as_save_IFS
5892   test -z "$as_dir" && as_dir=.
5893     for ac_exec_ext in '' $ac_executable_extensions; do
5894   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5896     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897     break 2
5898   fi
5899 done
5900   done
5901 IFS=$as_save_IFS
5902
5903 fi
5904 fi
5905 OBJDUMP=$ac_cv_prog_OBJDUMP
5906 if test -n "$OBJDUMP"; then
5907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5908 $as_echo "$OBJDUMP" >&6; }
5909 else
5910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5912 fi
5913
5914
5915 fi
5916 if test -z "$ac_cv_prog_OBJDUMP"; then
5917   ac_ct_OBJDUMP=$OBJDUMP
5918   # Extract the first word of "objdump", so it can be a program name with args.
5919 set dummy objdump; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5923   $as_echo_n "(cached) " >&6
5924 else
5925   if test -n "$ac_ct_OBJDUMP"; then
5926   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5930 do
5931   IFS=$as_save_IFS
5932   test -z "$as_dir" && as_dir=.
5933     for ac_exec_ext in '' $ac_executable_extensions; do
5934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5935     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937     break 2
5938   fi
5939 done
5940   done
5941 IFS=$as_save_IFS
5942
5943 fi
5944 fi
5945 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5946 if test -n "$ac_ct_OBJDUMP"; then
5947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5948 $as_echo "$ac_ct_OBJDUMP" >&6; }
5949 else
5950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5952 fi
5953
5954   if test "x$ac_ct_OBJDUMP" = x; then
5955     OBJDUMP="false"
5956   else
5957     case $cross_compiling:$ac_tool_warned in
5958 yes:)
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5961 ac_tool_warned=yes ;;
5962 esac
5963     OBJDUMP=$ac_ct_OBJDUMP
5964   fi
5965 else
5966   OBJDUMP="$ac_cv_prog_OBJDUMP"
5967 fi
5968
5969 test -z "$OBJDUMP" && OBJDUMP=objdump
5970
5971
5972
5973
5974
5975
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5977 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5978 if ${lt_cv_deplibs_check_method+:} false; then :
5979   $as_echo_n "(cached) " >&6
5980 else
5981   lt_cv_file_magic_cmd='$MAGIC_CMD'
5982 lt_cv_file_magic_test_file=
5983 lt_cv_deplibs_check_method='unknown'
5984 # Need to set the preceding variable on all platforms that support
5985 # interlibrary dependencies.
5986 # 'none' -- dependencies not supported.
5987 # `unknown' -- same as none, but documents that we really don't know.
5988 # 'pass_all' -- all dependencies passed with no checks.
5989 # 'test_compile' -- check by making test program.
5990 # 'file_magic [[regex]]' -- check by looking for files in library path
5991 # which responds to the $file_magic_cmd with a given extended regex.
5992 # If you have `file' or equivalent on your system and you're not sure
5993 # whether `pass_all' will *always* work, you probably want this one.
5994
5995 case $host_os in
5996 aix[4-9]*)
5997   lt_cv_deplibs_check_method=pass_all
5998   ;;
5999
6000 beos*)
6001   lt_cv_deplibs_check_method=pass_all
6002   ;;
6003
6004 bsdi[45]*)
6005   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6006   lt_cv_file_magic_cmd='/usr/bin/file -L'
6007   lt_cv_file_magic_test_file=/shlib/libc.so
6008   ;;
6009
6010 cygwin*)
6011   # func_win32_libid is a shell function defined in ltmain.sh
6012   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6013   lt_cv_file_magic_cmd='func_win32_libid'
6014   ;;
6015
6016 mingw* | pw32*)
6017   # Base MSYS/MinGW do not provide the 'file' command needed by
6018   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6019   # unless we find 'file', for example because we are cross-compiling.
6020   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6021   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6022     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6023     lt_cv_file_magic_cmd='func_win32_libid'
6024   else
6025     # Keep this pattern in sync with the one in func_win32_libid.
6026     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6027     lt_cv_file_magic_cmd='$OBJDUMP -f'
6028   fi
6029   ;;
6030
6031 cegcc*)
6032   # use the weaker test based on 'objdump'. See mingw*.
6033   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6034   lt_cv_file_magic_cmd='$OBJDUMP -f'
6035   ;;
6036
6037 darwin* | rhapsody*)
6038   lt_cv_deplibs_check_method=pass_all
6039   ;;
6040
6041 freebsd* | dragonfly*)
6042   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6043     case $host_cpu in
6044     i*86 )
6045       # Not sure whether the presence of OpenBSD here was a mistake.
6046       # Let's accept both of them until this is cleared up.
6047       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6048       lt_cv_file_magic_cmd=/usr/bin/file
6049       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6050       ;;
6051     esac
6052   else
6053     lt_cv_deplibs_check_method=pass_all
6054   fi
6055   ;;
6056
6057 haiku*)
6058   lt_cv_deplibs_check_method=pass_all
6059   ;;
6060
6061 hpux10.20* | hpux11*)
6062   lt_cv_file_magic_cmd=/usr/bin/file
6063   case $host_cpu in
6064   ia64*)
6065     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6066     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6067     ;;
6068   hppa*64*)
6069     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]'
6070     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6071     ;;
6072   *)
6073     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6074     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6075     ;;
6076   esac
6077   ;;
6078
6079 interix[3-9]*)
6080   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6081   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6082   ;;
6083
6084 irix5* | irix6* | nonstopux*)
6085   case $LD in
6086   *-32|*"-32 ") libmagic=32-bit;;
6087   *-n32|*"-n32 ") libmagic=N32;;
6088   *-64|*"-64 ") libmagic=64-bit;;
6089   *) libmagic=never-match;;
6090   esac
6091   lt_cv_deplibs_check_method=pass_all
6092   ;;
6093
6094 # This must be glibc/ELF.
6095 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6096   lt_cv_deplibs_check_method=pass_all
6097   ;;
6098
6099 netbsd* | netbsdelf*-gnu)
6100   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6101     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6102   else
6103     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6104   fi
6105   ;;
6106
6107 newos6*)
6108   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6109   lt_cv_file_magic_cmd=/usr/bin/file
6110   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6111   ;;
6112
6113 *nto* | *qnx*)
6114   lt_cv_deplibs_check_method=pass_all
6115   ;;
6116
6117 openbsd*)
6118   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6119     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6120   else
6121     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6122   fi
6123   ;;
6124
6125 osf3* | osf4* | osf5*)
6126   lt_cv_deplibs_check_method=pass_all
6127   ;;
6128
6129 rdos*)
6130   lt_cv_deplibs_check_method=pass_all
6131   ;;
6132
6133 solaris*)
6134   lt_cv_deplibs_check_method=pass_all
6135   ;;
6136
6137 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6138   lt_cv_deplibs_check_method=pass_all
6139   ;;
6140
6141 sysv4 | sysv4.3*)
6142   case $host_vendor in
6143   motorola)
6144     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]'
6145     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6146     ;;
6147   ncr)
6148     lt_cv_deplibs_check_method=pass_all
6149     ;;
6150   sequent)
6151     lt_cv_file_magic_cmd='/bin/file'
6152     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6153     ;;
6154   sni)
6155     lt_cv_file_magic_cmd='/bin/file'
6156     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6157     lt_cv_file_magic_test_file=/lib/libc.so
6158     ;;
6159   siemens)
6160     lt_cv_deplibs_check_method=pass_all
6161     ;;
6162   pc)
6163     lt_cv_deplibs_check_method=pass_all
6164     ;;
6165   esac
6166   ;;
6167
6168 tpf*)
6169   lt_cv_deplibs_check_method=pass_all
6170   ;;
6171 esac
6172
6173 fi
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6175 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6176
6177 file_magic_glob=
6178 want_nocaseglob=no
6179 if test "$build" = "$host"; then
6180   case $host_os in
6181   mingw* | pw32*)
6182     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6183       want_nocaseglob=yes
6184     else
6185       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6186     fi
6187     ;;
6188   esac
6189 fi
6190
6191 file_magic_cmd=$lt_cv_file_magic_cmd
6192 deplibs_check_method=$lt_cv_deplibs_check_method
6193 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216 if test -n "$ac_tool_prefix"; then
6217   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6218 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; }
6221 if ${ac_cv_prog_DLLTOOL+:} false; then :
6222   $as_echo_n "(cached) " >&6
6223 else
6224   if test -n "$DLLTOOL"; then
6225   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6226 else
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 for as_dir in $PATH
6229 do
6230   IFS=$as_save_IFS
6231   test -z "$as_dir" && as_dir=.
6232     for ac_exec_ext in '' $ac_executable_extensions; do
6233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6236     break 2
6237   fi
6238 done
6239   done
6240 IFS=$as_save_IFS
6241
6242 fi
6243 fi
6244 DLLTOOL=$ac_cv_prog_DLLTOOL
6245 if test -n "$DLLTOOL"; then
6246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6247 $as_echo "$DLLTOOL" >&6; }
6248 else
6249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6251 fi
6252
6253
6254 fi
6255 if test -z "$ac_cv_prog_DLLTOOL"; then
6256   ac_ct_DLLTOOL=$DLLTOOL
6257   # Extract the first word of "dlltool", so it can be a program name with args.
6258 set dummy dlltool; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6262   $as_echo_n "(cached) " >&6
6263 else
6264   if test -n "$ac_ct_DLLTOOL"; then
6265   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6266 else
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6268 for as_dir in $PATH
6269 do
6270   IFS=$as_save_IFS
6271   test -z "$as_dir" && as_dir=.
6272     for ac_exec_ext in '' $ac_executable_extensions; do
6273   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6276     break 2
6277   fi
6278 done
6279   done
6280 IFS=$as_save_IFS
6281
6282 fi
6283 fi
6284 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6285 if test -n "$ac_ct_DLLTOOL"; then
6286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6287 $as_echo "$ac_ct_DLLTOOL" >&6; }
6288 else
6289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6291 fi
6292
6293   if test "x$ac_ct_DLLTOOL" = x; then
6294     DLLTOOL="false"
6295   else
6296     case $cross_compiling:$ac_tool_warned in
6297 yes:)
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300 ac_tool_warned=yes ;;
6301 esac
6302     DLLTOOL=$ac_ct_DLLTOOL
6303   fi
6304 else
6305   DLLTOOL="$ac_cv_prog_DLLTOOL"
6306 fi
6307
6308 test -z "$DLLTOOL" && DLLTOOL=dlltool
6309
6310
6311
6312
6313
6314
6315
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6317 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6318 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6319   $as_echo_n "(cached) " >&6
6320 else
6321   lt_cv_sharedlib_from_linklib_cmd='unknown'
6322
6323 case $host_os in
6324 cygwin* | mingw* | pw32* | cegcc*)
6325   # two different shell functions defined in ltmain.sh
6326   # decide which to use based on capabilities of $DLLTOOL
6327   case `$DLLTOOL --help 2>&1` in
6328   *--identify-strict*)
6329     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6330     ;;
6331   *)
6332     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6333     ;;
6334   esac
6335   ;;
6336 *)
6337   # fallback: assume linklib IS sharedlib
6338   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6339   ;;
6340 esac
6341
6342 fi
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6344 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6345 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6346 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6347
6348
6349
6350
6351
6352
6353
6354
6355 if test -n "$ac_tool_prefix"; then
6356   for ac_prog in ar
6357   do
6358     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6359 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6361 $as_echo_n "checking for $ac_word... " >&6; }
6362 if ${ac_cv_prog_AR+:} false; then :
6363   $as_echo_n "(cached) " >&6
6364 else
6365   if test -n "$AR"; then
6366   ac_cv_prog_AR="$AR" # Let the user override the test.
6367 else
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6369 for as_dir in $PATH
6370 do
6371   IFS=$as_save_IFS
6372   test -z "$as_dir" && as_dir=.
6373     for ac_exec_ext in '' $ac_executable_extensions; do
6374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6375     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6377     break 2
6378   fi
6379 done
6380   done
6381 IFS=$as_save_IFS
6382
6383 fi
6384 fi
6385 AR=$ac_cv_prog_AR
6386 if test -n "$AR"; then
6387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6388 $as_echo "$AR" >&6; }
6389 else
6390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6392 fi
6393
6394
6395     test -n "$AR" && break
6396   done
6397 fi
6398 if test -z "$AR"; then
6399   ac_ct_AR=$AR
6400   for ac_prog in ar
6401 do
6402   # Extract the first word of "$ac_prog", so it can be a program name with args.
6403 set dummy $ac_prog; ac_word=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405 $as_echo_n "checking for $ac_word... " >&6; }
6406 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6407   $as_echo_n "(cached) " >&6
6408 else
6409   if test -n "$ac_ct_AR"; then
6410   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6411 else
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 for as_dir in $PATH
6414 do
6415   IFS=$as_save_IFS
6416   test -z "$as_dir" && as_dir=.
6417     for ac_exec_ext in '' $ac_executable_extensions; do
6418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6419     ac_cv_prog_ac_ct_AR="$ac_prog"
6420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421     break 2
6422   fi
6423 done
6424   done
6425 IFS=$as_save_IFS
6426
6427 fi
6428 fi
6429 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6430 if test -n "$ac_ct_AR"; then
6431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6432 $as_echo "$ac_ct_AR" >&6; }
6433 else
6434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6436 fi
6437
6438
6439   test -n "$ac_ct_AR" && break
6440 done
6441
6442   if test "x$ac_ct_AR" = x; then
6443     AR="false"
6444   else
6445     case $cross_compiling:$ac_tool_warned in
6446 yes:)
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6450 esac
6451     AR=$ac_ct_AR
6452   fi
6453 fi
6454
6455 : ${AR=ar}
6456 : ${AR_FLAGS=cru}
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6469 $as_echo_n "checking for archiver @FILE support... " >&6; }
6470 if ${lt_cv_ar_at_file+:} false; then :
6471   $as_echo_n "(cached) " >&6
6472 else
6473   lt_cv_ar_at_file=no
6474    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h.  */
6476
6477 int
6478 main ()
6479 {
6480
6481   ;
6482   return 0;
6483 }
6484 _ACEOF
6485 if ac_fn_c_try_compile "$LINENO"; then :
6486   echo conftest.$ac_objext > conftest.lst
6487       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6488       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6489   (eval $lt_ar_try) 2>&5
6490   ac_status=$?
6491   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6492   test $ac_status = 0; }
6493       if test "$ac_status" -eq 0; then
6494         # Ensure the archiver fails upon bogus file names.
6495         rm -f conftest.$ac_objext libconftest.a
6496         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6497   (eval $lt_ar_try) 2>&5
6498   ac_status=$?
6499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6500   test $ac_status = 0; }
6501         if test "$ac_status" -ne 0; then
6502           lt_cv_ar_at_file=@
6503         fi
6504       fi
6505       rm -f conftest.* libconftest.a
6506
6507 fi
6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6509
6510 fi
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6512 $as_echo "$lt_cv_ar_at_file" >&6; }
6513
6514 if test "x$lt_cv_ar_at_file" = xno; then
6515   archiver_list_spec=
6516 else
6517   archiver_list_spec=$lt_cv_ar_at_file
6518 fi
6519
6520
6521
6522
6523
6524
6525
6526 if test -n "$ac_tool_prefix"; then
6527   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6528 set dummy ${ac_tool_prefix}strip; ac_word=$2
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530 $as_echo_n "checking for $ac_word... " >&6; }
6531 if ${ac_cv_prog_STRIP+:} false; then :
6532   $as_echo_n "(cached) " >&6
6533 else
6534   if test -n "$STRIP"; then
6535   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6536 else
6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538 for as_dir in $PATH
6539 do
6540   IFS=$as_save_IFS
6541   test -z "$as_dir" && as_dir=.
6542     for ac_exec_ext in '' $ac_executable_extensions; do
6543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6544     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546     break 2
6547   fi
6548 done
6549   done
6550 IFS=$as_save_IFS
6551
6552 fi
6553 fi
6554 STRIP=$ac_cv_prog_STRIP
6555 if test -n "$STRIP"; then
6556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6557 $as_echo "$STRIP" >&6; }
6558 else
6559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6560 $as_echo "no" >&6; }
6561 fi
6562
6563
6564 fi
6565 if test -z "$ac_cv_prog_STRIP"; then
6566   ac_ct_STRIP=$STRIP
6567   # Extract the first word of "strip", so it can be a program name with args.
6568 set dummy strip; ac_word=$2
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6570 $as_echo_n "checking for $ac_word... " >&6; }
6571 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6572   $as_echo_n "(cached) " >&6
6573 else
6574   if test -n "$ac_ct_STRIP"; then
6575   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6576 else
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 for as_dir in $PATH
6579 do
6580   IFS=$as_save_IFS
6581   test -z "$as_dir" && as_dir=.
6582     for ac_exec_ext in '' $ac_executable_extensions; do
6583   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6584     ac_cv_prog_ac_ct_STRIP="strip"
6585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586     break 2
6587   fi
6588 done
6589   done
6590 IFS=$as_save_IFS
6591
6592 fi
6593 fi
6594 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6595 if test -n "$ac_ct_STRIP"; then
6596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6597 $as_echo "$ac_ct_STRIP" >&6; }
6598 else
6599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 $as_echo "no" >&6; }
6601 fi
6602
6603   if test "x$ac_ct_STRIP" = x; then
6604     STRIP=":"
6605   else
6606     case $cross_compiling:$ac_tool_warned in
6607 yes:)
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6610 ac_tool_warned=yes ;;
6611 esac
6612     STRIP=$ac_ct_STRIP
6613   fi
6614 else
6615   STRIP="$ac_cv_prog_STRIP"
6616 fi
6617
6618 test -z "$STRIP" && STRIP=:
6619
6620
6621
6622
6623
6624
6625 if test -n "$ac_tool_prefix"; then
6626   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6627 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 $as_echo_n "checking for $ac_word... " >&6; }
6630 if ${ac_cv_prog_RANLIB+:} false; then :
6631   $as_echo_n "(cached) " >&6
6632 else
6633   if test -n "$RANLIB"; then
6634   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6635 else
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 for as_dir in $PATH
6638 do
6639   IFS=$as_save_IFS
6640   test -z "$as_dir" && as_dir=.
6641     for ac_exec_ext in '' $ac_executable_extensions; do
6642   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6643     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645     break 2
6646   fi
6647 done
6648   done
6649 IFS=$as_save_IFS
6650
6651 fi
6652 fi
6653 RANLIB=$ac_cv_prog_RANLIB
6654 if test -n "$RANLIB"; then
6655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6656 $as_echo "$RANLIB" >&6; }
6657 else
6658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 $as_echo "no" >&6; }
6660 fi
6661
6662
6663 fi
6664 if test -z "$ac_cv_prog_RANLIB"; then
6665   ac_ct_RANLIB=$RANLIB
6666   # Extract the first word of "ranlib", so it can be a program name with args.
6667 set dummy ranlib; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6671   $as_echo_n "(cached) " >&6
6672 else
6673   if test -n "$ac_ct_RANLIB"; then
6674   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6675 else
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $PATH
6678 do
6679   IFS=$as_save_IFS
6680   test -z "$as_dir" && as_dir=.
6681     for ac_exec_ext in '' $ac_executable_extensions; do
6682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6683     ac_cv_prog_ac_ct_RANLIB="ranlib"
6684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685     break 2
6686   fi
6687 done
6688   done
6689 IFS=$as_save_IFS
6690
6691 fi
6692 fi
6693 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6694 if test -n "$ac_ct_RANLIB"; then
6695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6696 $as_echo "$ac_ct_RANLIB" >&6; }
6697 else
6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6700 fi
6701
6702   if test "x$ac_ct_RANLIB" = x; then
6703     RANLIB=":"
6704   else
6705     case $cross_compiling:$ac_tool_warned in
6706 yes:)
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6709 ac_tool_warned=yes ;;
6710 esac
6711     RANLIB=$ac_ct_RANLIB
6712   fi
6713 else
6714   RANLIB="$ac_cv_prog_RANLIB"
6715 fi
6716
6717 test -z "$RANLIB" && RANLIB=:
6718
6719
6720
6721
6722
6723
6724 # Determine commands to create old-style static archives.
6725 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6726 old_postinstall_cmds='chmod 644 $oldlib'
6727 old_postuninstall_cmds=
6728
6729 if test -n "$RANLIB"; then
6730   case $host_os in
6731   openbsd*)
6732     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6733     ;;
6734   *)
6735     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6736     ;;
6737   esac
6738   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6739 fi
6740
6741 case $host_os in
6742   darwin*)
6743     lock_old_archive_extraction=yes ;;
6744   *)
6745     lock_old_archive_extraction=no ;;
6746 esac
6747
6748
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 # If no C compiler was specified, use CC.
6787 LTCC=${LTCC-"$CC"}
6788
6789 # If no C compiler flags were specified, use CFLAGS.
6790 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6791
6792 # Allow CC to be a program name with arguments.
6793 compiler=$CC
6794
6795
6796 # Check for command to grab the raw symbol name followed by C symbol from nm.
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6798 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6799 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6800   $as_echo_n "(cached) " >&6
6801 else
6802
6803 # These are sane defaults that work on at least a few old systems.
6804 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6805
6806 # Character class describing NM global symbol codes.
6807 symcode='[BCDEGRST]'
6808
6809 # Regexp to match symbols that can be accessed directly from C.
6810 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6811
6812 # Define system-specific variables.
6813 case $host_os in
6814 aix*)
6815   symcode='[BCDT]'
6816   ;;
6817 cygwin* | mingw* | pw32* | cegcc*)
6818   symcode='[ABCDGISTW]'
6819   ;;
6820 hpux*)
6821   if test "$host_cpu" = ia64; then
6822     symcode='[ABCDEGRST]'
6823   fi
6824   ;;
6825 irix* | nonstopux*)
6826   symcode='[BCDEGRST]'
6827   ;;
6828 osf*)
6829   symcode='[BCDEGQRST]'
6830   ;;
6831 solaris*)
6832   symcode='[BDRT]'
6833   ;;
6834 sco3.2v5*)
6835   symcode='[DT]'
6836   ;;
6837 sysv4.2uw2*)
6838   symcode='[DT]'
6839   ;;
6840 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6841   symcode='[ABDT]'
6842   ;;
6843 sysv4)
6844   symcode='[DFNSTU]'
6845   ;;
6846 esac
6847
6848 # If we're using GNU nm, then use its standard symbol codes.
6849 case `$NM -V 2>&1` in
6850 *GNU* | *'with BFD'*)
6851   symcode='[ABCDGIRSTW]' ;;
6852 esac
6853
6854 # Transform an extracted symbol line into a proper C declaration.
6855 # Some systems (esp. on ia64) link data and code symbols differently,
6856 # so use this general approach.
6857 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6858
6859 # Transform an extracted symbol line into symbol name and symbol address
6860 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6861 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'"
6862
6863 # Handle CRLF in mingw tool chain
6864 opt_cr=
6865 case $build_os in
6866 mingw*)
6867   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6868   ;;
6869 esac
6870
6871 # Try without a prefix underscore, then with it.
6872 for ac_symprfx in "" "_"; do
6873
6874   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6875   symxfrm="\\1 $ac_symprfx\\2 \\2"
6876
6877   # Write the raw and C identifiers.
6878   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6879     # Fake it for dumpbin and say T for any non-static function
6880     # and D for any global variable.
6881     # Also find C++ and __fastcall symbols from MSVC++,
6882     # which start with @ or ?.
6883     lt_cv_sys_global_symbol_pipe="$AWK '"\
6884 "     {last_section=section; section=\$ 3};"\
6885 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6886 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6887 "     \$ 0!~/External *\|/{next};"\
6888 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6889 "     {if(hide[section]) next};"\
6890 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6891 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6892 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6893 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6894 "     ' prfx=^$ac_symprfx"
6895   else
6896     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6897   fi
6898   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6899
6900   # Check to see that the pipe works correctly.
6901   pipe_works=no
6902
6903   rm -f conftest*
6904   cat > conftest.$ac_ext <<_LT_EOF
6905 #ifdef __cplusplus
6906 extern "C" {
6907 #endif
6908 char nm_test_var;
6909 void nm_test_func(void);
6910 void nm_test_func(void){}
6911 #ifdef __cplusplus
6912 }
6913 #endif
6914 int main(){nm_test_var='a';nm_test_func();return(0);}
6915 _LT_EOF
6916
6917   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6918   (eval $ac_compile) 2>&5
6919   ac_status=$?
6920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921   test $ac_status = 0; }; then
6922     # Now try to grab the symbols.
6923     nlist=conftest.nm
6924     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6925   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6926   ac_status=$?
6927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6928   test $ac_status = 0; } && test -s "$nlist"; then
6929       # Try sorting and uniquifying the output.
6930       if sort "$nlist" | uniq > "$nlist"T; then
6931         mv -f "$nlist"T "$nlist"
6932       else
6933         rm -f "$nlist"T
6934       fi
6935
6936       # Make sure that we snagged all the symbols we need.
6937       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6938         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6939           cat <<_LT_EOF > conftest.$ac_ext
6940 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6941 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6942 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6943    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6944 # define LT_DLSYM_CONST
6945 #elif defined(__osf__)
6946 /* This system does not cope well with relocations in const data.  */
6947 # define LT_DLSYM_CONST
6948 #else
6949 # define LT_DLSYM_CONST const
6950 #endif
6951
6952 #ifdef __cplusplus
6953 extern "C" {
6954 #endif
6955
6956 _LT_EOF
6957           # Now generate the symbol file.
6958           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6959
6960           cat <<_LT_EOF >> conftest.$ac_ext
6961
6962 /* The mapping between symbol names and symbols.  */
6963 LT_DLSYM_CONST struct {
6964   const char *name;
6965   void       *address;
6966 }
6967 lt__PROGRAM__LTX_preloaded_symbols[] =
6968 {
6969   { "@PROGRAM@", (void *) 0 },
6970 _LT_EOF
6971           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6972           cat <<\_LT_EOF >> conftest.$ac_ext
6973   {0, (void *) 0}
6974 };
6975
6976 /* This works around a problem in FreeBSD linker */
6977 #ifdef FREEBSD_WORKAROUND
6978 static const void *lt_preloaded_setup() {
6979   return lt__PROGRAM__LTX_preloaded_symbols;
6980 }
6981 #endif
6982
6983 #ifdef __cplusplus
6984 }
6985 #endif
6986 _LT_EOF
6987           # Now try linking the two files.
6988           mv conftest.$ac_objext conftstm.$ac_objext
6989           lt_globsym_save_LIBS=$LIBS
6990           lt_globsym_save_CFLAGS=$CFLAGS
6991           LIBS="conftstm.$ac_objext"
6992           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6993           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6994   (eval $ac_link) 2>&5
6995   ac_status=$?
6996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6998             pipe_works=yes
6999           fi
7000           LIBS=$lt_globsym_save_LIBS
7001           CFLAGS=$lt_globsym_save_CFLAGS
7002         else
7003           echo "cannot find nm_test_func in $nlist" >&5
7004         fi
7005       else
7006         echo "cannot find nm_test_var in $nlist" >&5
7007       fi
7008     else
7009       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7010     fi
7011   else
7012     echo "$progname: failed program was:" >&5
7013     cat conftest.$ac_ext >&5
7014   fi
7015   rm -rf conftest* conftst*
7016
7017   # Do not use the global_symbol_pipe unless it works.
7018   if test "$pipe_works" = yes; then
7019     break
7020   else
7021     lt_cv_sys_global_symbol_pipe=
7022   fi
7023 done
7024
7025 fi
7026
7027 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7028   lt_cv_sys_global_symbol_to_cdecl=
7029 fi
7030 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7032 $as_echo "failed" >&6; }
7033 else
7034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7035 $as_echo "ok" >&6; }
7036 fi
7037
7038 # Response file support.
7039 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7040   nm_file_list_spec='@'
7041 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7042   nm_file_list_spec='@'
7043 fi
7044
7045
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7072 $as_echo_n "checking for sysroot... " >&6; }
7073
7074 # Check whether --with-sysroot was given.
7075 if test "${with_sysroot+set}" = set; then :
7076   withval=$with_sysroot;
7077 else
7078   with_sysroot=no
7079 fi
7080
7081
7082 lt_sysroot=
7083 case ${with_sysroot} in #(
7084  yes)
7085    if test "$GCC" = yes; then
7086      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7087    fi
7088    ;; #(
7089  /*)
7090    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7091    ;; #(
7092  no|'')
7093    ;; #(
7094  *)
7095    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7096 $as_echo "${with_sysroot}" >&6; }
7097    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7098    ;;
7099 esac
7100
7101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7102 $as_echo "${lt_sysroot:-no}" >&6; }
7103
7104
7105
7106
7107
7108 # Check whether --enable-libtool-lock was given.
7109 if test "${enable_libtool_lock+set}" = set; then :
7110   enableval=$enable_libtool_lock;
7111 fi
7112
7113 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7114
7115 # Some flags need to be propagated to the compiler or linker for good
7116 # libtool support.
7117 case $host in
7118 ia64-*-hpux*)
7119   # Find out which ABI we are using.
7120   echo 'int i;' > conftest.$ac_ext
7121   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7122   (eval $ac_compile) 2>&5
7123   ac_status=$?
7124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7125   test $ac_status = 0; }; then
7126     case `/usr/bin/file conftest.$ac_objext` in
7127       *ELF-32*)
7128         HPUX_IA64_MODE="32"
7129         ;;
7130       *ELF-64*)
7131         HPUX_IA64_MODE="64"
7132         ;;
7133     esac
7134   fi
7135   rm -rf conftest*
7136   ;;
7137 *-*-irix6*)
7138   # Find out which ABI we are using.
7139   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7140   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7141   (eval $ac_compile) 2>&5
7142   ac_status=$?
7143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7144   test $ac_status = 0; }; then
7145     if test "$lt_cv_prog_gnu_ld" = yes; then
7146       case `/usr/bin/file conftest.$ac_objext` in
7147         *32-bit*)
7148           LD="${LD-ld} -melf32bsmip"
7149           ;;
7150         *N32*)
7151           LD="${LD-ld} -melf32bmipn32"
7152           ;;
7153         *64-bit*)
7154           LD="${LD-ld} -melf64bmip"
7155         ;;
7156       esac
7157     else
7158       case `/usr/bin/file conftest.$ac_objext` in
7159         *32-bit*)
7160           LD="${LD-ld} -32"
7161           ;;
7162         *N32*)
7163           LD="${LD-ld} -n32"
7164           ;;
7165         *64-bit*)
7166           LD="${LD-ld} -64"
7167           ;;
7168       esac
7169     fi
7170   fi
7171   rm -rf conftest*
7172   ;;
7173
7174 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7175 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7176   # Find out which ABI we are using.
7177   echo 'int i;' > conftest.$ac_ext
7178   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7179   (eval $ac_compile) 2>&5
7180   ac_status=$?
7181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7182   test $ac_status = 0; }; then
7183     case `/usr/bin/file conftest.o` in
7184       *32-bit*)
7185         case $host in
7186           x86_64-*kfreebsd*-gnu)
7187             LD="${LD-ld} -m elf_i386_fbsd"
7188             ;;
7189           x86_64-*linux*)
7190             case `/usr/bin/file conftest.o` in
7191               *x86-64*)
7192                 LD="${LD-ld} -m elf32_x86_64"
7193                 ;;
7194               *)
7195                 LD="${LD-ld} -m elf_i386"
7196                 ;;
7197             esac
7198             ;;
7199           powerpc64le-*)
7200             LD="${LD-ld} -m elf32lppclinux"
7201             ;;
7202           powerpc64-*)
7203             LD="${LD-ld} -m elf32ppclinux"
7204             ;;
7205           s390x-*linux*)
7206             LD="${LD-ld} -m elf_s390"
7207             ;;
7208           sparc64-*linux*)
7209             LD="${LD-ld} -m elf32_sparc"
7210             ;;
7211         esac
7212         ;;
7213       *64-bit*)
7214         case $host in
7215           x86_64-*kfreebsd*-gnu)
7216             LD="${LD-ld} -m elf_x86_64_fbsd"
7217             ;;
7218           x86_64-*linux*)
7219             LD="${LD-ld} -m elf_x86_64"
7220             ;;
7221           powerpcle-*)
7222             LD="${LD-ld} -m elf64lppc"
7223             ;;
7224           powerpc-*)
7225             LD="${LD-ld} -m elf64ppc"
7226             ;;
7227           s390*-*linux*|s390*-*tpf*)
7228             LD="${LD-ld} -m elf64_s390"
7229             ;;
7230           sparc*-*linux*)
7231             LD="${LD-ld} -m elf64_sparc"
7232             ;;
7233         esac
7234         ;;
7235     esac
7236   fi
7237   rm -rf conftest*
7238   ;;
7239
7240 *-*-sco3.2v5*)
7241   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7242   SAVE_CFLAGS="$CFLAGS"
7243   CFLAGS="$CFLAGS -belf"
7244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7245 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7246 if ${lt_cv_cc_needs_belf+:} false; then :
7247   $as_echo_n "(cached) " >&6
7248 else
7249   ac_ext=c
7250 ac_cpp='$CPP $CPPFLAGS'
7251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7254
7255      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h.  */
7257
7258 int
7259 main ()
7260 {
7261
7262   ;
7263   return 0;
7264 }
7265 _ACEOF
7266 if ac_fn_c_try_link "$LINENO"; then :
7267   lt_cv_cc_needs_belf=yes
7268 else
7269   lt_cv_cc_needs_belf=no
7270 fi
7271 rm -f core conftest.err conftest.$ac_objext \
7272     conftest$ac_exeext conftest.$ac_ext
7273      ac_ext=c
7274 ac_cpp='$CPP $CPPFLAGS'
7275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7278
7279 fi
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7281 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7282   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7283     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7284     CFLAGS="$SAVE_CFLAGS"
7285   fi
7286   ;;
7287 *-*solaris*)
7288   # Find out which ABI we are using.
7289   echo 'int i;' > conftest.$ac_ext
7290   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7291   (eval $ac_compile) 2>&5
7292   ac_status=$?
7293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294   test $ac_status = 0; }; then
7295     case `/usr/bin/file conftest.o` in
7296     *64-bit*)
7297       case $lt_cv_prog_gnu_ld in
7298       yes*)
7299         case $host in
7300         i?86-*-solaris*)
7301           LD="${LD-ld} -m elf_x86_64"
7302           ;;
7303         sparc*-*-solaris*)
7304           LD="${LD-ld} -m elf64_sparc"
7305           ;;
7306         esac
7307         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7308         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7309           LD="${LD-ld}_sol2"
7310         fi
7311         ;;
7312       *)
7313         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7314           LD="${LD-ld} -64"
7315         fi
7316         ;;
7317       esac
7318       ;;
7319     esac
7320   fi
7321   rm -rf conftest*
7322   ;;
7323 esac
7324
7325 need_locks="$enable_libtool_lock"
7326
7327 if test -n "$ac_tool_prefix"; then
7328   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7329 set dummy ${ac_tool_prefix}mt; ac_word=$2
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 $as_echo_n "checking for $ac_word... " >&6; }
7332 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7333   $as_echo_n "(cached) " >&6
7334 else
7335   if test -n "$MANIFEST_TOOL"; then
7336   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7337 else
7338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 for as_dir in $PATH
7340 do
7341   IFS=$as_save_IFS
7342   test -z "$as_dir" && as_dir=.
7343     for ac_exec_ext in '' $ac_executable_extensions; do
7344   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7345     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347     break 2
7348   fi
7349 done
7350   done
7351 IFS=$as_save_IFS
7352
7353 fi
7354 fi
7355 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7356 if test -n "$MANIFEST_TOOL"; then
7357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7358 $as_echo "$MANIFEST_TOOL" >&6; }
7359 else
7360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361 $as_echo "no" >&6; }
7362 fi
7363
7364
7365 fi
7366 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7367   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7368   # Extract the first word of "mt", so it can be a program name with args.
7369 set dummy mt; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7373   $as_echo_n "(cached) " >&6
7374 else
7375   if test -n "$ac_ct_MANIFEST_TOOL"; then
7376   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7377 else
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 for as_dir in $PATH
7380 do
7381   IFS=$as_save_IFS
7382   test -z "$as_dir" && as_dir=.
7383     for ac_exec_ext in '' $ac_executable_extensions; do
7384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387     break 2
7388   fi
7389 done
7390   done
7391 IFS=$as_save_IFS
7392
7393 fi
7394 fi
7395 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7396 if test -n "$ac_ct_MANIFEST_TOOL"; then
7397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7398 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7399 else
7400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7402 fi
7403
7404   if test "x$ac_ct_MANIFEST_TOOL" = x; then
7405     MANIFEST_TOOL=":"
7406   else
7407     case $cross_compiling:$ac_tool_warned in
7408 yes:)
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7411 ac_tool_warned=yes ;;
7412 esac
7413     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7414   fi
7415 else
7416   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7417 fi
7418
7419 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7421 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7422 if ${lt_cv_path_mainfest_tool+:} false; then :
7423   $as_echo_n "(cached) " >&6
7424 else
7425   lt_cv_path_mainfest_tool=no
7426   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7427   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7428   cat conftest.err >&5
7429   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7430     lt_cv_path_mainfest_tool=yes
7431   fi
7432   rm -f conftest*
7433 fi
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7435 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7436 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7437   MANIFEST_TOOL=:
7438 fi
7439
7440
7441
7442
7443
7444
7445   case $host_os in
7446     rhapsody* | darwin*)
7447     if test -n "$ac_tool_prefix"; then
7448   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7449 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 $as_echo_n "checking for $ac_word... " >&6; }
7452 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7453   $as_echo_n "(cached) " >&6
7454 else
7455   if test -n "$DSYMUTIL"; then
7456   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7457 else
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459 for as_dir in $PATH
7460 do
7461   IFS=$as_save_IFS
7462   test -z "$as_dir" && as_dir=.
7463     for ac_exec_ext in '' $ac_executable_extensions; do
7464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7467     break 2
7468   fi
7469 done
7470   done
7471 IFS=$as_save_IFS
7472
7473 fi
7474 fi
7475 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7476 if test -n "$DSYMUTIL"; then
7477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7478 $as_echo "$DSYMUTIL" >&6; }
7479 else
7480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7482 fi
7483
7484
7485 fi
7486 if test -z "$ac_cv_prog_DSYMUTIL"; then
7487   ac_ct_DSYMUTIL=$DSYMUTIL
7488   # Extract the first word of "dsymutil", so it can be a program name with args.
7489 set dummy dsymutil; ac_word=$2
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491 $as_echo_n "checking for $ac_word... " >&6; }
7492 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7493   $as_echo_n "(cached) " >&6
7494 else
7495   if test -n "$ac_ct_DSYMUTIL"; then
7496   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7497 else
7498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7499 for as_dir in $PATH
7500 do
7501   IFS=$as_save_IFS
7502   test -z "$as_dir" && as_dir=.
7503     for ac_exec_ext in '' $ac_executable_extensions; do
7504   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7505     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507     break 2
7508   fi
7509 done
7510   done
7511 IFS=$as_save_IFS
7512
7513 fi
7514 fi
7515 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7516 if test -n "$ac_ct_DSYMUTIL"; then
7517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7518 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7519 else
7520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7522 fi
7523
7524   if test "x$ac_ct_DSYMUTIL" = x; then
7525     DSYMUTIL=":"
7526   else
7527     case $cross_compiling:$ac_tool_warned in
7528 yes:)
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7531 ac_tool_warned=yes ;;
7532 esac
7533     DSYMUTIL=$ac_ct_DSYMUTIL
7534   fi
7535 else
7536   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7537 fi
7538
7539     if test -n "$ac_tool_prefix"; then
7540   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7541 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543 $as_echo_n "checking for $ac_word... " >&6; }
7544 if ${ac_cv_prog_NMEDIT+:} false; then :
7545   $as_echo_n "(cached) " >&6
7546 else
7547   if test -n "$NMEDIT"; then
7548   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7549 else
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7551 for as_dir in $PATH
7552 do
7553   IFS=$as_save_IFS
7554   test -z "$as_dir" && as_dir=.
7555     for ac_exec_ext in '' $ac_executable_extensions; do
7556   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7557     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559     break 2
7560   fi
7561 done
7562   done
7563 IFS=$as_save_IFS
7564
7565 fi
7566 fi
7567 NMEDIT=$ac_cv_prog_NMEDIT
7568 if test -n "$NMEDIT"; then
7569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7570 $as_echo "$NMEDIT" >&6; }
7571 else
7572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7573 $as_echo "no" >&6; }
7574 fi
7575
7576
7577 fi
7578 if test -z "$ac_cv_prog_NMEDIT"; then
7579   ac_ct_NMEDIT=$NMEDIT
7580   # Extract the first word of "nmedit", so it can be a program name with args.
7581 set dummy nmedit; ac_word=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7585   $as_echo_n "(cached) " >&6
7586 else
7587   if test -n "$ac_ct_NMEDIT"; then
7588   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7589 else
7590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7591 for as_dir in $PATH
7592 do
7593   IFS=$as_save_IFS
7594   test -z "$as_dir" && as_dir=.
7595     for ac_exec_ext in '' $ac_executable_extensions; do
7596   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7597     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599     break 2
7600   fi
7601 done
7602   done
7603 IFS=$as_save_IFS
7604
7605 fi
7606 fi
7607 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7608 if test -n "$ac_ct_NMEDIT"; then
7609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7610 $as_echo "$ac_ct_NMEDIT" >&6; }
7611 else
7612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7614 fi
7615
7616   if test "x$ac_ct_NMEDIT" = x; then
7617     NMEDIT=":"
7618   else
7619     case $cross_compiling:$ac_tool_warned in
7620 yes:)
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7623 ac_tool_warned=yes ;;
7624 esac
7625     NMEDIT=$ac_ct_NMEDIT
7626   fi
7627 else
7628   NMEDIT="$ac_cv_prog_NMEDIT"
7629 fi
7630
7631     if test -n "$ac_tool_prefix"; then
7632   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7633 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if ${ac_cv_prog_LIPO+:} false; then :
7637   $as_echo_n "(cached) " >&6
7638 else
7639   if test -n "$LIPO"; then
7640   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7641 else
7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7643 for as_dir in $PATH
7644 do
7645   IFS=$as_save_IFS
7646   test -z "$as_dir" && as_dir=.
7647     for ac_exec_ext in '' $ac_executable_extensions; do
7648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7649     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7651     break 2
7652   fi
7653 done
7654   done
7655 IFS=$as_save_IFS
7656
7657 fi
7658 fi
7659 LIPO=$ac_cv_prog_LIPO
7660 if test -n "$LIPO"; then
7661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7662 $as_echo "$LIPO" >&6; }
7663 else
7664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665 $as_echo "no" >&6; }
7666 fi
7667
7668
7669 fi
7670 if test -z "$ac_cv_prog_LIPO"; then
7671   ac_ct_LIPO=$LIPO
7672   # Extract the first word of "lipo", so it can be a program name with args.
7673 set dummy lipo; ac_word=$2
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7675 $as_echo_n "checking for $ac_word... " >&6; }
7676 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7677   $as_echo_n "(cached) " >&6
7678 else
7679   if test -n "$ac_ct_LIPO"; then
7680   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7681 else
7682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7683 for as_dir in $PATH
7684 do
7685   IFS=$as_save_IFS
7686   test -z "$as_dir" && as_dir=.
7687     for ac_exec_ext in '' $ac_executable_extensions; do
7688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7689     ac_cv_prog_ac_ct_LIPO="lipo"
7690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7691     break 2
7692   fi
7693 done
7694   done
7695 IFS=$as_save_IFS
7696
7697 fi
7698 fi
7699 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7700 if test -n "$ac_ct_LIPO"; then
7701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7702 $as_echo "$ac_ct_LIPO" >&6; }
7703 else
7704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7705 $as_echo "no" >&6; }
7706 fi
7707
7708   if test "x$ac_ct_LIPO" = x; then
7709     LIPO=":"
7710   else
7711     case $cross_compiling:$ac_tool_warned in
7712 yes:)
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7715 ac_tool_warned=yes ;;
7716 esac
7717     LIPO=$ac_ct_LIPO
7718   fi
7719 else
7720   LIPO="$ac_cv_prog_LIPO"
7721 fi
7722
7723     if test -n "$ac_tool_prefix"; then
7724   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7725 set dummy ${ac_tool_prefix}otool; ac_word=$2
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7727 $as_echo_n "checking for $ac_word... " >&6; }
7728 if ${ac_cv_prog_OTOOL+:} false; then :
7729   $as_echo_n "(cached) " >&6
7730 else
7731   if test -n "$OTOOL"; then
7732   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7733 else
7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735 for as_dir in $PATH
7736 do
7737   IFS=$as_save_IFS
7738   test -z "$as_dir" && as_dir=.
7739     for ac_exec_ext in '' $ac_executable_extensions; do
7740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7741     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7743     break 2
7744   fi
7745 done
7746   done
7747 IFS=$as_save_IFS
7748
7749 fi
7750 fi
7751 OTOOL=$ac_cv_prog_OTOOL
7752 if test -n "$OTOOL"; then
7753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7754 $as_echo "$OTOOL" >&6; }
7755 else
7756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7757 $as_echo "no" >&6; }
7758 fi
7759
7760
7761 fi
7762 if test -z "$ac_cv_prog_OTOOL"; then
7763   ac_ct_OTOOL=$OTOOL
7764   # Extract the first word of "otool", so it can be a program name with args.
7765 set dummy otool; ac_word=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7767 $as_echo_n "checking for $ac_word... " >&6; }
7768 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7769   $as_echo_n "(cached) " >&6
7770 else
7771   if test -n "$ac_ct_OTOOL"; then
7772   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7773 else
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775 for as_dir in $PATH
7776 do
7777   IFS=$as_save_IFS
7778   test -z "$as_dir" && as_dir=.
7779     for ac_exec_ext in '' $ac_executable_extensions; do
7780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7781     ac_cv_prog_ac_ct_OTOOL="otool"
7782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7783     break 2
7784   fi
7785 done
7786   done
7787 IFS=$as_save_IFS
7788
7789 fi
7790 fi
7791 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7792 if test -n "$ac_ct_OTOOL"; then
7793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7794 $as_echo "$ac_ct_OTOOL" >&6; }
7795 else
7796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7797 $as_echo "no" >&6; }
7798 fi
7799
7800   if test "x$ac_ct_OTOOL" = x; then
7801     OTOOL=":"
7802   else
7803     case $cross_compiling:$ac_tool_warned in
7804 yes:)
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7807 ac_tool_warned=yes ;;
7808 esac
7809     OTOOL=$ac_ct_OTOOL
7810   fi
7811 else
7812   OTOOL="$ac_cv_prog_OTOOL"
7813 fi
7814
7815     if test -n "$ac_tool_prefix"; then
7816   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7817 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7819 $as_echo_n "checking for $ac_word... " >&6; }
7820 if ${ac_cv_prog_OTOOL64+:} false; then :
7821   $as_echo_n "(cached) " >&6
7822 else
7823   if test -n "$OTOOL64"; then
7824   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7825 else
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7827 for as_dir in $PATH
7828 do
7829   IFS=$as_save_IFS
7830   test -z "$as_dir" && as_dir=.
7831     for ac_exec_ext in '' $ac_executable_extensions; do
7832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7833     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7835     break 2
7836   fi
7837 done
7838   done
7839 IFS=$as_save_IFS
7840
7841 fi
7842 fi
7843 OTOOL64=$ac_cv_prog_OTOOL64
7844 if test -n "$OTOOL64"; then
7845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7846 $as_echo "$OTOOL64" >&6; }
7847 else
7848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7849 $as_echo "no" >&6; }
7850 fi
7851
7852
7853 fi
7854 if test -z "$ac_cv_prog_OTOOL64"; then
7855   ac_ct_OTOOL64=$OTOOL64
7856   # Extract the first word of "otool64", so it can be a program name with args.
7857 set dummy otool64; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7861   $as_echo_n "(cached) " >&6
7862 else
7863   if test -n "$ac_ct_OTOOL64"; then
7864   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7865 else
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 for as_dir in $PATH
7868 do
7869   IFS=$as_save_IFS
7870   test -z "$as_dir" && as_dir=.
7871     for ac_exec_ext in '' $ac_executable_extensions; do
7872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7873     ac_cv_prog_ac_ct_OTOOL64="otool64"
7874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875     break 2
7876   fi
7877 done
7878   done
7879 IFS=$as_save_IFS
7880
7881 fi
7882 fi
7883 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7884 if test -n "$ac_ct_OTOOL64"; then
7885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7886 $as_echo "$ac_ct_OTOOL64" >&6; }
7887 else
7888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7890 fi
7891
7892   if test "x$ac_ct_OTOOL64" = x; then
7893     OTOOL64=":"
7894   else
7895     case $cross_compiling:$ac_tool_warned in
7896 yes:)
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7899 ac_tool_warned=yes ;;
7900 esac
7901     OTOOL64=$ac_ct_OTOOL64
7902   fi
7903 else
7904   OTOOL64="$ac_cv_prog_OTOOL64"
7905 fi
7906
7907
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7934 $as_echo_n "checking for -single_module linker flag... " >&6; }
7935 if ${lt_cv_apple_cc_single_mod+:} false; then :
7936   $as_echo_n "(cached) " >&6
7937 else
7938   lt_cv_apple_cc_single_mod=no
7939       if test -z "${LT_MULTI_MODULE}"; then
7940         # By default we will add the -single_module flag. You can override
7941         # by either setting the environment variable LT_MULTI_MODULE
7942         # non-empty at configure time, or by adding -multi_module to the
7943         # link flags.
7944         rm -rf libconftest.dylib*
7945         echo "int foo(void){return 1;}" > conftest.c
7946         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7947 -dynamiclib -Wl,-single_module conftest.c" >&5
7948         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7949           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7950         _lt_result=$?
7951         # If there is a non-empty error log, and "single_module"
7952         # appears in it, assume the flag caused a linker warning
7953         if test -s conftest.err && $GREP single_module conftest.err; then
7954           cat conftest.err >&5
7955         # Otherwise, if the output was created with a 0 exit code from
7956         # the compiler, it worked.
7957         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7958           lt_cv_apple_cc_single_mod=yes
7959         else
7960           cat conftest.err >&5
7961         fi
7962         rm -rf libconftest.dylib*
7963         rm -f conftest.*
7964       fi
7965 fi
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7967 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7968
7969     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7970 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7971 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7972   $as_echo_n "(cached) " >&6
7973 else
7974   lt_cv_ld_exported_symbols_list=no
7975       save_LDFLAGS=$LDFLAGS
7976       echo "_main" > conftest.sym
7977       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7978       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h.  */
7980
7981 int
7982 main ()
7983 {
7984
7985   ;
7986   return 0;
7987 }
7988 _ACEOF
7989 if ac_fn_c_try_link "$LINENO"; then :
7990   lt_cv_ld_exported_symbols_list=yes
7991 else
7992   lt_cv_ld_exported_symbols_list=no
7993 fi
7994 rm -f core conftest.err conftest.$ac_objext \
7995     conftest$ac_exeext conftest.$ac_ext
7996         LDFLAGS="$save_LDFLAGS"
7997
7998 fi
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8000 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8001
8002     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8003 $as_echo_n "checking for -force_load linker flag... " >&6; }
8004 if ${lt_cv_ld_force_load+:} false; then :
8005   $as_echo_n "(cached) " >&6
8006 else
8007   lt_cv_ld_force_load=no
8008       cat > conftest.c << _LT_EOF
8009 int forced_loaded() { return 2;}
8010 _LT_EOF
8011       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8012       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8013       echo "$AR cru libconftest.a conftest.o" >&5
8014       $AR cru libconftest.a conftest.o 2>&5
8015       echo "$RANLIB libconftest.a" >&5
8016       $RANLIB libconftest.a 2>&5
8017       cat > conftest.c << _LT_EOF
8018 int main() { return 0;}
8019 _LT_EOF
8020       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8021       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8022       _lt_result=$?
8023       if test -s conftest.err && $GREP force_load conftest.err; then
8024         cat conftest.err >&5
8025       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8026         lt_cv_ld_force_load=yes
8027       else
8028         cat conftest.err >&5
8029       fi
8030         rm -f conftest.err libconftest.a conftest conftest.c
8031         rm -rf conftest.dSYM
8032
8033 fi
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8035 $as_echo "$lt_cv_ld_force_load" >&6; }
8036     case $host_os in
8037     rhapsody* | darwin1.[012])
8038       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8039     darwin1.*)
8040       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8041     darwin*) # darwin 5.x on
8042       # if running on 10.5 or later, the deployment target defaults
8043       # to the OS version, if on x86, and 10.4, the deployment
8044       # target defaults to 10.4. Don't you love it?
8045       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8046         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8047           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8048         10.[012]*)
8049           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8050         10.*)
8051           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8052       esac
8053     ;;
8054   esac
8055     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8056       _lt_dar_single_mod='$single_module'
8057     fi
8058     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8059       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8060     else
8061       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8062     fi
8063     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8064       _lt_dsymutil='~$DSYMUTIL $lib || :'
8065     else
8066       _lt_dsymutil=
8067     fi
8068     ;;
8069   esac
8070
8071 ac_ext=c
8072 ac_cpp='$CPP $CPPFLAGS'
8073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8077 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8078 # On Suns, sometimes $CPP names a directory.
8079 if test -n "$CPP" && test -d "$CPP"; then
8080   CPP=
8081 fi
8082 if test -z "$CPP"; then
8083   if ${ac_cv_prog_CPP+:} false; then :
8084   $as_echo_n "(cached) " >&6
8085 else
8086       # Double quotes because CPP needs to be expanded
8087     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8088     do
8089       ac_preproc_ok=false
8090 for ac_c_preproc_warn_flag in '' yes
8091 do
8092   # Use a header file that comes with gcc, so configuring glibc
8093   # with a fresh cross-compiler works.
8094   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8095   # <limits.h> exists even on freestanding compilers.
8096   # On the NeXT, cc -E runs the code through the compiler's parser,
8097   # not just through cpp. "Syntax error" is here to catch this case.
8098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h.  */
8100 #ifdef __STDC__
8101 # include <limits.h>
8102 #else
8103 # include <assert.h>
8104 #endif
8105                      Syntax error
8106 _ACEOF
8107 if ac_fn_c_try_cpp "$LINENO"; then :
8108
8109 else
8110   # Broken: fails on valid input.
8111 continue
8112 fi
8113 rm -f conftest.err conftest.i conftest.$ac_ext
8114
8115   # OK, works on sane cases.  Now check whether nonexistent headers
8116   # can be detected and how.
8117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h.  */
8119 #include <ac_nonexistent.h>
8120 _ACEOF
8121 if ac_fn_c_try_cpp "$LINENO"; then :
8122   # Broken: success on invalid input.
8123 continue
8124 else
8125   # Passes both tests.
8126 ac_preproc_ok=:
8127 break
8128 fi
8129 rm -f conftest.err conftest.i conftest.$ac_ext
8130
8131 done
8132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8133 rm -f conftest.i conftest.err conftest.$ac_ext
8134 if $ac_preproc_ok; then :
8135   break
8136 fi
8137
8138     done
8139     ac_cv_prog_CPP=$CPP
8140
8141 fi
8142   CPP=$ac_cv_prog_CPP
8143 else
8144   ac_cv_prog_CPP=$CPP
8145 fi
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8147 $as_echo "$CPP" >&6; }
8148 ac_preproc_ok=false
8149 for ac_c_preproc_warn_flag in '' yes
8150 do
8151   # Use a header file that comes with gcc, so configuring glibc
8152   # with a fresh cross-compiler works.
8153   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8154   # <limits.h> exists even on freestanding compilers.
8155   # On the NeXT, cc -E runs the code through the compiler's parser,
8156   # not just through cpp. "Syntax error" is here to catch this case.
8157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h.  */
8159 #ifdef __STDC__
8160 # include <limits.h>
8161 #else
8162 # include <assert.h>
8163 #endif
8164                      Syntax error
8165 _ACEOF
8166 if ac_fn_c_try_cpp "$LINENO"; then :
8167
8168 else
8169   # Broken: fails on valid input.
8170 continue
8171 fi
8172 rm -f conftest.err conftest.i conftest.$ac_ext
8173
8174   # OK, works on sane cases.  Now check whether nonexistent headers
8175   # can be detected and how.
8176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8177 /* end confdefs.h.  */
8178 #include <ac_nonexistent.h>
8179 _ACEOF
8180 if ac_fn_c_try_cpp "$LINENO"; then :
8181   # Broken: success on invalid input.
8182 continue
8183 else
8184   # Passes both tests.
8185 ac_preproc_ok=:
8186 break
8187 fi
8188 rm -f conftest.err conftest.i conftest.$ac_ext
8189
8190 done
8191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8192 rm -f conftest.i conftest.err conftest.$ac_ext
8193 if $ac_preproc_ok; then :
8194
8195 else
8196   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8198 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8199 See \`config.log' for more details" "$LINENO" 5; }
8200 fi
8201
8202 ac_ext=c
8203 ac_cpp='$CPP $CPPFLAGS'
8204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8207
8208
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8210 $as_echo_n "checking for ANSI C header files... " >&6; }
8211 if ${ac_cv_header_stdc+:} false; then :
8212   $as_echo_n "(cached) " >&6
8213 else
8214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h.  */
8216 #include <stdlib.h>
8217 #include <stdarg.h>
8218 #include <string.h>
8219 #include <float.h>
8220
8221 int
8222 main ()
8223 {
8224
8225   ;
8226   return 0;
8227 }
8228 _ACEOF
8229 if ac_fn_c_try_compile "$LINENO"; then :
8230   ac_cv_header_stdc=yes
8231 else
8232   ac_cv_header_stdc=no
8233 fi
8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8235
8236 if test $ac_cv_header_stdc = yes; then
8237   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h.  */
8240 #include <string.h>
8241
8242 _ACEOF
8243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8244   $EGREP "memchr" >/dev/null 2>&1; then :
8245
8246 else
8247   ac_cv_header_stdc=no
8248 fi
8249 rm -f conftest*
8250
8251 fi
8252
8253 if test $ac_cv_header_stdc = yes; then
8254   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h.  */
8257 #include <stdlib.h>
8258
8259 _ACEOF
8260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8261   $EGREP "free" >/dev/null 2>&1; then :
8262
8263 else
8264   ac_cv_header_stdc=no
8265 fi
8266 rm -f conftest*
8267
8268 fi
8269
8270 if test $ac_cv_header_stdc = yes; then
8271   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8272   if test "$cross_compiling" = yes; then :
8273   :
8274 else
8275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h.  */
8277 #include <ctype.h>
8278 #include <stdlib.h>
8279 #if ((' ' & 0x0FF) == 0x020)
8280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8282 #else
8283 # define ISLOWER(c) \
8284                    (('a' <= (c) && (c) <= 'i') \
8285                      || ('j' <= (c) && (c) <= 'r') \
8286                      || ('s' <= (c) && (c) <= 'z'))
8287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8288 #endif
8289
8290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8291 int
8292 main ()
8293 {
8294   int i;
8295   for (i = 0; i < 256; i++)
8296     if (XOR (islower (i), ISLOWER (i))
8297         || toupper (i) != TOUPPER (i))
8298       return 2;
8299   return 0;
8300 }
8301 _ACEOF
8302 if ac_fn_c_try_run "$LINENO"; then :
8303
8304 else
8305   ac_cv_header_stdc=no
8306 fi
8307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8308   conftest.$ac_objext conftest.beam conftest.$ac_ext
8309 fi
8310
8311 fi
8312 fi
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8314 $as_echo "$ac_cv_header_stdc" >&6; }
8315 if test $ac_cv_header_stdc = yes; then
8316
8317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8318
8319 fi
8320
8321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8323                   inttypes.h stdint.h unistd.h
8324 do :
8325   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8326 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8327 "
8328 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8329   cat >>confdefs.h <<_ACEOF
8330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8331 _ACEOF
8332
8333 fi
8334
8335 done
8336
8337
8338 for ac_header in dlfcn.h
8339 do :
8340   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8341 "
8342 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8343   cat >>confdefs.h <<_ACEOF
8344 #define HAVE_DLFCN_H 1
8345 _ACEOF
8346
8347 fi
8348
8349 done
8350
8351
8352
8353 func_stripname_cnf ()
8354 {
8355   case ${2} in
8356   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8357   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8358   esac
8359 } # func_stripname_cnf
8360
8361
8362
8363
8364
8365 # Set options
8366 enable_dlopen=yes
8367 enable_win32_dll=yes
8368
8369 case $host in
8370 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8371   if test -n "$ac_tool_prefix"; then
8372   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8373 set dummy ${ac_tool_prefix}as; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_AS+:} false; then :
8377   $as_echo_n "(cached) " >&6
8378 else
8379   if test -n "$AS"; then
8380   ac_cv_prog_AS="$AS" # Let the user override the test.
8381 else
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 for as_dir in $PATH
8384 do
8385   IFS=$as_save_IFS
8386   test -z "$as_dir" && as_dir=.
8387     for ac_exec_ext in '' $ac_executable_extensions; do
8388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389     ac_cv_prog_AS="${ac_tool_prefix}as"
8390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8391     break 2
8392   fi
8393 done
8394   done
8395 IFS=$as_save_IFS
8396
8397 fi
8398 fi
8399 AS=$ac_cv_prog_AS
8400 if test -n "$AS"; then
8401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8402 $as_echo "$AS" >&6; }
8403 else
8404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8406 fi
8407
8408
8409 fi
8410 if test -z "$ac_cv_prog_AS"; then
8411   ac_ct_AS=$AS
8412   # Extract the first word of "as", so it can be a program name with args.
8413 set dummy as; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8415 $as_echo_n "checking for $ac_word... " >&6; }
8416 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8417   $as_echo_n "(cached) " >&6
8418 else
8419   if test -n "$ac_ct_AS"; then
8420   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8421 else
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 for as_dir in $PATH
8424 do
8425   IFS=$as_save_IFS
8426   test -z "$as_dir" && as_dir=.
8427     for ac_exec_ext in '' $ac_executable_extensions; do
8428   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429     ac_cv_prog_ac_ct_AS="as"
8430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8431     break 2
8432   fi
8433 done
8434   done
8435 IFS=$as_save_IFS
8436
8437 fi
8438 fi
8439 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8440 if test -n "$ac_ct_AS"; then
8441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8442 $as_echo "$ac_ct_AS" >&6; }
8443 else
8444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8446 fi
8447
8448   if test "x$ac_ct_AS" = x; then
8449     AS="false"
8450   else
8451     case $cross_compiling:$ac_tool_warned in
8452 yes:)
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8455 ac_tool_warned=yes ;;
8456 esac
8457     AS=$ac_ct_AS
8458   fi
8459 else
8460   AS="$ac_cv_prog_AS"
8461 fi
8462
8463   if test -n "$ac_tool_prefix"; then
8464   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8465 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8467 $as_echo_n "checking for $ac_word... " >&6; }
8468 if ${ac_cv_prog_DLLTOOL+:} false; then :
8469   $as_echo_n "(cached) " >&6
8470 else
8471   if test -n "$DLLTOOL"; then
8472   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8473 else
8474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8475 for as_dir in $PATH
8476 do
8477   IFS=$as_save_IFS
8478   test -z "$as_dir" && as_dir=.
8479     for ac_exec_ext in '' $ac_executable_extensions; do
8480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8481     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8483     break 2
8484   fi
8485 done
8486   done
8487 IFS=$as_save_IFS
8488
8489 fi
8490 fi
8491 DLLTOOL=$ac_cv_prog_DLLTOOL
8492 if test -n "$DLLTOOL"; then
8493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8494 $as_echo "$DLLTOOL" >&6; }
8495 else
8496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8497 $as_echo "no" >&6; }
8498 fi
8499
8500
8501 fi
8502 if test -z "$ac_cv_prog_DLLTOOL"; then
8503   ac_ct_DLLTOOL=$DLLTOOL
8504   # Extract the first word of "dlltool", so it can be a program name with args.
8505 set dummy dlltool; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8507 $as_echo_n "checking for $ac_word... " >&6; }
8508 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8509   $as_echo_n "(cached) " >&6
8510 else
8511   if test -n "$ac_ct_DLLTOOL"; then
8512   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8513 else
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8515 for as_dir in $PATH
8516 do
8517   IFS=$as_save_IFS
8518   test -z "$as_dir" && as_dir=.
8519     for ac_exec_ext in '' $ac_executable_extensions; do
8520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8521     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8523     break 2
8524   fi
8525 done
8526   done
8527 IFS=$as_save_IFS
8528
8529 fi
8530 fi
8531 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8532 if test -n "$ac_ct_DLLTOOL"; then
8533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8534 $as_echo "$ac_ct_DLLTOOL" >&6; }
8535 else
8536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8537 $as_echo "no" >&6; }
8538 fi
8539
8540   if test "x$ac_ct_DLLTOOL" = x; then
8541     DLLTOOL="false"
8542   else
8543     case $cross_compiling:$ac_tool_warned in
8544 yes:)
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8547 ac_tool_warned=yes ;;
8548 esac
8549     DLLTOOL=$ac_ct_DLLTOOL
8550   fi
8551 else
8552   DLLTOOL="$ac_cv_prog_DLLTOOL"
8553 fi
8554
8555   if test -n "$ac_tool_prefix"; then
8556   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8557 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8559 $as_echo_n "checking for $ac_word... " >&6; }
8560 if ${ac_cv_prog_OBJDUMP+:} false; then :
8561   $as_echo_n "(cached) " >&6
8562 else
8563   if test -n "$OBJDUMP"; then
8564   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8565 else
8566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8567 for as_dir in $PATH
8568 do
8569   IFS=$as_save_IFS
8570   test -z "$as_dir" && as_dir=.
8571     for ac_exec_ext in '' $ac_executable_extensions; do
8572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8573     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8575     break 2
8576   fi
8577 done
8578   done
8579 IFS=$as_save_IFS
8580
8581 fi
8582 fi
8583 OBJDUMP=$ac_cv_prog_OBJDUMP
8584 if test -n "$OBJDUMP"; then
8585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8586 $as_echo "$OBJDUMP" >&6; }
8587 else
8588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8589 $as_echo "no" >&6; }
8590 fi
8591
8592
8593 fi
8594 if test -z "$ac_cv_prog_OBJDUMP"; then
8595   ac_ct_OBJDUMP=$OBJDUMP
8596   # Extract the first word of "objdump", so it can be a program name with args.
8597 set dummy objdump; ac_word=$2
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8599 $as_echo_n "checking for $ac_word... " >&6; }
8600 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8601   $as_echo_n "(cached) " >&6
8602 else
8603   if test -n "$ac_ct_OBJDUMP"; then
8604   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8605 else
8606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8607 for as_dir in $PATH
8608 do
8609   IFS=$as_save_IFS
8610   test -z "$as_dir" && as_dir=.
8611     for ac_exec_ext in '' $ac_executable_extensions; do
8612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8613     ac_cv_prog_ac_ct_OBJDUMP="objdump"
8614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8615     break 2
8616   fi
8617 done
8618   done
8619 IFS=$as_save_IFS
8620
8621 fi
8622 fi
8623 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8624 if test -n "$ac_ct_OBJDUMP"; then
8625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8626 $as_echo "$ac_ct_OBJDUMP" >&6; }
8627 else
8628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8629 $as_echo "no" >&6; }
8630 fi
8631
8632   if test "x$ac_ct_OBJDUMP" = x; then
8633     OBJDUMP="false"
8634   else
8635     case $cross_compiling:$ac_tool_warned in
8636 yes:)
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8639 ac_tool_warned=yes ;;
8640 esac
8641     OBJDUMP=$ac_ct_OBJDUMP
8642   fi
8643 else
8644   OBJDUMP="$ac_cv_prog_OBJDUMP"
8645 fi
8646
8647   ;;
8648 esac
8649
8650 test -z "$AS" && AS=as
8651
8652
8653
8654
8655
8656 test -z "$DLLTOOL" && DLLTOOL=dlltool
8657
8658
8659
8660
8661
8662 test -z "$OBJDUMP" && OBJDUMP=objdump
8663
8664
8665
8666
8667 # Check whether --enable-static was given.
8668 if test "${enable_static+set}" = set; then :
8669   enableval=$enable_static; p=${PACKAGE-default}
8670     case $enableval in
8671     yes) enable_static=yes ;;
8672     no) enable_static=no ;;
8673     *)
8674      enable_static=no
8675       # Look at the argument we got.  We use all the common list separators.
8676       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8677       for pkg in $enableval; do
8678         IFS="$lt_save_ifs"
8679         if test "X$pkg" = "X$p"; then
8680           enable_static=yes
8681         fi
8682       done
8683       IFS="$lt_save_ifs"
8684       ;;
8685     esac
8686 else
8687   enable_static=no
8688 fi
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701             # Check whether --enable-shared was given.
8702 if test "${enable_shared+set}" = set; then :
8703   enableval=$enable_shared; p=${PACKAGE-default}
8704     case $enableval in
8705     yes) enable_shared=yes ;;
8706     no) enable_shared=no ;;
8707     *)
8708       enable_shared=no
8709       # Look at the argument we got.  We use all the common list separators.
8710       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8711       for pkg in $enableval; do
8712         IFS="$lt_save_ifs"
8713         if test "X$pkg" = "X$p"; then
8714           enable_shared=yes
8715         fi
8716       done
8717       IFS="$lt_save_ifs"
8718       ;;
8719     esac
8720 else
8721   enable_shared=yes
8722 fi
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734 # Check whether --with-pic was given.
8735 if test "${with_pic+set}" = set; then :
8736   withval=$with_pic; lt_p=${PACKAGE-default}
8737     case $withval in
8738     yes|no) pic_mode=$withval ;;
8739     *)
8740       pic_mode=default
8741       # Look at the argument we got.  We use all the common list separators.
8742       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8743       for lt_pkg in $withval; do
8744         IFS="$lt_save_ifs"
8745         if test "X$lt_pkg" = "X$lt_p"; then
8746           pic_mode=yes
8747         fi
8748       done
8749       IFS="$lt_save_ifs"
8750       ;;
8751     esac
8752 else
8753   pic_mode=default
8754 fi
8755
8756
8757 test -z "$pic_mode" && pic_mode=default
8758
8759
8760
8761
8762
8763
8764
8765   # Check whether --enable-fast-install was given.
8766 if test "${enable_fast_install+set}" = set; then :
8767   enableval=$enable_fast_install; p=${PACKAGE-default}
8768     case $enableval in
8769     yes) enable_fast_install=yes ;;
8770     no) enable_fast_install=no ;;
8771     *)
8772       enable_fast_install=no
8773       # Look at the argument we got.  We use all the common list separators.
8774       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8775       for pkg in $enableval; do
8776         IFS="$lt_save_ifs"
8777         if test "X$pkg" = "X$p"; then
8778           enable_fast_install=yes
8779         fi
8780       done
8781       IFS="$lt_save_ifs"
8782       ;;
8783     esac
8784 else
8785   enable_fast_install=yes
8786 fi
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798 # This can be used to rebuild libtool when needed
8799 LIBTOOL_DEPS="$ltmain"
8800
8801 # Always use our own libtool.
8802 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8803
8804
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 test -z "$LN_S" && LN_S="ln -s"
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848 if test -n "${ZSH_VERSION+set}" ; then
8849    setopt NO_GLOB_SUBST
8850 fi
8851
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8853 $as_echo_n "checking for objdir... " >&6; }
8854 if ${lt_cv_objdir+:} false; then :
8855   $as_echo_n "(cached) " >&6
8856 else
8857   rm -f .libs 2>/dev/null
8858 mkdir .libs 2>/dev/null
8859 if test -d .libs; then
8860   lt_cv_objdir=.libs
8861 else
8862   # MS-DOS does not allow filenames that begin with a dot.
8863   lt_cv_objdir=_libs
8864 fi
8865 rmdir .libs 2>/dev/null
8866 fi
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8868 $as_echo "$lt_cv_objdir" >&6; }
8869 objdir=$lt_cv_objdir
8870
8871
8872
8873
8874
8875 cat >>confdefs.h <<_ACEOF
8876 #define LT_OBJDIR "$lt_cv_objdir/"
8877 _ACEOF
8878
8879
8880
8881
8882 case $host_os in
8883 aix3*)
8884   # AIX sometimes has problems with the GCC collect2 program.  For some
8885   # reason, if we set the COLLECT_NAMES environment variable, the problems
8886   # vanish in a puff of smoke.
8887   if test "X${COLLECT_NAMES+set}" != Xset; then
8888     COLLECT_NAMES=
8889     export COLLECT_NAMES
8890   fi
8891   ;;
8892 esac
8893
8894 # Global variables:
8895 ofile=libtool
8896 can_build_shared=yes
8897
8898 # All known linkers require a `.a' archive for static linking (except MSVC,
8899 # which needs '.lib').
8900 libext=a
8901
8902 with_gnu_ld="$lt_cv_prog_gnu_ld"
8903
8904 old_CC="$CC"
8905 old_CFLAGS="$CFLAGS"
8906
8907 # Set sane defaults for various variables
8908 test -z "$CC" && CC=cc
8909 test -z "$LTCC" && LTCC=$CC
8910 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8911 test -z "$LD" && LD=ld
8912 test -z "$ac_objext" && ac_objext=o
8913
8914 for cc_temp in $compiler""; do
8915   case $cc_temp in
8916     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8917     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8918     \-*) ;;
8919     *) break;;
8920   esac
8921 done
8922 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8923
8924
8925 # Only perform the check for file, if the check method requires it
8926 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8927 case $deplibs_check_method in
8928 file_magic*)
8929   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8930     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8931 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8932 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8933   $as_echo_n "(cached) " >&6
8934 else
8935   case $MAGIC_CMD in
8936 [\\/*] |  ?:[\\/]*)
8937   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8938   ;;
8939 *)
8940   lt_save_MAGIC_CMD="$MAGIC_CMD"
8941   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8942   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8943   for ac_dir in $ac_dummy; do
8944     IFS="$lt_save_ifs"
8945     test -z "$ac_dir" && ac_dir=.
8946     if test -f $ac_dir/${ac_tool_prefix}file; then
8947       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8948       if test -n "$file_magic_test_file"; then
8949         case $deplibs_check_method in
8950         "file_magic "*)
8951           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8952           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8953           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8954             $EGREP "$file_magic_regex" > /dev/null; then
8955             :
8956           else
8957             cat <<_LT_EOF 1>&2
8958
8959 *** Warning: the command libtool uses to detect shared libraries,
8960 *** $file_magic_cmd, produces output that libtool cannot recognize.
8961 *** The result is that libtool may fail to recognize shared libraries
8962 *** as such.  This will affect the creation of libtool libraries that
8963 *** depend on shared libraries, but programs linked with such libtool
8964 *** libraries will work regardless of this problem.  Nevertheless, you
8965 *** may want to report the problem to your system manager and/or to
8966 *** bug-libtool@gnu.org
8967
8968 _LT_EOF
8969           fi ;;
8970         esac
8971       fi
8972       break
8973     fi
8974   done
8975   IFS="$lt_save_ifs"
8976   MAGIC_CMD="$lt_save_MAGIC_CMD"
8977   ;;
8978 esac
8979 fi
8980
8981 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8982 if test -n "$MAGIC_CMD"; then
8983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8984 $as_echo "$MAGIC_CMD" >&6; }
8985 else
8986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987 $as_echo "no" >&6; }
8988 fi
8989
8990
8991
8992
8993
8994 if test -z "$lt_cv_path_MAGIC_CMD"; then
8995   if test -n "$ac_tool_prefix"; then
8996     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8997 $as_echo_n "checking for file... " >&6; }
8998 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8999   $as_echo_n "(cached) " >&6
9000 else
9001   case $MAGIC_CMD in
9002 [\\/*] |  ?:[\\/]*)
9003   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9004   ;;
9005 *)
9006   lt_save_MAGIC_CMD="$MAGIC_CMD"
9007   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9008   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9009   for ac_dir in $ac_dummy; do
9010     IFS="$lt_save_ifs"
9011     test -z "$ac_dir" && ac_dir=.
9012     if test -f $ac_dir/file; then
9013       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9014       if test -n "$file_magic_test_file"; then
9015         case $deplibs_check_method in
9016         "file_magic "*)
9017           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9018           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9019           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9020             $EGREP "$file_magic_regex" > /dev/null; then
9021             :
9022           else
9023             cat <<_LT_EOF 1>&2
9024
9025 *** Warning: the command libtool uses to detect shared libraries,
9026 *** $file_magic_cmd, produces output that libtool cannot recognize.
9027 *** The result is that libtool may fail to recognize shared libraries
9028 *** as such.  This will affect the creation of libtool libraries that
9029 *** depend on shared libraries, but programs linked with such libtool
9030 *** libraries will work regardless of this problem.  Nevertheless, you
9031 *** may want to report the problem to your system manager and/or to
9032 *** bug-libtool@gnu.org
9033
9034 _LT_EOF
9035           fi ;;
9036         esac
9037       fi
9038       break
9039     fi
9040   done
9041   IFS="$lt_save_ifs"
9042   MAGIC_CMD="$lt_save_MAGIC_CMD"
9043   ;;
9044 esac
9045 fi
9046
9047 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9048 if test -n "$MAGIC_CMD"; then
9049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9050 $as_echo "$MAGIC_CMD" >&6; }
9051 else
9052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9054 fi
9055
9056
9057   else
9058     MAGIC_CMD=:
9059   fi
9060 fi
9061
9062   fi
9063   ;;
9064 esac
9065
9066 # Use C for the default configuration in the libtool script
9067
9068 lt_save_CC="$CC"
9069 ac_ext=c
9070 ac_cpp='$CPP $CPPFLAGS'
9071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9074
9075
9076 # Source file extension for C test sources.
9077 ac_ext=c
9078
9079 # Object file extension for compiled C test sources.
9080 objext=o
9081 objext=$objext
9082
9083 # Code to be used in simple compile tests
9084 lt_simple_compile_test_code="int some_variable = 0;"
9085
9086 # Code to be used in simple link tests
9087 lt_simple_link_test_code='int main(){return(0);}'
9088
9089
9090
9091
9092
9093
9094
9095 # If no C compiler was specified, use CC.
9096 LTCC=${LTCC-"$CC"}
9097
9098 # If no C compiler flags were specified, use CFLAGS.
9099 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9100
9101 # Allow CC to be a program name with arguments.
9102 compiler=$CC
9103
9104 # Save the default compiler, since it gets overwritten when the other
9105 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9106 compiler_DEFAULT=$CC
9107
9108 # save warnings/boilerplate of simple test code
9109 ac_outfile=conftest.$ac_objext
9110 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9111 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9112 _lt_compiler_boilerplate=`cat conftest.err`
9113 $RM conftest*
9114
9115 ac_outfile=conftest.$ac_objext
9116 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9117 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9118 _lt_linker_boilerplate=`cat conftest.err`
9119 $RM -r conftest*
9120
9121
9122 ## CAVEAT EMPTOR:
9123 ## There is no encapsulation within the following macros, do not change
9124 ## the running order or otherwise move them around unless you know exactly
9125 ## what you are doing...
9126 if test -n "$compiler"; then
9127
9128 lt_prog_compiler_no_builtin_flag=
9129
9130 if test "$GCC" = yes; then
9131   case $cc_basename in
9132   nvcc*)
9133     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9134   *)
9135     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9136   esac
9137
9138   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9139 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9140 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9141   $as_echo_n "(cached) " >&6
9142 else
9143   lt_cv_prog_compiler_rtti_exceptions=no
9144    ac_outfile=conftest.$ac_objext
9145    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9146    lt_compiler_flag="-fno-rtti -fno-exceptions"
9147    # Insert the option either (1) after the last *FLAGS variable, or
9148    # (2) before a word containing "conftest.", or (3) at the end.
9149    # Note that $ac_compile itself does not contain backslashes and begins
9150    # with a dollar sign (not a hyphen), so the echo should work correctly.
9151    # The option is referenced via a variable to avoid confusing sed.
9152    lt_compile=`echo "$ac_compile" | $SED \
9153    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9154    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9155    -e 's:$: $lt_compiler_flag:'`
9156    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9157    (eval "$lt_compile" 2>conftest.err)
9158    ac_status=$?
9159    cat conftest.err >&5
9160    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161    if (exit $ac_status) && test -s "$ac_outfile"; then
9162      # The compiler can only warn and ignore the option if not recognized
9163      # So say no if there are warnings other than the usual output.
9164      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9165      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9166      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9167        lt_cv_prog_compiler_rtti_exceptions=yes
9168      fi
9169    fi
9170    $RM conftest*
9171
9172 fi
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9174 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9175
9176 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9177     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9178 else
9179     :
9180 fi
9181
9182 fi
9183
9184
9185
9186
9187
9188
9189   lt_prog_compiler_wl=
9190 lt_prog_compiler_pic=
9191 lt_prog_compiler_static=
9192
9193
9194   if test "$GCC" = yes; then
9195     lt_prog_compiler_wl='-Wl,'
9196     lt_prog_compiler_static='-static'
9197
9198     case $host_os in
9199       aix*)
9200       # All AIX code is PIC.
9201       if test "$host_cpu" = ia64; then
9202         # AIX 5 now supports IA64 processor
9203         lt_prog_compiler_static='-Bstatic'
9204       fi
9205       ;;
9206
9207     amigaos*)
9208       case $host_cpu in
9209       powerpc)
9210             # see comment about AmigaOS4 .so support
9211             lt_prog_compiler_pic='-fPIC'
9212         ;;
9213       m68k)
9214             # FIXME: we need at least 68020 code to build shared libraries, but
9215             # adding the `-m68020' flag to GCC prevents building anything better,
9216             # like `-m68040'.
9217             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9218         ;;
9219       esac
9220       ;;
9221
9222     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9223       # PIC is the default for these OSes.
9224       ;;
9225
9226     mingw* | cygwin* | pw32* | os2* | cegcc*)
9227       # This hack is so that the source file can tell whether it is being
9228       # built for inclusion in a dll (and should export symbols for example).
9229       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9230       # (--disable-auto-import) libraries
9231       lt_prog_compiler_pic='-DDLL_EXPORT'
9232       ;;
9233
9234     darwin* | rhapsody*)
9235       # PIC is the default on this platform
9236       # Common symbols not allowed in MH_DYLIB files
9237       lt_prog_compiler_pic='-fno-common'
9238       ;;
9239
9240     haiku*)
9241       # PIC is the default for Haiku.
9242       # The "-static" flag exists, but is broken.
9243       lt_prog_compiler_static=
9244       ;;
9245
9246     hpux*)
9247       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9248       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9249       # sets the default TLS model and affects inlining.
9250       case $host_cpu in
9251       hppa*64*)
9252         # +Z the default
9253         ;;
9254       *)
9255         lt_prog_compiler_pic='-fPIC'
9256         ;;
9257       esac
9258       ;;
9259
9260     interix[3-9]*)
9261       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9262       # Instead, we relocate shared libraries at runtime.
9263       ;;
9264
9265     msdosdjgpp*)
9266       # Just because we use GCC doesn't mean we suddenly get shared libraries
9267       # on systems that don't support them.
9268       lt_prog_compiler_can_build_shared=no
9269       enable_shared=no
9270       ;;
9271
9272     *nto* | *qnx*)
9273       # QNX uses GNU C++, but need to define -shared option too, otherwise
9274       # it will coredump.
9275       lt_prog_compiler_pic='-fPIC -shared'
9276       ;;
9277
9278     sysv4*MP*)
9279       if test -d /usr/nec; then
9280         lt_prog_compiler_pic=-Kconform_pic
9281       fi
9282       ;;
9283
9284     *)
9285       lt_prog_compiler_pic='-fPIC'
9286       ;;
9287     esac
9288
9289     case $cc_basename in
9290     nvcc*) # Cuda Compiler Driver 2.2
9291       lt_prog_compiler_wl='-Xlinker '
9292       if test -n "$lt_prog_compiler_pic"; then
9293         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9294       fi
9295       ;;
9296     esac
9297   else
9298     # PORTME Check for flag to pass linker flags through the system compiler.
9299     case $host_os in
9300     aix*)
9301       lt_prog_compiler_wl='-Wl,'
9302       if test "$host_cpu" = ia64; then
9303         # AIX 5 now supports IA64 processor
9304         lt_prog_compiler_static='-Bstatic'
9305       else
9306         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9307       fi
9308       ;;
9309
9310     mingw* | cygwin* | pw32* | os2* | cegcc*)
9311       # This hack is so that the source file can tell whether it is being
9312       # built for inclusion in a dll (and should export symbols for example).
9313       lt_prog_compiler_pic='-DDLL_EXPORT'
9314       ;;
9315
9316     hpux9* | hpux10* | hpux11*)
9317       lt_prog_compiler_wl='-Wl,'
9318       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9319       # not for PA HP-UX.
9320       case $host_cpu in
9321       hppa*64*|ia64*)
9322         # +Z the default
9323         ;;
9324       *)
9325         lt_prog_compiler_pic='+Z'
9326         ;;
9327       esac
9328       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9329       lt_prog_compiler_static='${wl}-a ${wl}archive'
9330       ;;
9331
9332     irix5* | irix6* | nonstopux*)
9333       lt_prog_compiler_wl='-Wl,'
9334       # PIC (with -KPIC) is the default.
9335       lt_prog_compiler_static='-non_shared'
9336       ;;
9337
9338     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9339       case $cc_basename in
9340       # old Intel for x86_64 which still supported -KPIC.
9341       ecc*)
9342         lt_prog_compiler_wl='-Wl,'
9343         lt_prog_compiler_pic='-KPIC'
9344         lt_prog_compiler_static='-static'
9345         ;;
9346       # icc used to be incompatible with GCC.
9347       # ICC 10 doesn't accept -KPIC any more.
9348       icc* | ifort*)
9349         lt_prog_compiler_wl='-Wl,'
9350         lt_prog_compiler_pic='-fPIC'
9351         lt_prog_compiler_static='-static'
9352         ;;
9353       # Lahey Fortran 8.1.
9354       lf95*)
9355         lt_prog_compiler_wl='-Wl,'
9356         lt_prog_compiler_pic='--shared'
9357         lt_prog_compiler_static='--static'
9358         ;;
9359       nagfor*)
9360         # NAG Fortran compiler
9361         lt_prog_compiler_wl='-Wl,-Wl,,'
9362         lt_prog_compiler_pic='-PIC'
9363         lt_prog_compiler_static='-Bstatic'
9364         ;;
9365       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9366         # Portland Group compilers (*not* the Pentium gcc compiler,
9367         # which looks to be a dead project)
9368         lt_prog_compiler_wl='-Wl,'
9369         lt_prog_compiler_pic='-fpic'
9370         lt_prog_compiler_static='-Bstatic'
9371         ;;
9372       ccc*)
9373         lt_prog_compiler_wl='-Wl,'
9374         # All Alpha code is PIC.
9375         lt_prog_compiler_static='-non_shared'
9376         ;;
9377       xl* | bgxl* | bgf* | mpixl*)
9378         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9379         lt_prog_compiler_wl='-Wl,'
9380         lt_prog_compiler_pic='-qpic'
9381         lt_prog_compiler_static='-qstaticlink'
9382         ;;
9383       *)
9384         case `$CC -V 2>&1 | sed 5q` in
9385         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9386           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9387           lt_prog_compiler_pic='-KPIC'
9388           lt_prog_compiler_static='-Bstatic'
9389           lt_prog_compiler_wl=''
9390           ;;
9391         *Sun\ F* | *Sun*Fortran*)
9392           lt_prog_compiler_pic='-KPIC'
9393           lt_prog_compiler_static='-Bstatic'
9394           lt_prog_compiler_wl='-Qoption ld '
9395           ;;
9396         *Sun\ C*)
9397           # Sun C 5.9
9398           lt_prog_compiler_pic='-KPIC'
9399           lt_prog_compiler_static='-Bstatic'
9400           lt_prog_compiler_wl='-Wl,'
9401           ;;
9402         *Intel*\ [CF]*Compiler*)
9403           lt_prog_compiler_wl='-Wl,'
9404           lt_prog_compiler_pic='-fPIC'
9405           lt_prog_compiler_static='-static'
9406           ;;
9407         *Portland\ Group*)
9408           lt_prog_compiler_wl='-Wl,'
9409           lt_prog_compiler_pic='-fpic'
9410           lt_prog_compiler_static='-Bstatic'
9411           ;;
9412         esac
9413         ;;
9414       esac
9415       ;;
9416
9417     newsos6)
9418       lt_prog_compiler_pic='-KPIC'
9419       lt_prog_compiler_static='-Bstatic'
9420       ;;
9421
9422     *nto* | *qnx*)
9423       # QNX uses GNU C++, but need to define -shared option too, otherwise
9424       # it will coredump.
9425       lt_prog_compiler_pic='-fPIC -shared'
9426       ;;
9427
9428     osf3* | osf4* | osf5*)
9429       lt_prog_compiler_wl='-Wl,'
9430       # All OSF/1 code is PIC.
9431       lt_prog_compiler_static='-non_shared'
9432       ;;
9433
9434     rdos*)
9435       lt_prog_compiler_static='-non_shared'
9436       ;;
9437
9438     solaris*)
9439       lt_prog_compiler_pic='-KPIC'
9440       lt_prog_compiler_static='-Bstatic'
9441       case $cc_basename in
9442       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9443         lt_prog_compiler_wl='-Qoption ld ';;
9444       *)
9445         lt_prog_compiler_wl='-Wl,';;
9446       esac
9447       ;;
9448
9449     sunos4*)
9450       lt_prog_compiler_wl='-Qoption ld '
9451       lt_prog_compiler_pic='-PIC'
9452       lt_prog_compiler_static='-Bstatic'
9453       ;;
9454
9455     sysv4 | sysv4.2uw2* | sysv4.3*)
9456       lt_prog_compiler_wl='-Wl,'
9457       lt_prog_compiler_pic='-KPIC'
9458       lt_prog_compiler_static='-Bstatic'
9459       ;;
9460
9461     sysv4*MP*)
9462       if test -d /usr/nec ;then
9463         lt_prog_compiler_pic='-Kconform_pic'
9464         lt_prog_compiler_static='-Bstatic'
9465       fi
9466       ;;
9467
9468     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9469       lt_prog_compiler_wl='-Wl,'
9470       lt_prog_compiler_pic='-KPIC'
9471       lt_prog_compiler_static='-Bstatic'
9472       ;;
9473
9474     unicos*)
9475       lt_prog_compiler_wl='-Wl,'
9476       lt_prog_compiler_can_build_shared=no
9477       ;;
9478
9479     uts4*)
9480       lt_prog_compiler_pic='-pic'
9481       lt_prog_compiler_static='-Bstatic'
9482       ;;
9483
9484     *)
9485       lt_prog_compiler_can_build_shared=no
9486       ;;
9487     esac
9488   fi
9489
9490 case $host_os in
9491   # For platforms which do not support PIC, -DPIC is meaningless:
9492   *djgpp*)
9493     lt_prog_compiler_pic=
9494     ;;
9495   *)
9496     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9497     ;;
9498 esac
9499
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9501 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9502 if ${lt_cv_prog_compiler_pic+:} false; then :
9503   $as_echo_n "(cached) " >&6
9504 else
9505   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9506 fi
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9508 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9509 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9510
9511 #
9512 # Check to make sure the PIC flag actually works.
9513 #
9514 if test -n "$lt_prog_compiler_pic"; then
9515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9516 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9517 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9518   $as_echo_n "(cached) " >&6
9519 else
9520   lt_cv_prog_compiler_pic_works=no
9521    ac_outfile=conftest.$ac_objext
9522    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9523    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9524    # Insert the option either (1) after the last *FLAGS variable, or
9525    # (2) before a word containing "conftest.", or (3) at the end.
9526    # Note that $ac_compile itself does not contain backslashes and begins
9527    # with a dollar sign (not a hyphen), so the echo should work correctly.
9528    # The option is referenced via a variable to avoid confusing sed.
9529    lt_compile=`echo "$ac_compile" | $SED \
9530    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9531    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9532    -e 's:$: $lt_compiler_flag:'`
9533    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9534    (eval "$lt_compile" 2>conftest.err)
9535    ac_status=$?
9536    cat conftest.err >&5
9537    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538    if (exit $ac_status) && test -s "$ac_outfile"; then
9539      # The compiler can only warn and ignore the option if not recognized
9540      # So say no if there are warnings other than the usual output.
9541      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9542      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9543      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9544        lt_cv_prog_compiler_pic_works=yes
9545      fi
9546    fi
9547    $RM conftest*
9548
9549 fi
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9551 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9552
9553 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9554     case $lt_prog_compiler_pic in
9555      "" | " "*) ;;
9556      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9557      esac
9558 else
9559     lt_prog_compiler_pic=
9560      lt_prog_compiler_can_build_shared=no
9561 fi
9562
9563 fi
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575 #
9576 # Check to make sure the static flag actually works.
9577 #
9578 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9581 if ${lt_cv_prog_compiler_static_works+:} false; then :
9582   $as_echo_n "(cached) " >&6
9583 else
9584   lt_cv_prog_compiler_static_works=no
9585    save_LDFLAGS="$LDFLAGS"
9586    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9587    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9588    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9589      # The linker can only warn and ignore the option if not recognized
9590      # So say no if there are warnings
9591      if test -s conftest.err; then
9592        # Append any errors to the config.log.
9593        cat conftest.err 1>&5
9594        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9595        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9596        if diff conftest.exp conftest.er2 >/dev/null; then
9597          lt_cv_prog_compiler_static_works=yes
9598        fi
9599      else
9600        lt_cv_prog_compiler_static_works=yes
9601      fi
9602    fi
9603    $RM -r conftest*
9604    LDFLAGS="$save_LDFLAGS"
9605
9606 fi
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9608 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9609
9610 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9611     :
9612 else
9613     lt_prog_compiler_static=
9614 fi
9615
9616
9617
9618
9619
9620
9621
9622   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9623 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9624 if ${lt_cv_prog_compiler_c_o+:} false; then :
9625   $as_echo_n "(cached) " >&6
9626 else
9627   lt_cv_prog_compiler_c_o=no
9628    $RM -r conftest 2>/dev/null
9629    mkdir conftest
9630    cd conftest
9631    mkdir out
9632    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9633
9634    lt_compiler_flag="-o out/conftest2.$ac_objext"
9635    # Insert the option either (1) after the last *FLAGS variable, or
9636    # (2) before a word containing "conftest.", or (3) at the end.
9637    # Note that $ac_compile itself does not contain backslashes and begins
9638    # with a dollar sign (not a hyphen), so the echo should work correctly.
9639    lt_compile=`echo "$ac_compile" | $SED \
9640    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9641    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9642    -e 's:$: $lt_compiler_flag:'`
9643    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9644    (eval "$lt_compile" 2>out/conftest.err)
9645    ac_status=$?
9646    cat out/conftest.err >&5
9647    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9649    then
9650      # The compiler can only warn and ignore the option if not recognized
9651      # So say no if there are warnings
9652      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9653      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9654      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9655        lt_cv_prog_compiler_c_o=yes
9656      fi
9657    fi
9658    chmod u+w . 2>&5
9659    $RM conftest*
9660    # SGI C++ compiler will create directory out/ii_files/ for
9661    # template instantiation
9662    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9663    $RM out/* && rmdir out
9664    cd ..
9665    $RM -r conftest
9666    $RM conftest*
9667
9668 fi
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9670 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9671
9672
9673
9674
9675
9676
9677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9679 if ${lt_cv_prog_compiler_c_o+:} false; then :
9680   $as_echo_n "(cached) " >&6
9681 else
9682   lt_cv_prog_compiler_c_o=no
9683    $RM -r conftest 2>/dev/null
9684    mkdir conftest
9685    cd conftest
9686    mkdir out
9687    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9688
9689    lt_compiler_flag="-o out/conftest2.$ac_objext"
9690    # Insert the option either (1) after the last *FLAGS variable, or
9691    # (2) before a word containing "conftest.", or (3) at the end.
9692    # Note that $ac_compile itself does not contain backslashes and begins
9693    # with a dollar sign (not a hyphen), so the echo should work correctly.
9694    lt_compile=`echo "$ac_compile" | $SED \
9695    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9696    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9697    -e 's:$: $lt_compiler_flag:'`
9698    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9699    (eval "$lt_compile" 2>out/conftest.err)
9700    ac_status=$?
9701    cat out/conftest.err >&5
9702    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9704    then
9705      # The compiler can only warn and ignore the option if not recognized
9706      # So say no if there are warnings
9707      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9708      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9709      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9710        lt_cv_prog_compiler_c_o=yes
9711      fi
9712    fi
9713    chmod u+w . 2>&5
9714    $RM conftest*
9715    # SGI C++ compiler will create directory out/ii_files/ for
9716    # template instantiation
9717    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9718    $RM out/* && rmdir out
9719    cd ..
9720    $RM -r conftest
9721    $RM conftest*
9722
9723 fi
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9726
9727
9728
9729
9730 hard_links="nottested"
9731 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9732   # do not overwrite the value of need_locks provided by the user
9733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9734 $as_echo_n "checking if we can lock with hard links... " >&6; }
9735   hard_links=yes
9736   $RM conftest*
9737   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9738   touch conftest.a
9739   ln conftest.a conftest.b 2>&5 || hard_links=no
9740   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9742 $as_echo "$hard_links" >&6; }
9743   if test "$hard_links" = no; then
9744     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9745 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9746     need_locks=warn
9747   fi
9748 else
9749   need_locks=no
9750 fi
9751
9752
9753
9754
9755
9756
9757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9758 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9759
9760   runpath_var=
9761   allow_undefined_flag=
9762   always_export_symbols=no
9763   archive_cmds=
9764   archive_expsym_cmds=
9765   compiler_needs_object=no
9766   enable_shared_with_static_runtimes=no
9767   export_dynamic_flag_spec=
9768   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9769   hardcode_automatic=no
9770   hardcode_direct=no
9771   hardcode_direct_absolute=no
9772   hardcode_libdir_flag_spec=
9773   hardcode_libdir_separator=
9774   hardcode_minus_L=no
9775   hardcode_shlibpath_var=unsupported
9776   inherit_rpath=no
9777   link_all_deplibs=unknown
9778   module_cmds=
9779   module_expsym_cmds=
9780   old_archive_from_new_cmds=
9781   old_archive_from_expsyms_cmds=
9782   thread_safe_flag_spec=
9783   whole_archive_flag_spec=
9784   # include_expsyms should be a list of space-separated symbols to be *always*
9785   # included in the symbol list
9786   include_expsyms=
9787   # exclude_expsyms can be an extended regexp of symbols to exclude
9788   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9789   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9790   # as well as any symbol that contains `d'.
9791   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9792   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9793   # platforms (ab)use it in PIC code, but their linkers get confused if
9794   # the symbol is explicitly referenced.  Since portable code cannot
9795   # rely on this symbol name, it's probably fine to never include it in
9796   # preloaded symbol tables.
9797   # Exclude shared library initialization/finalization symbols.
9798   extract_expsyms_cmds=
9799
9800   case $host_os in
9801   cygwin* | mingw* | pw32* | cegcc*)
9802     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9803     # When not using gcc, we currently assume that we are using
9804     # Microsoft Visual C++.
9805     if test "$GCC" != yes; then
9806       with_gnu_ld=no
9807     fi
9808     ;;
9809   interix*)
9810     # we just hope/assume this is gcc and not c89 (= MSVC++)
9811     with_gnu_ld=yes
9812     ;;
9813   openbsd*)
9814     with_gnu_ld=no
9815     ;;
9816   linux* | k*bsd*-gnu | gnu*)
9817     link_all_deplibs=no
9818     ;;
9819   esac
9820
9821   ld_shlibs=yes
9822
9823   # On some targets, GNU ld is compatible enough with the native linker
9824   # that we're better off using the native interface for both.
9825   lt_use_gnu_ld_interface=no
9826   if test "$with_gnu_ld" = yes; then
9827     case $host_os in
9828       aix*)
9829         # The AIX port of GNU ld has always aspired to compatibility
9830         # with the native linker.  However, as the warning in the GNU ld
9831         # block says, versions before 2.19.5* couldn't really create working
9832         # shared libraries, regardless of the interface used.
9833         case `$LD -v 2>&1` in
9834           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9835           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9836           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9837           *)
9838             lt_use_gnu_ld_interface=yes
9839             ;;
9840         esac
9841         ;;
9842       *)
9843         lt_use_gnu_ld_interface=yes
9844         ;;
9845     esac
9846   fi
9847
9848   if test "$lt_use_gnu_ld_interface" = yes; then
9849     # If archive_cmds runs LD, not CC, wlarc should be empty
9850     wlarc='${wl}'
9851
9852     # Set some defaults for GNU ld with shared library support. These
9853     # are reset later if shared libraries are not supported. Putting them
9854     # here allows them to be overridden if necessary.
9855     runpath_var=LD_RUN_PATH
9856     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9857     export_dynamic_flag_spec='${wl}--export-dynamic'
9858     # ancient GNU ld didn't support --whole-archive et. al.
9859     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9860       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9861     else
9862       whole_archive_flag_spec=
9863     fi
9864     supports_anon_versioning=no
9865     case `$LD -v 2>&1` in
9866       *GNU\ gold*) supports_anon_versioning=yes ;;
9867       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9868       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9869       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9870       *\ 2.11.*) ;; # other 2.11 versions
9871       *) supports_anon_versioning=yes ;;
9872     esac
9873
9874     # See if GNU ld supports shared libraries.
9875     case $host_os in
9876     aix[3-9]*)
9877       # On AIX/PPC, the GNU linker is very broken
9878       if test "$host_cpu" != ia64; then
9879         ld_shlibs=no
9880         cat <<_LT_EOF 1>&2
9881
9882 *** Warning: the GNU linker, at least up to release 2.19, is reported
9883 *** to be unable to reliably create shared libraries on AIX.
9884 *** Therefore, libtool is disabling shared libraries support.  If you
9885 *** really care for shared libraries, you may want to install binutils
9886 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9887 *** You will then need to restart the configuration process.
9888
9889 _LT_EOF
9890       fi
9891       ;;
9892
9893     amigaos*)
9894       case $host_cpu in
9895       powerpc)
9896             # see comment about AmigaOS4 .so support
9897             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9898             archive_expsym_cmds=''
9899         ;;
9900       m68k)
9901             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)'
9902             hardcode_libdir_flag_spec='-L$libdir'
9903             hardcode_minus_L=yes
9904         ;;
9905       esac
9906       ;;
9907
9908     beos*)
9909       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9910         allow_undefined_flag=unsupported
9911         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9912         # support --undefined.  This deserves some investigation.  FIXME
9913         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9914       else
9915         ld_shlibs=no
9916       fi
9917       ;;
9918
9919     cygwin* | mingw* | pw32* | cegcc*)
9920       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9921       # as there is no search path for DLLs.
9922       hardcode_libdir_flag_spec='-L$libdir'
9923       export_dynamic_flag_spec='${wl}--export-all-symbols'
9924       allow_undefined_flag=unsupported
9925       always_export_symbols=no
9926       enable_shared_with_static_runtimes=yes
9927       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'
9928       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9929
9930       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9931         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9932         # If the export-symbols file already is a .def file (1st line
9933         # is EXPORTS), use it as is; otherwise, prepend...
9934         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9935           cp $export_symbols $output_objdir/$soname.def;
9936         else
9937           echo EXPORTS > $output_objdir/$soname.def;
9938           cat $export_symbols >> $output_objdir/$soname.def;
9939         fi~
9940         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9941       else
9942         ld_shlibs=no
9943       fi
9944       ;;
9945
9946     haiku*)
9947       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9948       link_all_deplibs=yes
9949       ;;
9950
9951     interix[3-9]*)
9952       hardcode_direct=no
9953       hardcode_shlibpath_var=no
9954       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955       export_dynamic_flag_spec='${wl}-E'
9956       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9957       # Instead, shared libraries are loaded at an image base (0x10000000 by
9958       # default) and relocated if they conflict, which is a slow very memory
9959       # consuming and fragmenting process.  To avoid this, we pick a random,
9960       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9961       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9962       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9963       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'
9964       ;;
9965
9966     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9967       tmp_diet=no
9968       if test "$host_os" = linux-dietlibc; then
9969         case $cc_basename in
9970           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9971         esac
9972       fi
9973       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9974          && test "$tmp_diet" = no
9975       then
9976         tmp_addflag=' $pic_flag'
9977         tmp_sharedflag='-shared'
9978         case $cc_basename,$host_cpu in
9979         pgcc*)                          # Portland Group C compiler
9980           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'
9981           tmp_addflag=' $pic_flag'
9982           ;;
9983         pgf77* | pgf90* | pgf95* | pgfortran*)
9984                                         # Portland Group f77 and f90 compilers
9985           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'
9986           tmp_addflag=' $pic_flag -Mnomain' ;;
9987         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9988           tmp_addflag=' -i_dynamic' ;;
9989         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9990           tmp_addflag=' -i_dynamic -nofor_main' ;;
9991         ifc* | ifort*)                  # Intel Fortran compiler
9992           tmp_addflag=' -nofor_main' ;;
9993         lf95*)                          # Lahey Fortran 8.1
9994           whole_archive_flag_spec=
9995           tmp_sharedflag='--shared' ;;
9996         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9997           tmp_sharedflag='-qmkshrobj'
9998           tmp_addflag= ;;
9999         nvcc*)  # Cuda Compiler Driver 2.2
10000           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'
10001           compiler_needs_object=yes
10002           ;;
10003         esac
10004         case `$CC -V 2>&1 | sed 5q` in
10005         *Sun\ C*)                       # Sun C 5.9
10006           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'
10007           compiler_needs_object=yes
10008           tmp_sharedflag='-G' ;;
10009         *Sun\ F*)                       # Sun Fortran 8.3
10010           tmp_sharedflag='-G' ;;
10011         esac
10012         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10013
10014         if test "x$supports_anon_versioning" = xyes; then
10015           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10016             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10017             echo "local: *; };" >> $output_objdir/$libname.ver~
10018             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10019         fi
10020
10021         case $cc_basename in
10022         xlf* | bgf* | bgxlf* | mpixlf*)
10023           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10024           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10025           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10026           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10027           if test "x$supports_anon_versioning" = xyes; then
10028             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10029               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10030               echo "local: *; };" >> $output_objdir/$libname.ver~
10031               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10032           fi
10033           ;;
10034         esac
10035       else
10036         ld_shlibs=no
10037       fi
10038       ;;
10039
10040     netbsd* | netbsdelf*-gnu)
10041       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10042         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10043         wlarc=
10044       else
10045         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10046         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10047       fi
10048       ;;
10049
10050     solaris*)
10051       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10052         ld_shlibs=no
10053         cat <<_LT_EOF 1>&2
10054
10055 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10056 *** create shared libraries on Solaris systems.  Therefore, libtool
10057 *** is disabling shared libraries support.  We urge you to upgrade GNU
10058 *** binutils to release 2.9.1 or newer.  Another option is to modify
10059 *** your PATH or compiler configuration so that the native linker is
10060 *** used, and then restart.
10061
10062 _LT_EOF
10063       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10064         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10065         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10066       else
10067         ld_shlibs=no
10068       fi
10069       ;;
10070
10071     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10072       case `$LD -v 2>&1` in
10073         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10074         ld_shlibs=no
10075         cat <<_LT_EOF 1>&2
10076
10077 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10078 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10079 *** is disabling shared libraries support.  We urge you to upgrade GNU
10080 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10081 *** your PATH or compiler configuration so that the native linker is
10082 *** used, and then restart.
10083
10084 _LT_EOF
10085         ;;
10086         *)
10087           # For security reasons, it is highly recommended that you always
10088           # use absolute paths for naming shared libraries, and exclude the
10089           # DT_RUNPATH tag from executables and libraries.  But doing so
10090           # requires that you compile everything twice, which is a pain.
10091           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10092             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10093             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10094             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10095           else
10096             ld_shlibs=no
10097           fi
10098         ;;
10099       esac
10100       ;;
10101
10102     sunos4*)
10103       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10104       wlarc=
10105       hardcode_direct=yes
10106       hardcode_shlibpath_var=no
10107       ;;
10108
10109     *)
10110       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10111         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10112         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10113       else
10114         ld_shlibs=no
10115       fi
10116       ;;
10117     esac
10118
10119     if test "$ld_shlibs" = no; then
10120       runpath_var=
10121       hardcode_libdir_flag_spec=
10122       export_dynamic_flag_spec=
10123       whole_archive_flag_spec=
10124     fi
10125   else
10126     # PORTME fill in a description of your system's linker (not GNU ld)
10127     case $host_os in
10128     aix3*)
10129       allow_undefined_flag=unsupported
10130       always_export_symbols=yes
10131       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'
10132       # Note: this linker hardcodes the directories in LIBPATH if there
10133       # are no directories specified by -L.
10134       hardcode_minus_L=yes
10135       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10136         # Neither direct hardcoding nor static linking is supported with a
10137         # broken collect2.
10138         hardcode_direct=unsupported
10139       fi
10140       ;;
10141
10142     aix[4-9]*)
10143       if test "$host_cpu" = ia64; then
10144         # On IA64, the linker does run time linking by default, so we don't
10145         # have to do anything special.
10146         aix_use_runtimelinking=no
10147         exp_sym_flag='-Bexport'
10148         no_entry_flag=""
10149       else
10150         # If we're using GNU nm, then we don't want the "-C" option.
10151         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10152         # Also, AIX nm treats weak defined symbols like other global
10153         # defined symbols, whereas GNU nm marks them as "W".
10154         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10155           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'
10156         else
10157           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'
10158         fi
10159         aix_use_runtimelinking=no
10160
10161         # Test if we are trying to use run time linking or normal
10162         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10163         # need to do runtime linking.
10164         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10165           for ld_flag in $LDFLAGS; do
10166           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10167             aix_use_runtimelinking=yes
10168             break
10169           fi
10170           done
10171           ;;
10172         esac
10173
10174         exp_sym_flag='-bexport'
10175         no_entry_flag='-bnoentry'
10176       fi
10177
10178       # When large executables or shared objects are built, AIX ld can
10179       # have problems creating the table of contents.  If linking a library
10180       # or program results in "error TOC overflow" add -mminimal-toc to
10181       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10182       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10183
10184       archive_cmds=''
10185       hardcode_direct=yes
10186       hardcode_direct_absolute=yes
10187       hardcode_libdir_separator=':'
10188       link_all_deplibs=yes
10189       file_list_spec='${wl}-f,'
10190
10191       if test "$GCC" = yes; then
10192         case $host_os in aix4.[012]|aix4.[012].*)
10193         # We only want to do this on AIX 4.2 and lower, the check
10194         # below for broken collect2 doesn't work under 4.3+
10195           collect2name=`${CC} -print-prog-name=collect2`
10196           if test -f "$collect2name" &&
10197            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10198           then
10199           # We have reworked collect2
10200           :
10201           else
10202           # We have old collect2
10203           hardcode_direct=unsupported
10204           # It fails to find uninstalled libraries when the uninstalled
10205           # path is not listed in the libpath.  Setting hardcode_minus_L
10206           # to unsupported forces relinking
10207           hardcode_minus_L=yes
10208           hardcode_libdir_flag_spec='-L$libdir'
10209           hardcode_libdir_separator=
10210           fi
10211           ;;
10212         esac
10213         shared_flag='-shared'
10214         if test "$aix_use_runtimelinking" = yes; then
10215           shared_flag="$shared_flag "'${wl}-G'
10216         fi
10217         link_all_deplibs=no
10218       else
10219         # not using gcc
10220         if test "$host_cpu" = ia64; then
10221         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10222         # chokes on -Wl,-G. The following line is correct:
10223           shared_flag='-G'
10224         else
10225           if test "$aix_use_runtimelinking" = yes; then
10226             shared_flag='${wl}-G'
10227           else
10228             shared_flag='${wl}-bM:SRE'
10229           fi
10230         fi
10231       fi
10232
10233       export_dynamic_flag_spec='${wl}-bexpall'
10234       # It seems that -bexpall does not export symbols beginning with
10235       # underscore (_), so it is better to generate a list of symbols to export.
10236       always_export_symbols=yes
10237       if test "$aix_use_runtimelinking" = yes; then
10238         # Warning - without using the other runtime loading flags (-brtl),
10239         # -berok will link without error, but may produce a broken library.
10240         allow_undefined_flag='-berok'
10241         # Determine the default libpath from the value encoded in an
10242         # empty executable.
10243         if test "${lt_cv_aix_libpath+set}" = set; then
10244   aix_libpath=$lt_cv_aix_libpath
10245 else
10246   if ${lt_cv_aix_libpath_+:} false; then :
10247   $as_echo_n "(cached) " >&6
10248 else
10249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h.  */
10251
10252 int
10253 main ()
10254 {
10255
10256   ;
10257   return 0;
10258 }
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"; then :
10261
10262   lt_aix_libpath_sed='
10263       /Import File Strings/,/^$/ {
10264           /^0/ {
10265               s/^0  *\([^ ]*\) *$/\1/
10266               p
10267           }
10268       }'
10269   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10270   # Check for a 64-bit object if we didn't find anything.
10271   if test -z "$lt_cv_aix_libpath_"; then
10272     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10273   fi
10274 fi
10275 rm -f core conftest.err conftest.$ac_objext \
10276     conftest$ac_exeext conftest.$ac_ext
10277   if test -z "$lt_cv_aix_libpath_"; then
10278     lt_cv_aix_libpath_="/usr/lib:/lib"
10279   fi
10280
10281 fi
10282
10283   aix_libpath=$lt_cv_aix_libpath_
10284 fi
10285
10286         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10287         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"
10288       else
10289         if test "$host_cpu" = ia64; then
10290           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10291           allow_undefined_flag="-z nodefs"
10292           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"
10293         else
10294          # Determine the default libpath from the value encoded in an
10295          # empty executable.
10296          if test "${lt_cv_aix_libpath+set}" = set; then
10297   aix_libpath=$lt_cv_aix_libpath
10298 else
10299   if ${lt_cv_aix_libpath_+:} false; then :
10300   $as_echo_n "(cached) " >&6
10301 else
10302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h.  */
10304
10305 int
10306 main ()
10307 {
10308
10309   ;
10310   return 0;
10311 }
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314
10315   lt_aix_libpath_sed='
10316       /Import File Strings/,/^$/ {
10317           /^0/ {
10318               s/^0  *\([^ ]*\) *$/\1/
10319               p
10320           }
10321       }'
10322   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10323   # Check for a 64-bit object if we didn't find anything.
10324   if test -z "$lt_cv_aix_libpath_"; then
10325     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10326   fi
10327 fi
10328 rm -f core conftest.err conftest.$ac_objext \
10329     conftest$ac_exeext conftest.$ac_ext
10330   if test -z "$lt_cv_aix_libpath_"; then
10331     lt_cv_aix_libpath_="/usr/lib:/lib"
10332   fi
10333
10334 fi
10335
10336   aix_libpath=$lt_cv_aix_libpath_
10337 fi
10338
10339          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10340           # Warning - without using the other run time loading flags,
10341           # -berok will link without error, but may produce a broken library.
10342           no_undefined_flag=' ${wl}-bernotok'
10343           allow_undefined_flag=' ${wl}-berok'
10344           if test "$with_gnu_ld" = yes; then
10345             # We only use this code for GNU lds that support --whole-archive.
10346             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10347           else
10348             # Exported symbols can be pulled into shared objects from archives
10349             whole_archive_flag_spec='$convenience'
10350           fi
10351           archive_cmds_need_lc=yes
10352           # This is similar to how AIX traditionally builds its shared libraries.
10353           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'
10354         fi
10355       fi
10356       ;;
10357
10358     amigaos*)
10359       case $host_cpu in
10360       powerpc)
10361             # see comment about AmigaOS4 .so support
10362             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10363             archive_expsym_cmds=''
10364         ;;
10365       m68k)
10366             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)'
10367             hardcode_libdir_flag_spec='-L$libdir'
10368             hardcode_minus_L=yes
10369         ;;
10370       esac
10371       ;;
10372
10373     bsdi[45]*)
10374       export_dynamic_flag_spec=-rdynamic
10375       ;;
10376
10377     cygwin* | mingw* | pw32* | cegcc*)
10378       # When not using gcc, we currently assume that we are using
10379       # Microsoft Visual C++.
10380       # hardcode_libdir_flag_spec is actually meaningless, as there is
10381       # no search path for DLLs.
10382       case $cc_basename in
10383       cl*)
10384         # Native MSVC
10385         hardcode_libdir_flag_spec=' '
10386         allow_undefined_flag=unsupported
10387         always_export_symbols=yes
10388         file_list_spec='@'
10389         # Tell ltmain to make .lib files, not .a files.
10390         libext=lib
10391         # Tell ltmain to make .dll files, not .so files.
10392         shrext_cmds=".dll"
10393         # FIXME: Setting linknames here is a bad hack.
10394         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10395         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10396             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10397           else
10398             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10399           fi~
10400           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10401           linknames='
10402         # The linker will not automatically build a static lib if we build a DLL.
10403         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10404         enable_shared_with_static_runtimes=yes
10405         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10406         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10407         # Don't use ranlib
10408         old_postinstall_cmds='chmod 644 $oldlib'
10409         postlink_cmds='lt_outputfile="@OUTPUT@"~
10410           lt_tool_outputfile="@TOOL_OUTPUT@"~
10411           case $lt_outputfile in
10412             *.exe|*.EXE) ;;
10413             *)
10414               lt_outputfile="$lt_outputfile.exe"
10415               lt_tool_outputfile="$lt_tool_outputfile.exe"
10416               ;;
10417           esac~
10418           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10419             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10420             $RM "$lt_outputfile.manifest";
10421           fi'
10422         ;;
10423       *)
10424         # Assume MSVC wrapper
10425         hardcode_libdir_flag_spec=' '
10426         allow_undefined_flag=unsupported
10427         # Tell ltmain to make .lib files, not .a files.
10428         libext=lib
10429         # Tell ltmain to make .dll files, not .so files.
10430         shrext_cmds=".dll"
10431         # FIXME: Setting linknames here is a bad hack.
10432         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10433         # The linker will automatically build a .lib file if we build a DLL.
10434         old_archive_from_new_cmds='true'
10435         # FIXME: Should let the user specify the lib program.
10436         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10437         enable_shared_with_static_runtimes=yes
10438         ;;
10439       esac
10440       ;;
10441
10442     darwin* | rhapsody*)
10443
10444
10445   archive_cmds_need_lc=no
10446   hardcode_direct=no
10447   hardcode_automatic=yes
10448   hardcode_shlibpath_var=unsupported
10449   if test "$lt_cv_ld_force_load" = "yes"; then
10450     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\"`'
10451
10452   else
10453     whole_archive_flag_spec=''
10454   fi
10455   link_all_deplibs=yes
10456   allow_undefined_flag="$_lt_dar_allow_undefined"
10457   case $cc_basename in
10458      ifort*) _lt_dar_can_shared=yes ;;
10459      *) _lt_dar_can_shared=$GCC ;;
10460   esac
10461   if test "$_lt_dar_can_shared" = "yes"; then
10462     output_verbose_link_cmd=func_echo_all
10463     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10464     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10465     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}"
10466     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}"
10467
10468   else
10469   ld_shlibs=no
10470   fi
10471
10472       ;;
10473
10474     dgux*)
10475       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10476       hardcode_libdir_flag_spec='-L$libdir'
10477       hardcode_shlibpath_var=no
10478       ;;
10479
10480     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10481     # support.  Future versions do this automatically, but an explicit c++rt0.o
10482     # does not break anything, and helps significantly (at the cost of a little
10483     # extra space).
10484     freebsd2.2*)
10485       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10486       hardcode_libdir_flag_spec='-R$libdir'
10487       hardcode_direct=yes
10488       hardcode_shlibpath_var=no
10489       ;;
10490
10491     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10492     freebsd2.*)
10493       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10494       hardcode_direct=yes
10495       hardcode_minus_L=yes
10496       hardcode_shlibpath_var=no
10497       ;;
10498
10499     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10500     freebsd* | dragonfly*)
10501       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10502       hardcode_libdir_flag_spec='-R$libdir'
10503       hardcode_direct=yes
10504       hardcode_shlibpath_var=no
10505       ;;
10506
10507     hpux9*)
10508       if test "$GCC" = yes; then
10509         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'
10510       else
10511         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'
10512       fi
10513       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10514       hardcode_libdir_separator=:
10515       hardcode_direct=yes
10516
10517       # hardcode_minus_L: Not really in the search PATH,
10518       # but as the default location of the library.
10519       hardcode_minus_L=yes
10520       export_dynamic_flag_spec='${wl}-E'
10521       ;;
10522
10523     hpux10*)
10524       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10525         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10526       else
10527         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10528       fi
10529       if test "$with_gnu_ld" = no; then
10530         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10531         hardcode_libdir_separator=:
10532         hardcode_direct=yes
10533         hardcode_direct_absolute=yes
10534         export_dynamic_flag_spec='${wl}-E'
10535         # hardcode_minus_L: Not really in the search PATH,
10536         # but as the default location of the library.
10537         hardcode_minus_L=yes
10538       fi
10539       ;;
10540
10541     hpux11*)
10542       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10543         case $host_cpu in
10544         hppa*64*)
10545           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10546           ;;
10547         ia64*)
10548           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10549           ;;
10550         *)
10551           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10552           ;;
10553         esac
10554       else
10555         case $host_cpu in
10556         hppa*64*)
10557           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10558           ;;
10559         ia64*)
10560           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10561           ;;
10562         *)
10563
10564           # Older versions of the 11.00 compiler do not understand -b yet
10565           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10566           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10567 $as_echo_n "checking if $CC understands -b... " >&6; }
10568 if ${lt_cv_prog_compiler__b+:} false; then :
10569   $as_echo_n "(cached) " >&6
10570 else
10571   lt_cv_prog_compiler__b=no
10572    save_LDFLAGS="$LDFLAGS"
10573    LDFLAGS="$LDFLAGS -b"
10574    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10575    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10576      # The linker can only warn and ignore the option if not recognized
10577      # So say no if there are warnings
10578      if test -s conftest.err; then
10579        # Append any errors to the config.log.
10580        cat conftest.err 1>&5
10581        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10582        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10583        if diff conftest.exp conftest.er2 >/dev/null; then
10584          lt_cv_prog_compiler__b=yes
10585        fi
10586      else
10587        lt_cv_prog_compiler__b=yes
10588      fi
10589    fi
10590    $RM -r conftest*
10591    LDFLAGS="$save_LDFLAGS"
10592
10593 fi
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10595 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10596
10597 if test x"$lt_cv_prog_compiler__b" = xyes; then
10598     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10599 else
10600     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10601 fi
10602
10603           ;;
10604         esac
10605       fi
10606       if test "$with_gnu_ld" = no; then
10607         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10608         hardcode_libdir_separator=:
10609
10610         case $host_cpu in
10611         hppa*64*|ia64*)
10612           hardcode_direct=no
10613           hardcode_shlibpath_var=no
10614           ;;
10615         *)
10616           hardcode_direct=yes
10617           hardcode_direct_absolute=yes
10618           export_dynamic_flag_spec='${wl}-E'
10619
10620           # hardcode_minus_L: Not really in the search PATH,
10621           # but as the default location of the library.
10622           hardcode_minus_L=yes
10623           ;;
10624         esac
10625       fi
10626       ;;
10627
10628     irix5* | irix6* | nonstopux*)
10629       if test "$GCC" = yes; then
10630         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'
10631         # Try to use the -exported_symbol ld option, if it does not
10632         # work, assume that -exports_file does not work either and
10633         # implicitly export all symbols.
10634         # This should be the same for all languages, so no per-tag cache variable.
10635         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10636 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10637 if ${lt_cv_irix_exported_symbol+:} false; then :
10638   $as_echo_n "(cached) " >&6
10639 else
10640   save_LDFLAGS="$LDFLAGS"
10641            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10642            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h.  */
10644 int foo (void) { return 0; }
10645 _ACEOF
10646 if ac_fn_c_try_link "$LINENO"; then :
10647   lt_cv_irix_exported_symbol=yes
10648 else
10649   lt_cv_irix_exported_symbol=no
10650 fi
10651 rm -f core conftest.err conftest.$ac_objext \
10652     conftest$ac_exeext conftest.$ac_ext
10653            LDFLAGS="$save_LDFLAGS"
10654 fi
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10656 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10657         if test "$lt_cv_irix_exported_symbol" = yes; then
10658           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'
10659         fi
10660       else
10661         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'
10662         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'
10663       fi
10664       archive_cmds_need_lc='no'
10665       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10666       hardcode_libdir_separator=:
10667       inherit_rpath=yes
10668       link_all_deplibs=yes
10669       ;;
10670
10671     netbsd* | netbsdelf*-gnu)
10672       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10673         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10674       else
10675         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10676       fi
10677       hardcode_libdir_flag_spec='-R$libdir'
10678       hardcode_direct=yes
10679       hardcode_shlibpath_var=no
10680       ;;
10681
10682     newsos6)
10683       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10684       hardcode_direct=yes
10685       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10686       hardcode_libdir_separator=:
10687       hardcode_shlibpath_var=no
10688       ;;
10689
10690     *nto* | *qnx*)
10691       ;;
10692
10693     openbsd*)
10694       if test -f /usr/libexec/ld.so; then
10695         hardcode_direct=yes
10696         hardcode_shlibpath_var=no
10697         hardcode_direct_absolute=yes
10698         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10699           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10700           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10701           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10702           export_dynamic_flag_spec='${wl}-E'
10703         else
10704           case $host_os in
10705            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10706              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10707              hardcode_libdir_flag_spec='-R$libdir'
10708              ;;
10709            *)
10710              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10711              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10712              ;;
10713           esac
10714         fi
10715       else
10716         ld_shlibs=no
10717       fi
10718       ;;
10719
10720     os2*)
10721       hardcode_libdir_flag_spec='-L$libdir'
10722       hardcode_minus_L=yes
10723       allow_undefined_flag=unsupported
10724       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'
10725       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10726       ;;
10727
10728     osf3*)
10729       if test "$GCC" = yes; then
10730         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10731         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'
10732       else
10733         allow_undefined_flag=' -expect_unresolved \*'
10734         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'
10735       fi
10736       archive_cmds_need_lc='no'
10737       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10738       hardcode_libdir_separator=:
10739       ;;
10740
10741     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10742       if test "$GCC" = yes; then
10743         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10744         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'
10745         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10746       else
10747         allow_undefined_flag=' -expect_unresolved \*'
10748         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'
10749         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~
10750         $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'
10751
10752         # Both c and cxx compiler support -rpath directly
10753         hardcode_libdir_flag_spec='-rpath $libdir'
10754       fi
10755       archive_cmds_need_lc='no'
10756       hardcode_libdir_separator=:
10757       ;;
10758
10759     solaris*)
10760       no_undefined_flag=' -z defs'
10761       if test "$GCC" = yes; then
10762         wlarc='${wl}'
10763         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10764         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10765           $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'
10766       else
10767         case `$CC -V 2>&1` in
10768         *"Compilers 5.0"*)
10769           wlarc=''
10770           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10771           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10772           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10773           ;;
10774         *)
10775           wlarc='${wl}'
10776           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10777           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10778           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10779           ;;
10780         esac
10781       fi
10782       hardcode_libdir_flag_spec='-R$libdir'
10783       hardcode_shlibpath_var=no
10784       case $host_os in
10785       solaris2.[0-5] | solaris2.[0-5].*) ;;
10786       *)
10787         # The compiler driver will combine and reorder linker options,
10788         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10789         # but is careful enough not to reorder.
10790         # Supported since Solaris 2.6 (maybe 2.5.1?)
10791         if test "$GCC" = yes; then
10792           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10793         else
10794           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10795         fi
10796         ;;
10797       esac
10798       link_all_deplibs=yes
10799       ;;
10800
10801     sunos4*)
10802       if test "x$host_vendor" = xsequent; then
10803         # Use $CC to link under sequent, because it throws in some extra .o
10804         # files that make .init and .fini sections work.
10805         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10806       else
10807         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10808       fi
10809       hardcode_libdir_flag_spec='-L$libdir'
10810       hardcode_direct=yes
10811       hardcode_minus_L=yes
10812       hardcode_shlibpath_var=no
10813       ;;
10814
10815     sysv4)
10816       case $host_vendor in
10817         sni)
10818           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10819           hardcode_direct=yes # is this really true???
10820         ;;
10821         siemens)
10822           ## LD is ld it makes a PLAMLIB
10823           ## CC just makes a GrossModule.
10824           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10825           reload_cmds='$CC -r -o $output$reload_objs'
10826           hardcode_direct=no
10827         ;;
10828         motorola)
10829           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10830           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10831         ;;
10832       esac
10833       runpath_var='LD_RUN_PATH'
10834       hardcode_shlibpath_var=no
10835       ;;
10836
10837     sysv4.3*)
10838       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10839       hardcode_shlibpath_var=no
10840       export_dynamic_flag_spec='-Bexport'
10841       ;;
10842
10843     sysv4*MP*)
10844       if test -d /usr/nec; then
10845         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10846         hardcode_shlibpath_var=no
10847         runpath_var=LD_RUN_PATH
10848         hardcode_runpath_var=yes
10849         ld_shlibs=yes
10850       fi
10851       ;;
10852
10853     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10854       no_undefined_flag='${wl}-z,text'
10855       archive_cmds_need_lc=no
10856       hardcode_shlibpath_var=no
10857       runpath_var='LD_RUN_PATH'
10858
10859       if test "$GCC" = yes; then
10860         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10861         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10862       else
10863         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10864         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10865       fi
10866       ;;
10867
10868     sysv5* | sco3.2v5* | sco5v6*)
10869       # Note: We can NOT use -z defs as we might desire, because we do not
10870       # link with -lc, and that would cause any symbols used from libc to
10871       # always be unresolved, which means just about no library would
10872       # ever link correctly.  If we're not using GNU ld we use -z text
10873       # though, which does catch some bad symbols but isn't as heavy-handed
10874       # as -z defs.
10875       no_undefined_flag='${wl}-z,text'
10876       allow_undefined_flag='${wl}-z,nodefs'
10877       archive_cmds_need_lc=no
10878       hardcode_shlibpath_var=no
10879       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10880       hardcode_libdir_separator=':'
10881       link_all_deplibs=yes
10882       export_dynamic_flag_spec='${wl}-Bexport'
10883       runpath_var='LD_RUN_PATH'
10884
10885       if test "$GCC" = yes; then
10886         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10887         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10888       else
10889         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10890         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10891       fi
10892       ;;
10893
10894     uts4*)
10895       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896       hardcode_libdir_flag_spec='-L$libdir'
10897       hardcode_shlibpath_var=no
10898       ;;
10899
10900     *)
10901       ld_shlibs=no
10902       ;;
10903     esac
10904
10905     if test x$host_vendor = xsni; then
10906       case $host in
10907       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10908         export_dynamic_flag_spec='${wl}-Blargedynsym'
10909         ;;
10910       esac
10911     fi
10912   fi
10913
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10915 $as_echo "$ld_shlibs" >&6; }
10916 test "$ld_shlibs" = no && can_build_shared=no
10917
10918 with_gnu_ld=$with_gnu_ld
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934 #
10935 # Do we need to explicitly link libc?
10936 #
10937 case "x$archive_cmds_need_lc" in
10938 x|xyes)
10939   # Assume -lc should be added
10940   archive_cmds_need_lc=yes
10941
10942   if test "$enable_shared" = yes && test "$GCC" = yes; then
10943     case $archive_cmds in
10944     *'~'*)
10945       # FIXME: we may have to deal with multi-command sequences.
10946       ;;
10947     '$CC '*)
10948       # Test whether the compiler implicitly links with -lc since on some
10949       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10950       # to ld, don't add -lc before -lgcc.
10951       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10952 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10953 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10954   $as_echo_n "(cached) " >&6
10955 else
10956   $RM conftest*
10957         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10958
10959         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10960   (eval $ac_compile) 2>&5
10961   ac_status=$?
10962   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10963   test $ac_status = 0; } 2>conftest.err; then
10964           soname=conftest
10965           lib=conftest
10966           libobjs=conftest.$ac_objext
10967           deplibs=
10968           wl=$lt_prog_compiler_wl
10969           pic_flag=$lt_prog_compiler_pic
10970           compiler_flags=-v
10971           linker_flags=-v
10972           verstring=
10973           output_objdir=.
10974           libname=conftest
10975           lt_save_allow_undefined_flag=$allow_undefined_flag
10976           allow_undefined_flag=
10977           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10978   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10979   ac_status=$?
10980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10981   test $ac_status = 0; }
10982           then
10983             lt_cv_archive_cmds_need_lc=no
10984           else
10985             lt_cv_archive_cmds_need_lc=yes
10986           fi
10987           allow_undefined_flag=$lt_save_allow_undefined_flag
10988         else
10989           cat conftest.err 1>&5
10990         fi
10991         $RM conftest*
10992
10993 fi
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10995 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10996       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10997       ;;
10998     esac
10999   fi
11000   ;;
11001 esac
11002
11003
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11155 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11156
11157 if test "$GCC" = yes; then
11158   case $host_os in
11159     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11160     *) lt_awk_arg="/^libraries:/" ;;
11161   esac
11162   case $host_os in
11163     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11164     *) lt_sed_strip_eq="s,=/,/,g" ;;
11165   esac
11166   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11167   case $lt_search_path_spec in
11168   *\;*)
11169     # if the path contains ";" then we assume it to be the separator
11170     # otherwise default to the standard path separator (i.e. ":") - it is
11171     # assumed that no part of a normal pathname contains ";" but that should
11172     # okay in the real world where ";" in dirpaths is itself problematic.
11173     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11174     ;;
11175   *)
11176     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11177     ;;
11178   esac
11179   # Ok, now we have the path, separated by spaces, we can step through it
11180   # and add multilib dir if necessary.
11181   lt_tmp_lt_search_path_spec=
11182   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11183   for lt_sys_path in $lt_search_path_spec; do
11184     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11185       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11186     else
11187       test -d "$lt_sys_path" && \
11188         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11189     fi
11190   done
11191   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11192 BEGIN {RS=" "; FS="/|\n";} {
11193   lt_foo="";
11194   lt_count=0;
11195   for (lt_i = NF; lt_i > 0; lt_i--) {
11196     if ($lt_i != "" && $lt_i != ".") {
11197       if ($lt_i == "..") {
11198         lt_count++;
11199       } else {
11200         if (lt_count == 0) {
11201           lt_foo="/" $lt_i lt_foo;
11202         } else {
11203           lt_count--;
11204         }
11205       }
11206     }
11207   }
11208   if (lt_foo != "") { lt_freq[lt_foo]++; }
11209   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11210 }'`
11211   # AWK program above erroneously prepends '/' to C:/dos/paths
11212   # for these hosts.
11213   case $host_os in
11214     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11215       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11216   esac
11217   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11218 else
11219   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11220 fi
11221 library_names_spec=
11222 libname_spec='lib$name'
11223 soname_spec=
11224 shrext_cmds=".so"
11225 postinstall_cmds=
11226 postuninstall_cmds=
11227 finish_cmds=
11228 finish_eval=
11229 shlibpath_var=
11230 shlibpath_overrides_runpath=unknown
11231 version_type=none
11232 dynamic_linker="$host_os ld.so"
11233 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11234 need_lib_prefix=unknown
11235 hardcode_into_libs=no
11236
11237 # when you set need_version to no, make sure it does not cause -set_version
11238 # flags to be left without arguments
11239 need_version=unknown
11240
11241 case $host_os in
11242 aix3*)
11243   version_type=linux # correct to gnu/linux during the next big refactor
11244   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11245   shlibpath_var=LIBPATH
11246
11247   # AIX 3 has no versioning support, so we append a major version to the name.
11248   soname_spec='${libname}${release}${shared_ext}$major'
11249   ;;
11250
11251 aix[4-9]*)
11252   version_type=linux # correct to gnu/linux during the next big refactor
11253   need_lib_prefix=no
11254   need_version=no
11255   hardcode_into_libs=yes
11256   if test "$host_cpu" = ia64; then
11257     # AIX 5 supports IA64
11258     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11259     shlibpath_var=LD_LIBRARY_PATH
11260   else
11261     # With GCC up to 2.95.x, collect2 would create an import file
11262     # for dependence libraries.  The import file would start with
11263     # the line `#! .'.  This would cause the generated library to
11264     # depend on `.', always an invalid library.  This was fixed in
11265     # development snapshots of GCC prior to 3.0.
11266     case $host_os in
11267       aix4 | aix4.[01] | aix4.[01].*)
11268       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11269            echo ' yes '
11270            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11271         :
11272       else
11273         can_build_shared=no
11274       fi
11275       ;;
11276     esac
11277     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11278     # soname into executable. Probably we can add versioning support to
11279     # collect2, so additional links can be useful in future.
11280     if test "$aix_use_runtimelinking" = yes; then
11281       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11282       # instead of lib<name>.a to let people know that these are not
11283       # typical AIX shared libraries.
11284       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11285     else
11286       # We preserve .a as extension for shared libraries through AIX4.2
11287       # and later when we are not doing run time linking.
11288       library_names_spec='${libname}${release}.a $libname.a'
11289       soname_spec='${libname}${release}${shared_ext}$major'
11290     fi
11291     shlibpath_var=LIBPATH
11292   fi
11293   ;;
11294
11295 amigaos*)
11296   case $host_cpu in
11297   powerpc)
11298     # Since July 2007 AmigaOS4 officially supports .so libraries.
11299     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11300     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11301     ;;
11302   m68k)
11303     library_names_spec='$libname.ixlibrary $libname.a'
11304     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11305     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'
11306     ;;
11307   esac
11308   ;;
11309
11310 beos*)
11311   library_names_spec='${libname}${shared_ext}'
11312   dynamic_linker="$host_os ld.so"
11313   shlibpath_var=LIBRARY_PATH
11314   ;;
11315
11316 bsdi[45]*)
11317   version_type=linux # correct to gnu/linux during the next big refactor
11318   need_version=no
11319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320   soname_spec='${libname}${release}${shared_ext}$major'
11321   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11322   shlibpath_var=LD_LIBRARY_PATH
11323   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11324   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11325   # the default ld.so.conf also contains /usr/contrib/lib and
11326   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11327   # libtool to hard-code these into programs
11328   ;;
11329
11330 cygwin* | mingw* | pw32* | cegcc*)
11331   version_type=windows
11332   shrext_cmds=".dll"
11333   need_version=no
11334   need_lib_prefix=no
11335
11336   case $GCC,$cc_basename in
11337   yes,*)
11338     # gcc
11339     library_names_spec='$libname.dll.a'
11340     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11341     postinstall_cmds='base_file=`basename \${file}`~
11342       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11343       dldir=$destdir/`dirname \$dlpath`~
11344       test -d \$dldir || mkdir -p \$dldir~
11345       $install_prog $dir/$dlname \$dldir/$dlname~
11346       chmod a+x \$dldir/$dlname~
11347       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11348         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11349       fi'
11350     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11351       dlpath=$dir/\$dldll~
11352        $RM \$dlpath'
11353     shlibpath_overrides_runpath=yes
11354
11355     case $host_os in
11356     cygwin*)
11357       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11358       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11359
11360       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11361       ;;
11362     mingw* | cegcc*)
11363       # MinGW DLLs use traditional 'lib' prefix
11364       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11365       ;;
11366     pw32*)
11367       # pw32 DLLs use 'pw' prefix rather than 'lib'
11368       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11369       ;;
11370     esac
11371     dynamic_linker='Win32 ld.exe'
11372     ;;
11373
11374   *,cl*)
11375     # Native MSVC
11376     libname_spec='$name'
11377     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11378     library_names_spec='${libname}.dll.lib'
11379
11380     case $build_os in
11381     mingw*)
11382       sys_lib_search_path_spec=
11383       lt_save_ifs=$IFS
11384       IFS=';'
11385       for lt_path in $LIB
11386       do
11387         IFS=$lt_save_ifs
11388         # Let DOS variable expansion print the short 8.3 style file name.
11389         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11390         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11391       done
11392       IFS=$lt_save_ifs
11393       # Convert to MSYS style.
11394       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11395       ;;
11396     cygwin*)
11397       # Convert to unix form, then to dos form, then back to unix form
11398       # but this time dos style (no spaces!) so that the unix form looks
11399       # like /cygdrive/c/PROGRA~1:/cygdr...
11400       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11401       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11402       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11403       ;;
11404     *)
11405       sys_lib_search_path_spec="$LIB"
11406       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11407         # It is most probably a Windows format PATH.
11408         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11409       else
11410         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11411       fi
11412       # FIXME: find the short name or the path components, as spaces are
11413       # common. (e.g. "Program Files" -> "PROGRA~1")
11414       ;;
11415     esac
11416
11417     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11418     postinstall_cmds='base_file=`basename \${file}`~
11419       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11420       dldir=$destdir/`dirname \$dlpath`~
11421       test -d \$dldir || mkdir -p \$dldir~
11422       $install_prog $dir/$dlname \$dldir/$dlname'
11423     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11424       dlpath=$dir/\$dldll~
11425        $RM \$dlpath'
11426     shlibpath_overrides_runpath=yes
11427     dynamic_linker='Win32 link.exe'
11428     ;;
11429
11430   *)
11431     # Assume MSVC wrapper
11432     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11433     dynamic_linker='Win32 ld.exe'
11434     ;;
11435   esac
11436   # FIXME: first we should search . and the directory the executable is in
11437   shlibpath_var=PATH
11438   ;;
11439
11440 darwin* | rhapsody*)
11441   dynamic_linker="$host_os dyld"
11442   version_type=darwin
11443   need_lib_prefix=no
11444   need_version=no
11445   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11446   soname_spec='${libname}${release}${major}$shared_ext'
11447   shlibpath_overrides_runpath=yes
11448   shlibpath_var=DYLD_LIBRARY_PATH
11449   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11450
11451   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11452   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11453   ;;
11454
11455 dgux*)
11456   version_type=linux # correct to gnu/linux during the next big refactor
11457   need_lib_prefix=no
11458   need_version=no
11459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11460   soname_spec='${libname}${release}${shared_ext}$major'
11461   shlibpath_var=LD_LIBRARY_PATH
11462   ;;
11463
11464 freebsd* | dragonfly*)
11465   # DragonFly does not have aout.  When/if they implement a new
11466   # versioning mechanism, adjust this.
11467   if test -x /usr/bin/objformat; then
11468     objformat=`/usr/bin/objformat`
11469   else
11470     case $host_os in
11471     freebsd[23].*) objformat=aout ;;
11472     *) objformat=elf ;;
11473     esac
11474   fi
11475   version_type=freebsd-$objformat
11476   case $version_type in
11477     freebsd-elf*)
11478       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11479       need_version=no
11480       need_lib_prefix=no
11481       ;;
11482     freebsd-*)
11483       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11484       need_version=yes
11485       ;;
11486   esac
11487   shlibpath_var=LD_LIBRARY_PATH
11488   case $host_os in
11489   freebsd2.*)
11490     shlibpath_overrides_runpath=yes
11491     ;;
11492   freebsd3.[01]* | freebsdelf3.[01]*)
11493     shlibpath_overrides_runpath=yes
11494     hardcode_into_libs=yes
11495     ;;
11496   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11497   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11498     shlibpath_overrides_runpath=no
11499     hardcode_into_libs=yes
11500     ;;
11501   *) # from 4.6 on, and DragonFly
11502     shlibpath_overrides_runpath=yes
11503     hardcode_into_libs=yes
11504     ;;
11505   esac
11506   ;;
11507
11508 haiku*)
11509   version_type=linux # correct to gnu/linux during the next big refactor
11510   need_lib_prefix=no
11511   need_version=no
11512   dynamic_linker="$host_os runtime_loader"
11513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11514   soname_spec='${libname}${release}${shared_ext}$major'
11515   shlibpath_var=LIBRARY_PATH
11516   shlibpath_overrides_runpath=yes
11517   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11518   hardcode_into_libs=yes
11519   ;;
11520
11521 hpux9* | hpux10* | hpux11*)
11522   # Give a soname corresponding to the major version so that dld.sl refuses to
11523   # link against other versions.
11524   version_type=sunos
11525   need_lib_prefix=no
11526   need_version=no
11527   case $host_cpu in
11528   ia64*)
11529     shrext_cmds='.so'
11530     hardcode_into_libs=yes
11531     dynamic_linker="$host_os dld.so"
11532     shlibpath_var=LD_LIBRARY_PATH
11533     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11534     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535     soname_spec='${libname}${release}${shared_ext}$major'
11536     if test "X$HPUX_IA64_MODE" = X32; then
11537       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11538     else
11539       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11540     fi
11541     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11542     ;;
11543   hppa*64*)
11544     shrext_cmds='.sl'
11545     hardcode_into_libs=yes
11546     dynamic_linker="$host_os dld.sl"
11547     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11548     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11549     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550     soname_spec='${libname}${release}${shared_ext}$major'
11551     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11552     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11553     ;;
11554   *)
11555     shrext_cmds='.sl'
11556     dynamic_linker="$host_os dld.sl"
11557     shlibpath_var=SHLIB_PATH
11558     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11559     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560     soname_spec='${libname}${release}${shared_ext}$major'
11561     ;;
11562   esac
11563   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11564   postinstall_cmds='chmod 555 $lib'
11565   # or fails outright, so override atomically:
11566   install_override_mode=555
11567   ;;
11568
11569 interix[3-9]*)
11570   version_type=linux # correct to gnu/linux during the next big refactor
11571   need_lib_prefix=no
11572   need_version=no
11573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11574   soname_spec='${libname}${release}${shared_ext}$major'
11575   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11576   shlibpath_var=LD_LIBRARY_PATH
11577   shlibpath_overrides_runpath=no
11578   hardcode_into_libs=yes
11579   ;;
11580
11581 irix5* | irix6* | nonstopux*)
11582   case $host_os in
11583     nonstopux*) version_type=nonstopux ;;
11584     *)
11585         if test "$lt_cv_prog_gnu_ld" = yes; then
11586                 version_type=linux # correct to gnu/linux during the next big refactor
11587         else
11588                 version_type=irix
11589         fi ;;
11590   esac
11591   need_lib_prefix=no
11592   need_version=no
11593   soname_spec='${libname}${release}${shared_ext}$major'
11594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11595   case $host_os in
11596   irix5* | nonstopux*)
11597     libsuff= shlibsuff=
11598     ;;
11599   *)
11600     case $LD in # libtool.m4 will add one of these switches to LD
11601     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11602       libsuff= shlibsuff= libmagic=32-bit;;
11603     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11604       libsuff=32 shlibsuff=N32 libmagic=N32;;
11605     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11606       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11607     *) libsuff= shlibsuff= libmagic=never-match;;
11608     esac
11609     ;;
11610   esac
11611   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11612   shlibpath_overrides_runpath=no
11613   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11614   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11615   hardcode_into_libs=yes
11616   ;;
11617
11618 # No shared lib support for Linux oldld, aout, or coff.
11619 linux*oldld* | linux*aout* | linux*coff*)
11620   dynamic_linker=no
11621   ;;
11622
11623 # This must be glibc/ELF.
11624 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11625   version_type=linux # correct to gnu/linux during the next big refactor
11626   need_lib_prefix=no
11627   need_version=no
11628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629   soname_spec='${libname}${release}${shared_ext}$major'
11630   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11631   shlibpath_var=LD_LIBRARY_PATH
11632   shlibpath_overrides_runpath=no
11633
11634   # Some binutils ld are patched to set DT_RUNPATH
11635   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11636   $as_echo_n "(cached) " >&6
11637 else
11638   lt_cv_shlibpath_overrides_runpath=no
11639     save_LDFLAGS=$LDFLAGS
11640     save_libdir=$libdir
11641     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11642          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11643     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h.  */
11645
11646 int
11647 main ()
11648 {
11649
11650   ;
11651   return 0;
11652 }
11653 _ACEOF
11654 if ac_fn_c_try_link "$LINENO"; then :
11655   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11656   lt_cv_shlibpath_overrides_runpath=yes
11657 fi
11658 fi
11659 rm -f core conftest.err conftest.$ac_objext \
11660     conftest$ac_exeext conftest.$ac_ext
11661     LDFLAGS=$save_LDFLAGS
11662     libdir=$save_libdir
11663
11664 fi
11665
11666   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11667
11668   # This implies no fast_install, which is unacceptable.
11669   # Some rework will be needed to allow for fast_install
11670   # before this can be enabled.
11671   hardcode_into_libs=yes
11672
11673   # Append ld.so.conf contents to the search path
11674   if test -f /etc/ld.so.conf; then
11675     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' ' '`
11676     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11677   fi
11678
11679   # We used to test for /lib/ld.so.1 and disable shared libraries on
11680   # powerpc, because MkLinux only supported shared libraries with the
11681   # GNU dynamic linker.  Since this was broken with cross compilers,
11682   # most powerpc-linux boxes support dynamic linking these days and
11683   # people can always --disable-shared, the test was removed, and we
11684   # assume the GNU/Linux dynamic linker is in use.
11685   dynamic_linker='GNU/Linux ld.so'
11686   ;;
11687
11688 netbsdelf*-gnu)
11689   version_type=linux
11690   need_lib_prefix=no
11691   need_version=no
11692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11693   soname_spec='${libname}${release}${shared_ext}$major'
11694   shlibpath_var=LD_LIBRARY_PATH
11695   shlibpath_overrides_runpath=no
11696   hardcode_into_libs=yes
11697   dynamic_linker='NetBSD ld.elf_so'
11698   ;;
11699
11700 netbsd*)
11701   version_type=sunos
11702   need_lib_prefix=no
11703   need_version=no
11704   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11705     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11706     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11707     dynamic_linker='NetBSD (a.out) ld.so'
11708   else
11709     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11710     soname_spec='${libname}${release}${shared_ext}$major'
11711     dynamic_linker='NetBSD ld.elf_so'
11712   fi
11713   shlibpath_var=LD_LIBRARY_PATH
11714   shlibpath_overrides_runpath=yes
11715   hardcode_into_libs=yes
11716   ;;
11717
11718 newsos6)
11719   version_type=linux # correct to gnu/linux during the next big refactor
11720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11721   shlibpath_var=LD_LIBRARY_PATH
11722   shlibpath_overrides_runpath=yes
11723   ;;
11724
11725 *nto* | *qnx*)
11726   version_type=qnx
11727   need_lib_prefix=no
11728   need_version=no
11729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730   soname_spec='${libname}${release}${shared_ext}$major'
11731   shlibpath_var=LD_LIBRARY_PATH
11732   shlibpath_overrides_runpath=no
11733   hardcode_into_libs=yes
11734   dynamic_linker='ldqnx.so'
11735   ;;
11736
11737 openbsd*)
11738   version_type=sunos
11739   sys_lib_dlsearch_path_spec="/usr/lib"
11740   need_lib_prefix=no
11741   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11742   case $host_os in
11743     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11744     *)                          need_version=no  ;;
11745   esac
11746   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11747   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11748   shlibpath_var=LD_LIBRARY_PATH
11749   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11750     case $host_os in
11751       openbsd2.[89] | openbsd2.[89].*)
11752         shlibpath_overrides_runpath=no
11753         ;;
11754       *)
11755         shlibpath_overrides_runpath=yes
11756         ;;
11757       esac
11758   else
11759     shlibpath_overrides_runpath=yes
11760   fi
11761   ;;
11762
11763 os2*)
11764   libname_spec='$name'
11765   shrext_cmds=".dll"
11766   need_lib_prefix=no
11767   library_names_spec='$libname${shared_ext} $libname.a'
11768   dynamic_linker='OS/2 ld.exe'
11769   shlibpath_var=LIBPATH
11770   ;;
11771
11772 osf3* | osf4* | osf5*)
11773   version_type=osf
11774   need_lib_prefix=no
11775   need_version=no
11776   soname_spec='${libname}${release}${shared_ext}$major'
11777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778   shlibpath_var=LD_LIBRARY_PATH
11779   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11780   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11781   ;;
11782
11783 rdos*)
11784   dynamic_linker=no
11785   ;;
11786
11787 solaris*)
11788   version_type=linux # correct to gnu/linux during the next big refactor
11789   need_lib_prefix=no
11790   need_version=no
11791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792   soname_spec='${libname}${release}${shared_ext}$major'
11793   shlibpath_var=LD_LIBRARY_PATH
11794   shlibpath_overrides_runpath=yes
11795   hardcode_into_libs=yes
11796   # ldd complains unless libraries are executable
11797   postinstall_cmds='chmod +x $lib'
11798   ;;
11799
11800 sunos4*)
11801   version_type=sunos
11802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11803   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11804   shlibpath_var=LD_LIBRARY_PATH
11805   shlibpath_overrides_runpath=yes
11806   if test "$with_gnu_ld" = yes; then
11807     need_lib_prefix=no
11808   fi
11809   need_version=yes
11810   ;;
11811
11812 sysv4 | sysv4.3*)
11813   version_type=linux # correct to gnu/linux during the next big refactor
11814   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11815   soname_spec='${libname}${release}${shared_ext}$major'
11816   shlibpath_var=LD_LIBRARY_PATH
11817   case $host_vendor in
11818     sni)
11819       shlibpath_overrides_runpath=no
11820       need_lib_prefix=no
11821       runpath_var=LD_RUN_PATH
11822       ;;
11823     siemens)
11824       need_lib_prefix=no
11825       ;;
11826     motorola)
11827       need_lib_prefix=no
11828       need_version=no
11829       shlibpath_overrides_runpath=no
11830       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11831       ;;
11832   esac
11833   ;;
11834
11835 sysv4*MP*)
11836   if test -d /usr/nec ;then
11837     version_type=linux # correct to gnu/linux during the next big refactor
11838     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11839     soname_spec='$libname${shared_ext}.$major'
11840     shlibpath_var=LD_LIBRARY_PATH
11841   fi
11842   ;;
11843
11844 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11845   version_type=freebsd-elf
11846   need_lib_prefix=no
11847   need_version=no
11848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11849   soname_spec='${libname}${release}${shared_ext}$major'
11850   shlibpath_var=LD_LIBRARY_PATH
11851   shlibpath_overrides_runpath=yes
11852   hardcode_into_libs=yes
11853   if test "$with_gnu_ld" = yes; then
11854     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11855   else
11856     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11857     case $host_os in
11858       sco3.2v5*)
11859         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11860         ;;
11861     esac
11862   fi
11863   sys_lib_dlsearch_path_spec='/usr/lib'
11864   ;;
11865
11866 tpf*)
11867   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11868   version_type=linux # correct to gnu/linux during the next big refactor
11869   need_lib_prefix=no
11870   need_version=no
11871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11872   shlibpath_var=LD_LIBRARY_PATH
11873   shlibpath_overrides_runpath=no
11874   hardcode_into_libs=yes
11875   ;;
11876
11877 uts4*)
11878   version_type=linux # correct to gnu/linux during the next big refactor
11879   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11880   soname_spec='${libname}${release}${shared_ext}$major'
11881   shlibpath_var=LD_LIBRARY_PATH
11882   ;;
11883
11884 *)
11885   dynamic_linker=no
11886   ;;
11887 esac
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11889 $as_echo "$dynamic_linker" >&6; }
11890 test "$dynamic_linker" = no && can_build_shared=no
11891
11892 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11893 if test "$GCC" = yes; then
11894   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11895 fi
11896
11897 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11898   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11899 fi
11900 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11901   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11902 fi
11903
11904
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11996 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11997 hardcode_action=
11998 if test -n "$hardcode_libdir_flag_spec" ||
11999    test -n "$runpath_var" ||
12000    test "X$hardcode_automatic" = "Xyes" ; then
12001
12002   # We can hardcode non-existent directories.
12003   if test "$hardcode_direct" != no &&
12004      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12005      # have to relink, otherwise we might link with an installed library
12006      # when we should be linking with a yet-to-be-installed one
12007      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12008      test "$hardcode_minus_L" != no; then
12009     # Linking always hardcodes the temporary library directory.
12010     hardcode_action=relink
12011   else
12012     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12013     hardcode_action=immediate
12014   fi
12015 else
12016   # We cannot hardcode anything, or else we can only hardcode existing
12017   # directories.
12018   hardcode_action=unsupported
12019 fi
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12021 $as_echo "$hardcode_action" >&6; }
12022
12023 if test "$hardcode_action" = relink ||
12024    test "$inherit_rpath" = yes; then
12025   # Fast installation is not supported
12026   enable_fast_install=no
12027 elif test "$shlibpath_overrides_runpath" = yes ||
12028      test "$enable_shared" = no; then
12029   # Fast installation is not necessary
12030   enable_fast_install=needless
12031 fi
12032
12033
12034
12035
12036
12037
12038   if test "x$enable_dlopen" != xyes; then
12039   enable_dlopen=unknown
12040   enable_dlopen_self=unknown
12041   enable_dlopen_self_static=unknown
12042 else
12043   lt_cv_dlopen=no
12044   lt_cv_dlopen_libs=
12045
12046   case $host_os in
12047   beos*)
12048     lt_cv_dlopen="load_add_on"
12049     lt_cv_dlopen_libs=
12050     lt_cv_dlopen_self=yes
12051     ;;
12052
12053   mingw* | pw32* | cegcc*)
12054     lt_cv_dlopen="LoadLibrary"
12055     lt_cv_dlopen_libs=
12056     ;;
12057
12058   cygwin*)
12059     lt_cv_dlopen="dlopen"
12060     lt_cv_dlopen_libs=
12061     ;;
12062
12063   darwin*)
12064   # if libdl is installed we need to link against it
12065     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12066 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12067 if ${ac_cv_lib_dl_dlopen+:} false; then :
12068   $as_echo_n "(cached) " >&6
12069 else
12070   ac_check_lib_save_LIBS=$LIBS
12071 LIBS="-ldl  $LIBS"
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h.  */
12074
12075 /* Override any GCC internal prototype to avoid an error.
12076    Use char because int might match the return type of a GCC
12077    builtin and then its argument prototype would still apply.  */
12078 #ifdef __cplusplus
12079 extern "C"
12080 #endif
12081 char dlopen ();
12082 int
12083 main ()
12084 {
12085 return dlopen ();
12086   ;
12087   return 0;
12088 }
12089 _ACEOF
12090 if ac_fn_c_try_link "$LINENO"; then :
12091   ac_cv_lib_dl_dlopen=yes
12092 else
12093   ac_cv_lib_dl_dlopen=no
12094 fi
12095 rm -f core conftest.err conftest.$ac_objext \
12096     conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12098 fi
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12100 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12101 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12102   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12103 else
12104
12105     lt_cv_dlopen="dyld"
12106     lt_cv_dlopen_libs=
12107     lt_cv_dlopen_self=yes
12108
12109 fi
12110
12111     ;;
12112
12113   *)
12114     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12115 if test "x$ac_cv_func_shl_load" = xyes; then :
12116   lt_cv_dlopen="shl_load"
12117 else
12118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12119 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12120 if ${ac_cv_lib_dld_shl_load+:} false; then :
12121   $as_echo_n "(cached) " >&6
12122 else
12123   ac_check_lib_save_LIBS=$LIBS
12124 LIBS="-ldld  $LIBS"
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h.  */
12127
12128 /* Override any GCC internal prototype to avoid an error.
12129    Use char because int might match the return type of a GCC
12130    builtin and then its argument prototype would still apply.  */
12131 #ifdef __cplusplus
12132 extern "C"
12133 #endif
12134 char shl_load ();
12135 int
12136 main ()
12137 {
12138 return shl_load ();
12139   ;
12140   return 0;
12141 }
12142 _ACEOF
12143 if ac_fn_c_try_link "$LINENO"; then :
12144   ac_cv_lib_dld_shl_load=yes
12145 else
12146   ac_cv_lib_dld_shl_load=no
12147 fi
12148 rm -f core conftest.err conftest.$ac_objext \
12149     conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_lib_save_LIBS
12151 fi
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12153 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12154 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12155   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12156 else
12157   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12158 if test "x$ac_cv_func_dlopen" = xyes; then :
12159   lt_cv_dlopen="dlopen"
12160 else
12161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12162 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12163 if ${ac_cv_lib_dl_dlopen+:} false; then :
12164   $as_echo_n "(cached) " >&6
12165 else
12166   ac_check_lib_save_LIBS=$LIBS
12167 LIBS="-ldl  $LIBS"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h.  */
12170
12171 /* Override any GCC internal prototype to avoid an error.
12172    Use char because int might match the return type of a GCC
12173    builtin and then its argument prototype would still apply.  */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char dlopen ();
12178 int
12179 main ()
12180 {
12181 return dlopen ();
12182   ;
12183   return 0;
12184 }
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"; then :
12187   ac_cv_lib_dl_dlopen=yes
12188 else
12189   ac_cv_lib_dl_dlopen=no
12190 fi
12191 rm -f core conftest.err conftest.$ac_objext \
12192     conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_lib_save_LIBS
12194 fi
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12196 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12197 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12198   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12199 else
12200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12201 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12202 if ${ac_cv_lib_svld_dlopen+:} false; then :
12203   $as_echo_n "(cached) " >&6
12204 else
12205   ac_check_lib_save_LIBS=$LIBS
12206 LIBS="-lsvld  $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h.  */
12209
12210 /* Override any GCC internal prototype to avoid an error.
12211    Use char because int might match the return type of a GCC
12212    builtin and then its argument prototype would still apply.  */
12213 #ifdef __cplusplus
12214 extern "C"
12215 #endif
12216 char dlopen ();
12217 int
12218 main ()
12219 {
12220 return dlopen ();
12221   ;
12222   return 0;
12223 }
12224 _ACEOF
12225 if ac_fn_c_try_link "$LINENO"; then :
12226   ac_cv_lib_svld_dlopen=yes
12227 else
12228   ac_cv_lib_svld_dlopen=no
12229 fi
12230 rm -f core conftest.err conftest.$ac_objext \
12231     conftest$ac_exeext conftest.$ac_ext
12232 LIBS=$ac_check_lib_save_LIBS
12233 fi
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12235 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12236 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12237   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12238 else
12239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12240 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12241 if ${ac_cv_lib_dld_dld_link+:} false; then :
12242   $as_echo_n "(cached) " >&6
12243 else
12244   ac_check_lib_save_LIBS=$LIBS
12245 LIBS="-ldld  $LIBS"
12246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h.  */
12248
12249 /* Override any GCC internal prototype to avoid an error.
12250    Use char because int might match the return type of a GCC
12251    builtin and then its argument prototype would still apply.  */
12252 #ifdef __cplusplus
12253 extern "C"
12254 #endif
12255 char dld_link ();
12256 int
12257 main ()
12258 {
12259 return dld_link ();
12260   ;
12261   return 0;
12262 }
12263 _ACEOF
12264 if ac_fn_c_try_link "$LINENO"; then :
12265   ac_cv_lib_dld_dld_link=yes
12266 else
12267   ac_cv_lib_dld_dld_link=no
12268 fi
12269 rm -f core conftest.err conftest.$ac_objext \
12270     conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12272 fi
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12274 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12275 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12276   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12277 fi
12278
12279
12280 fi
12281
12282
12283 fi
12284
12285
12286 fi
12287
12288
12289 fi
12290
12291
12292 fi
12293
12294     ;;
12295   esac
12296
12297   if test "x$lt_cv_dlopen" != xno; then
12298     enable_dlopen=yes
12299   else
12300     enable_dlopen=no
12301   fi
12302
12303   case $lt_cv_dlopen in
12304   dlopen)
12305     save_CPPFLAGS="$CPPFLAGS"
12306     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12307
12308     save_LDFLAGS="$LDFLAGS"
12309     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12310
12311     save_LIBS="$LIBS"
12312     LIBS="$lt_cv_dlopen_libs $LIBS"
12313
12314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12315 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12316 if ${lt_cv_dlopen_self+:} false; then :
12317   $as_echo_n "(cached) " >&6
12318 else
12319           if test "$cross_compiling" = yes; then :
12320   lt_cv_dlopen_self=cross
12321 else
12322   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12323   lt_status=$lt_dlunknown
12324   cat > conftest.$ac_ext <<_LT_EOF
12325 #line $LINENO "configure"
12326 #include "confdefs.h"
12327
12328 #if HAVE_DLFCN_H
12329 #include <dlfcn.h>
12330 #endif
12331
12332 #include <stdio.h>
12333
12334 #ifdef RTLD_GLOBAL
12335 #  define LT_DLGLOBAL           RTLD_GLOBAL
12336 #else
12337 #  ifdef DL_GLOBAL
12338 #    define LT_DLGLOBAL         DL_GLOBAL
12339 #  else
12340 #    define LT_DLGLOBAL         0
12341 #  endif
12342 #endif
12343
12344 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12345    find out it does not work in some platform. */
12346 #ifndef LT_DLLAZY_OR_NOW
12347 #  ifdef RTLD_LAZY
12348 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12349 #  else
12350 #    ifdef DL_LAZY
12351 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12352 #    else
12353 #      ifdef RTLD_NOW
12354 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12355 #      else
12356 #        ifdef DL_NOW
12357 #          define LT_DLLAZY_OR_NOW      DL_NOW
12358 #        else
12359 #          define LT_DLLAZY_OR_NOW      0
12360 #        endif
12361 #      endif
12362 #    endif
12363 #  endif
12364 #endif
12365
12366 /* When -fvisbility=hidden is used, assume the code has been annotated
12367    correspondingly for the symbols needed.  */
12368 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12369 int fnord () __attribute__((visibility("default")));
12370 #endif
12371
12372 int fnord () { return 42; }
12373 int main ()
12374 {
12375   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12376   int status = $lt_dlunknown;
12377
12378   if (self)
12379     {
12380       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12381       else
12382         {
12383           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12384           else puts (dlerror ());
12385         }
12386       /* dlclose (self); */
12387     }
12388   else
12389     puts (dlerror ());
12390
12391   return status;
12392 }
12393 _LT_EOF
12394   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12395   (eval $ac_link) 2>&5
12396   ac_status=$?
12397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12398   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12399     (./conftest; exit; ) >&5 2>/dev/null
12400     lt_status=$?
12401     case x$lt_status in
12402       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12403       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12404       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12405     esac
12406   else :
12407     # compilation failed
12408     lt_cv_dlopen_self=no
12409   fi
12410 fi
12411 rm -fr conftest*
12412
12413
12414 fi
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12416 $as_echo "$lt_cv_dlopen_self" >&6; }
12417
12418     if test "x$lt_cv_dlopen_self" = xyes; then
12419       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12420       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12421 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12422 if ${lt_cv_dlopen_self_static+:} false; then :
12423   $as_echo_n "(cached) " >&6
12424 else
12425           if test "$cross_compiling" = yes; then :
12426   lt_cv_dlopen_self_static=cross
12427 else
12428   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12429   lt_status=$lt_dlunknown
12430   cat > conftest.$ac_ext <<_LT_EOF
12431 #line $LINENO "configure"
12432 #include "confdefs.h"
12433
12434 #if HAVE_DLFCN_H
12435 #include <dlfcn.h>
12436 #endif
12437
12438 #include <stdio.h>
12439
12440 #ifdef RTLD_GLOBAL
12441 #  define LT_DLGLOBAL           RTLD_GLOBAL
12442 #else
12443 #  ifdef DL_GLOBAL
12444 #    define LT_DLGLOBAL         DL_GLOBAL
12445 #  else
12446 #    define LT_DLGLOBAL         0
12447 #  endif
12448 #endif
12449
12450 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12451    find out it does not work in some platform. */
12452 #ifndef LT_DLLAZY_OR_NOW
12453 #  ifdef RTLD_LAZY
12454 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12455 #  else
12456 #    ifdef DL_LAZY
12457 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12458 #    else
12459 #      ifdef RTLD_NOW
12460 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12461 #      else
12462 #        ifdef DL_NOW
12463 #          define LT_DLLAZY_OR_NOW      DL_NOW
12464 #        else
12465 #          define LT_DLLAZY_OR_NOW      0
12466 #        endif
12467 #      endif
12468 #    endif
12469 #  endif
12470 #endif
12471
12472 /* When -fvisbility=hidden is used, assume the code has been annotated
12473    correspondingly for the symbols needed.  */
12474 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12475 int fnord () __attribute__((visibility("default")));
12476 #endif
12477
12478 int fnord () { return 42; }
12479 int main ()
12480 {
12481   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12482   int status = $lt_dlunknown;
12483
12484   if (self)
12485     {
12486       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12487       else
12488         {
12489           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12490           else puts (dlerror ());
12491         }
12492       /* dlclose (self); */
12493     }
12494   else
12495     puts (dlerror ());
12496
12497   return status;
12498 }
12499 _LT_EOF
12500   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12501   (eval $ac_link) 2>&5
12502   ac_status=$?
12503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12504   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12505     (./conftest; exit; ) >&5 2>/dev/null
12506     lt_status=$?
12507     case x$lt_status in
12508       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12509       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12510       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12511     esac
12512   else :
12513     # compilation failed
12514     lt_cv_dlopen_self_static=no
12515   fi
12516 fi
12517 rm -fr conftest*
12518
12519
12520 fi
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12522 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12523     fi
12524
12525     CPPFLAGS="$save_CPPFLAGS"
12526     LDFLAGS="$save_LDFLAGS"
12527     LIBS="$save_LIBS"
12528     ;;
12529   esac
12530
12531   case $lt_cv_dlopen_self in
12532   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12533   *) enable_dlopen_self=unknown ;;
12534   esac
12535
12536   case $lt_cv_dlopen_self_static in
12537   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12538   *) enable_dlopen_self_static=unknown ;;
12539   esac
12540 fi
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558 striplib=
12559 old_striplib=
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12561 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12562 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12563   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12564   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12566 $as_echo "yes" >&6; }
12567 else
12568 # FIXME - insert some real tests, host_os isn't really good enough
12569   case $host_os in
12570   darwin*)
12571     if test -n "$STRIP" ; then
12572       striplib="$STRIP -x"
12573       old_striplib="$STRIP -S"
12574       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12575 $as_echo "yes" >&6; }
12576     else
12577       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12578 $as_echo "no" >&6; }
12579     fi
12580     ;;
12581   *)
12582     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583 $as_echo "no" >&6; }
12584     ;;
12585   esac
12586 fi
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599   # Report which library types will actually be built
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12601 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12603 $as_echo "$can_build_shared" >&6; }
12604
12605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12606 $as_echo_n "checking whether to build shared libraries... " >&6; }
12607   test "$can_build_shared" = "no" && enable_shared=no
12608
12609   # On AIX, shared libraries and static libraries use the same namespace, and
12610   # are all built from PIC.
12611   case $host_os in
12612   aix3*)
12613     test "$enable_shared" = yes && enable_static=no
12614     if test -n "$RANLIB"; then
12615       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12616       postinstall_cmds='$RANLIB $lib'
12617     fi
12618     ;;
12619
12620   aix[4-9]*)
12621     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12622       test "$enable_shared" = yes && enable_static=no
12623     fi
12624     ;;
12625   esac
12626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12627 $as_echo "$enable_shared" >&6; }
12628
12629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12630 $as_echo_n "checking whether to build static libraries... " >&6; }
12631   # Make sure either enable_shared or enable_static is yes.
12632   test "$enable_shared" = yes || enable_static=yes
12633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12634 $as_echo "$enable_static" >&6; }
12635
12636
12637
12638
12639 fi
12640 ac_ext=c
12641 ac_cpp='$CPP $CPPFLAGS'
12642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12645
12646 CC="$lt_save_CC"
12647
12648       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12649     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12650     (test "X$CXX" != "Xg++"))) ; then
12651   ac_ext=cpp
12652 ac_cpp='$CXXCPP $CPPFLAGS'
12653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12657 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12658 if test -z "$CXXCPP"; then
12659   if ${ac_cv_prog_CXXCPP+:} false; then :
12660   $as_echo_n "(cached) " >&6
12661 else
12662       # Double quotes because CXXCPP needs to be expanded
12663     for CXXCPP in "$CXX -E" "/lib/cpp"
12664     do
12665       ac_preproc_ok=false
12666 for ac_cxx_preproc_warn_flag in '' yes
12667 do
12668   # Use a header file that comes with gcc, so configuring glibc
12669   # with a fresh cross-compiler works.
12670   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12671   # <limits.h> exists even on freestanding compilers.
12672   # On the NeXT, cc -E runs the code through the compiler's parser,
12673   # not just through cpp. "Syntax error" is here to catch this case.
12674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h.  */
12676 #ifdef __STDC__
12677 # include <limits.h>
12678 #else
12679 # include <assert.h>
12680 #endif
12681                      Syntax error
12682 _ACEOF
12683 if ac_fn_cxx_try_cpp "$LINENO"; then :
12684
12685 else
12686   # Broken: fails on valid input.
12687 continue
12688 fi
12689 rm -f conftest.err conftest.i conftest.$ac_ext
12690
12691   # OK, works on sane cases.  Now check whether nonexistent headers
12692   # can be detected and how.
12693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h.  */
12695 #include <ac_nonexistent.h>
12696 _ACEOF
12697 if ac_fn_cxx_try_cpp "$LINENO"; then :
12698   # Broken: success on invalid input.
12699 continue
12700 else
12701   # Passes both tests.
12702 ac_preproc_ok=:
12703 break
12704 fi
12705 rm -f conftest.err conftest.i conftest.$ac_ext
12706
12707 done
12708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12709 rm -f conftest.i conftest.err conftest.$ac_ext
12710 if $ac_preproc_ok; then :
12711   break
12712 fi
12713
12714     done
12715     ac_cv_prog_CXXCPP=$CXXCPP
12716
12717 fi
12718   CXXCPP=$ac_cv_prog_CXXCPP
12719 else
12720   ac_cv_prog_CXXCPP=$CXXCPP
12721 fi
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12723 $as_echo "$CXXCPP" >&6; }
12724 ac_preproc_ok=false
12725 for ac_cxx_preproc_warn_flag in '' yes
12726 do
12727   # Use a header file that comes with gcc, so configuring glibc
12728   # with a fresh cross-compiler works.
12729   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12730   # <limits.h> exists even on freestanding compilers.
12731   # On the NeXT, cc -E runs the code through the compiler's parser,
12732   # not just through cpp. "Syntax error" is here to catch this case.
12733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h.  */
12735 #ifdef __STDC__
12736 # include <limits.h>
12737 #else
12738 # include <assert.h>
12739 #endif
12740                      Syntax error
12741 _ACEOF
12742 if ac_fn_cxx_try_cpp "$LINENO"; then :
12743
12744 else
12745   # Broken: fails on valid input.
12746 continue
12747 fi
12748 rm -f conftest.err conftest.i conftest.$ac_ext
12749
12750   # OK, works on sane cases.  Now check whether nonexistent headers
12751   # can be detected and how.
12752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h.  */
12754 #include <ac_nonexistent.h>
12755 _ACEOF
12756 if ac_fn_cxx_try_cpp "$LINENO"; then :
12757   # Broken: success on invalid input.
12758 continue
12759 else
12760   # Passes both tests.
12761 ac_preproc_ok=:
12762 break
12763 fi
12764 rm -f conftest.err conftest.i conftest.$ac_ext
12765
12766 done
12767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12768 rm -f conftest.i conftest.err conftest.$ac_ext
12769 if $ac_preproc_ok; then :
12770
12771 else
12772   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12774 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12775 See \`config.log' for more details" "$LINENO" 5; }
12776 fi
12777
12778 ac_ext=c
12779 ac_cpp='$CPP $CPPFLAGS'
12780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12783
12784 else
12785   _lt_caught_CXX_error=yes
12786 fi
12787
12788 ac_ext=cpp
12789 ac_cpp='$CXXCPP $CPPFLAGS'
12790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12793
12794 archive_cmds_need_lc_CXX=no
12795 allow_undefined_flag_CXX=
12796 always_export_symbols_CXX=no
12797 archive_expsym_cmds_CXX=
12798 compiler_needs_object_CXX=no
12799 export_dynamic_flag_spec_CXX=
12800 hardcode_direct_CXX=no
12801 hardcode_direct_absolute_CXX=no
12802 hardcode_libdir_flag_spec_CXX=
12803 hardcode_libdir_separator_CXX=
12804 hardcode_minus_L_CXX=no
12805 hardcode_shlibpath_var_CXX=unsupported
12806 hardcode_automatic_CXX=no
12807 inherit_rpath_CXX=no
12808 module_cmds_CXX=
12809 module_expsym_cmds_CXX=
12810 link_all_deplibs_CXX=unknown
12811 old_archive_cmds_CXX=$old_archive_cmds
12812 reload_flag_CXX=$reload_flag
12813 reload_cmds_CXX=$reload_cmds
12814 no_undefined_flag_CXX=
12815 whole_archive_flag_spec_CXX=
12816 enable_shared_with_static_runtimes_CXX=no
12817
12818 # Source file extension for C++ test sources.
12819 ac_ext=cpp
12820
12821 # Object file extension for compiled C++ test sources.
12822 objext=o
12823 objext_CXX=$objext
12824
12825 # No sense in running all these tests if we already determined that
12826 # the CXX compiler isn't working.  Some variables (like enable_shared)
12827 # are currently assumed to apply to all compilers on this platform,
12828 # and will be corrupted by setting them based on a non-working compiler.
12829 if test "$_lt_caught_CXX_error" != yes; then
12830   # Code to be used in simple compile tests
12831   lt_simple_compile_test_code="int some_variable = 0;"
12832
12833   # Code to be used in simple link tests
12834   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12835
12836   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12837
12838
12839
12840
12841
12842
12843 # If no C compiler was specified, use CC.
12844 LTCC=${LTCC-"$CC"}
12845
12846 # If no C compiler flags were specified, use CFLAGS.
12847 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12848
12849 # Allow CC to be a program name with arguments.
12850 compiler=$CC
12851
12852
12853   # save warnings/boilerplate of simple test code
12854   ac_outfile=conftest.$ac_objext
12855 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12856 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12857 _lt_compiler_boilerplate=`cat conftest.err`
12858 $RM conftest*
12859
12860   ac_outfile=conftest.$ac_objext
12861 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12862 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12863 _lt_linker_boilerplate=`cat conftest.err`
12864 $RM -r conftest*
12865
12866
12867   # Allow CC to be a program name with arguments.
12868   lt_save_CC=$CC
12869   lt_save_CFLAGS=$CFLAGS
12870   lt_save_LD=$LD
12871   lt_save_GCC=$GCC
12872   GCC=$GXX
12873   lt_save_with_gnu_ld=$with_gnu_ld
12874   lt_save_path_LD=$lt_cv_path_LD
12875   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12876     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12877   else
12878     $as_unset lt_cv_prog_gnu_ld
12879   fi
12880   if test -n "${lt_cv_path_LDCXX+set}"; then
12881     lt_cv_path_LD=$lt_cv_path_LDCXX
12882   else
12883     $as_unset lt_cv_path_LD
12884   fi
12885   test -z "${LDCXX+set}" || LD=$LDCXX
12886   CC=${CXX-"c++"}
12887   CFLAGS=$CXXFLAGS
12888   compiler=$CC
12889   compiler_CXX=$CC
12890   for cc_temp in $compiler""; do
12891   case $cc_temp in
12892     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12893     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12894     \-*) ;;
12895     *) break;;
12896   esac
12897 done
12898 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12899
12900
12901   if test -n "$compiler"; then
12902     # We don't want -fno-exception when compiling C++ code, so set the
12903     # no_builtin_flag separately
12904     if test "$GXX" = yes; then
12905       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12906     else
12907       lt_prog_compiler_no_builtin_flag_CXX=
12908     fi
12909
12910     if test "$GXX" = yes; then
12911       # Set up default GNU C++ configuration
12912
12913
12914
12915 # Check whether --with-gnu-ld was given.
12916 if test "${with_gnu_ld+set}" = set; then :
12917   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12918 else
12919   with_gnu_ld=no
12920 fi
12921
12922 ac_prog=ld
12923 if test "$GCC" = yes; then
12924   # Check if gcc -print-prog-name=ld gives a path.
12925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12926 $as_echo_n "checking for ld used by $CC... " >&6; }
12927   case $host in
12928   *-*-mingw*)
12929     # gcc leaves a trailing carriage return which upsets mingw
12930     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12931   *)
12932     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12933   esac
12934   case $ac_prog in
12935     # Accept absolute paths.
12936     [\\/]* | ?:[\\/]*)
12937       re_direlt='/[^/][^/]*/\.\./'
12938       # Canonicalize the pathname of ld
12939       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12940       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12941         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12942       done
12943       test -z "$LD" && LD="$ac_prog"
12944       ;;
12945   "")
12946     # If it fails, then pretend we aren't using GCC.
12947     ac_prog=ld
12948     ;;
12949   *)
12950     # If it is relative, then search for the first ld in PATH.
12951     with_gnu_ld=unknown
12952     ;;
12953   esac
12954 elif test "$with_gnu_ld" = yes; then
12955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12956 $as_echo_n "checking for GNU ld... " >&6; }
12957 else
12958   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12959 $as_echo_n "checking for non-GNU ld... " >&6; }
12960 fi
12961 if ${lt_cv_path_LD+:} false; then :
12962   $as_echo_n "(cached) " >&6
12963 else
12964   if test -z "$LD"; then
12965   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12966   for ac_dir in $PATH; do
12967     IFS="$lt_save_ifs"
12968     test -z "$ac_dir" && ac_dir=.
12969     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12970       lt_cv_path_LD="$ac_dir/$ac_prog"
12971       # Check to see if the program is GNU ld.  I'd rather use --version,
12972       # but apparently some variants of GNU ld only accept -v.
12973       # Break only if it was the GNU/non-GNU ld that we prefer.
12974       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12975       *GNU* | *'with BFD'*)
12976         test "$with_gnu_ld" != no && break
12977         ;;
12978       *)
12979         test "$with_gnu_ld" != yes && break
12980         ;;
12981       esac
12982     fi
12983   done
12984   IFS="$lt_save_ifs"
12985 else
12986   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12987 fi
12988 fi
12989
12990 LD="$lt_cv_path_LD"
12991 if test -n "$LD"; then
12992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12993 $as_echo "$LD" >&6; }
12994 else
12995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12996 $as_echo "no" >&6; }
12997 fi
12998 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13000 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13001 if ${lt_cv_prog_gnu_ld+:} false; then :
13002   $as_echo_n "(cached) " >&6
13003 else
13004   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13005 case `$LD -v 2>&1 </dev/null` in
13006 *GNU* | *'with BFD'*)
13007   lt_cv_prog_gnu_ld=yes
13008   ;;
13009 *)
13010   lt_cv_prog_gnu_ld=no
13011   ;;
13012 esac
13013 fi
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13015 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13016 with_gnu_ld=$lt_cv_prog_gnu_ld
13017
13018
13019
13020
13021
13022
13023
13024       # Check if GNU C++ uses GNU ld as the underlying linker, since the
13025       # archiving commands below assume that GNU ld is being used.
13026       if test "$with_gnu_ld" = yes; then
13027         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13028         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'
13029
13030         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13031         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13032
13033         # If archive_cmds runs LD, not CC, wlarc should be empty
13034         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13035         #     investigate it a little bit more. (MM)
13036         wlarc='${wl}'
13037
13038         # ancient GNU ld didn't support --whole-archive et. al.
13039         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13040           $GREP 'no-whole-archive' > /dev/null; then
13041           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13042         else
13043           whole_archive_flag_spec_CXX=
13044         fi
13045       else
13046         with_gnu_ld=no
13047         wlarc=
13048
13049         # A generic and very simple default shared library creation
13050         # command for GNU C++ for the case where it uses the native
13051         # linker, instead of GNU ld.  If possible, this setting should
13052         # overridden to take advantage of the native linker features on
13053         # the platform it is being used on.
13054         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13055       fi
13056
13057       # Commands to make compiler produce verbose output that lists
13058       # what "hidden" libraries, object files and flags are used when
13059       # linking a shared library.
13060       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13061
13062     else
13063       GXX=no
13064       with_gnu_ld=no
13065       wlarc=
13066     fi
13067
13068     # PORTME: fill in a description of your system's C++ link characteristics
13069     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13070 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13071     ld_shlibs_CXX=yes
13072     case $host_os in
13073       aix3*)
13074         # FIXME: insert proper C++ library support
13075         ld_shlibs_CXX=no
13076         ;;
13077       aix[4-9]*)
13078         if test "$host_cpu" = ia64; then
13079           # On IA64, the linker does run time linking by default, so we don't
13080           # have to do anything special.
13081           aix_use_runtimelinking=no
13082           exp_sym_flag='-Bexport'
13083           no_entry_flag=""
13084         else
13085           aix_use_runtimelinking=no
13086
13087           # Test if we are trying to use run time linking or normal
13088           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13089           # need to do runtime linking.
13090           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13091             for ld_flag in $LDFLAGS; do
13092               case $ld_flag in
13093               *-brtl*)
13094                 aix_use_runtimelinking=yes
13095                 break
13096                 ;;
13097               esac
13098             done
13099             ;;
13100           esac
13101
13102           exp_sym_flag='-bexport'
13103           no_entry_flag='-bnoentry'
13104         fi
13105
13106         # When large executables or shared objects are built, AIX ld can
13107         # have problems creating the table of contents.  If linking a library
13108         # or program results in "error TOC overflow" add -mminimal-toc to
13109         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13110         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13111
13112         archive_cmds_CXX=''
13113         hardcode_direct_CXX=yes
13114         hardcode_direct_absolute_CXX=yes
13115         hardcode_libdir_separator_CXX=':'
13116         link_all_deplibs_CXX=yes
13117         file_list_spec_CXX='${wl}-f,'
13118
13119         if test "$GXX" = yes; then
13120           case $host_os in aix4.[012]|aix4.[012].*)
13121           # We only want to do this on AIX 4.2 and lower, the check
13122           # below for broken collect2 doesn't work under 4.3+
13123           collect2name=`${CC} -print-prog-name=collect2`
13124           if test -f "$collect2name" &&
13125              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13126           then
13127             # We have reworked collect2
13128             :
13129           else
13130             # We have old collect2
13131             hardcode_direct_CXX=unsupported
13132             # It fails to find uninstalled libraries when the uninstalled
13133             # path is not listed in the libpath.  Setting hardcode_minus_L
13134             # to unsupported forces relinking
13135             hardcode_minus_L_CXX=yes
13136             hardcode_libdir_flag_spec_CXX='-L$libdir'
13137             hardcode_libdir_separator_CXX=
13138           fi
13139           esac
13140           shared_flag='-shared'
13141           if test "$aix_use_runtimelinking" = yes; then
13142             shared_flag="$shared_flag "'${wl}-G'
13143           fi
13144         else
13145           # not using gcc
13146           if test "$host_cpu" = ia64; then
13147           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13148           # chokes on -Wl,-G. The following line is correct:
13149           shared_flag='-G'
13150           else
13151             if test "$aix_use_runtimelinking" = yes; then
13152               shared_flag='${wl}-G'
13153             else
13154               shared_flag='${wl}-bM:SRE'
13155             fi
13156           fi
13157         fi
13158
13159         export_dynamic_flag_spec_CXX='${wl}-bexpall'
13160         # It seems that -bexpall does not export symbols beginning with
13161         # underscore (_), so it is better to generate a list of symbols to
13162         # export.
13163         always_export_symbols_CXX=yes
13164         if test "$aix_use_runtimelinking" = yes; then
13165           # Warning - without using the other runtime loading flags (-brtl),
13166           # -berok will link without error, but may produce a broken library.
13167           allow_undefined_flag_CXX='-berok'
13168           # Determine the default libpath from the value encoded in an empty
13169           # executable.
13170           if test "${lt_cv_aix_libpath+set}" = set; then
13171   aix_libpath=$lt_cv_aix_libpath
13172 else
13173   if ${lt_cv_aix_libpath__CXX+:} false; then :
13174   $as_echo_n "(cached) " >&6
13175 else
13176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h.  */
13178
13179 int
13180 main ()
13181 {
13182
13183   ;
13184   return 0;
13185 }
13186 _ACEOF
13187 if ac_fn_cxx_try_link "$LINENO"; then :
13188
13189   lt_aix_libpath_sed='
13190       /Import File Strings/,/^$/ {
13191           /^0/ {
13192               s/^0  *\([^ ]*\) *$/\1/
13193               p
13194           }
13195       }'
13196   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13197   # Check for a 64-bit object if we didn't find anything.
13198   if test -z "$lt_cv_aix_libpath__CXX"; then
13199     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13200   fi
13201 fi
13202 rm -f core conftest.err conftest.$ac_objext \
13203     conftest$ac_exeext conftest.$ac_ext
13204   if test -z "$lt_cv_aix_libpath__CXX"; then
13205     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13206   fi
13207
13208 fi
13209
13210   aix_libpath=$lt_cv_aix_libpath__CXX
13211 fi
13212
13213           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13214
13215           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"
13216         else
13217           if test "$host_cpu" = ia64; then
13218             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13219             allow_undefined_flag_CXX="-z nodefs"
13220             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"
13221           else
13222             # Determine the default libpath from the value encoded in an
13223             # empty executable.
13224             if test "${lt_cv_aix_libpath+set}" = set; then
13225   aix_libpath=$lt_cv_aix_libpath
13226 else
13227   if ${lt_cv_aix_libpath__CXX+:} false; then :
13228   $as_echo_n "(cached) " >&6
13229 else
13230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h.  */
13232
13233 int
13234 main ()
13235 {
13236
13237   ;
13238   return 0;
13239 }
13240 _ACEOF
13241 if ac_fn_cxx_try_link "$LINENO"; then :
13242
13243   lt_aix_libpath_sed='
13244       /Import File Strings/,/^$/ {
13245           /^0/ {
13246               s/^0  *\([^ ]*\) *$/\1/
13247               p
13248           }
13249       }'
13250   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13251   # Check for a 64-bit object if we didn't find anything.
13252   if test -z "$lt_cv_aix_libpath__CXX"; then
13253     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13254   fi
13255 fi
13256 rm -f core conftest.err conftest.$ac_objext \
13257     conftest$ac_exeext conftest.$ac_ext
13258   if test -z "$lt_cv_aix_libpath__CXX"; then
13259     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13260   fi
13261
13262 fi
13263
13264   aix_libpath=$lt_cv_aix_libpath__CXX
13265 fi
13266
13267             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13268             # Warning - without using the other run time loading flags,
13269             # -berok will link without error, but may produce a broken library.
13270             no_undefined_flag_CXX=' ${wl}-bernotok'
13271             allow_undefined_flag_CXX=' ${wl}-berok'
13272             if test "$with_gnu_ld" = yes; then
13273               # We only use this code for GNU lds that support --whole-archive.
13274               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13275             else
13276               # Exported symbols can be pulled into shared objects from archives
13277               whole_archive_flag_spec_CXX='$convenience'
13278             fi
13279             archive_cmds_need_lc_CXX=yes
13280             # This is similar to how AIX traditionally builds its shared
13281             # libraries.
13282             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'
13283           fi
13284         fi
13285         ;;
13286
13287       beos*)
13288         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13289           allow_undefined_flag_CXX=unsupported
13290           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13291           # support --undefined.  This deserves some investigation.  FIXME
13292           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13293         else
13294           ld_shlibs_CXX=no
13295         fi
13296         ;;
13297
13298       chorus*)
13299         case $cc_basename in
13300           *)
13301           # FIXME: insert proper C++ library support
13302           ld_shlibs_CXX=no
13303           ;;
13304         esac
13305         ;;
13306
13307       cygwin* | mingw* | pw32* | cegcc*)
13308         case $GXX,$cc_basename in
13309         ,cl* | no,cl*)
13310           # Native MSVC
13311           # hardcode_libdir_flag_spec is actually meaningless, as there is
13312           # no search path for DLLs.
13313           hardcode_libdir_flag_spec_CXX=' '
13314           allow_undefined_flag_CXX=unsupported
13315           always_export_symbols_CXX=yes
13316           file_list_spec_CXX='@'
13317           # Tell ltmain to make .lib files, not .a files.
13318           libext=lib
13319           # Tell ltmain to make .dll files, not .so files.
13320           shrext_cmds=".dll"
13321           # FIXME: Setting linknames here is a bad hack.
13322           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13323           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13324               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13325             else
13326               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13327             fi~
13328             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13329             linknames='
13330           # The linker will not automatically build a static lib if we build a DLL.
13331           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13332           enable_shared_with_static_runtimes_CXX=yes
13333           # Don't use ranlib
13334           old_postinstall_cmds_CXX='chmod 644 $oldlib'
13335           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13336             lt_tool_outputfile="@TOOL_OUTPUT@"~
13337             case $lt_outputfile in
13338               *.exe|*.EXE) ;;
13339               *)
13340                 lt_outputfile="$lt_outputfile.exe"
13341                 lt_tool_outputfile="$lt_tool_outputfile.exe"
13342                 ;;
13343             esac~
13344             func_to_tool_file "$lt_outputfile"~
13345             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13346               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13347               $RM "$lt_outputfile.manifest";
13348             fi'
13349           ;;
13350         *)
13351           # g++
13352           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13353           # as there is no search path for DLLs.
13354           hardcode_libdir_flag_spec_CXX='-L$libdir'
13355           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13356           allow_undefined_flag_CXX=unsupported
13357           always_export_symbols_CXX=no
13358           enable_shared_with_static_runtimes_CXX=yes
13359
13360           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13361             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'
13362             # If the export-symbols file already is a .def file (1st line
13363             # is EXPORTS), use it as is; otherwise, prepend...
13364             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13365               cp $export_symbols $output_objdir/$soname.def;
13366             else
13367               echo EXPORTS > $output_objdir/$soname.def;
13368               cat $export_symbols >> $output_objdir/$soname.def;
13369             fi~
13370             $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'
13371           else
13372             ld_shlibs_CXX=no
13373           fi
13374           ;;
13375         esac
13376         ;;
13377       darwin* | rhapsody*)
13378
13379
13380   archive_cmds_need_lc_CXX=no
13381   hardcode_direct_CXX=no
13382   hardcode_automatic_CXX=yes
13383   hardcode_shlibpath_var_CXX=unsupported
13384   if test "$lt_cv_ld_force_load" = "yes"; then
13385     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\"`'
13386
13387   else
13388     whole_archive_flag_spec_CXX=''
13389   fi
13390   link_all_deplibs_CXX=yes
13391   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13392   case $cc_basename in
13393      ifort*) _lt_dar_can_shared=yes ;;
13394      *) _lt_dar_can_shared=$GCC ;;
13395   esac
13396   if test "$_lt_dar_can_shared" = "yes"; then
13397     output_verbose_link_cmd=func_echo_all
13398     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}"
13399     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13400     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}"
13401     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}"
13402        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13403       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}"
13404       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}"
13405     fi
13406
13407   else
13408   ld_shlibs_CXX=no
13409   fi
13410
13411         ;;
13412
13413       dgux*)
13414         case $cc_basename in
13415           ec++*)
13416             # FIXME: insert proper C++ library support
13417             ld_shlibs_CXX=no
13418             ;;
13419           ghcx*)
13420             # Green Hills C++ Compiler
13421             # FIXME: insert proper C++ library support
13422             ld_shlibs_CXX=no
13423             ;;
13424           *)
13425             # FIXME: insert proper C++ library support
13426             ld_shlibs_CXX=no
13427             ;;
13428         esac
13429         ;;
13430
13431       freebsd2.*)
13432         # C++ shared libraries reported to be fairly broken before
13433         # switch to ELF
13434         ld_shlibs_CXX=no
13435         ;;
13436
13437       freebsd-elf*)
13438         archive_cmds_need_lc_CXX=no
13439         ;;
13440
13441       freebsd* | dragonfly*)
13442         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13443         # conventions
13444         ld_shlibs_CXX=yes
13445         ;;
13446
13447       haiku*)
13448         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13449         link_all_deplibs_CXX=yes
13450         ;;
13451
13452       hpux9*)
13453         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13454         hardcode_libdir_separator_CXX=:
13455         export_dynamic_flag_spec_CXX='${wl}-E'
13456         hardcode_direct_CXX=yes
13457         hardcode_minus_L_CXX=yes # Not in the search PATH,
13458                                              # but as the default
13459                                              # location of the library.
13460
13461         case $cc_basename in
13462           CC*)
13463             # FIXME: insert proper C++ library support
13464             ld_shlibs_CXX=no
13465             ;;
13466           aCC*)
13467             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'
13468             # Commands to make compiler produce verbose output that lists
13469             # what "hidden" libraries, object files and flags are used when
13470             # linking a shared library.
13471             #
13472             # There doesn't appear to be a way to prevent this compiler from
13473             # explicitly linking system object files so we need to strip them
13474             # from the output so that they don't get included in the library
13475             # dependencies.
13476             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"'
13477             ;;
13478           *)
13479             if test "$GXX" = yes; then
13480               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'
13481             else
13482               # FIXME: insert proper C++ library support
13483               ld_shlibs_CXX=no
13484             fi
13485             ;;
13486         esac
13487         ;;
13488
13489       hpux10*|hpux11*)
13490         if test $with_gnu_ld = no; then
13491           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13492           hardcode_libdir_separator_CXX=:
13493
13494           case $host_cpu in
13495             hppa*64*|ia64*)
13496               ;;
13497             *)
13498               export_dynamic_flag_spec_CXX='${wl}-E'
13499               ;;
13500           esac
13501         fi
13502         case $host_cpu in
13503           hppa*64*|ia64*)
13504             hardcode_direct_CXX=no
13505             hardcode_shlibpath_var_CXX=no
13506             ;;
13507           *)
13508             hardcode_direct_CXX=yes
13509             hardcode_direct_absolute_CXX=yes
13510             hardcode_minus_L_CXX=yes # Not in the search PATH,
13511                                                  # but as the default
13512                                                  # location of the library.
13513             ;;
13514         esac
13515
13516         case $cc_basename in
13517           CC*)
13518             # FIXME: insert proper C++ library support
13519             ld_shlibs_CXX=no
13520             ;;
13521           aCC*)
13522             case $host_cpu in
13523               hppa*64*)
13524                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13525                 ;;
13526               ia64*)
13527                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13528                 ;;
13529               *)
13530                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13531                 ;;
13532             esac
13533             # Commands to make compiler produce verbose output that lists
13534             # what "hidden" libraries, object files and flags are used when
13535             # linking a shared library.
13536             #
13537             # There doesn't appear to be a way to prevent this compiler from
13538             # explicitly linking system object files so we need to strip them
13539             # from the output so that they don't get included in the library
13540             # dependencies.
13541             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"'
13542             ;;
13543           *)
13544             if test "$GXX" = yes; then
13545               if test $with_gnu_ld = no; then
13546                 case $host_cpu in
13547                   hppa*64*)
13548                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13549                     ;;
13550                   ia64*)
13551                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13552                     ;;
13553                   *)
13554                     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'
13555                     ;;
13556                 esac
13557               fi
13558             else
13559               # FIXME: insert proper C++ library support
13560               ld_shlibs_CXX=no
13561             fi
13562             ;;
13563         esac
13564         ;;
13565
13566       interix[3-9]*)
13567         hardcode_direct_CXX=no
13568         hardcode_shlibpath_var_CXX=no
13569         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13570         export_dynamic_flag_spec_CXX='${wl}-E'
13571         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13572         # Instead, shared libraries are loaded at an image base (0x10000000 by
13573         # default) and relocated if they conflict, which is a slow very memory
13574         # consuming and fragmenting process.  To avoid this, we pick a random,
13575         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13576         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13577         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'
13578         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'
13579         ;;
13580       irix5* | irix6*)
13581         case $cc_basename in
13582           CC*)
13583             # SGI C++
13584             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'
13585
13586             # Archives containing C++ object files must be created using
13587             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13588             # necessary to make sure instantiated templates are included
13589             # in the archive.
13590             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13591             ;;
13592           *)
13593             if test "$GXX" = yes; then
13594               if test "$with_gnu_ld" = no; then
13595                 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'
13596               else
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"` -o $lib'
13598               fi
13599             fi
13600             link_all_deplibs_CXX=yes
13601             ;;
13602         esac
13603         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13604         hardcode_libdir_separator_CXX=:
13605         inherit_rpath_CXX=yes
13606         ;;
13607
13608       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13609         case $cc_basename in
13610           KCC*)
13611             # Kuck and Associates, Inc. (KAI) C++ Compiler
13612
13613             # KCC will only create a shared library if the output file
13614             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13615             # to its proper name (with version) after linking.
13616             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'
13617             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'
13618             # Commands to make compiler produce verbose output that lists
13619             # what "hidden" libraries, object files and flags are used when
13620             # linking a shared library.
13621             #
13622             # There doesn't appear to be a way to prevent this compiler from
13623             # explicitly linking system object files so we need to strip them
13624             # from the output so that they don't get included in the library
13625             # dependencies.
13626             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"'
13627
13628             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13629             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13630
13631             # Archives containing C++ object files must be created using
13632             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13633             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13634             ;;
13635           icpc* | ecpc* )
13636             # Intel C++
13637             with_gnu_ld=yes
13638             # version 8.0 and above of icpc choke on multiply defined symbols
13639             # if we add $predep_objects and $postdep_objects, however 7.1 and
13640             # earlier do not add the objects themselves.
13641             case `$CC -V 2>&1` in
13642               *"Version 7."*)
13643                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13644                 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'
13645                 ;;
13646               *)  # Version 8.0 or newer
13647                 tmp_idyn=
13648                 case $host_cpu in
13649                   ia64*) tmp_idyn=' -i_dynamic';;
13650                 esac
13651                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13652                 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'
13653                 ;;
13654             esac
13655             archive_cmds_need_lc_CXX=no
13656             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13657             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13658             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13659             ;;
13660           pgCC* | pgcpp*)
13661             # Portland Group C++ compiler
13662             case `$CC -V` in
13663             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13664               prelink_cmds_CXX='tpldir=Template.dir~
13665                 rm -rf $tpldir~
13666                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13667                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13668               old_archive_cmds_CXX='tpldir=Template.dir~
13669                 rm -rf $tpldir~
13670                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13671                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13672                 $RANLIB $oldlib'
13673               archive_cmds_CXX='tpldir=Template.dir~
13674                 rm -rf $tpldir~
13675                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13676                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13677               archive_expsym_cmds_CXX='tpldir=Template.dir~
13678                 rm -rf $tpldir~
13679                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13680                 $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'
13681               ;;
13682             *) # Version 6 and above use weak symbols
13683               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13684               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'
13685               ;;
13686             esac
13687
13688             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13689             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13690             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'
13691             ;;
13692           cxx*)
13693             # Compaq C++
13694             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13695             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'
13696
13697             runpath_var=LD_RUN_PATH
13698             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13699             hardcode_libdir_separator_CXX=:
13700
13701             # Commands to make compiler produce verbose output that lists
13702             # what "hidden" libraries, object files and flags are used when
13703             # linking a shared library.
13704             #
13705             # There doesn't appear to be a way to prevent this compiler from
13706             # explicitly linking system object files so we need to strip them
13707             # from the output so that they don't get included in the library
13708             # dependencies.
13709             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'
13710             ;;
13711           xl* | mpixl* | bgxl*)
13712             # IBM XL 8.0 on PPC, with GNU ld
13713             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13714             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13715             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13716             if test "x$supports_anon_versioning" = xyes; then
13717               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13718                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13719                 echo "local: *; };" >> $output_objdir/$libname.ver~
13720                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13721             fi
13722             ;;
13723           *)
13724             case `$CC -V 2>&1 | sed 5q` in
13725             *Sun\ C*)
13726               # Sun C++ 5.9
13727               no_undefined_flag_CXX=' -zdefs'
13728               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13729               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'
13730               hardcode_libdir_flag_spec_CXX='-R$libdir'
13731               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'
13732               compiler_needs_object_CXX=yes
13733
13734               # Not sure whether something based on
13735               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13736               # would be better.
13737               output_verbose_link_cmd='func_echo_all'
13738
13739               # Archives containing C++ object files must be created using
13740               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13741               # necessary to make sure instantiated templates are included
13742               # in the archive.
13743               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13744               ;;
13745             esac
13746             ;;
13747         esac
13748         ;;
13749
13750       lynxos*)
13751         # FIXME: insert proper C++ library support
13752         ld_shlibs_CXX=no
13753         ;;
13754
13755       m88k*)
13756         # FIXME: insert proper C++ library support
13757         ld_shlibs_CXX=no
13758         ;;
13759
13760       mvs*)
13761         case $cc_basename in
13762           cxx*)
13763             # FIXME: insert proper C++ library support
13764             ld_shlibs_CXX=no
13765             ;;
13766           *)
13767             # FIXME: insert proper C++ library support
13768             ld_shlibs_CXX=no
13769             ;;
13770         esac
13771         ;;
13772
13773       netbsd*)
13774         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13775           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13776           wlarc=
13777           hardcode_libdir_flag_spec_CXX='-R$libdir'
13778           hardcode_direct_CXX=yes
13779           hardcode_shlibpath_var_CXX=no
13780         fi
13781         # Workaround some broken pre-1.5 toolchains
13782         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13783         ;;
13784
13785       *nto* | *qnx*)
13786         ld_shlibs_CXX=yes
13787         ;;
13788
13789       openbsd2*)
13790         # C++ shared libraries are fairly broken
13791         ld_shlibs_CXX=no
13792         ;;
13793
13794       openbsd*)
13795         if test -f /usr/libexec/ld.so; then
13796           hardcode_direct_CXX=yes
13797           hardcode_shlibpath_var_CXX=no
13798           hardcode_direct_absolute_CXX=yes
13799           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13800           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13801           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13802             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13803             export_dynamic_flag_spec_CXX='${wl}-E'
13804             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13805           fi
13806           output_verbose_link_cmd=func_echo_all
13807         else
13808           ld_shlibs_CXX=no
13809         fi
13810         ;;
13811
13812       osf3* | osf4* | osf5*)
13813         case $cc_basename in
13814           KCC*)
13815             # Kuck and Associates, Inc. (KAI) C++ Compiler
13816
13817             # KCC will only create a shared library if the output file
13818             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13819             # to its proper name (with version) after linking.
13820             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'
13821
13822             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13823             hardcode_libdir_separator_CXX=:
13824
13825             # Archives containing C++ object files must be created using
13826             # the KAI C++ compiler.
13827             case $host in
13828               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13829               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13830             esac
13831             ;;
13832           RCC*)
13833             # Rational C++ 2.4.1
13834             # FIXME: insert proper C++ library support
13835             ld_shlibs_CXX=no
13836             ;;
13837           cxx*)
13838             case $host in
13839               osf3*)
13840                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13841                 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'
13842                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13843                 ;;
13844               *)
13845                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13846                 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'
13847                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13848                   echo "-hidden">> $lib.exp~
13849                   $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~
13850                   $RM $lib.exp'
13851                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13852                 ;;
13853             esac
13854
13855             hardcode_libdir_separator_CXX=:
13856
13857             # Commands to make compiler produce verbose output that lists
13858             # what "hidden" libraries, object files and flags are used when
13859             # linking a shared library.
13860             #
13861             # There doesn't appear to be a way to prevent this compiler from
13862             # explicitly linking system object files so we need to strip them
13863             # from the output so that they don't get included in the library
13864             # dependencies.
13865             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"'
13866             ;;
13867           *)
13868             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13869               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13870               case $host in
13871                 osf3*)
13872                   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'
13873                   ;;
13874                 *)
13875                   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'
13876                   ;;
13877               esac
13878
13879               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13880               hardcode_libdir_separator_CXX=:
13881
13882               # Commands to make compiler produce verbose output that lists
13883               # what "hidden" libraries, object files and flags are used when
13884               # linking a shared library.
13885               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13886
13887             else
13888               # FIXME: insert proper C++ library support
13889               ld_shlibs_CXX=no
13890             fi
13891             ;;
13892         esac
13893         ;;
13894
13895       psos*)
13896         # FIXME: insert proper C++ library support
13897         ld_shlibs_CXX=no
13898         ;;
13899
13900       sunos4*)
13901         case $cc_basename in
13902           CC*)
13903             # Sun C++ 4.x
13904             # FIXME: insert proper C++ library support
13905             ld_shlibs_CXX=no
13906             ;;
13907           lcc*)
13908             # Lucid
13909             # FIXME: insert proper C++ library support
13910             ld_shlibs_CXX=no
13911             ;;
13912           *)
13913             # FIXME: insert proper C++ library support
13914             ld_shlibs_CXX=no
13915             ;;
13916         esac
13917         ;;
13918
13919       solaris*)
13920         case $cc_basename in
13921           CC* | sunCC*)
13922             # Sun C++ 4.2, 5.x and Centerline C++
13923             archive_cmds_need_lc_CXX=yes
13924             no_undefined_flag_CXX=' -zdefs'
13925             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13926             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13927               $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'
13928
13929             hardcode_libdir_flag_spec_CXX='-R$libdir'
13930             hardcode_shlibpath_var_CXX=no
13931             case $host_os in
13932               solaris2.[0-5] | solaris2.[0-5].*) ;;
13933               *)
13934                 # The compiler driver will combine and reorder linker options,
13935                 # but understands `-z linker_flag'.
13936                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13937                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13938                 ;;
13939             esac
13940             link_all_deplibs_CXX=yes
13941
13942             output_verbose_link_cmd='func_echo_all'
13943
13944             # Archives containing C++ object files must be created using
13945             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13946             # necessary to make sure instantiated templates are included
13947             # in the archive.
13948             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13949             ;;
13950           gcx*)
13951             # Green Hills C++ Compiler
13952             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13953
13954             # The C++ compiler must be used to create the archive.
13955             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13956             ;;
13957           *)
13958             # GNU C++ compiler with Solaris linker
13959             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13960               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13961               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13962                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13963                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13964                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13965
13966                 # Commands to make compiler produce verbose output that lists
13967                 # what "hidden" libraries, object files and flags are used when
13968                 # linking a shared library.
13969                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13970               else
13971                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13972                 # platform.
13973                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13974                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13975                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13976
13977                 # Commands to make compiler produce verbose output that lists
13978                 # what "hidden" libraries, object files and flags are used when
13979                 # linking a shared library.
13980                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13981               fi
13982
13983               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13984               case $host_os in
13985                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13986                 *)
13987                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13988                   ;;
13989               esac
13990             fi
13991             ;;
13992         esac
13993         ;;
13994
13995     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13996       no_undefined_flag_CXX='${wl}-z,text'
13997       archive_cmds_need_lc_CXX=no
13998       hardcode_shlibpath_var_CXX=no
13999       runpath_var='LD_RUN_PATH'
14000
14001       case $cc_basename in
14002         CC*)
14003           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14004           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14005           ;;
14006         *)
14007           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14008           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14009           ;;
14010       esac
14011       ;;
14012
14013       sysv5* | sco3.2v5* | sco5v6*)
14014         # Note: We can NOT use -z defs as we might desire, because we do not
14015         # link with -lc, and that would cause any symbols used from libc to
14016         # always be unresolved, which means just about no library would
14017         # ever link correctly.  If we're not using GNU ld we use -z text
14018         # though, which does catch some bad symbols but isn't as heavy-handed
14019         # as -z defs.
14020         no_undefined_flag_CXX='${wl}-z,text'
14021         allow_undefined_flag_CXX='${wl}-z,nodefs'
14022         archive_cmds_need_lc_CXX=no
14023         hardcode_shlibpath_var_CXX=no
14024         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14025         hardcode_libdir_separator_CXX=':'
14026         link_all_deplibs_CXX=yes
14027         export_dynamic_flag_spec_CXX='${wl}-Bexport'
14028         runpath_var='LD_RUN_PATH'
14029
14030         case $cc_basename in
14031           CC*)
14032             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14033             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14034             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14035               '"$old_archive_cmds_CXX"
14036             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14037               '"$reload_cmds_CXX"
14038             ;;
14039           *)
14040             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14041             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14042             ;;
14043         esac
14044       ;;
14045
14046       tandem*)
14047         case $cc_basename in
14048           NCC*)
14049             # NonStop-UX NCC 3.20
14050             # FIXME: insert proper C++ library support
14051             ld_shlibs_CXX=no
14052             ;;
14053           *)
14054             # FIXME: insert proper C++ library support
14055             ld_shlibs_CXX=no
14056             ;;
14057         esac
14058         ;;
14059
14060       vxworks*)
14061         # FIXME: insert proper C++ library support
14062         ld_shlibs_CXX=no
14063         ;;
14064
14065       *)
14066         # FIXME: insert proper C++ library support
14067         ld_shlibs_CXX=no
14068         ;;
14069     esac
14070
14071     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14072 $as_echo "$ld_shlibs_CXX" >&6; }
14073     test "$ld_shlibs_CXX" = no && can_build_shared=no
14074
14075     GCC_CXX="$GXX"
14076     LD_CXX="$LD"
14077
14078     ## CAVEAT EMPTOR:
14079     ## There is no encapsulation within the following macros, do not change
14080     ## the running order or otherwise move them around unless you know exactly
14081     ## what you are doing...
14082     # Dependencies to place before and after the object being linked:
14083 predep_objects_CXX=
14084 postdep_objects_CXX=
14085 predeps_CXX=
14086 postdeps_CXX=
14087 compiler_lib_search_path_CXX=
14088
14089 cat > conftest.$ac_ext <<_LT_EOF
14090 class Foo
14091 {
14092 public:
14093   Foo (void) { a = 0; }
14094 private:
14095   int a;
14096 };
14097 _LT_EOF
14098
14099
14100 _lt_libdeps_save_CFLAGS=$CFLAGS
14101 case "$CC $CFLAGS " in #(
14102 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14103 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14104 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14105 esac
14106
14107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14108   (eval $ac_compile) 2>&5
14109   ac_status=$?
14110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14111   test $ac_status = 0; }; then
14112   # Parse the compiler output and extract the necessary
14113   # objects, libraries and library flags.
14114
14115   # Sentinel used to keep track of whether or not we are before
14116   # the conftest object file.
14117   pre_test_object_deps_done=no
14118
14119   for p in `eval "$output_verbose_link_cmd"`; do
14120     case ${prev}${p} in
14121
14122     -L* | -R* | -l*)
14123        # Some compilers place space between "-{L,R}" and the path.
14124        # Remove the space.
14125        if test $p = "-L" ||
14126           test $p = "-R"; then
14127          prev=$p
14128          continue
14129        fi
14130
14131        # Expand the sysroot to ease extracting the directories later.
14132        if test -z "$prev"; then
14133          case $p in
14134          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14135          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14136          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14137          esac
14138        fi
14139        case $p in
14140        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14141        esac
14142        if test "$pre_test_object_deps_done" = no; then
14143          case ${prev} in
14144          -L | -R)
14145            # Internal compiler library paths should come after those
14146            # provided the user.  The postdeps already come after the
14147            # user supplied libs so there is no need to process them.
14148            if test -z "$compiler_lib_search_path_CXX"; then
14149              compiler_lib_search_path_CXX="${prev}${p}"
14150            else
14151              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14152            fi
14153            ;;
14154          # The "-l" case would never come before the object being
14155          # linked, so don't bother handling this case.
14156          esac
14157        else
14158          if test -z "$postdeps_CXX"; then
14159            postdeps_CXX="${prev}${p}"
14160          else
14161            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14162          fi
14163        fi
14164        prev=
14165        ;;
14166
14167     *.lto.$objext) ;; # Ignore GCC LTO objects
14168     *.$objext)
14169        # This assumes that the test object file only shows up
14170        # once in the compiler output.
14171        if test "$p" = "conftest.$objext"; then
14172          pre_test_object_deps_done=yes
14173          continue
14174        fi
14175
14176        if test "$pre_test_object_deps_done" = no; then
14177          if test -z "$predep_objects_CXX"; then
14178            predep_objects_CXX="$p"
14179          else
14180            predep_objects_CXX="$predep_objects_CXX $p"
14181          fi
14182        else
14183          if test -z "$postdep_objects_CXX"; then
14184            postdep_objects_CXX="$p"
14185          else
14186            postdep_objects_CXX="$postdep_objects_CXX $p"
14187          fi
14188        fi
14189        ;;
14190
14191     *) ;; # Ignore the rest.
14192
14193     esac
14194   done
14195
14196   # Clean up.
14197   rm -f a.out a.exe
14198 else
14199   echo "libtool.m4: error: problem compiling CXX test program"
14200 fi
14201
14202 $RM -f confest.$objext
14203 CFLAGS=$_lt_libdeps_save_CFLAGS
14204
14205 # PORTME: override above test on systems where it is broken
14206 case $host_os in
14207 interix[3-9]*)
14208   # Interix 3.5 installs completely hosed .la files for C++, so rather than
14209   # hack all around it, let's just trust "g++" to DTRT.
14210   predep_objects_CXX=
14211   postdep_objects_CXX=
14212   postdeps_CXX=
14213   ;;
14214
14215 linux*)
14216   case `$CC -V 2>&1 | sed 5q` in
14217   *Sun\ C*)
14218     # Sun C++ 5.9
14219
14220     # The more standards-conforming stlport4 library is
14221     # incompatible with the Cstd library. Avoid specifying
14222     # it if it's in CXXFLAGS. Ignore libCrun as
14223     # -library=stlport4 depends on it.
14224     case " $CXX $CXXFLAGS " in
14225     *" -library=stlport4 "*)
14226       solaris_use_stlport4=yes
14227       ;;
14228     esac
14229
14230     if test "$solaris_use_stlport4" != yes; then
14231       postdeps_CXX='-library=Cstd -library=Crun'
14232     fi
14233     ;;
14234   esac
14235   ;;
14236
14237 solaris*)
14238   case $cc_basename in
14239   CC* | sunCC*)
14240     # The more standards-conforming stlport4 library is
14241     # incompatible with the Cstd library. Avoid specifying
14242     # it if it's in CXXFLAGS. Ignore libCrun as
14243     # -library=stlport4 depends on it.
14244     case " $CXX $CXXFLAGS " in
14245     *" -library=stlport4 "*)
14246       solaris_use_stlport4=yes
14247       ;;
14248     esac
14249
14250     # Adding this requires a known-good setup of shared libraries for
14251     # Sun compiler versions before 5.6, else PIC objects from an old
14252     # archive will be linked into the output, leading to subtle bugs.
14253     if test "$solaris_use_stlport4" != yes; then
14254       postdeps_CXX='-library=Cstd -library=Crun'
14255     fi
14256     ;;
14257   esac
14258   ;;
14259 esac
14260
14261
14262 case " $postdeps_CXX " in
14263 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14264 esac
14265  compiler_lib_search_dirs_CXX=
14266 if test -n "${compiler_lib_search_path_CXX}"; then
14267  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14268 fi
14269
14270
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     lt_prog_compiler_wl_CXX=
14301 lt_prog_compiler_pic_CXX=
14302 lt_prog_compiler_static_CXX=
14303
14304
14305   # C++ specific cases for pic, static, wl, etc.
14306   if test "$GXX" = yes; then
14307     lt_prog_compiler_wl_CXX='-Wl,'
14308     lt_prog_compiler_static_CXX='-static'
14309
14310     case $host_os in
14311     aix*)
14312       # All AIX code is PIC.
14313       if test "$host_cpu" = ia64; then
14314         # AIX 5 now supports IA64 processor
14315         lt_prog_compiler_static_CXX='-Bstatic'
14316       fi
14317       ;;
14318
14319     amigaos*)
14320       case $host_cpu in
14321       powerpc)
14322             # see comment about AmigaOS4 .so support
14323             lt_prog_compiler_pic_CXX='-fPIC'
14324         ;;
14325       m68k)
14326             # FIXME: we need at least 68020 code to build shared libraries, but
14327             # adding the `-m68020' flag to GCC prevents building anything better,
14328             # like `-m68040'.
14329             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14330         ;;
14331       esac
14332       ;;
14333
14334     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14335       # PIC is the default for these OSes.
14336       ;;
14337     mingw* | cygwin* | os2* | pw32* | cegcc*)
14338       # This hack is so that the source file can tell whether it is being
14339       # built for inclusion in a dll (and should export symbols for example).
14340       # Although the cygwin gcc ignores -fPIC, still need this for old-style
14341       # (--disable-auto-import) libraries
14342       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14343       ;;
14344     darwin* | rhapsody*)
14345       # PIC is the default on this platform
14346       # Common symbols not allowed in MH_DYLIB files
14347       lt_prog_compiler_pic_CXX='-fno-common'
14348       ;;
14349     *djgpp*)
14350       # DJGPP does not support shared libraries at all
14351       lt_prog_compiler_pic_CXX=
14352       ;;
14353     haiku*)
14354       # PIC is the default for Haiku.
14355       # The "-static" flag exists, but is broken.
14356       lt_prog_compiler_static_CXX=
14357       ;;
14358     interix[3-9]*)
14359       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14360       # Instead, we relocate shared libraries at runtime.
14361       ;;
14362     sysv4*MP*)
14363       if test -d /usr/nec; then
14364         lt_prog_compiler_pic_CXX=-Kconform_pic
14365       fi
14366       ;;
14367     hpux*)
14368       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14369       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
14370       # sets the default TLS model and affects inlining.
14371       case $host_cpu in
14372       hppa*64*)
14373         ;;
14374       *)
14375         lt_prog_compiler_pic_CXX='-fPIC'
14376         ;;
14377       esac
14378       ;;
14379     *qnx* | *nto*)
14380       # QNX uses GNU C++, but need to define -shared option too, otherwise
14381       # it will coredump.
14382       lt_prog_compiler_pic_CXX='-fPIC -shared'
14383       ;;
14384     *)
14385       lt_prog_compiler_pic_CXX='-fPIC'
14386       ;;
14387     esac
14388   else
14389     case $host_os in
14390       aix[4-9]*)
14391         # All AIX code is PIC.
14392         if test "$host_cpu" = ia64; then
14393           # AIX 5 now supports IA64 processor
14394           lt_prog_compiler_static_CXX='-Bstatic'
14395         else
14396           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14397         fi
14398         ;;
14399       chorus*)
14400         case $cc_basename in
14401         cxch68*)
14402           # Green Hills C++ Compiler
14403           # _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"
14404           ;;
14405         esac
14406         ;;
14407       mingw* | cygwin* | os2* | pw32* | cegcc*)
14408         # This hack is so that the source file can tell whether it is being
14409         # built for inclusion in a dll (and should export symbols for example).
14410         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14411         ;;
14412       dgux*)
14413         case $cc_basename in
14414           ec++*)
14415             lt_prog_compiler_pic_CXX='-KPIC'
14416             ;;
14417           ghcx*)
14418             # Green Hills C++ Compiler
14419             lt_prog_compiler_pic_CXX='-pic'
14420             ;;
14421           *)
14422             ;;
14423         esac
14424         ;;
14425       freebsd* | dragonfly*)
14426         # FreeBSD uses GNU C++
14427         ;;
14428       hpux9* | hpux10* | hpux11*)
14429         case $cc_basename in
14430           CC*)
14431             lt_prog_compiler_wl_CXX='-Wl,'
14432             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14433             if test "$host_cpu" != ia64; then
14434               lt_prog_compiler_pic_CXX='+Z'
14435             fi
14436             ;;
14437           aCC*)
14438             lt_prog_compiler_wl_CXX='-Wl,'
14439             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14440             case $host_cpu in
14441             hppa*64*|ia64*)
14442               # +Z the default
14443               ;;
14444             *)
14445               lt_prog_compiler_pic_CXX='+Z'
14446               ;;
14447             esac
14448             ;;
14449           *)
14450             ;;
14451         esac
14452         ;;
14453       interix*)
14454         # This is c89, which is MS Visual C++ (no shared libs)
14455         # Anyone wants to do a port?
14456         ;;
14457       irix5* | irix6* | nonstopux*)
14458         case $cc_basename in
14459           CC*)
14460             lt_prog_compiler_wl_CXX='-Wl,'
14461             lt_prog_compiler_static_CXX='-non_shared'
14462             # CC pic flag -KPIC is the default.
14463             ;;
14464           *)
14465             ;;
14466         esac
14467         ;;
14468       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14469         case $cc_basename in
14470           KCC*)
14471             # KAI C++ Compiler
14472             lt_prog_compiler_wl_CXX='--backend -Wl,'
14473             lt_prog_compiler_pic_CXX='-fPIC'
14474             ;;
14475           ecpc* )
14476             # old Intel C++ for x86_64 which still supported -KPIC.
14477             lt_prog_compiler_wl_CXX='-Wl,'
14478             lt_prog_compiler_pic_CXX='-KPIC'
14479             lt_prog_compiler_static_CXX='-static'
14480             ;;
14481           icpc* )
14482             # Intel C++, used to be incompatible with GCC.
14483             # ICC 10 doesn't accept -KPIC any more.
14484             lt_prog_compiler_wl_CXX='-Wl,'
14485             lt_prog_compiler_pic_CXX='-fPIC'
14486             lt_prog_compiler_static_CXX='-static'
14487             ;;
14488           pgCC* | pgcpp*)
14489             # Portland Group C++ compiler
14490             lt_prog_compiler_wl_CXX='-Wl,'
14491             lt_prog_compiler_pic_CXX='-fpic'
14492             lt_prog_compiler_static_CXX='-Bstatic'
14493             ;;
14494           cxx*)
14495             # Compaq C++
14496             # Make sure the PIC flag is empty.  It appears that all Alpha
14497             # Linux and Compaq Tru64 Unix objects are PIC.
14498             lt_prog_compiler_pic_CXX=
14499             lt_prog_compiler_static_CXX='-non_shared'
14500             ;;
14501           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14502             # IBM XL 8.0, 9.0 on PPC and BlueGene
14503             lt_prog_compiler_wl_CXX='-Wl,'
14504             lt_prog_compiler_pic_CXX='-qpic'
14505             lt_prog_compiler_static_CXX='-qstaticlink'
14506             ;;
14507           *)
14508             case `$CC -V 2>&1 | sed 5q` in
14509             *Sun\ C*)
14510               # Sun C++ 5.9
14511               lt_prog_compiler_pic_CXX='-KPIC'
14512               lt_prog_compiler_static_CXX='-Bstatic'
14513               lt_prog_compiler_wl_CXX='-Qoption ld '
14514               ;;
14515             esac
14516             ;;
14517         esac
14518         ;;
14519       lynxos*)
14520         ;;
14521       m88k*)
14522         ;;
14523       mvs*)
14524         case $cc_basename in
14525           cxx*)
14526             lt_prog_compiler_pic_CXX='-W c,exportall'
14527             ;;
14528           *)
14529             ;;
14530         esac
14531         ;;
14532       netbsd* | netbsdelf*-gnu)
14533         ;;
14534       *qnx* | *nto*)
14535         # QNX uses GNU C++, but need to define -shared option too, otherwise
14536         # it will coredump.
14537         lt_prog_compiler_pic_CXX='-fPIC -shared'
14538         ;;
14539       osf3* | osf4* | osf5*)
14540         case $cc_basename in
14541           KCC*)
14542             lt_prog_compiler_wl_CXX='--backend -Wl,'
14543             ;;
14544           RCC*)
14545             # Rational C++ 2.4.1
14546             lt_prog_compiler_pic_CXX='-pic'
14547             ;;
14548           cxx*)
14549             # Digital/Compaq C++
14550             lt_prog_compiler_wl_CXX='-Wl,'
14551             # Make sure the PIC flag is empty.  It appears that all Alpha
14552             # Linux and Compaq Tru64 Unix objects are PIC.
14553             lt_prog_compiler_pic_CXX=
14554             lt_prog_compiler_static_CXX='-non_shared'
14555             ;;
14556           *)
14557             ;;
14558         esac
14559         ;;
14560       psos*)
14561         ;;
14562       solaris*)
14563         case $cc_basename in
14564           CC* | sunCC*)
14565             # Sun C++ 4.2, 5.x and Centerline C++
14566             lt_prog_compiler_pic_CXX='-KPIC'
14567             lt_prog_compiler_static_CXX='-Bstatic'
14568             lt_prog_compiler_wl_CXX='-Qoption ld '
14569             ;;
14570           gcx*)
14571             # Green Hills C++ Compiler
14572             lt_prog_compiler_pic_CXX='-PIC'
14573             ;;
14574           *)
14575             ;;
14576         esac
14577         ;;
14578       sunos4*)
14579         case $cc_basename in
14580           CC*)
14581             # Sun C++ 4.x
14582             lt_prog_compiler_pic_CXX='-pic'
14583             lt_prog_compiler_static_CXX='-Bstatic'
14584             ;;
14585           lcc*)
14586             # Lucid
14587             lt_prog_compiler_pic_CXX='-pic'
14588             ;;
14589           *)
14590             ;;
14591         esac
14592         ;;
14593       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14594         case $cc_basename in
14595           CC*)
14596             lt_prog_compiler_wl_CXX='-Wl,'
14597             lt_prog_compiler_pic_CXX='-KPIC'
14598             lt_prog_compiler_static_CXX='-Bstatic'
14599             ;;
14600         esac
14601         ;;
14602       tandem*)
14603         case $cc_basename in
14604           NCC*)
14605             # NonStop-UX NCC 3.20
14606             lt_prog_compiler_pic_CXX='-KPIC'
14607             ;;
14608           *)
14609             ;;
14610         esac
14611         ;;
14612       vxworks*)
14613         ;;
14614       *)
14615         lt_prog_compiler_can_build_shared_CXX=no
14616         ;;
14617     esac
14618   fi
14619
14620 case $host_os in
14621   # For platforms which do not support PIC, -DPIC is meaningless:
14622   *djgpp*)
14623     lt_prog_compiler_pic_CXX=
14624     ;;
14625   *)
14626     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14627     ;;
14628 esac
14629
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14631 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14632 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14633   $as_echo_n "(cached) " >&6
14634 else
14635   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14636 fi
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14638 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14639 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14640
14641 #
14642 # Check to make sure the PIC flag actually works.
14643 #
14644 if test -n "$lt_prog_compiler_pic_CXX"; then
14645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14646 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14647 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14648   $as_echo_n "(cached) " >&6
14649 else
14650   lt_cv_prog_compiler_pic_works_CXX=no
14651    ac_outfile=conftest.$ac_objext
14652    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14653    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14654    # Insert the option either (1) after the last *FLAGS variable, or
14655    # (2) before a word containing "conftest.", or (3) at the end.
14656    # Note that $ac_compile itself does not contain backslashes and begins
14657    # with a dollar sign (not a hyphen), so the echo should work correctly.
14658    # The option is referenced via a variable to avoid confusing sed.
14659    lt_compile=`echo "$ac_compile" | $SED \
14660    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14661    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14662    -e 's:$: $lt_compiler_flag:'`
14663    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14664    (eval "$lt_compile" 2>conftest.err)
14665    ac_status=$?
14666    cat conftest.err >&5
14667    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668    if (exit $ac_status) && test -s "$ac_outfile"; then
14669      # The compiler can only warn and ignore the option if not recognized
14670      # So say no if there are warnings other than the usual output.
14671      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14672      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14673      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14674        lt_cv_prog_compiler_pic_works_CXX=yes
14675      fi
14676    fi
14677    $RM conftest*
14678
14679 fi
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14681 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14682
14683 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14684     case $lt_prog_compiler_pic_CXX in
14685      "" | " "*) ;;
14686      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14687      esac
14688 else
14689     lt_prog_compiler_pic_CXX=
14690      lt_prog_compiler_can_build_shared_CXX=no
14691 fi
14692
14693 fi
14694
14695
14696
14697
14698
14699 #
14700 # Check to make sure the static flag actually works.
14701 #
14702 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14704 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14705 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14706   $as_echo_n "(cached) " >&6
14707 else
14708   lt_cv_prog_compiler_static_works_CXX=no
14709    save_LDFLAGS="$LDFLAGS"
14710    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14711    echo "$lt_simple_link_test_code" > conftest.$ac_ext
14712    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14713      # The linker can only warn and ignore the option if not recognized
14714      # So say no if there are warnings
14715      if test -s conftest.err; then
14716        # Append any errors to the config.log.
14717        cat conftest.err 1>&5
14718        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14719        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14720        if diff conftest.exp conftest.er2 >/dev/null; then
14721          lt_cv_prog_compiler_static_works_CXX=yes
14722        fi
14723      else
14724        lt_cv_prog_compiler_static_works_CXX=yes
14725      fi
14726    fi
14727    $RM -r conftest*
14728    LDFLAGS="$save_LDFLAGS"
14729
14730 fi
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14732 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14733
14734 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14735     :
14736 else
14737     lt_prog_compiler_static_CXX=
14738 fi
14739
14740
14741
14742
14743     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14745 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14746   $as_echo_n "(cached) " >&6
14747 else
14748   lt_cv_prog_compiler_c_o_CXX=no
14749    $RM -r conftest 2>/dev/null
14750    mkdir conftest
14751    cd conftest
14752    mkdir out
14753    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14754
14755    lt_compiler_flag="-o out/conftest2.$ac_objext"
14756    # Insert the option either (1) after the last *FLAGS variable, or
14757    # (2) before a word containing "conftest.", or (3) at the end.
14758    # Note that $ac_compile itself does not contain backslashes and begins
14759    # with a dollar sign (not a hyphen), so the echo should work correctly.
14760    lt_compile=`echo "$ac_compile" | $SED \
14761    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14762    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14763    -e 's:$: $lt_compiler_flag:'`
14764    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14765    (eval "$lt_compile" 2>out/conftest.err)
14766    ac_status=$?
14767    cat out/conftest.err >&5
14768    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14770    then
14771      # The compiler can only warn and ignore the option if not recognized
14772      # So say no if there are warnings
14773      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14774      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14775      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14776        lt_cv_prog_compiler_c_o_CXX=yes
14777      fi
14778    fi
14779    chmod u+w . 2>&5
14780    $RM conftest*
14781    # SGI C++ compiler will create directory out/ii_files/ for
14782    # template instantiation
14783    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14784    $RM out/* && rmdir out
14785    cd ..
14786    $RM -r conftest
14787    $RM conftest*
14788
14789 fi
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14791 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14792
14793
14794
14795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14796 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14797 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14798   $as_echo_n "(cached) " >&6
14799 else
14800   lt_cv_prog_compiler_c_o_CXX=no
14801    $RM -r conftest 2>/dev/null
14802    mkdir conftest
14803    cd conftest
14804    mkdir out
14805    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14806
14807    lt_compiler_flag="-o out/conftest2.$ac_objext"
14808    # Insert the option either (1) after the last *FLAGS variable, or
14809    # (2) before a word containing "conftest.", or (3) at the end.
14810    # Note that $ac_compile itself does not contain backslashes and begins
14811    # with a dollar sign (not a hyphen), so the echo should work correctly.
14812    lt_compile=`echo "$ac_compile" | $SED \
14813    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14814    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14815    -e 's:$: $lt_compiler_flag:'`
14816    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14817    (eval "$lt_compile" 2>out/conftest.err)
14818    ac_status=$?
14819    cat out/conftest.err >&5
14820    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14822    then
14823      # The compiler can only warn and ignore the option if not recognized
14824      # So say no if there are warnings
14825      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14826      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14827      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14828        lt_cv_prog_compiler_c_o_CXX=yes
14829      fi
14830    fi
14831    chmod u+w . 2>&5
14832    $RM conftest*
14833    # SGI C++ compiler will create directory out/ii_files/ for
14834    # template instantiation
14835    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14836    $RM out/* && rmdir out
14837    cd ..
14838    $RM -r conftest
14839    $RM conftest*
14840
14841 fi
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14843 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14844
14845
14846
14847
14848 hard_links="nottested"
14849 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14850   # do not overwrite the value of need_locks provided by the user
14851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14852 $as_echo_n "checking if we can lock with hard links... " >&6; }
14853   hard_links=yes
14854   $RM conftest*
14855   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14856   touch conftest.a
14857   ln conftest.a conftest.b 2>&5 || hard_links=no
14858   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14860 $as_echo "$hard_links" >&6; }
14861   if test "$hard_links" = no; then
14862     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14863 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14864     need_locks=warn
14865   fi
14866 else
14867   need_locks=no
14868 fi
14869
14870
14871
14872     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14873 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14874
14875   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14876   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14877   case $host_os in
14878   aix[4-9]*)
14879     # If we're using GNU nm, then we don't want the "-C" option.
14880     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14881     # Also, AIX nm treats weak defined symbols like other global defined
14882     # symbols, whereas GNU nm marks them as "W".
14883     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14884       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'
14885     else
14886       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'
14887     fi
14888     ;;
14889   pw32*)
14890     export_symbols_cmds_CXX="$ltdll_cmds"
14891     ;;
14892   cygwin* | mingw* | cegcc*)
14893     case $cc_basename in
14894     cl*)
14895       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14896       ;;
14897     *)
14898       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'
14899       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14900       ;;
14901     esac
14902     ;;
14903   linux* | k*bsd*-gnu | gnu*)
14904     link_all_deplibs_CXX=no
14905     ;;
14906   *)
14907     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14908     ;;
14909   esac
14910
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14912 $as_echo "$ld_shlibs_CXX" >&6; }
14913 test "$ld_shlibs_CXX" = no && can_build_shared=no
14914
14915 with_gnu_ld_CXX=$with_gnu_ld
14916
14917
14918
14919
14920
14921
14922 #
14923 # Do we need to explicitly link libc?
14924 #
14925 case "x$archive_cmds_need_lc_CXX" in
14926 x|xyes)
14927   # Assume -lc should be added
14928   archive_cmds_need_lc_CXX=yes
14929
14930   if test "$enable_shared" = yes && test "$GCC" = yes; then
14931     case $archive_cmds_CXX in
14932     *'~'*)
14933       # FIXME: we may have to deal with multi-command sequences.
14934       ;;
14935     '$CC '*)
14936       # Test whether the compiler implicitly links with -lc since on some
14937       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14938       # to ld, don't add -lc before -lgcc.
14939       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14940 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14941 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14942   $as_echo_n "(cached) " >&6
14943 else
14944   $RM conftest*
14945         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14946
14947         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14948   (eval $ac_compile) 2>&5
14949   ac_status=$?
14950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14951   test $ac_status = 0; } 2>conftest.err; then
14952           soname=conftest
14953           lib=conftest
14954           libobjs=conftest.$ac_objext
14955           deplibs=
14956           wl=$lt_prog_compiler_wl_CXX
14957           pic_flag=$lt_prog_compiler_pic_CXX
14958           compiler_flags=-v
14959           linker_flags=-v
14960           verstring=
14961           output_objdir=.
14962           libname=conftest
14963           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14964           allow_undefined_flag_CXX=
14965           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14966   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14967   ac_status=$?
14968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14969   test $ac_status = 0; }
14970           then
14971             lt_cv_archive_cmds_need_lc_CXX=no
14972           else
14973             lt_cv_archive_cmds_need_lc_CXX=yes
14974           fi
14975           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14976         else
14977           cat conftest.err 1>&5
14978         fi
14979         $RM conftest*
14980
14981 fi
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14983 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14984       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14985       ;;
14986     esac
14987   fi
14988   ;;
14989 esac
14990
14991
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15053 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15054
15055 library_names_spec=
15056 libname_spec='lib$name'
15057 soname_spec=
15058 shrext_cmds=".so"
15059 postinstall_cmds=
15060 postuninstall_cmds=
15061 finish_cmds=
15062 finish_eval=
15063 shlibpath_var=
15064 shlibpath_overrides_runpath=unknown
15065 version_type=none
15066 dynamic_linker="$host_os ld.so"
15067 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15068 need_lib_prefix=unknown
15069 hardcode_into_libs=no
15070
15071 # when you set need_version to no, make sure it does not cause -set_version
15072 # flags to be left without arguments
15073 need_version=unknown
15074
15075 case $host_os in
15076 aix3*)
15077   version_type=linux # correct to gnu/linux during the next big refactor
15078   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15079   shlibpath_var=LIBPATH
15080
15081   # AIX 3 has no versioning support, so we append a major version to the name.
15082   soname_spec='${libname}${release}${shared_ext}$major'
15083   ;;
15084
15085 aix[4-9]*)
15086   version_type=linux # correct to gnu/linux during the next big refactor
15087   need_lib_prefix=no
15088   need_version=no
15089   hardcode_into_libs=yes
15090   if test "$host_cpu" = ia64; then
15091     # AIX 5 supports IA64
15092     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15093     shlibpath_var=LD_LIBRARY_PATH
15094   else
15095     # With GCC up to 2.95.x, collect2 would create an import file
15096     # for dependence libraries.  The import file would start with
15097     # the line `#! .'.  This would cause the generated library to
15098     # depend on `.', always an invalid library.  This was fixed in
15099     # development snapshots of GCC prior to 3.0.
15100     case $host_os in
15101       aix4 | aix4.[01] | aix4.[01].*)
15102       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15103            echo ' yes '
15104            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15105         :
15106       else
15107         can_build_shared=no
15108       fi
15109       ;;
15110     esac
15111     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15112     # soname into executable. Probably we can add versioning support to
15113     # collect2, so additional links can be useful in future.
15114     if test "$aix_use_runtimelinking" = yes; then
15115       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15116       # instead of lib<name>.a to let people know that these are not
15117       # typical AIX shared libraries.
15118       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15119     else
15120       # We preserve .a as extension for shared libraries through AIX4.2
15121       # and later when we are not doing run time linking.
15122       library_names_spec='${libname}${release}.a $libname.a'
15123       soname_spec='${libname}${release}${shared_ext}$major'
15124     fi
15125     shlibpath_var=LIBPATH
15126   fi
15127   ;;
15128
15129 amigaos*)
15130   case $host_cpu in
15131   powerpc)
15132     # Since July 2007 AmigaOS4 officially supports .so libraries.
15133     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15134     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15135     ;;
15136   m68k)
15137     library_names_spec='$libname.ixlibrary $libname.a'
15138     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15139     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'
15140     ;;
15141   esac
15142   ;;
15143
15144 beos*)
15145   library_names_spec='${libname}${shared_ext}'
15146   dynamic_linker="$host_os ld.so"
15147   shlibpath_var=LIBRARY_PATH
15148   ;;
15149
15150 bsdi[45]*)
15151   version_type=linux # correct to gnu/linux during the next big refactor
15152   need_version=no
15153   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15154   soname_spec='${libname}${release}${shared_ext}$major'
15155   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15156   shlibpath_var=LD_LIBRARY_PATH
15157   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15158   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15159   # the default ld.so.conf also contains /usr/contrib/lib and
15160   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15161   # libtool to hard-code these into programs
15162   ;;
15163
15164 cygwin* | mingw* | pw32* | cegcc*)
15165   version_type=windows
15166   shrext_cmds=".dll"
15167   need_version=no
15168   need_lib_prefix=no
15169
15170   case $GCC,$cc_basename in
15171   yes,*)
15172     # gcc
15173     library_names_spec='$libname.dll.a'
15174     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15175     postinstall_cmds='base_file=`basename \${file}`~
15176       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15177       dldir=$destdir/`dirname \$dlpath`~
15178       test -d \$dldir || mkdir -p \$dldir~
15179       $install_prog $dir/$dlname \$dldir/$dlname~
15180       chmod a+x \$dldir/$dlname~
15181       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15182         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15183       fi'
15184     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15185       dlpath=$dir/\$dldll~
15186        $RM \$dlpath'
15187     shlibpath_overrides_runpath=yes
15188
15189     case $host_os in
15190     cygwin*)
15191       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15192       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15193
15194       ;;
15195     mingw* | cegcc*)
15196       # MinGW DLLs use traditional 'lib' prefix
15197       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15198       ;;
15199     pw32*)
15200       # pw32 DLLs use 'pw' prefix rather than 'lib'
15201       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15202       ;;
15203     esac
15204     dynamic_linker='Win32 ld.exe'
15205     ;;
15206
15207   *,cl*)
15208     # Native MSVC
15209     libname_spec='$name'
15210     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15211     library_names_spec='${libname}.dll.lib'
15212
15213     case $build_os in
15214     mingw*)
15215       sys_lib_search_path_spec=
15216       lt_save_ifs=$IFS
15217       IFS=';'
15218       for lt_path in $LIB
15219       do
15220         IFS=$lt_save_ifs
15221         # Let DOS variable expansion print the short 8.3 style file name.
15222         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15223         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15224       done
15225       IFS=$lt_save_ifs
15226       # Convert to MSYS style.
15227       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15228       ;;
15229     cygwin*)
15230       # Convert to unix form, then to dos form, then back to unix form
15231       # but this time dos style (no spaces!) so that the unix form looks
15232       # like /cygdrive/c/PROGRA~1:/cygdr...
15233       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15234       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15235       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15236       ;;
15237     *)
15238       sys_lib_search_path_spec="$LIB"
15239       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15240         # It is most probably a Windows format PATH.
15241         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15242       else
15243         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15244       fi
15245       # FIXME: find the short name or the path components, as spaces are
15246       # common. (e.g. "Program Files" -> "PROGRA~1")
15247       ;;
15248     esac
15249
15250     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15251     postinstall_cmds='base_file=`basename \${file}`~
15252       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15253       dldir=$destdir/`dirname \$dlpath`~
15254       test -d \$dldir || mkdir -p \$dldir~
15255       $install_prog $dir/$dlname \$dldir/$dlname'
15256     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15257       dlpath=$dir/\$dldll~
15258        $RM \$dlpath'
15259     shlibpath_overrides_runpath=yes
15260     dynamic_linker='Win32 link.exe'
15261     ;;
15262
15263   *)
15264     # Assume MSVC wrapper
15265     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15266     dynamic_linker='Win32 ld.exe'
15267     ;;
15268   esac
15269   # FIXME: first we should search . and the directory the executable is in
15270   shlibpath_var=PATH
15271   ;;
15272
15273 darwin* | rhapsody*)
15274   dynamic_linker="$host_os dyld"
15275   version_type=darwin
15276   need_lib_prefix=no
15277   need_version=no
15278   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15279   soname_spec='${libname}${release}${major}$shared_ext'
15280   shlibpath_overrides_runpath=yes
15281   shlibpath_var=DYLD_LIBRARY_PATH
15282   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15283
15284   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15285   ;;
15286
15287 dgux*)
15288   version_type=linux # correct to gnu/linux during the next big refactor
15289   need_lib_prefix=no
15290   need_version=no
15291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15292   soname_spec='${libname}${release}${shared_ext}$major'
15293   shlibpath_var=LD_LIBRARY_PATH
15294   ;;
15295
15296 freebsd* | dragonfly*)
15297   # DragonFly does not have aout.  When/if they implement a new
15298   # versioning mechanism, adjust this.
15299   if test -x /usr/bin/objformat; then
15300     objformat=`/usr/bin/objformat`
15301   else
15302     case $host_os in
15303     freebsd[23].*) objformat=aout ;;
15304     *) objformat=elf ;;
15305     esac
15306   fi
15307   version_type=freebsd-$objformat
15308   case $version_type in
15309     freebsd-elf*)
15310       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15311       need_version=no
15312       need_lib_prefix=no
15313       ;;
15314     freebsd-*)
15315       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15316       need_version=yes
15317       ;;
15318   esac
15319   shlibpath_var=LD_LIBRARY_PATH
15320   case $host_os in
15321   freebsd2.*)
15322     shlibpath_overrides_runpath=yes
15323     ;;
15324   freebsd3.[01]* | freebsdelf3.[01]*)
15325     shlibpath_overrides_runpath=yes
15326     hardcode_into_libs=yes
15327     ;;
15328   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15329   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15330     shlibpath_overrides_runpath=no
15331     hardcode_into_libs=yes
15332     ;;
15333   *) # from 4.6 on, and DragonFly
15334     shlibpath_overrides_runpath=yes
15335     hardcode_into_libs=yes
15336     ;;
15337   esac
15338   ;;
15339
15340 haiku*)
15341   version_type=linux # correct to gnu/linux during the next big refactor
15342   need_lib_prefix=no
15343   need_version=no
15344   dynamic_linker="$host_os runtime_loader"
15345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15346   soname_spec='${libname}${release}${shared_ext}$major'
15347   shlibpath_var=LIBRARY_PATH
15348   shlibpath_overrides_runpath=yes
15349   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15350   hardcode_into_libs=yes
15351   ;;
15352
15353 hpux9* | hpux10* | hpux11*)
15354   # Give a soname corresponding to the major version so that dld.sl refuses to
15355   # link against other versions.
15356   version_type=sunos
15357   need_lib_prefix=no
15358   need_version=no
15359   case $host_cpu in
15360   ia64*)
15361     shrext_cmds='.so'
15362     hardcode_into_libs=yes
15363     dynamic_linker="$host_os dld.so"
15364     shlibpath_var=LD_LIBRARY_PATH
15365     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15366     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367     soname_spec='${libname}${release}${shared_ext}$major'
15368     if test "X$HPUX_IA64_MODE" = X32; then
15369       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15370     else
15371       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15372     fi
15373     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15374     ;;
15375   hppa*64*)
15376     shrext_cmds='.sl'
15377     hardcode_into_libs=yes
15378     dynamic_linker="$host_os dld.sl"
15379     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15380     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15381     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15382     soname_spec='${libname}${release}${shared_ext}$major'
15383     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15384     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15385     ;;
15386   *)
15387     shrext_cmds='.sl'
15388     dynamic_linker="$host_os dld.sl"
15389     shlibpath_var=SHLIB_PATH
15390     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15391     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392     soname_spec='${libname}${release}${shared_ext}$major'
15393     ;;
15394   esac
15395   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15396   postinstall_cmds='chmod 555 $lib'
15397   # or fails outright, so override atomically:
15398   install_override_mode=555
15399   ;;
15400
15401 interix[3-9]*)
15402   version_type=linux # correct to gnu/linux during the next big refactor
15403   need_lib_prefix=no
15404   need_version=no
15405   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15406   soname_spec='${libname}${release}${shared_ext}$major'
15407   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15408   shlibpath_var=LD_LIBRARY_PATH
15409   shlibpath_overrides_runpath=no
15410   hardcode_into_libs=yes
15411   ;;
15412
15413 irix5* | irix6* | nonstopux*)
15414   case $host_os in
15415     nonstopux*) version_type=nonstopux ;;
15416     *)
15417         if test "$lt_cv_prog_gnu_ld" = yes; then
15418                 version_type=linux # correct to gnu/linux during the next big refactor
15419         else
15420                 version_type=irix
15421         fi ;;
15422   esac
15423   need_lib_prefix=no
15424   need_version=no
15425   soname_spec='${libname}${release}${shared_ext}$major'
15426   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15427   case $host_os in
15428   irix5* | nonstopux*)
15429     libsuff= shlibsuff=
15430     ;;
15431   *)
15432     case $LD in # libtool.m4 will add one of these switches to LD
15433     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15434       libsuff= shlibsuff= libmagic=32-bit;;
15435     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15436       libsuff=32 shlibsuff=N32 libmagic=N32;;
15437     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15438       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15439     *) libsuff= shlibsuff= libmagic=never-match;;
15440     esac
15441     ;;
15442   esac
15443   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15444   shlibpath_overrides_runpath=no
15445   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15446   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15447   hardcode_into_libs=yes
15448   ;;
15449
15450 # No shared lib support for Linux oldld, aout, or coff.
15451 linux*oldld* | linux*aout* | linux*coff*)
15452   dynamic_linker=no
15453   ;;
15454
15455 # This must be glibc/ELF.
15456 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15457   version_type=linux # correct to gnu/linux during the next big refactor
15458   need_lib_prefix=no
15459   need_version=no
15460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461   soname_spec='${libname}${release}${shared_ext}$major'
15462   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15463   shlibpath_var=LD_LIBRARY_PATH
15464   shlibpath_overrides_runpath=no
15465
15466   # Some binutils ld are patched to set DT_RUNPATH
15467   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15468   $as_echo_n "(cached) " >&6
15469 else
15470   lt_cv_shlibpath_overrides_runpath=no
15471     save_LDFLAGS=$LDFLAGS
15472     save_libdir=$libdir
15473     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15474          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15475     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476 /* end confdefs.h.  */
15477
15478 int
15479 main ()
15480 {
15481
15482   ;
15483   return 0;
15484 }
15485 _ACEOF
15486 if ac_fn_cxx_try_link "$LINENO"; then :
15487   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15488   lt_cv_shlibpath_overrides_runpath=yes
15489 fi
15490 fi
15491 rm -f core conftest.err conftest.$ac_objext \
15492     conftest$ac_exeext conftest.$ac_ext
15493     LDFLAGS=$save_LDFLAGS
15494     libdir=$save_libdir
15495
15496 fi
15497
15498   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15499
15500   # This implies no fast_install, which is unacceptable.
15501   # Some rework will be needed to allow for fast_install
15502   # before this can be enabled.
15503   hardcode_into_libs=yes
15504
15505   # Append ld.so.conf contents to the search path
15506   if test -f /etc/ld.so.conf; then
15507     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' ' '`
15508     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15509   fi
15510
15511   # We used to test for /lib/ld.so.1 and disable shared libraries on
15512   # powerpc, because MkLinux only supported shared libraries with the
15513   # GNU dynamic linker.  Since this was broken with cross compilers,
15514   # most powerpc-linux boxes support dynamic linking these days and
15515   # people can always --disable-shared, the test was removed, and we
15516   # assume the GNU/Linux dynamic linker is in use.
15517   dynamic_linker='GNU/Linux ld.so'
15518   ;;
15519
15520 netbsdelf*-gnu)
15521   version_type=linux
15522   need_lib_prefix=no
15523   need_version=no
15524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15525   soname_spec='${libname}${release}${shared_ext}$major'
15526   shlibpath_var=LD_LIBRARY_PATH
15527   shlibpath_overrides_runpath=no
15528   hardcode_into_libs=yes
15529   dynamic_linker='NetBSD ld.elf_so'
15530   ;;
15531
15532 netbsd*)
15533   version_type=sunos
15534   need_lib_prefix=no
15535   need_version=no
15536   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15537     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15538     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15539     dynamic_linker='NetBSD (a.out) ld.so'
15540   else
15541     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15542     soname_spec='${libname}${release}${shared_ext}$major'
15543     dynamic_linker='NetBSD ld.elf_so'
15544   fi
15545   shlibpath_var=LD_LIBRARY_PATH
15546   shlibpath_overrides_runpath=yes
15547   hardcode_into_libs=yes
15548   ;;
15549
15550 newsos6)
15551   version_type=linux # correct to gnu/linux during the next big refactor
15552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553   shlibpath_var=LD_LIBRARY_PATH
15554   shlibpath_overrides_runpath=yes
15555   ;;
15556
15557 *nto* | *qnx*)
15558   version_type=qnx
15559   need_lib_prefix=no
15560   need_version=no
15561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562   soname_spec='${libname}${release}${shared_ext}$major'
15563   shlibpath_var=LD_LIBRARY_PATH
15564   shlibpath_overrides_runpath=no
15565   hardcode_into_libs=yes
15566   dynamic_linker='ldqnx.so'
15567   ;;
15568
15569 openbsd*)
15570   version_type=sunos
15571   sys_lib_dlsearch_path_spec="/usr/lib"
15572   need_lib_prefix=no
15573   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15574   case $host_os in
15575     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15576     *)                          need_version=no  ;;
15577   esac
15578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15579   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15580   shlibpath_var=LD_LIBRARY_PATH
15581   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15582     case $host_os in
15583       openbsd2.[89] | openbsd2.[89].*)
15584         shlibpath_overrides_runpath=no
15585         ;;
15586       *)
15587         shlibpath_overrides_runpath=yes
15588         ;;
15589       esac
15590   else
15591     shlibpath_overrides_runpath=yes
15592   fi
15593   ;;
15594
15595 os2*)
15596   libname_spec='$name'
15597   shrext_cmds=".dll"
15598   need_lib_prefix=no
15599   library_names_spec='$libname${shared_ext} $libname.a'
15600   dynamic_linker='OS/2 ld.exe'
15601   shlibpath_var=LIBPATH
15602   ;;
15603
15604 osf3* | osf4* | osf5*)
15605   version_type=osf
15606   need_lib_prefix=no
15607   need_version=no
15608   soname_spec='${libname}${release}${shared_ext}$major'
15609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15610   shlibpath_var=LD_LIBRARY_PATH
15611   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15612   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15613   ;;
15614
15615 rdos*)
15616   dynamic_linker=no
15617   ;;
15618
15619 solaris*)
15620   version_type=linux # correct to gnu/linux during the next big refactor
15621   need_lib_prefix=no
15622   need_version=no
15623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15624   soname_spec='${libname}${release}${shared_ext}$major'
15625   shlibpath_var=LD_LIBRARY_PATH
15626   shlibpath_overrides_runpath=yes
15627   hardcode_into_libs=yes
15628   # ldd complains unless libraries are executable
15629   postinstall_cmds='chmod +x $lib'
15630   ;;
15631
15632 sunos4*)
15633   version_type=sunos
15634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15635   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15636   shlibpath_var=LD_LIBRARY_PATH
15637   shlibpath_overrides_runpath=yes
15638   if test "$with_gnu_ld" = yes; then
15639     need_lib_prefix=no
15640   fi
15641   need_version=yes
15642   ;;
15643
15644 sysv4 | sysv4.3*)
15645   version_type=linux # correct to gnu/linux during the next big refactor
15646   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15647   soname_spec='${libname}${release}${shared_ext}$major'
15648   shlibpath_var=LD_LIBRARY_PATH
15649   case $host_vendor in
15650     sni)
15651       shlibpath_overrides_runpath=no
15652       need_lib_prefix=no
15653       runpath_var=LD_RUN_PATH
15654       ;;
15655     siemens)
15656       need_lib_prefix=no
15657       ;;
15658     motorola)
15659       need_lib_prefix=no
15660       need_version=no
15661       shlibpath_overrides_runpath=no
15662       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15663       ;;
15664   esac
15665   ;;
15666
15667 sysv4*MP*)
15668   if test -d /usr/nec ;then
15669     version_type=linux # correct to gnu/linux during the next big refactor
15670     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15671     soname_spec='$libname${shared_ext}.$major'
15672     shlibpath_var=LD_LIBRARY_PATH
15673   fi
15674   ;;
15675
15676 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15677   version_type=freebsd-elf
15678   need_lib_prefix=no
15679   need_version=no
15680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15681   soname_spec='${libname}${release}${shared_ext}$major'
15682   shlibpath_var=LD_LIBRARY_PATH
15683   shlibpath_overrides_runpath=yes
15684   hardcode_into_libs=yes
15685   if test "$with_gnu_ld" = yes; then
15686     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15687   else
15688     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15689     case $host_os in
15690       sco3.2v5*)
15691         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15692         ;;
15693     esac
15694   fi
15695   sys_lib_dlsearch_path_spec='/usr/lib'
15696   ;;
15697
15698 tpf*)
15699   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15700   version_type=linux # correct to gnu/linux during the next big refactor
15701   need_lib_prefix=no
15702   need_version=no
15703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704   shlibpath_var=LD_LIBRARY_PATH
15705   shlibpath_overrides_runpath=no
15706   hardcode_into_libs=yes
15707   ;;
15708
15709 uts4*)
15710   version_type=linux # correct to gnu/linux during the next big refactor
15711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15712   soname_spec='${libname}${release}${shared_ext}$major'
15713   shlibpath_var=LD_LIBRARY_PATH
15714   ;;
15715
15716 *)
15717   dynamic_linker=no
15718   ;;
15719 esac
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15721 $as_echo "$dynamic_linker" >&6; }
15722 test "$dynamic_linker" = no && can_build_shared=no
15723
15724 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15725 if test "$GCC" = yes; then
15726   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15727 fi
15728
15729 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15730   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15731 fi
15732 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15733   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15734 fi
15735
15736
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15775 hardcode_action_CXX=
15776 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15777    test -n "$runpath_var_CXX" ||
15778    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15779
15780   # We can hardcode non-existent directories.
15781   if test "$hardcode_direct_CXX" != no &&
15782      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15783      # have to relink, otherwise we might link with an installed library
15784      # when we should be linking with a yet-to-be-installed one
15785      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15786      test "$hardcode_minus_L_CXX" != no; then
15787     # Linking always hardcodes the temporary library directory.
15788     hardcode_action_CXX=relink
15789   else
15790     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15791     hardcode_action_CXX=immediate
15792   fi
15793 else
15794   # We cannot hardcode anything, or else we can only hardcode existing
15795   # directories.
15796   hardcode_action_CXX=unsupported
15797 fi
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15799 $as_echo "$hardcode_action_CXX" >&6; }
15800
15801 if test "$hardcode_action_CXX" = relink ||
15802    test "$inherit_rpath_CXX" = yes; then
15803   # Fast installation is not supported
15804   enable_fast_install=no
15805 elif test "$shlibpath_overrides_runpath" = yes ||
15806      test "$enable_shared" = no; then
15807   # Fast installation is not necessary
15808   enable_fast_install=needless
15809 fi
15810
15811
15812
15813
15814
15815
15816
15817   fi # test -n "$compiler"
15818
15819   CC=$lt_save_CC
15820   CFLAGS=$lt_save_CFLAGS
15821   LDCXX=$LD
15822   LD=$lt_save_LD
15823   GCC=$lt_save_GCC
15824   with_gnu_ld=$lt_save_with_gnu_ld
15825   lt_cv_path_LDCXX=$lt_cv_path_LD
15826   lt_cv_path_LD=$lt_save_path_LD
15827   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15828   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15829 fi # test "$_lt_caught_CXX_error" != yes
15830
15831 ac_ext=c
15832 ac_cpp='$CPP $CPPFLAGS'
15833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851         ac_config_commands="$ac_config_commands libtool"
15852
15853
15854
15855
15856 # Only expand once:
15857
15858
15859
15860 LIBXMLXX_MODULES='libxml-2.0 >= 2.7.7 glibmm-2.4 >= 2.32.0'
15861
15862
15863
15864
15865
15866
15867
15868
15869 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15870         if test -n "$ac_tool_prefix"; then
15871   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15872 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15874 $as_echo_n "checking for $ac_word... " >&6; }
15875 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15876   $as_echo_n "(cached) " >&6
15877 else
15878   case $PKG_CONFIG in
15879   [\\/]* | ?:[\\/]*)
15880   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15881   ;;
15882   *)
15883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15884 for as_dir in $PATH
15885 do
15886   IFS=$as_save_IFS
15887   test -z "$as_dir" && as_dir=.
15888     for ac_exec_ext in '' $ac_executable_extensions; do
15889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15890     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15892     break 2
15893   fi
15894 done
15895   done
15896 IFS=$as_save_IFS
15897
15898   ;;
15899 esac
15900 fi
15901 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15902 if test -n "$PKG_CONFIG"; then
15903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15904 $as_echo "$PKG_CONFIG" >&6; }
15905 else
15906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15907 $as_echo "no" >&6; }
15908 fi
15909
15910
15911 fi
15912 if test -z "$ac_cv_path_PKG_CONFIG"; then
15913   ac_pt_PKG_CONFIG=$PKG_CONFIG
15914   # Extract the first word of "pkg-config", so it can be a program name with args.
15915 set dummy pkg-config; ac_word=$2
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15917 $as_echo_n "checking for $ac_word... " >&6; }
15918 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15919   $as_echo_n "(cached) " >&6
15920 else
15921   case $ac_pt_PKG_CONFIG in
15922   [\\/]* | ?:[\\/]*)
15923   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15924   ;;
15925   *)
15926   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15927 for as_dir in $PATH
15928 do
15929   IFS=$as_save_IFS
15930   test -z "$as_dir" && as_dir=.
15931     for ac_exec_ext in '' $ac_executable_extensions; do
15932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15933     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15935     break 2
15936   fi
15937 done
15938   done
15939 IFS=$as_save_IFS
15940
15941   ;;
15942 esac
15943 fi
15944 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15945 if test -n "$ac_pt_PKG_CONFIG"; then
15946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15947 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15948 else
15949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15950 $as_echo "no" >&6; }
15951 fi
15952
15953   if test "x$ac_pt_PKG_CONFIG" = x; then
15954     PKG_CONFIG=""
15955   else
15956     case $cross_compiling:$ac_tool_warned in
15957 yes:)
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15960 ac_tool_warned=yes ;;
15961 esac
15962     PKG_CONFIG=$ac_pt_PKG_CONFIG
15963   fi
15964 else
15965   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15966 fi
15967
15968 fi
15969 if test -n "$PKG_CONFIG"; then
15970         _pkg_min_version=0.9.0
15971         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15972 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15973         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15974                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15975 $as_echo "yes" >&6; }
15976         else
15977                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15978 $as_echo "no" >&6; }
15979                 PKG_CONFIG=""
15980         fi
15981 fi
15982
15983 pkg_failed=no
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXMLXX" >&5
15985 $as_echo_n "checking for LIBXMLXX... " >&6; }
15986
15987 if test -n "$LIBXMLXX_CFLAGS"; then
15988     pkg_cv_LIBXMLXX_CFLAGS="$LIBXMLXX_CFLAGS"
15989  elif test -n "$PKG_CONFIG"; then
15990     if test -n "$PKG_CONFIG" && \
15991     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
15992   ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
15993   ac_status=$?
15994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15995   test $ac_status = 0; }; then
15996   pkg_cv_LIBXMLXX_CFLAGS=`$PKG_CONFIG --cflags "$LIBXMLXX_MODULES" 2>/dev/null`
15997                       test "x$?" != "x0" && pkg_failed=yes
15998 else
15999   pkg_failed=yes
16000 fi
16001  else
16002     pkg_failed=untried
16003 fi
16004 if test -n "$LIBXMLXX_LIBS"; then
16005     pkg_cv_LIBXMLXX_LIBS="$LIBXMLXX_LIBS"
16006  elif test -n "$PKG_CONFIG"; then
16007     if test -n "$PKG_CONFIG" && \
16008     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
16009   ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
16010   ac_status=$?
16011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16012   test $ac_status = 0; }; then
16013   pkg_cv_LIBXMLXX_LIBS=`$PKG_CONFIG --libs "$LIBXMLXX_MODULES" 2>/dev/null`
16014                       test "x$?" != "x0" && pkg_failed=yes
16015 else
16016   pkg_failed=yes
16017 fi
16018  else
16019     pkg_failed=untried
16020 fi
16021
16022
16023
16024 if test $pkg_failed = yes; then
16025         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16026 $as_echo "no" >&6; }
16027
16028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16029         _pkg_short_errors_supported=yes
16030 else
16031         _pkg_short_errors_supported=no
16032 fi
16033         if test $_pkg_short_errors_supported = yes; then
16034                 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
16035         else
16036                 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
16037         fi
16038         # Put the nasty error message in config.log where it belongs
16039         echo "$LIBXMLXX_PKG_ERRORS" >&5
16040
16041         as_fn_error $? "Package requirements ($LIBXMLXX_MODULES) were not met:
16042
16043 $LIBXMLXX_PKG_ERRORS
16044
16045 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16046 installed software in a non-standard prefix.
16047
16048 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
16049 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
16050 See the pkg-config man page for more details." "$LINENO" 5
16051 elif test $pkg_failed = untried; then
16052         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16053 $as_echo "no" >&6; }
16054         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16056 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16057 is in your PATH or set the PKG_CONFIG environment variable to the full
16058 path to pkg-config.
16059
16060 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
16061 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
16062 See the pkg-config man page for more details.
16063
16064 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16065 See \`config.log' for more details" "$LINENO" 5; }
16066 else
16067         LIBXMLXX_CFLAGS=$pkg_cv_LIBXMLXX_CFLAGS
16068         LIBXMLXX_LIBS=$pkg_cv_LIBXMLXX_LIBS
16069         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16070 $as_echo "yes" >&6; }
16071
16072 fi
16073
16074 ac_ext=cpp
16075 ac_cpp='$CXXCPP $CPPFLAGS'
16076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16079
16080
16081 for ac_header in string list map
16082 do :
16083   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16084 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16086   cat >>confdefs.h <<_ACEOF
16087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16088 _ACEOF
16089
16090 else
16091   as_fn_error $? "required headers not found" "$LINENO" 5
16092 fi
16093
16094 done
16095
16096
16097 # Extract the first word of "perl", so it can be a program name with args.
16098 set dummy perl; ac_word=$2
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16100 $as_echo_n "checking for $ac_word... " >&6; }
16101 if ${ac_cv_path_PERL+:} false; then :
16102   $as_echo_n "(cached) " >&6
16103 else
16104   case $PERL in
16105   [\\/]* | ?:[\\/]*)
16106   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16107   ;;
16108   *)
16109   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16110 for as_dir in $PATH
16111 do
16112   IFS=$as_save_IFS
16113   test -z "$as_dir" && as_dir=.
16114     for ac_exec_ext in '' $ac_executable_extensions; do
16115   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16116     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16118     break 2
16119   fi
16120 done
16121   done
16122 IFS=$as_save_IFS
16123
16124   test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
16125   ;;
16126 esac
16127 fi
16128 PERL=$ac_cv_path_PERL
16129 if test -n "$PERL"; then
16130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16131 $as_echo "$PERL" >&6; }
16132 else
16133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16134 $as_echo "no" >&6; }
16135 fi
16136
16137
16138
16139 # Extract the first word of "dot", so it can be a program name with args.
16140 set dummy dot; ac_word=$2
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16142 $as_echo_n "checking for $ac_word... " >&6; }
16143 if ${ac_cv_path_DOT+:} false; then :
16144   $as_echo_n "(cached) " >&6
16145 else
16146   case $DOT in
16147   [\\/]* | ?:[\\/]*)
16148   ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
16149   ;;
16150   *)
16151   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16152 for as_dir in $PATH
16153 do
16154   IFS=$as_save_IFS
16155   test -z "$as_dir" && as_dir=.
16156     for ac_exec_ext in '' $ac_executable_extensions; do
16157   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16158     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
16159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16160     break 2
16161   fi
16162 done
16163   done
16164 IFS=$as_save_IFS
16165
16166   test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
16167   ;;
16168 esac
16169 fi
16170 DOT=$ac_cv_path_DOT
16171 if test -n "$DOT"; then
16172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
16173 $as_echo "$DOT" >&6; }
16174 else
16175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16176 $as_echo "no" >&6; }
16177 fi
16178
16179
16180 # Extract the first word of "doxygen", so it can be a program name with args.
16181 set dummy doxygen; ac_word=$2
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16183 $as_echo_n "checking for $ac_word... " >&6; }
16184 if ${ac_cv_path_DOXYGEN+:} false; then :
16185   $as_echo_n "(cached) " >&6
16186 else
16187   case $DOXYGEN in
16188   [\\/]* | ?:[\\/]*)
16189   ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
16190   ;;
16191   *)
16192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16193 for as_dir in $PATH
16194 do
16195   IFS=$as_save_IFS
16196   test -z "$as_dir" && as_dir=.
16197     for ac_exec_ext in '' $ac_executable_extensions; do
16198   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16199     ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16201     break 2
16202   fi
16203 done
16204   done
16205 IFS=$as_save_IFS
16206
16207   test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
16208   ;;
16209 esac
16210 fi
16211 DOXYGEN=$ac_cv_path_DOXYGEN
16212 if test -n "$DOXYGEN"; then
16213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16214 $as_echo "$DOXYGEN" >&6; }
16215 else
16216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16217 $as_echo "no" >&6; }
16218 fi
16219
16220
16221 # Extract the first word of "xsltproc", so it can be a program name with args.
16222 set dummy xsltproc; ac_word=$2
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16224 $as_echo_n "checking for $ac_word... " >&6; }
16225 if ${ac_cv_path_XSLTPROC+:} false; then :
16226   $as_echo_n "(cached) " >&6
16227 else
16228   case $XSLTPROC in
16229   [\\/]* | ?:[\\/]*)
16230   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
16231   ;;
16232   *)
16233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16234 for as_dir in $PATH
16235 do
16236   IFS=$as_save_IFS
16237   test -z "$as_dir" && as_dir=.
16238     for ac_exec_ext in '' $ac_executable_extensions; do
16239   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16240     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
16241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16242     break 2
16243   fi
16244 done
16245   done
16246 IFS=$as_save_IFS
16247
16248   test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
16249   ;;
16250 esac
16251 fi
16252 XSLTPROC=$ac_cv_path_XSLTPROC
16253 if test -n "$XSLTPROC"; then
16254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16255 $as_echo "$XSLTPROC" >&6; }
16256 else
16257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16258 $as_echo "no" >&6; }
16259 fi
16260
16261
16262 # Check whether --enable-documentation was given.
16263 if test "${enable_documentation+set}" = set; then :
16264   enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
16265 else
16266   ENABLE_DOCUMENTATION=auto
16267 fi
16268
16269 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16270
16271   mm_err=
16272   if test "x$MMDOCTOOLDIR" = x; then :
16273   mm_err='The mm-common-util module is available, but the installation of mm-common on this
16274 machine is missing the shared documentation utilities of the GNOME C++
16275 bindings.  It may be necessary to upgrade to a more recent release of
16276 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
16277 elif test "x$PERL" = xperl; then :
16278   mm_err='Perl is required for installing the documentation.'
16279 elif test "x$USE_MAINTAINER_MODE" != xno; then :
16280
16281     test "x$DOT" != xdot || mm_err=' dot'
16282     test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
16283     test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
16284     test -z "$mm_err" || mm_err='The documentation cannot be generated because
16285 not all of the required tools are available:'$mm_err
16286
16287 fi
16288   if test -z "$mm_err"; then :
16289   ENABLE_DOCUMENTATION=yes
16290 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
16291   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16293 as_fn_error $? "$mm_err
16294 See \`config.log' for more details" "$LINENO" 5; }
16295 else
16296   ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
16297 $as_echo "$as_me: WARNING: $mm_err" >&2;}
16298 fi
16299
16300 fi
16301  if test "x$ENABLE_DOCUMENTATION" = xyes; then
16302   ENABLE_DOCUMENTATION_TRUE=
16303   ENABLE_DOCUMENTATION_FALSE='#'
16304 else
16305   ENABLE_DOCUMENTATION_TRUE='#'
16306   ENABLE_DOCUMENTATION_FALSE=
16307 fi
16308
16309 DOXYGEN_TAGFILES=
16310
16311 DOCINSTALL_FLAGS=
16312
16313
16314 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16316 $as_echo_n "checking for libstdc documentation... " >&6; }
16317
16318 # Check whether --with-libstdc-doc was given.
16319 if test "${with_libstdc_doc+set}" = set; then :
16320   withval=$with_libstdc_doc;
16321     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16322     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16323     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16324     test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16325     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16326 else
16327
16328     mm_htmlrefdir=
16329     mm_tagname="libstdc++.tag"
16330     mm_tagpath=$mm_tagname
16331 fi
16332
16333   # Prepend working direcory if the tag file path starts with ./ or ../
16334   case $mm_tagpath in #(
16335   .[\\/]*|..[\\/]*) :
16336     mm_tagpath=`pwd`/$mm_tagpath ;; #(
16337   *) :
16338      ;;
16339 esac
16340
16341   # If no local directory was specified, get the default from the .pc file
16342   if test "x$mm_htmlrefdir" = x; then :
16343
16344     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16345 fi
16346   # If the user specified a Web URL, allow it to override the public location
16347   case $mm_htmlrefdir in #(
16348   http://*|https://*) :
16349     mm_htmlrefpub=$mm_htmlrefdir ;; #(
16350   *) :
16351
16352     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
16353     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16354     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16355    ;;
16356 esac
16357   # The user-supplied tag-file name takes precedence if it includes the path
16358   case $mm_tagpath in #(
16359   *[\\/]*) :
16360      ;; #(
16361   *) :
16362
16363     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
16364     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16365    ;;
16366 esac
16367   # Remove trailing slashes and translate to URI
16368   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16369   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16370
16371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16372 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16373
16374   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16375   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
16376 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
16377 fi
16378   if test "x$mm_htmlrefdir" = x; then :
16379   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
16380 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
16381 else
16382   if test "x$DOCINSTALL_FLAGS" = x; then :
16383   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16384 else
16385   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16386 fi
16387 fi
16388
16389   if test "x$mm_htmlrefpub" = x; then :
16390   mm_val=$mm_tagpath
16391 else
16392   mm_val="$mm_tagpath=$mm_htmlrefpub"
16393 fi
16394   if test "x$DOXYGEN_TAGFILES" = x; then :
16395   DOXYGEN_TAGFILES=\"$mm_val\"
16396 else
16397   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16398 fi
16399 fi
16400 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16401     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5
16402 $as_echo_n "checking for libsigc documentation... " >&6; }
16403
16404 # Check whether --with-libsigc-doc was given.
16405 if test "${with_libsigc_doc+set}" = set; then :
16406   withval=$with_libsigc_doc;
16407     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16408     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16409     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16410     test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag"
16411     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16412 else
16413
16414     mm_htmlrefdir=
16415     mm_tagname="libsigc++-2.0.tag"
16416     mm_tagpath=$mm_tagname
16417 fi
16418
16419   # Prepend working direcory if the tag file path starts with ./ or ../
16420   case $mm_tagpath in #(
16421   .[\\/]*|..[\\/]*) :
16422     mm_tagpath=`pwd`/$mm_tagpath ;; #(
16423   *) :
16424      ;;
16425 esac
16426
16427   # If no local directory was specified, get the default from the .pc file
16428   if test "x$mm_htmlrefdir" = x; then :
16429
16430     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5`
16431 fi
16432   # If the user specified a Web URL, allow it to override the public location
16433   case $mm_htmlrefdir in #(
16434   http://*|https://*) :
16435     mm_htmlrefpub=$mm_htmlrefdir ;; #(
16436   *) :
16437
16438     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5`
16439     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16440     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16441    ;;
16442 esac
16443   # The user-supplied tag-file name takes precedence if it includes the path
16444   case $mm_tagpath in #(
16445   *[\\/]*) :
16446      ;; #(
16447   *) :
16448
16449     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5`
16450     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16451    ;;
16452 esac
16453   # Remove trailing slashes and translate to URI
16454   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16455   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16456
16457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16458 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16459
16460   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16461   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5
16462 $as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;}
16463 fi
16464   if test "x$mm_htmlrefdir" = x; then :
16465   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5
16466 $as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;}
16467 else
16468   if test "x$DOCINSTALL_FLAGS" = x; then :
16469   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16470 else
16471   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16472 fi
16473 fi
16474
16475   if test "x$mm_htmlrefpub" = x; then :
16476   mm_val=$mm_tagpath
16477 else
16478   mm_val="$mm_tagpath=$mm_htmlrefpub"
16479 fi
16480   if test "x$DOXYGEN_TAGFILES" = x; then :
16481   DOXYGEN_TAGFILES=\"$mm_val\"
16482 else
16483   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16484 fi
16485 fi
16486 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16487     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
16488 $as_echo_n "checking for glibmm documentation... " >&6; }
16489
16490 # Check whether --with-glibmm-doc was given.
16491 if test "${with_glibmm_doc+set}" = set; then :
16492   withval=$with_glibmm_doc;
16493     mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16494     mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16495     mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16496     test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
16497     test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16498 else
16499
16500     mm_htmlrefdir=
16501     mm_tagname="glibmm-2.4.tag"
16502     mm_tagpath=$mm_tagname
16503 fi
16504
16505   # Prepend working direcory if the tag file path starts with ./ or ../
16506   case $mm_tagpath in #(
16507   .[\\/]*|..[\\/]*) :
16508     mm_tagpath=`pwd`/$mm_tagpath ;; #(
16509   *) :
16510      ;;
16511 esac
16512
16513   # If no local directory was specified, get the default from the .pc file
16514   if test "x$mm_htmlrefdir" = x; then :
16515
16516     mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
16517 fi
16518   # If the user specified a Web URL, allow it to override the public location
16519   case $mm_htmlrefdir in #(
16520   http://*|https://*) :
16521     mm_htmlrefpub=$mm_htmlrefdir ;; #(
16522   *) :
16523
16524     mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
16525     test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16526     test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16527    ;;
16528 esac
16529   # The user-supplied tag-file name takes precedence if it includes the path
16530   case $mm_tagpath in #(
16531   *[\\/]*) :
16532      ;; #(
16533   *) :
16534
16535     mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
16536     test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16537    ;;
16538 esac
16539   # Remove trailing slashes and translate to URI
16540   mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16541   mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16542
16543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16544 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16545
16546   if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16547   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
16548 $as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
16549 fi
16550   if test "x$mm_htmlrefdir" = x; then :
16551   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
16552 $as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
16553 else
16554   if test "x$DOCINSTALL_FLAGS" = x; then :
16555   DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16556 else
16557   DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16558 fi
16559 fi
16560
16561   if test "x$mm_htmlrefpub" = x; then :
16562   mm_val=$mm_tagpath
16563 else
16564   mm_val="$mm_tagpath=$mm_htmlrefpub"
16565 fi
16566   if test "x$DOXYGEN_TAGFILES" = x; then :
16567   DOXYGEN_TAGFILES=\"$mm_val\"
16568 else
16569   DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16570 fi
16571 fi
16572
16573 # Evaluate the --enable-warnings=level option.
16574 # Check whether --enable-warnings was given.
16575 if test "${enable_warnings+set}" = set; then :
16576   enableval=$enable_warnings; mm_enable_warnings=$enableval
16577 else
16578   mm_enable_warnings=min
16579 fi
16580
16581 case $ac_compile in #(
16582   *'$CXXFLAGS '*) :
16583     mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
16584   *'$CFLAGS '*) :
16585     mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
16586   *) :
16587     as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
16588 esac
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
16590 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
16591 mm_deprecation_flags=
16592 mm_tested_flags=
16593 case $mm_enable_warnings in #(
16594   no) :
16595     mm_warning_flags= ;; #(
16596   max) :
16597     mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wshadow -Wno-long-long" ;; #(
16598   fatal) :
16599     mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wshadow -Wno-long-long -Werror"
16600          for mm_prefix in G GLIBMM SIGCXX
16601          do
16602            mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED "
16603          done ;; #(
16604   *) :
16605     mm_warning_flags="-Wall" ;;
16606 esac
16607 if test "x$mm_warning_flags" != x; then :
16608
16609   # Keep in mind that the dummy source must be devoid of any
16610   # problems that might cause diagnostics.
16611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h.  */
16613
16614 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16615
16616 _ACEOF
16617   for mm_flag in $mm_warning_flags
16618   do
16619     # Test whether the compiler accepts the flag.  Look at standard output,
16620     # since GCC only shows a warning message if an option is not supported.
16621     mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16622     rm -f "conftest.${OBJEXT-o}"
16623
16624     if test "x$mm_cc_out" = x; then :
16625   if test "x$mm_tested_flags" = x; then :
16626   mm_tested_flags=$mm_flag
16627 else
16628   mm_tested_flags="$mm_tested_flags $mm_flag"
16629 fi
16630 else
16631   cat <<_MMEOF >&5
16632 $mm_cc: $mm_cc_out
16633 _MMEOF
16634
16635 fi
16636   done
16637   rm -f "$mm_conftest"
16638
16639 fi
16640 mm_all_flags=$mm_deprecation_flags$mm_tested_flags
16641 LIBXMLXX_WXXFLAGS=$mm_all_flags
16642
16643 test "x$mm_all_flags" != x || mm_all_flags=none
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16645 $as_echo "$mm_all_flags" >&6; }
16646
16647 # Offer the ability to omit some API from the library.
16648 # Check whether --enable-deprecated-api was given.
16649 if test "${enable_deprecated_api+set}" = set; then :
16650   enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
16651 else
16652   mm_enable_deprecated_api=yes
16653 fi
16654 if test "x$mm_enable_deprecated_api" = xno; then :
16655   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
16656 Do not use this option for distribution packages." >&5
16657 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
16658 Do not use this option for distribution packages." >&2;}
16659 else
16660   { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
16661 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
16662 fi
16663  if test "x$mm_enable_deprecated_api" = xno; then
16664   DISABLE_DEPRECATED_API_TRUE=
16665   DISABLE_DEPRECATED_API_FALSE='#'
16666 else
16667   DISABLE_DEPRECATED_API_TRUE='#'
16668   DISABLE_DEPRECATED_API_FALSE=
16669 fi
16670
16671 if test "x$mm_enable_deprecated_api" = xno; then :
16672
16673 $as_echo "#define LIBXMLXX_DISABLE_DEPRECATED 1" >>confdefs.h
16674
16675
16676 fi
16677
16678 # Extract the first word of "xmllint", so it can be a program name with args.
16679 set dummy xmllint; ac_word=$2
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16681 $as_echo_n "checking for $ac_word... " >&6; }
16682 if ${ac_cv_path_XMLLINT+:} false; then :
16683   $as_echo_n "(cached) " >&6
16684 else
16685   case $XMLLINT in
16686   [\\/]* | ?:[\\/]*)
16687   ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
16688   ;;
16689   *)
16690   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16691 for as_dir in $PATH
16692 do
16693   IFS=$as_save_IFS
16694   test -z "$as_dir" && as_dir=.
16695     for ac_exec_ext in '' $ac_executable_extensions; do
16696   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16697     ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
16698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16699     break 2
16700   fi
16701 done
16702   done
16703 IFS=$as_save_IFS
16704
16705   test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="xmllint"
16706   ;;
16707 esac
16708 fi
16709 XMLLINT=$ac_cv_path_XMLLINT
16710 if test -n "$XMLLINT"; then
16711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
16712 $as_echo "$XMLLINT" >&6; }
16713 else
16714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16715 $as_echo "no" >&6; }
16716 fi
16717
16718
16719
16720 for ac_prog in db2latex docbook2latex
16721 do
16722   # Extract the first word of "$ac_prog", so it can be a program name with args.
16723 set dummy $ac_prog; ac_word=$2
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16725 $as_echo_n "checking for $ac_word... " >&6; }
16726 if ${ac_cv_path_DB2LATEX+:} false; then :
16727   $as_echo_n "(cached) " >&6
16728 else
16729   case $DB2LATEX in
16730   [\\/]* | ?:[\\/]*)
16731   ac_cv_path_DB2LATEX="$DB2LATEX" # Let the user override the test with a path.
16732   ;;
16733   *)
16734   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16735 for as_dir in $PATH
16736 do
16737   IFS=$as_save_IFS
16738   test -z "$as_dir" && as_dir=.
16739     for ac_exec_ext in '' $ac_executable_extensions; do
16740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16741     ac_cv_path_DB2LATEX="$as_dir/$ac_word$ac_exec_ext"
16742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16743     break 2
16744   fi
16745 done
16746   done
16747 IFS=$as_save_IFS
16748
16749   ;;
16750 esac
16751 fi
16752 DB2LATEX=$ac_cv_path_DB2LATEX
16753 if test -n "$DB2LATEX"; then
16754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2LATEX" >&5
16755 $as_echo "$DB2LATEX" >&6; }
16756 else
16757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16758 $as_echo "no" >&6; }
16759 fi
16760
16761
16762   test -n "$DB2LATEX" && break
16763 done
16764 test -n "$DB2LATEX" || DB2LATEX="db2latex"
16765
16766
16767 if $PERL -e "require v5.6.0; exit 0;" >&5 2>&5; then :
16768
16769 else
16770   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16772 as_fn_error $? "At least Perl 5.6.0 is required to build $PACKAGE_NAME.
16773 See \`config.log' for more details" "$LINENO" 5; }
16774 fi
16775
16776 # This is just defined to avoid breaking old code:
16777
16778 $as_echo "#define LIBXMLCPP_EXCEPTIONS_ENABLED 1" >>confdefs.h
16779
16780
16781 ac_config_files="$ac_config_files Makefile examples/Makefile tests/Makefile docs/reference/Doxyfile MSVC_Net2005/libxml++/libxml++.rc MSVC_Net2008/libxml++/libxml++.rc MSVC_Net2010/libxml++/libxml++.rc libxml++-2.6.pc"
16782
16783
16784 # Copy the generated configuration headers into the MSVC project directories.
16785 ac_config_commands="$ac_config_commands MSVC_Net2005/libxml++/libxml++config.h"
16786
16787 ac_config_commands="$ac_config_commands MSVC_Net2008/libxml++/libxml++config.h"
16788
16789 ac_config_commands="$ac_config_commands MSVC_Net2010/libxml++/libxml++config.h"
16790
16791
16792 cat >confcache <<\_ACEOF
16793 # This file is a shell script that caches the results of configure
16794 # tests run on this system so they can be shared between configure
16795 # scripts and configure runs, see configure's option --config-cache.
16796 # It is not useful on other systems.  If it contains results you don't
16797 # want to keep, you may remove or edit it.
16798 #
16799 # config.status only pays attention to the cache file if you give it
16800 # the --recheck option to rerun configure.
16801 #
16802 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16803 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16804 # following values.
16805
16806 _ACEOF
16807
16808 # The following way of writing the cache mishandles newlines in values,
16809 # but we know of no workaround that is simple, portable, and efficient.
16810 # So, we kill variables containing newlines.
16811 # Ultrix sh set writes to stderr and can't be redirected directly,
16812 # and sets the high bit in the cache file unless we assign to the vars.
16813 (
16814   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16815     eval ac_val=\$$ac_var
16816     case $ac_val in #(
16817     *${as_nl}*)
16818       case $ac_var in #(
16819       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16821       esac
16822       case $ac_var in #(
16823       _ | IFS | as_nl) ;; #(
16824       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16825       *) { eval $ac_var=; unset $ac_var;} ;;
16826       esac ;;
16827     esac
16828   done
16829
16830   (set) 2>&1 |
16831     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16832     *${as_nl}ac_space=\ *)
16833       # `set' does not quote correctly, so add quotes: double-quote
16834       # substitution turns \\\\ into \\, and sed turns \\ into \.
16835       sed -n \
16836         "s/'/'\\\\''/g;
16837           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16838       ;; #(
16839     *)
16840       # `set' quotes correctly as required by POSIX, so do not add quotes.
16841       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16842       ;;
16843     esac |
16844     sort
16845 ) |
16846   sed '
16847      /^ac_cv_env_/b end
16848      t clear
16849      :clear
16850      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16851      t end
16852      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16853      :end' >>confcache
16854 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16855   if test -w "$cache_file"; then
16856     if test "x$cache_file" != "x/dev/null"; then
16857       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16858 $as_echo "$as_me: updating cache $cache_file" >&6;}
16859       if test ! -f "$cache_file" || test -h "$cache_file"; then
16860         cat confcache >"$cache_file"
16861       else
16862         case $cache_file in #(
16863         */* | ?:*)
16864           mv -f confcache "$cache_file"$$ &&
16865           mv -f "$cache_file"$$ "$cache_file" ;; #(
16866         *)
16867           mv -f confcache "$cache_file" ;;
16868         esac
16869       fi
16870     fi
16871   else
16872     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16873 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16874   fi
16875 fi
16876 rm -f confcache
16877
16878 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16879 # Let make expand exec_prefix.
16880 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16881
16882 DEFS=-DHAVE_CONFIG_H
16883
16884 ac_libobjs=
16885 ac_ltlibobjs=
16886 U=
16887 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16888   # 1. Remove the extension, and $U if already installed.
16889   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16890   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16891   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16892   #    will be set to the directory where LIBOBJS objects are built.
16893   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16894   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16895 done
16896 LIBOBJS=$ac_libobjs
16897
16898 LTLIBOBJS=$ac_ltlibobjs
16899
16900
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16902 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16903    if test -n "$am_sleep_pid"; then
16904      # Hide warnings about reused PIDs.
16905      wait $am_sleep_pid 2>/dev/null
16906    fi
16907    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16908 $as_echo "done" >&6; }
16909  if test -n "$EXEEXT"; then
16910   am__EXEEXT_TRUE=
16911   am__EXEEXT_FALSE='#'
16912 else
16913   am__EXEEXT_TRUE='#'
16914   am__EXEEXT_FALSE=
16915 fi
16916
16917 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16918   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16920 fi
16921 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16922   as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16924 fi
16925 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16926   as_fn_error $? "conditional \"AMDEP\" was never defined.
16927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16928 fi
16929 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16930   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16932 fi
16933 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16934   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16936 fi
16937 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16938   as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16940 fi
16941 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
16942   as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
16943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16944 fi
16945
16946 : "${CONFIG_STATUS=./config.status}"
16947 ac_write_fail=0
16948 ac_clean_files_save=$ac_clean_files
16949 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16951 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16952 as_write_fail=0
16953 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16954 #! $SHELL
16955 # Generated by $as_me.
16956 # Run this file to recreate the current configuration.
16957 # Compiler output produced by configure, useful for debugging
16958 # configure, is in config.log if it exists.
16959
16960 debug=false
16961 ac_cs_recheck=false
16962 ac_cs_silent=false
16963
16964 SHELL=\${CONFIG_SHELL-$SHELL}
16965 export SHELL
16966 _ASEOF
16967 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16968 ## -------------------- ##
16969 ## M4sh Initialization. ##
16970 ## -------------------- ##
16971
16972 # Be more Bourne compatible
16973 DUALCASE=1; export DUALCASE # for MKS sh
16974 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16975   emulate sh
16976   NULLCMD=:
16977   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16978   # is contrary to our usage.  Disable this feature.
16979   alias -g '${1+"$@"}'='"$@"'
16980   setopt NO_GLOB_SUBST
16981 else
16982   case `(set -o) 2>/dev/null` in #(
16983   *posix*) :
16984     set -o posix ;; #(
16985   *) :
16986      ;;
16987 esac
16988 fi
16989
16990
16991 as_nl='
16992 '
16993 export as_nl
16994 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16995 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16996 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16997 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16998 # Prefer a ksh shell builtin over an external printf program on Solaris,
16999 # but without wasting forks for bash or zsh.
17000 if test -z "$BASH_VERSION$ZSH_VERSION" \
17001     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17002   as_echo='print -r --'
17003   as_echo_n='print -rn --'
17004 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17005   as_echo='printf %s\n'
17006   as_echo_n='printf %s'
17007 else
17008   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17009     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17010     as_echo_n='/usr/ucb/echo -n'
17011   else
17012     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17013     as_echo_n_body='eval
17014       arg=$1;
17015       case $arg in #(
17016       *"$as_nl"*)
17017         expr "X$arg" : "X\\(.*\\)$as_nl";
17018         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17019       esac;
17020       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17021     '
17022     export as_echo_n_body
17023     as_echo_n='sh -c $as_echo_n_body as_echo'
17024   fi
17025   export as_echo_body
17026   as_echo='sh -c $as_echo_body as_echo'
17027 fi
17028
17029 # The user is always right.
17030 if test "${PATH_SEPARATOR+set}" != set; then
17031   PATH_SEPARATOR=:
17032   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17033     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17034       PATH_SEPARATOR=';'
17035   }
17036 fi
17037
17038
17039 # IFS
17040 # We need space, tab and new line, in precisely that order.  Quoting is
17041 # there to prevent editors from complaining about space-tab.
17042 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17043 # splitting by setting IFS to empty value.)
17044 IFS=" ""        $as_nl"
17045
17046 # Find who we are.  Look in the path if we contain no directory separator.
17047 as_myself=
17048 case $0 in #((
17049   *[\\/]* ) as_myself=$0 ;;
17050   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17051 for as_dir in $PATH
17052 do
17053   IFS=$as_save_IFS
17054   test -z "$as_dir" && as_dir=.
17055     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17056   done
17057 IFS=$as_save_IFS
17058
17059      ;;
17060 esac
17061 # We did not find ourselves, most probably we were run as `sh COMMAND'
17062 # in which case we are not to be found in the path.
17063 if test "x$as_myself" = x; then
17064   as_myself=$0
17065 fi
17066 if test ! -f "$as_myself"; then
17067   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17068   exit 1
17069 fi
17070
17071 # Unset variables that we do not need and which cause bugs (e.g. in
17072 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
17073 # suppresses any "Segmentation fault" message there.  '((' could
17074 # trigger a bug in pdksh 5.2.14.
17075 for as_var in BASH_ENV ENV MAIL MAILPATH
17076 do eval test x\${$as_var+set} = xset \
17077   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17078 done
17079 PS1='$ '
17080 PS2='> '
17081 PS4='+ '
17082
17083 # NLS nuisances.
17084 LC_ALL=C
17085 export LC_ALL
17086 LANGUAGE=C
17087 export LANGUAGE
17088
17089 # CDPATH.
17090 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17091
17092
17093 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17094 # ----------------------------------------
17095 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17096 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17097 # script with STATUS, using 1 if that was 0.
17098 as_fn_error ()
17099 {
17100   as_status=$1; test $as_status -eq 0 && as_status=1
17101   if test "$4"; then
17102     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17103     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17104   fi
17105   $as_echo "$as_me: error: $2" >&2
17106   as_fn_exit $as_status
17107 } # as_fn_error
17108
17109
17110 # as_fn_set_status STATUS
17111 # -----------------------
17112 # Set $? to STATUS, without forking.
17113 as_fn_set_status ()
17114 {
17115   return $1
17116 } # as_fn_set_status
17117
17118 # as_fn_exit STATUS
17119 # -----------------
17120 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17121 as_fn_exit ()
17122 {
17123   set +e
17124   as_fn_set_status $1
17125   exit $1
17126 } # as_fn_exit
17127
17128 # as_fn_unset VAR
17129 # ---------------
17130 # Portably unset VAR.
17131 as_fn_unset ()
17132 {
17133   { eval $1=; unset $1;}
17134 }
17135 as_unset=as_fn_unset
17136 # as_fn_append VAR VALUE
17137 # ----------------------
17138 # Append the text in VALUE to the end of the definition contained in VAR. Take
17139 # advantage of any shell optimizations that allow amortized linear growth over
17140 # repeated appends, instead of the typical quadratic growth present in naive
17141 # implementations.
17142 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17143   eval 'as_fn_append ()
17144   {
17145     eval $1+=\$2
17146   }'
17147 else
17148   as_fn_append ()
17149   {
17150     eval $1=\$$1\$2
17151   }
17152 fi # as_fn_append
17153
17154 # as_fn_arith ARG...
17155 # ------------------
17156 # Perform arithmetic evaluation on the ARGs, and store the result in the
17157 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17158 # must be portable across $(()) and expr.
17159 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17160   eval 'as_fn_arith ()
17161   {
17162     as_val=$(( $* ))
17163   }'
17164 else
17165   as_fn_arith ()
17166   {
17167     as_val=`expr "$@" || test $? -eq 1`
17168   }
17169 fi # as_fn_arith
17170
17171
17172 if expr a : '\(a\)' >/dev/null 2>&1 &&
17173    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17174   as_expr=expr
17175 else
17176   as_expr=false
17177 fi
17178
17179 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17180   as_basename=basename
17181 else
17182   as_basename=false
17183 fi
17184
17185 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17186   as_dirname=dirname
17187 else
17188   as_dirname=false
17189 fi
17190
17191 as_me=`$as_basename -- "$0" ||
17192 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17193          X"$0" : 'X\(//\)$' \| \
17194          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17195 $as_echo X/"$0" |
17196     sed '/^.*\/\([^/][^/]*\)\/*$/{
17197             s//\1/
17198             q
17199           }
17200           /^X\/\(\/\/\)$/{
17201             s//\1/
17202             q
17203           }
17204           /^X\/\(\/\).*/{
17205             s//\1/
17206             q
17207           }
17208           s/.*/./; q'`
17209
17210 # Avoid depending upon Character Ranges.
17211 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17212 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17213 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17214 as_cr_digits='0123456789'
17215 as_cr_alnum=$as_cr_Letters$as_cr_digits
17216
17217 ECHO_C= ECHO_N= ECHO_T=
17218 case `echo -n x` in #(((((
17219 -n*)
17220   case `echo 'xy\c'` in
17221   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17222   xy)  ECHO_C='\c';;
17223   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17224        ECHO_T=' ';;
17225   esac;;
17226 *)
17227   ECHO_N='-n';;
17228 esac
17229
17230 rm -f conf$$ conf$$.exe conf$$.file
17231 if test -d conf$$.dir; then
17232   rm -f conf$$.dir/conf$$.file
17233 else
17234   rm -f conf$$.dir
17235   mkdir conf$$.dir 2>/dev/null
17236 fi
17237 if (echo >conf$$.file) 2>/dev/null; then
17238   if ln -s conf$$.file conf$$ 2>/dev/null; then
17239     as_ln_s='ln -s'
17240     # ... but there are two gotchas:
17241     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17242     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17243     # In both cases, we have to default to `cp -pR'.
17244     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17245       as_ln_s='cp -pR'
17246   elif ln conf$$.file conf$$ 2>/dev/null; then
17247     as_ln_s=ln
17248   else
17249     as_ln_s='cp -pR'
17250   fi
17251 else
17252   as_ln_s='cp -pR'
17253 fi
17254 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17255 rmdir conf$$.dir 2>/dev/null
17256
17257
17258 # as_fn_mkdir_p
17259 # -------------
17260 # Create "$as_dir" as a directory, including parents if necessary.
17261 as_fn_mkdir_p ()
17262 {
17263
17264   case $as_dir in #(
17265   -*) as_dir=./$as_dir;;
17266   esac
17267   test -d "$as_dir" || eval $as_mkdir_p || {
17268     as_dirs=
17269     while :; do
17270       case $as_dir in #(
17271       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17272       *) as_qdir=$as_dir;;
17273       esac
17274       as_dirs="'$as_qdir' $as_dirs"
17275       as_dir=`$as_dirname -- "$as_dir" ||
17276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17277          X"$as_dir" : 'X\(//\)[^/]' \| \
17278          X"$as_dir" : 'X\(//\)$' \| \
17279          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17280 $as_echo X"$as_dir" |
17281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17282             s//\1/
17283             q
17284           }
17285           /^X\(\/\/\)[^/].*/{
17286             s//\1/
17287             q
17288           }
17289           /^X\(\/\/\)$/{
17290             s//\1/
17291             q
17292           }
17293           /^X\(\/\).*/{
17294             s//\1/
17295             q
17296           }
17297           s/.*/./; q'`
17298       test -d "$as_dir" && break
17299     done
17300     test -z "$as_dirs" || eval "mkdir $as_dirs"
17301   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17302
17303
17304 } # as_fn_mkdir_p
17305 if mkdir -p . 2>/dev/null; then
17306   as_mkdir_p='mkdir -p "$as_dir"'
17307 else
17308   test -d ./-p && rmdir ./-p
17309   as_mkdir_p=false
17310 fi
17311
17312
17313 # as_fn_executable_p FILE
17314 # -----------------------
17315 # Test if FILE is an executable regular file.
17316 as_fn_executable_p ()
17317 {
17318   test -f "$1" && test -x "$1"
17319 } # as_fn_executable_p
17320 as_test_x='test -x'
17321 as_executable_p=as_fn_executable_p
17322
17323 # Sed expression to map a string onto a valid CPP name.
17324 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17325
17326 # Sed expression to map a string onto a valid variable name.
17327 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17328
17329
17330 exec 6>&1
17331 ## ----------------------------------- ##
17332 ## Main body of $CONFIG_STATUS script. ##
17333 ## ----------------------------------- ##
17334 _ASEOF
17335 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17336
17337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17338 # Save the log message, to keep $0 and so on meaningful, and to
17339 # report actual input values of CONFIG_FILES etc. instead of their
17340 # values after options handling.
17341 ac_log="
17342 This file was extended by libxml++ $as_me 2.39.2, which was
17343 generated by GNU Autoconf 2.69.  Invocation command line was
17344
17345   CONFIG_FILES    = $CONFIG_FILES
17346   CONFIG_HEADERS  = $CONFIG_HEADERS
17347   CONFIG_LINKS    = $CONFIG_LINKS
17348   CONFIG_COMMANDS = $CONFIG_COMMANDS
17349   $ $0 $@
17350
17351 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17352 "
17353
17354 _ACEOF
17355
17356 case $ac_config_files in *"
17357 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17358 esac
17359
17360 case $ac_config_headers in *"
17361 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17362 esac
17363
17364
17365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17366 # Files that config.status was made for.
17367 config_files="$ac_config_files"
17368 config_headers="$ac_config_headers"
17369 config_commands="$ac_config_commands"
17370
17371 _ACEOF
17372
17373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17374 ac_cs_usage="\
17375 \`$as_me' instantiates files and other configuration actions
17376 from templates according to the current configuration.  Unless the files
17377 and actions are specified as TAGs, all are instantiated by default.
17378
17379 Usage: $0 [OPTION]... [TAG]...
17380
17381   -h, --help       print this help, then exit
17382   -V, --version    print version number and configuration settings, then exit
17383       --config     print configuration, then exit
17384   -q, --quiet, --silent
17385                    do not print progress messages
17386   -d, --debug      don't remove temporary files
17387       --recheck    update $as_me by reconfiguring in the same conditions
17388       --file=FILE[:TEMPLATE]
17389                    instantiate the configuration file FILE
17390       --header=FILE[:TEMPLATE]
17391                    instantiate the configuration header FILE
17392
17393 Configuration files:
17394 $config_files
17395
17396 Configuration headers:
17397 $config_headers
17398
17399 Configuration commands:
17400 $config_commands
17401
17402 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
17403 libxml++ home page: <http://libxmlplusplus.sourceforge.net/>."
17404
17405 _ACEOF
17406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17407 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17408 ac_cs_version="\\
17409 libxml++ config.status 2.39.2
17410 configured by $0, generated by GNU Autoconf 2.69,
17411   with options \\"\$ac_cs_config\\"
17412
17413 Copyright (C) 2012 Free Software Foundation, Inc.
17414 This config.status script is free software; the Free Software Foundation
17415 gives unlimited permission to copy, distribute and modify it."
17416
17417 ac_pwd='$ac_pwd'
17418 srcdir='$srcdir'
17419 INSTALL='$INSTALL'
17420 MKDIR_P='$MKDIR_P'
17421 AWK='$AWK'
17422 test -n "\$AWK" || AWK=awk
17423 _ACEOF
17424
17425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17426 # The default lists apply if the user does not specify any file.
17427 ac_need_defaults=:
17428 while test $# != 0
17429 do
17430   case $1 in
17431   --*=?*)
17432     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17433     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17434     ac_shift=:
17435     ;;
17436   --*=)
17437     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17438     ac_optarg=
17439     ac_shift=:
17440     ;;
17441   *)
17442     ac_option=$1
17443     ac_optarg=$2
17444     ac_shift=shift
17445     ;;
17446   esac
17447
17448   case $ac_option in
17449   # Handling of the options.
17450   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17451     ac_cs_recheck=: ;;
17452   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17453     $as_echo "$ac_cs_version"; exit ;;
17454   --config | --confi | --conf | --con | --co | --c )
17455     $as_echo "$ac_cs_config"; exit ;;
17456   --debug | --debu | --deb | --de | --d | -d )
17457     debug=: ;;
17458   --file | --fil | --fi | --f )
17459     $ac_shift
17460     case $ac_optarg in
17461     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17462     '') as_fn_error $? "missing file argument" ;;
17463     esac
17464     as_fn_append CONFIG_FILES " '$ac_optarg'"
17465     ac_need_defaults=false;;
17466   --header | --heade | --head | --hea )
17467     $ac_shift
17468     case $ac_optarg in
17469     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17470     esac
17471     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17472     ac_need_defaults=false;;
17473   --he | --h)
17474     # Conflict between --help and --header
17475     as_fn_error $? "ambiguous option: \`$1'
17476 Try \`$0 --help' for more information.";;
17477   --help | --hel | -h )
17478     $as_echo "$ac_cs_usage"; exit ;;
17479   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17480   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17481     ac_cs_silent=: ;;
17482
17483   # This is an error.
17484   -*) as_fn_error $? "unrecognized option: \`$1'
17485 Try \`$0 --help' for more information." ;;
17486
17487   *) as_fn_append ac_config_targets " $1"
17488      ac_need_defaults=false ;;
17489
17490   esac
17491   shift
17492 done
17493
17494 ac_configure_extra_args=
17495
17496 if $ac_cs_silent; then
17497   exec 6>/dev/null
17498   ac_configure_extra_args="$ac_configure_extra_args --silent"
17499 fi
17500
17501 _ACEOF
17502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17503 if \$ac_cs_recheck; then
17504   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17505   shift
17506   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17507   CONFIG_SHELL='$SHELL'
17508   export CONFIG_SHELL
17509   exec "\$@"
17510 fi
17511
17512 _ACEOF
17513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17514 exec 5>>config.log
17515 {
17516   echo
17517   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17518 ## Running $as_me. ##
17519 _ASBOX
17520   $as_echo "$ac_log"
17521 } >&5
17522
17523 _ACEOF
17524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17525 #
17526 # INIT-COMMANDS
17527 #
17528 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17529
17530
17531 # The HP-UX ksh and POSIX shell print the target directory to stdout
17532 # if CDPATH is set.
17533 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17534
17535 sed_quote_subst='$sed_quote_subst'
17536 double_quote_subst='$double_quote_subst'
17537 delay_variable_subst='$delay_variable_subst'
17538 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17539 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17540 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17541 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17542 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17543 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17544 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17545 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17546 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17547 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17548 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17549 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17550 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17551 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17552 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17553 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17554 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17555 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17556 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17557 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17558 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17559 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17560 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17561 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17562 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17563 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17564 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17565 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17566 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17567 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17568 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17569 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17570 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17571 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17572 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17573 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17574 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17575 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17576 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17577 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17578 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17579 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17580 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17581 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17582 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17583 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17584 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17585 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17586 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17587 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17588 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17589 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17590 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17591 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17592 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17593 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17594 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17595 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"`'
17596 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17597 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17598 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17599 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17600 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17601 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17602 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17603 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17604 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17605 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17606 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17607 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17608 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17609 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17610 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17611 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17612 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17613 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17614 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17615 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17616 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17617 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17618 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17619 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17620 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17621 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17622 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17623 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17624 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17625 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17626 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17627 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17628 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17629 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17630 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17631 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17632 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17633 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17634 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17635 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17636 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17637 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17638 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17639 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17640 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17641 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17642 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17643 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17644 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17645 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17646 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17647 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17648 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17649 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17650 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17651 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17652 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17653 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17654 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17655 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17656 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17657 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17658 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17659 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17660 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17661 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17662 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17663 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17664 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17665 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17666 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17667 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17668 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17669 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17670 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17671 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17672 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17673 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17674 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17675 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17676 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17677 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17678 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17679 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17680 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17681 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17682 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17683 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17684 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17685 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17686 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17687 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17688 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17689 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17690 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17691 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17692 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17693 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17694 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17695 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17696 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17697 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17698 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17699 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17700 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17701 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17702 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17703 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17704 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17705 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17706 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17707 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17708 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17709 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17710 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17711 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17712 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17713 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17714 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17715 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17716 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17717 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17718 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17719 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17720 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17721 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17722 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17723
17724 LTCC='$LTCC'
17725 LTCFLAGS='$LTCFLAGS'
17726 compiler='$compiler_DEFAULT'
17727
17728 # A function that is used when there is no print builtin or printf.
17729 func_fallback_echo ()
17730 {
17731   eval 'cat <<_LTECHO_EOF
17732 \$1
17733 _LTECHO_EOF'
17734 }
17735
17736 # Quote evaled strings.
17737 for var in AS \
17738 DLLTOOL \
17739 OBJDUMP \
17740 SHELL \
17741 ECHO \
17742 PATH_SEPARATOR \
17743 SED \
17744 GREP \
17745 EGREP \
17746 FGREP \
17747 LD \
17748 NM \
17749 LN_S \
17750 lt_SP2NL \
17751 lt_NL2SP \
17752 reload_flag \
17753 deplibs_check_method \
17754 file_magic_cmd \
17755 file_magic_glob \
17756 want_nocaseglob \
17757 sharedlib_from_linklib_cmd \
17758 AR \
17759 AR_FLAGS \
17760 archiver_list_spec \
17761 STRIP \
17762 RANLIB \
17763 CC \
17764 CFLAGS \
17765 compiler \
17766 lt_cv_sys_global_symbol_pipe \
17767 lt_cv_sys_global_symbol_to_cdecl \
17768 lt_cv_sys_global_symbol_to_c_name_address \
17769 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17770 nm_file_list_spec \
17771 lt_prog_compiler_no_builtin_flag \
17772 lt_prog_compiler_pic \
17773 lt_prog_compiler_wl \
17774 lt_prog_compiler_static \
17775 lt_cv_prog_compiler_c_o \
17776 need_locks \
17777 MANIFEST_TOOL \
17778 DSYMUTIL \
17779 NMEDIT \
17780 LIPO \
17781 OTOOL \
17782 OTOOL64 \
17783 shrext_cmds \
17784 export_dynamic_flag_spec \
17785 whole_archive_flag_spec \
17786 compiler_needs_object \
17787 with_gnu_ld \
17788 allow_undefined_flag \
17789 no_undefined_flag \
17790 hardcode_libdir_flag_spec \
17791 hardcode_libdir_separator \
17792 exclude_expsyms \
17793 include_expsyms \
17794 file_list_spec \
17795 variables_saved_for_relink \
17796 libname_spec \
17797 library_names_spec \
17798 soname_spec \
17799 install_override_mode \
17800 finish_eval \
17801 old_striplib \
17802 striplib \
17803 compiler_lib_search_dirs \
17804 predep_objects \
17805 postdep_objects \
17806 predeps \
17807 postdeps \
17808 compiler_lib_search_path \
17809 LD_CXX \
17810 reload_flag_CXX \
17811 compiler_CXX \
17812 lt_prog_compiler_no_builtin_flag_CXX \
17813 lt_prog_compiler_pic_CXX \
17814 lt_prog_compiler_wl_CXX \
17815 lt_prog_compiler_static_CXX \
17816 lt_cv_prog_compiler_c_o_CXX \
17817 export_dynamic_flag_spec_CXX \
17818 whole_archive_flag_spec_CXX \
17819 compiler_needs_object_CXX \
17820 with_gnu_ld_CXX \
17821 allow_undefined_flag_CXX \
17822 no_undefined_flag_CXX \
17823 hardcode_libdir_flag_spec_CXX \
17824 hardcode_libdir_separator_CXX \
17825 exclude_expsyms_CXX \
17826 include_expsyms_CXX \
17827 file_list_spec_CXX \
17828 compiler_lib_search_dirs_CXX \
17829 predep_objects_CXX \
17830 postdep_objects_CXX \
17831 predeps_CXX \
17832 postdeps_CXX \
17833 compiler_lib_search_path_CXX; do
17834     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17835     *[\\\\\\\`\\"\\\$]*)
17836       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17837       ;;
17838     *)
17839       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17840       ;;
17841     esac
17842 done
17843
17844 # Double-quote double-evaled strings.
17845 for var in reload_cmds \
17846 old_postinstall_cmds \
17847 old_postuninstall_cmds \
17848 old_archive_cmds \
17849 extract_expsyms_cmds \
17850 old_archive_from_new_cmds \
17851 old_archive_from_expsyms_cmds \
17852 archive_cmds \
17853 archive_expsym_cmds \
17854 module_cmds \
17855 module_expsym_cmds \
17856 export_symbols_cmds \
17857 prelink_cmds \
17858 postlink_cmds \
17859 postinstall_cmds \
17860 postuninstall_cmds \
17861 finish_cmds \
17862 sys_lib_search_path_spec \
17863 sys_lib_dlsearch_path_spec \
17864 reload_cmds_CXX \
17865 old_archive_cmds_CXX \
17866 old_archive_from_new_cmds_CXX \
17867 old_archive_from_expsyms_cmds_CXX \
17868 archive_cmds_CXX \
17869 archive_expsym_cmds_CXX \
17870 module_cmds_CXX \
17871 module_expsym_cmds_CXX \
17872 export_symbols_cmds_CXX \
17873 prelink_cmds_CXX \
17874 postlink_cmds_CXX; do
17875     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17876     *[\\\\\\\`\\"\\\$]*)
17877       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17878       ;;
17879     *)
17880       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17881       ;;
17882     esac
17883 done
17884
17885 ac_aux_dir='$ac_aux_dir'
17886 xsi_shell='$xsi_shell'
17887 lt_shell_append='$lt_shell_append'
17888
17889 # See if we are running on zsh, and set the options which allow our
17890 # commands through without removal of \ escapes INIT.
17891 if test -n "\${ZSH_VERSION+set}" ; then
17892    setopt NO_GLOB_SUBST
17893 fi
17894
17895
17896     PACKAGE='$PACKAGE'
17897     VERSION='$VERSION'
17898     TIMESTAMP='$TIMESTAMP'
17899     RM='$RM'
17900     ofile='$ofile'
17901
17902
17903
17904
17905
17906
17907 _ACEOF
17908
17909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17910
17911 # Handling of arguments.
17912 for ac_config_target in $ac_config_targets
17913 do
17914   case $ac_config_target in
17915     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17916     "libxml++config.h") CONFIG_HEADERS="$CONFIG_HEADERS libxml++config.h" ;;
17917     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17918     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17919     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17920     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17921     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17922     "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
17923     "MSVC_Net2005/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/libxml++/libxml++.rc" ;;
17924     "MSVC_Net2008/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/libxml++/libxml++.rc" ;;
17925     "MSVC_Net2010/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/libxml++/libxml++.rc" ;;
17926     "libxml++-2.6.pc") CONFIG_FILES="$CONFIG_FILES libxml++-2.6.pc" ;;
17927     "MSVC_Net2005/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2005/libxml++/libxml++config.h" ;;
17928     "MSVC_Net2008/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2008/libxml++/libxml++config.h" ;;
17929     "MSVC_Net2010/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/libxml++/libxml++config.h" ;;
17930
17931   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17932   esac
17933 done
17934
17935
17936 # If the user did not use the arguments to specify the items to instantiate,
17937 # then the envvar interface is used.  Set only those that are not.
17938 # We use the long form for the default assignment because of an extremely
17939 # bizarre bug on SunOS 4.1.3.
17940 if $ac_need_defaults; then
17941   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17942   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17943   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17944 fi
17945
17946 # Have a temporary directory for convenience.  Make it in the build tree
17947 # simply because there is no reason against having it here, and in addition,
17948 # creating and moving files from /tmp can sometimes cause problems.
17949 # Hook for its removal unless debugging.
17950 # Note that there is a small window in which the directory will not be cleaned:
17951 # after its creation but before its name has been assigned to `$tmp'.
17952 $debug ||
17953 {
17954   tmp= ac_tmp=
17955   trap 'exit_status=$?
17956   : "${ac_tmp:=$tmp}"
17957   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17958 ' 0
17959   trap 'as_fn_exit 1' 1 2 13 15
17960 }
17961 # Create a (secure) tmp directory for tmp files.
17962
17963 {
17964   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17965   test -d "$tmp"
17966 }  ||
17967 {
17968   tmp=./conf$$-$RANDOM
17969   (umask 077 && mkdir "$tmp")
17970 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17971 ac_tmp=$tmp
17972
17973 # Set up the scripts for CONFIG_FILES section.
17974 # No need to generate them if there are no CONFIG_FILES.
17975 # This happens for instance with `./config.status config.h'.
17976 if test -n "$CONFIG_FILES"; then
17977
17978
17979 ac_cr=`echo X | tr X '\015'`
17980 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17981 # But we know of no other shell where ac_cr would be empty at this
17982 # point, so we can use a bashism as a fallback.
17983 if test "x$ac_cr" = x; then
17984   eval ac_cr=\$\'\\r\'
17985 fi
17986 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17987 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17988   ac_cs_awk_cr='\\r'
17989 else
17990   ac_cs_awk_cr=$ac_cr
17991 fi
17992
17993 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17994 _ACEOF
17995
17996
17997 {
17998   echo "cat >conf$$subs.awk <<_ACEOF" &&
17999   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18000   echo "_ACEOF"
18001 } >conf$$subs.sh ||
18002   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18003 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18004 ac_delim='%!_!# '
18005 for ac_last_try in false false false false false :; do
18006   . ./conf$$subs.sh ||
18007     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18008
18009   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18010   if test $ac_delim_n = $ac_delim_num; then
18011     break
18012   elif $ac_last_try; then
18013     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18014   else
18015     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18016   fi
18017 done
18018 rm -f conf$$subs.sh
18019
18020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18021 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18022 _ACEOF
18023 sed -n '
18024 h
18025 s/^/S["/; s/!.*/"]=/
18026 p
18027 g
18028 s/^[^!]*!//
18029 :repl
18030 t repl
18031 s/'"$ac_delim"'$//
18032 t delim
18033 :nl
18034 h
18035 s/\(.\{148\}\)..*/\1/
18036 t more1
18037 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18038 p
18039 n
18040 b repl
18041 :more1
18042 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18043 p
18044 g
18045 s/.\{148\}//
18046 t nl
18047 :delim
18048 h
18049 s/\(.\{148\}\)..*/\1/
18050 t more2
18051 s/["\\]/\\&/g; s/^/"/; s/$/"/
18052 p
18053 b
18054 :more2
18055 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18056 p
18057 g
18058 s/.\{148\}//
18059 t delim
18060 ' <conf$$subs.awk | sed '
18061 /^[^""]/{
18062   N
18063   s/\n//
18064 }
18065 ' >>$CONFIG_STATUS || ac_write_fail=1
18066 rm -f conf$$subs.awk
18067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18068 _ACAWK
18069 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18070   for (key in S) S_is_set[key] = 1
18071   FS = "\a"
18072
18073 }
18074 {
18075   line = $ 0
18076   nfields = split(line, field, "@")
18077   substed = 0
18078   len = length(field[1])
18079   for (i = 2; i < nfields; i++) {
18080     key = field[i]
18081     keylen = length(key)
18082     if (S_is_set[key]) {
18083       value = S[key]
18084       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18085       len += length(value) + length(field[++i])
18086       substed = 1
18087     } else
18088       len += 1 + keylen
18089   }
18090
18091   print line
18092 }
18093
18094 _ACAWK
18095 _ACEOF
18096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18097 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18098   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18099 else
18100   cat
18101 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18102   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18103 _ACEOF
18104
18105 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18106 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18107 # trailing colons and then remove the whole line if VPATH becomes empty
18108 # (actually we leave an empty line to preserve line numbers).
18109 if test "x$srcdir" = x.; then
18110   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
18111 h
18112 s///
18113 s/^/:/
18114 s/[      ]*$/:/
18115 s/:\$(srcdir):/:/g
18116 s/:\${srcdir}:/:/g
18117 s/:@srcdir@:/:/g
18118 s/^:*//
18119 s/:*$//
18120 x
18121 s/\(=[   ]*\).*/\1/
18122 G
18123 s/\n//
18124 s/^[^=]*=[       ]*$//
18125 }'
18126 fi
18127
18128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18129 fi # test -n "$CONFIG_FILES"
18130
18131 # Set up the scripts for CONFIG_HEADERS section.
18132 # No need to generate them if there are no CONFIG_HEADERS.
18133 # This happens for instance with `./config.status Makefile'.
18134 if test -n "$CONFIG_HEADERS"; then
18135 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18136 BEGIN {
18137 _ACEOF
18138
18139 # Transform confdefs.h into an awk script `defines.awk', embedded as
18140 # here-document in config.status, that substitutes the proper values into
18141 # config.h.in to produce config.h.
18142
18143 # Create a delimiter string that does not exist in confdefs.h, to ease
18144 # handling of long lines.
18145 ac_delim='%!_!# '
18146 for ac_last_try in false false :; do
18147   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18148   if test -z "$ac_tt"; then
18149     break
18150   elif $ac_last_try; then
18151     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18152   else
18153     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18154   fi
18155 done
18156
18157 # For the awk script, D is an array of macro values keyed by name,
18158 # likewise P contains macro parameters if any.  Preserve backslash
18159 # newline sequences.
18160
18161 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18162 sed -n '
18163 s/.\{148\}/&'"$ac_delim"'/g
18164 t rset
18165 :rset
18166 s/^[     ]*#[    ]*define[       ][      ]*/ /
18167 t def
18168 d
18169 :def
18170 s/\\$//
18171 t bsnl
18172 s/["\\]/\\&/g
18173 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18174 D["\1"]=" \3"/p
18175 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
18176 d
18177 :bsnl
18178 s/["\\]/\\&/g
18179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
18180 D["\1"]=" \3\\\\\\n"\\/p
18181 t cont
18182 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18183 t cont
18184 d
18185 :cont
18186 n
18187 s/.\{148\}/&'"$ac_delim"'/g
18188 t clear
18189 :clear
18190 s/\\$//
18191 t bsnlc
18192 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18193 d
18194 :bsnlc
18195 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18196 b cont
18197 ' <confdefs.h | sed '
18198 s/'"$ac_delim"'/"\\\
18199 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18200
18201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18202   for (key in D) D_is_set[key] = 1
18203   FS = "\a"
18204 }
18205 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18206   line = \$ 0
18207   split(line, arg, " ")
18208   if (arg[1] == "#") {
18209     defundef = arg[2]
18210     mac1 = arg[3]
18211   } else {
18212     defundef = substr(arg[1], 2)
18213     mac1 = arg[2]
18214   }
18215   split(mac1, mac2, "(") #)
18216   macro = mac2[1]
18217   prefix = substr(line, 1, index(line, defundef) - 1)
18218   if (D_is_set[macro]) {
18219     # Preserve the white space surrounding the "#".
18220     print prefix "define", macro P[macro] D[macro]
18221     next
18222   } else {
18223     # Replace #undef with comments.  This is necessary, for example,
18224     # in the case of _POSIX_SOURCE, which is predefined and required
18225     # on some systems where configure will not decide to define it.
18226     if (defundef == "undef") {
18227       print "/*", prefix defundef, macro, "*/"
18228       next
18229     }
18230   }
18231 }
18232 { print }
18233 _ACAWK
18234 _ACEOF
18235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18236   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18237 fi # test -n "$CONFIG_HEADERS"
18238
18239
18240 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
18241 shift
18242 for ac_tag
18243 do
18244   case $ac_tag in
18245   :[FHLC]) ac_mode=$ac_tag; continue;;
18246   esac
18247   case $ac_mode$ac_tag in
18248   :[FHL]*:*);;
18249   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18250   :[FH]-) ac_tag=-:-;;
18251   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18252   esac
18253   ac_save_IFS=$IFS
18254   IFS=:
18255   set x $ac_tag
18256   IFS=$ac_save_IFS
18257   shift
18258   ac_file=$1
18259   shift
18260
18261   case $ac_mode in
18262   :L) ac_source=$1;;
18263   :[FH])
18264     ac_file_inputs=
18265     for ac_f
18266     do
18267       case $ac_f in
18268       -) ac_f="$ac_tmp/stdin";;
18269       *) # Look for the file first in the build tree, then in the source tree
18270          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18271          # because $ac_f cannot contain `:'.
18272          test -f "$ac_f" ||
18273            case $ac_f in
18274            [\\/$]*) false;;
18275            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18276            esac ||
18277            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18278       esac
18279       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18280       as_fn_append ac_file_inputs " '$ac_f'"
18281     done
18282
18283     # Let's still pretend it is `configure' which instantiates (i.e., don't
18284     # use $as_me), people would be surprised to read:
18285     #    /* config.h.  Generated by config.status.  */
18286     configure_input='Generated from '`
18287           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18288         `' by configure.'
18289     if test x"$ac_file" != x-; then
18290       configure_input="$ac_file.  $configure_input"
18291       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18292 $as_echo "$as_me: creating $ac_file" >&6;}
18293     fi
18294     # Neutralize special characters interpreted by sed in replacement strings.
18295     case $configure_input in #(
18296     *\&* | *\|* | *\\* )
18297        ac_sed_conf_input=`$as_echo "$configure_input" |
18298        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18299     *) ac_sed_conf_input=$configure_input;;
18300     esac
18301
18302     case $ac_tag in
18303     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18304       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18305     esac
18306     ;;
18307   esac
18308
18309   ac_dir=`$as_dirname -- "$ac_file" ||
18310 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18311          X"$ac_file" : 'X\(//\)[^/]' \| \
18312          X"$ac_file" : 'X\(//\)$' \| \
18313          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18314 $as_echo X"$ac_file" |
18315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18316             s//\1/
18317             q
18318           }
18319           /^X\(\/\/\)[^/].*/{
18320             s//\1/
18321             q
18322           }
18323           /^X\(\/\/\)$/{
18324             s//\1/
18325             q
18326           }
18327           /^X\(\/\).*/{
18328             s//\1/
18329             q
18330           }
18331           s/.*/./; q'`
18332   as_dir="$ac_dir"; as_fn_mkdir_p
18333   ac_builddir=.
18334
18335 case "$ac_dir" in
18336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18337 *)
18338   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18339   # A ".." for each directory in $ac_dir_suffix.
18340   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18341   case $ac_top_builddir_sub in
18342   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18343   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18344   esac ;;
18345 esac
18346 ac_abs_top_builddir=$ac_pwd
18347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18348 # for backward compatibility:
18349 ac_top_builddir=$ac_top_build_prefix
18350
18351 case $srcdir in
18352   .)  # We are building in place.
18353     ac_srcdir=.
18354     ac_top_srcdir=$ac_top_builddir_sub
18355     ac_abs_top_srcdir=$ac_pwd ;;
18356   [\\/]* | ?:[\\/]* )  # Absolute name.
18357     ac_srcdir=$srcdir$ac_dir_suffix;
18358     ac_top_srcdir=$srcdir
18359     ac_abs_top_srcdir=$srcdir ;;
18360   *) # Relative name.
18361     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18362     ac_top_srcdir=$ac_top_build_prefix$srcdir
18363     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18364 esac
18365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18366
18367
18368   case $ac_mode in
18369   :F)
18370   #
18371   # CONFIG_FILE
18372   #
18373
18374   case $INSTALL in
18375   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18376   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18377   esac
18378   ac_MKDIR_P=$MKDIR_P
18379   case $MKDIR_P in
18380   [\\/$]* | ?:[\\/]* ) ;;
18381   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18382   esac
18383 _ACEOF
18384
18385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18386 # If the template does not know about datarootdir, expand it.
18387 # FIXME: This hack should be removed a few years after 2.60.
18388 ac_datarootdir_hack=; ac_datarootdir_seen=
18389 ac_sed_dataroot='
18390 /datarootdir/ {
18391   p
18392   q
18393 }
18394 /@datadir@/p
18395 /@docdir@/p
18396 /@infodir@/p
18397 /@localedir@/p
18398 /@mandir@/p'
18399 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18400 *datarootdir*) ac_datarootdir_seen=yes;;
18401 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18402   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18403 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18404 _ACEOF
18405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18406   ac_datarootdir_hack='
18407   s&@datadir@&$datadir&g
18408   s&@docdir@&$docdir&g
18409   s&@infodir@&$infodir&g
18410   s&@localedir@&$localedir&g
18411   s&@mandir@&$mandir&g
18412   s&\\\${datarootdir}&$datarootdir&g' ;;
18413 esac
18414 _ACEOF
18415
18416 # Neutralize VPATH when `$srcdir' = `.'.
18417 # Shell code in configure.ac might set extrasub.
18418 # FIXME: do we really want to maintain this feature?
18419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18420 ac_sed_extra="$ac_vpsub
18421 $extrasub
18422 _ACEOF
18423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18424 :t
18425 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18426 s|@configure_input@|$ac_sed_conf_input|;t t
18427 s&@top_builddir@&$ac_top_builddir_sub&;t t
18428 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18429 s&@srcdir@&$ac_srcdir&;t t
18430 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18431 s&@top_srcdir@&$ac_top_srcdir&;t t
18432 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18433 s&@builddir@&$ac_builddir&;t t
18434 s&@abs_builddir@&$ac_abs_builddir&;t t
18435 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18436 s&@INSTALL@&$ac_INSTALL&;t t
18437 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18438 $ac_datarootdir_hack
18439 "
18440 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18441   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18442
18443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18444   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18445   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18446       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18447   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18448 which seems to be undefined.  Please make sure it is defined" >&5
18449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18450 which seems to be undefined.  Please make sure it is defined" >&2;}
18451
18452   rm -f "$ac_tmp/stdin"
18453   case $ac_file in
18454   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18455   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18456   esac \
18457   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18458  ;;
18459   :H)
18460   #
18461   # CONFIG_HEADER
18462   #
18463   if test x"$ac_file" != x-; then
18464     {
18465       $as_echo "/* $configure_input  */" \
18466       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18467     } >"$ac_tmp/config.h" \
18468       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18469     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18470       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18471 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18472     else
18473       rm -f "$ac_file"
18474       mv "$ac_tmp/config.h" "$ac_file" \
18475         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18476     fi
18477   else
18478     $as_echo "/* $configure_input  */" \
18479       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18480       || as_fn_error $? "could not create -" "$LINENO" 5
18481   fi
18482 # Compute "$ac_file"'s index in $config_headers.
18483 _am_arg="$ac_file"
18484 _am_stamp_count=1
18485 for _am_header in $config_headers :; do
18486   case $_am_header in
18487     $_am_arg | $_am_arg:* )
18488       break ;;
18489     * )
18490       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18491   esac
18492 done
18493 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18494 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18495          X"$_am_arg" : 'X\(//\)[^/]' \| \
18496          X"$_am_arg" : 'X\(//\)$' \| \
18497          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18498 $as_echo X"$_am_arg" |
18499     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18500             s//\1/
18501             q
18502           }
18503           /^X\(\/\/\)[^/].*/{
18504             s//\1/
18505             q
18506           }
18507           /^X\(\/\/\)$/{
18508             s//\1/
18509             q
18510           }
18511           /^X\(\/\).*/{
18512             s//\1/
18513             q
18514           }
18515           s/.*/./; q'`/stamp-h$_am_stamp_count
18516  ;;
18517
18518   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18519 $as_echo "$as_me: executing $ac_file commands" >&6;}
18520  ;;
18521   esac
18522
18523
18524   case $ac_file$ac_mode in
18525     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18526   # Older Autoconf quotes --file arguments for eval, but not when files
18527   # are listed without --file.  Let's play safe and only enable the eval
18528   # if we detect the quoting.
18529   case $CONFIG_FILES in
18530   *\'*) eval set x "$CONFIG_FILES" ;;
18531   *)   set x $CONFIG_FILES ;;
18532   esac
18533   shift
18534   for mf
18535   do
18536     # Strip MF so we end up with the name of the file.
18537     mf=`echo "$mf" | sed -e 's/:.*$//'`
18538     # Check whether this is an Automake generated Makefile or not.
18539     # We used to match only the files named 'Makefile.in', but
18540     # some people rename them; so instead we look at the file content.
18541     # Grep'ing the first line is not enough: some people post-process
18542     # each Makefile.in and add a new line on top of each file to say so.
18543     # Grep'ing the whole file is not good either: AIX grep has a line
18544     # limit of 2048, but all sed's we know have understand at least 4000.
18545     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18546       dirpart=`$as_dirname -- "$mf" ||
18547 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18548          X"$mf" : 'X\(//\)[^/]' \| \
18549          X"$mf" : 'X\(//\)$' \| \
18550          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18551 $as_echo X"$mf" |
18552     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18553             s//\1/
18554             q
18555           }
18556           /^X\(\/\/\)[^/].*/{
18557             s//\1/
18558             q
18559           }
18560           /^X\(\/\/\)$/{
18561             s//\1/
18562             q
18563           }
18564           /^X\(\/\).*/{
18565             s//\1/
18566             q
18567           }
18568           s/.*/./; q'`
18569     else
18570       continue
18571     fi
18572     # Extract the definition of DEPDIR, am__include, and am__quote
18573     # from the Makefile without running 'make'.
18574     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18575     test -z "$DEPDIR" && continue
18576     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18577     test -z "$am__include" && continue
18578     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18579     # Find all dependency output files, they are included files with
18580     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18581     # simplest approach to changing $(DEPDIR) to its actual value in the
18582     # expansion.
18583     for file in `sed -n "
18584       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18585          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18586       # Make sure the directory exists.
18587       test -f "$dirpart/$file" && continue
18588       fdir=`$as_dirname -- "$file" ||
18589 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18590          X"$file" : 'X\(//\)[^/]' \| \
18591          X"$file" : 'X\(//\)$' \| \
18592          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18593 $as_echo X"$file" |
18594     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18595             s//\1/
18596             q
18597           }
18598           /^X\(\/\/\)[^/].*/{
18599             s//\1/
18600             q
18601           }
18602           /^X\(\/\/\)$/{
18603             s//\1/
18604             q
18605           }
18606           /^X\(\/\).*/{
18607             s//\1/
18608             q
18609           }
18610           s/.*/./; q'`
18611       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18612       # echo "creating $dirpart/$file"
18613       echo '# dummy' > "$dirpart/$file"
18614     done
18615   done
18616 }
18617  ;;
18618     "libtool":C)
18619
18620     # See if we are running on zsh, and set the options which allow our
18621     # commands through without removal of \ escapes.
18622     if test -n "${ZSH_VERSION+set}" ; then
18623       setopt NO_GLOB_SUBST
18624     fi
18625
18626     cfgfile="${ofile}T"
18627     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18628     $RM "$cfgfile"
18629
18630     cat <<_LT_EOF >> "$cfgfile"
18631 #! $SHELL
18632
18633 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18634 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18635 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18636 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18637 #
18638 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18639 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18640 #                 Foundation, Inc.
18641 #   Written by Gordon Matzigkeit, 1996
18642 #
18643 #   This file is part of GNU Libtool.
18644 #
18645 # GNU Libtool is free software; you can redistribute it and/or
18646 # modify it under the terms of the GNU General Public License as
18647 # published by the Free Software Foundation; either version 2 of
18648 # the License, or (at your option) any later version.
18649 #
18650 # As a special exception to the GNU General Public License,
18651 # if you distribute this file as part of a program or library that
18652 # is built using GNU Libtool, you may include this file under the
18653 # same distribution terms that you use for the rest of that program.
18654 #
18655 # GNU Libtool is distributed in the hope that it will be useful,
18656 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18657 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18658 # GNU General Public License for more details.
18659 #
18660 # You should have received a copy of the GNU General Public License
18661 # along with GNU Libtool; see the file COPYING.  If not, a copy
18662 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18663 # obtained by writing to the Free Software Foundation, Inc.,
18664 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18665
18666
18667 # The names of the tagged configurations supported by this script.
18668 available_tags="CXX "
18669
18670 # ### BEGIN LIBTOOL CONFIG
18671
18672 # Which release of libtool.m4 was used?
18673 macro_version=$macro_version
18674 macro_revision=$macro_revision
18675
18676 # Assembler program.
18677 AS=$lt_AS
18678
18679 # DLL creation program.
18680 DLLTOOL=$lt_DLLTOOL
18681
18682 # Object dumper program.
18683 OBJDUMP=$lt_OBJDUMP
18684
18685 # Whether or not to build static libraries.
18686 build_old_libs=$enable_static
18687
18688 # Whether or not to build shared libraries.
18689 build_libtool_libs=$enable_shared
18690
18691 # What type of objects to build.
18692 pic_mode=$pic_mode
18693
18694 # Whether or not to optimize for fast installation.
18695 fast_install=$enable_fast_install
18696
18697 # Shell to use when invoking shell scripts.
18698 SHELL=$lt_SHELL
18699
18700 # An echo program that protects backslashes.
18701 ECHO=$lt_ECHO
18702
18703 # The PATH separator for the build system.
18704 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18705
18706 # The host system.
18707 host_alias=$host_alias
18708 host=$host
18709 host_os=$host_os
18710
18711 # The build system.
18712 build_alias=$build_alias
18713 build=$build
18714 build_os=$build_os
18715
18716 # A sed program that does not truncate output.
18717 SED=$lt_SED
18718
18719 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18720 Xsed="\$SED -e 1s/^X//"
18721
18722 # A grep program that handles long lines.
18723 GREP=$lt_GREP
18724
18725 # An ERE matcher.
18726 EGREP=$lt_EGREP
18727
18728 # A literal string matcher.
18729 FGREP=$lt_FGREP
18730
18731 # A BSD- or MS-compatible name lister.
18732 NM=$lt_NM
18733
18734 # Whether we need soft or hard links.
18735 LN_S=$lt_LN_S
18736
18737 # What is the maximum length of a command?
18738 max_cmd_len=$max_cmd_len
18739
18740 # Object file suffix (normally "o").
18741 objext=$ac_objext
18742
18743 # Executable file suffix (normally "").
18744 exeext=$exeext
18745
18746 # whether the shell understands "unset".
18747 lt_unset=$lt_unset
18748
18749 # turn spaces into newlines.
18750 SP2NL=$lt_lt_SP2NL
18751
18752 # turn newlines into spaces.
18753 NL2SP=$lt_lt_NL2SP
18754
18755 # convert \$build file names to \$host format.
18756 to_host_file_cmd=$lt_cv_to_host_file_cmd
18757
18758 # convert \$build files to toolchain format.
18759 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18760
18761 # Method to check whether dependent libraries are shared objects.
18762 deplibs_check_method=$lt_deplibs_check_method
18763
18764 # Command to use when deplibs_check_method = "file_magic".
18765 file_magic_cmd=$lt_file_magic_cmd
18766
18767 # How to find potential files when deplibs_check_method = "file_magic".
18768 file_magic_glob=$lt_file_magic_glob
18769
18770 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18771 want_nocaseglob=$lt_want_nocaseglob
18772
18773 # Command to associate shared and link libraries.
18774 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18775
18776 # The archiver.
18777 AR=$lt_AR
18778
18779 # Flags to create an archive.
18780 AR_FLAGS=$lt_AR_FLAGS
18781
18782 # How to feed a file listing to the archiver.
18783 archiver_list_spec=$lt_archiver_list_spec
18784
18785 # A symbol stripping program.
18786 STRIP=$lt_STRIP
18787
18788 # Commands used to install an old-style archive.
18789 RANLIB=$lt_RANLIB
18790 old_postinstall_cmds=$lt_old_postinstall_cmds
18791 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18792
18793 # Whether to use a lock for old archive extraction.
18794 lock_old_archive_extraction=$lock_old_archive_extraction
18795
18796 # A C compiler.
18797 LTCC=$lt_CC
18798
18799 # LTCC compiler flags.
18800 LTCFLAGS=$lt_CFLAGS
18801
18802 # Take the output of nm and produce a listing of raw symbols and C names.
18803 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18804
18805 # Transform the output of nm in a proper C declaration.
18806 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18807
18808 # Transform the output of nm in a C name address pair.
18809 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18810
18811 # Transform the output of nm in a C name address pair when lib prefix is needed.
18812 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18813
18814 # Specify filename containing input files for \$NM.
18815 nm_file_list_spec=$lt_nm_file_list_spec
18816
18817 # The root where to search for dependent libraries,and in which our libraries should be installed.
18818 lt_sysroot=$lt_sysroot
18819
18820 # The name of the directory that contains temporary libtool files.
18821 objdir=$objdir
18822
18823 # Used to examine libraries when file_magic_cmd begins with "file".
18824 MAGIC_CMD=$MAGIC_CMD
18825
18826 # Must we lock files when doing compilation?
18827 need_locks=$lt_need_locks
18828
18829 # Manifest tool.
18830 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18831
18832 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18833 DSYMUTIL=$lt_DSYMUTIL
18834
18835 # Tool to change global to local symbols on Mac OS X.
18836 NMEDIT=$lt_NMEDIT
18837
18838 # Tool to manipulate fat objects and archives on Mac OS X.
18839 LIPO=$lt_LIPO
18840
18841 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18842 OTOOL=$lt_OTOOL
18843
18844 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18845 OTOOL64=$lt_OTOOL64
18846
18847 # Old archive suffix (normally "a").
18848 libext=$libext
18849
18850 # Shared library suffix (normally ".so").
18851 shrext_cmds=$lt_shrext_cmds
18852
18853 # The commands to extract the exported symbol list from a shared archive.
18854 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18855
18856 # Variables whose values should be saved in libtool wrapper scripts and
18857 # restored at link time.
18858 variables_saved_for_relink=$lt_variables_saved_for_relink
18859
18860 # Do we need the "lib" prefix for modules?
18861 need_lib_prefix=$need_lib_prefix
18862
18863 # Do we need a version for libraries?
18864 need_version=$need_version
18865
18866 # Library versioning type.
18867 version_type=$version_type
18868
18869 # Shared library runtime path variable.
18870 runpath_var=$runpath_var
18871
18872 # Shared library path variable.
18873 shlibpath_var=$shlibpath_var
18874
18875 # Is shlibpath searched before the hard-coded library search path?
18876 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18877
18878 # Format of library name prefix.
18879 libname_spec=$lt_libname_spec
18880
18881 # List of archive names.  First name is the real one, the rest are links.
18882 # The last name is the one that the linker finds with -lNAME
18883 library_names_spec=$lt_library_names_spec
18884
18885 # The coded name of the library, if different from the real name.
18886 soname_spec=$lt_soname_spec
18887
18888 # Permission mode override for installation of shared libraries.
18889 install_override_mode=$lt_install_override_mode
18890
18891 # Command to use after installation of a shared archive.
18892 postinstall_cmds=$lt_postinstall_cmds
18893
18894 # Command to use after uninstallation of a shared archive.
18895 postuninstall_cmds=$lt_postuninstall_cmds
18896
18897 # Commands used to finish a libtool library installation in a directory.
18898 finish_cmds=$lt_finish_cmds
18899
18900 # As "finish_cmds", except a single script fragment to be evaled but
18901 # not shown.
18902 finish_eval=$lt_finish_eval
18903
18904 # Whether we should hardcode library paths into libraries.
18905 hardcode_into_libs=$hardcode_into_libs
18906
18907 # Compile-time system search path for libraries.
18908 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18909
18910 # Run-time system search path for libraries.
18911 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18912
18913 # Whether dlopen is supported.
18914 dlopen_support=$enable_dlopen
18915
18916 # Whether dlopen of programs is supported.
18917 dlopen_self=$enable_dlopen_self
18918
18919 # Whether dlopen of statically linked programs is supported.
18920 dlopen_self_static=$enable_dlopen_self_static
18921
18922 # Commands to strip libraries.
18923 old_striplib=$lt_old_striplib
18924 striplib=$lt_striplib
18925
18926
18927 # The linker used to build libraries.
18928 LD=$lt_LD
18929
18930 # How to create reloadable object files.
18931 reload_flag=$lt_reload_flag
18932 reload_cmds=$lt_reload_cmds
18933
18934 # Commands used to build an old-style archive.
18935 old_archive_cmds=$lt_old_archive_cmds
18936
18937 # A language specific compiler.
18938 CC=$lt_compiler
18939
18940 # Is the compiler the GNU compiler?
18941 with_gcc=$GCC
18942
18943 # Compiler flag to turn off builtin functions.
18944 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18945
18946 # Additional compiler flags for building library objects.
18947 pic_flag=$lt_lt_prog_compiler_pic
18948
18949 # How to pass a linker flag through the compiler.
18950 wl=$lt_lt_prog_compiler_wl
18951
18952 # Compiler flag to prevent dynamic linking.
18953 link_static_flag=$lt_lt_prog_compiler_static
18954
18955 # Does compiler simultaneously support -c and -o options?
18956 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18957
18958 # Whether or not to add -lc for building shared libraries.
18959 build_libtool_need_lc=$archive_cmds_need_lc
18960
18961 # Whether or not to disallow shared libs when runtime libs are static.
18962 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18963
18964 # Compiler flag to allow reflexive dlopens.
18965 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18966
18967 # Compiler flag to generate shared objects directly from archives.
18968 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18969
18970 # Whether the compiler copes with passing no objects directly.
18971 compiler_needs_object=$lt_compiler_needs_object
18972
18973 # Create an old-style archive from a shared archive.
18974 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18975
18976 # Create a temporary old-style archive to link instead of a shared archive.
18977 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18978
18979 # Commands used to build a shared archive.
18980 archive_cmds=$lt_archive_cmds
18981 archive_expsym_cmds=$lt_archive_expsym_cmds
18982
18983 # Commands used to build a loadable module if different from building
18984 # a shared archive.
18985 module_cmds=$lt_module_cmds
18986 module_expsym_cmds=$lt_module_expsym_cmds
18987
18988 # Whether we are building with GNU ld or not.
18989 with_gnu_ld=$lt_with_gnu_ld
18990
18991 # Flag that allows shared libraries with undefined symbols to be built.
18992 allow_undefined_flag=$lt_allow_undefined_flag
18993
18994 # Flag that enforces no undefined symbols.
18995 no_undefined_flag=$lt_no_undefined_flag
18996
18997 # Flag to hardcode \$libdir into a binary during linking.
18998 # This must work even if \$libdir does not exist
18999 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19000
19001 # Whether we need a single "-rpath" flag with a separated argument.
19002 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19003
19004 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19005 # DIR into the resulting binary.
19006 hardcode_direct=$hardcode_direct
19007
19008 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19009 # DIR into the resulting binary and the resulting library dependency is
19010 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19011 # library is relocated.
19012 hardcode_direct_absolute=$hardcode_direct_absolute
19013
19014 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19015 # into the resulting binary.
19016 hardcode_minus_L=$hardcode_minus_L
19017
19018 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19019 # into the resulting binary.
19020 hardcode_shlibpath_var=$hardcode_shlibpath_var
19021
19022 # Set to "yes" if building a shared library automatically hardcodes DIR
19023 # into the library and all subsequent libraries and executables linked
19024 # against it.
19025 hardcode_automatic=$hardcode_automatic
19026
19027 # Set to yes if linker adds runtime paths of dependent libraries
19028 # to runtime path list.
19029 inherit_rpath=$inherit_rpath
19030
19031 # Whether libtool must link a program against all its dependency libraries.
19032 link_all_deplibs=$link_all_deplibs
19033
19034 # Set to "yes" if exported symbols are required.
19035 always_export_symbols=$always_export_symbols
19036
19037 # The commands to list exported symbols.
19038 export_symbols_cmds=$lt_export_symbols_cmds
19039
19040 # Symbols that should not be listed in the preloaded symbols.
19041 exclude_expsyms=$lt_exclude_expsyms
19042
19043 # Symbols that must always be exported.
19044 include_expsyms=$lt_include_expsyms
19045
19046 # Commands necessary for linking programs (against libraries) with templates.
19047 prelink_cmds=$lt_prelink_cmds
19048
19049 # Commands necessary for finishing linking programs.
19050 postlink_cmds=$lt_postlink_cmds
19051
19052 # Specify filename containing input files.
19053 file_list_spec=$lt_file_list_spec
19054
19055 # How to hardcode a shared library path into an executable.
19056 hardcode_action=$hardcode_action
19057
19058 # The directories searched by this compiler when creating a shared library.
19059 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19060
19061 # Dependencies to place before and after the objects being linked to
19062 # create a shared library.
19063 predep_objects=$lt_predep_objects
19064 postdep_objects=$lt_postdep_objects
19065 predeps=$lt_predeps
19066 postdeps=$lt_postdeps
19067
19068 # The library search path used internally by the compiler when linking
19069 # a shared library.
19070 compiler_lib_search_path=$lt_compiler_lib_search_path
19071
19072 # ### END LIBTOOL CONFIG
19073
19074 _LT_EOF
19075
19076   case $host_os in
19077   aix3*)
19078     cat <<\_LT_EOF >> "$cfgfile"
19079 # AIX sometimes has problems with the GCC collect2 program.  For some
19080 # reason, if we set the COLLECT_NAMES environment variable, the problems
19081 # vanish in a puff of smoke.
19082 if test "X${COLLECT_NAMES+set}" != Xset; then
19083   COLLECT_NAMES=
19084   export COLLECT_NAMES
19085 fi
19086 _LT_EOF
19087     ;;
19088   esac
19089
19090
19091 ltmain="$ac_aux_dir/ltmain.sh"
19092
19093
19094   # We use sed instead of cat because bash on DJGPP gets confused if
19095   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
19096   # text mode, it properly converts lines to CR/LF.  This bash problem
19097   # is reportedly fixed, but why not run on old versions too?
19098   sed '$q' "$ltmain" >> "$cfgfile" \
19099      || (rm -f "$cfgfile"; exit 1)
19100
19101   if test x"$xsi_shell" = xyes; then
19102   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19103 func_dirname ()\
19104 {\
19105 \    case ${1} in\
19106 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19107 \      *  ) func_dirname_result="${3}" ;;\
19108 \    esac\
19109 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19110   && mv -f "$cfgfile.tmp" "$cfgfile" \
19111     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19112 test 0 -eq $? || _lt_function_replace_fail=:
19113
19114
19115   sed -e '/^func_basename ()$/,/^} # func_basename /c\
19116 func_basename ()\
19117 {\
19118 \    func_basename_result="${1##*/}"\
19119 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19120   && mv -f "$cfgfile.tmp" "$cfgfile" \
19121     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19122 test 0 -eq $? || _lt_function_replace_fail=:
19123
19124
19125   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19126 func_dirname_and_basename ()\
19127 {\
19128 \    case ${1} in\
19129 \      */*) func_dirname_result="${1%/*}${2}" ;;\
19130 \      *  ) func_dirname_result="${3}" ;;\
19131 \    esac\
19132 \    func_basename_result="${1##*/}"\
19133 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19134   && mv -f "$cfgfile.tmp" "$cfgfile" \
19135     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19136 test 0 -eq $? || _lt_function_replace_fail=:
19137
19138
19139   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19140 func_stripname ()\
19141 {\
19142 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19143 \    # positional parameters, so assign one to ordinary parameter first.\
19144 \    func_stripname_result=${3}\
19145 \    func_stripname_result=${func_stripname_result#"${1}"}\
19146 \    func_stripname_result=${func_stripname_result%"${2}"}\
19147 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19148   && mv -f "$cfgfile.tmp" "$cfgfile" \
19149     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19150 test 0 -eq $? || _lt_function_replace_fail=:
19151
19152
19153   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19154 func_split_long_opt ()\
19155 {\
19156 \    func_split_long_opt_name=${1%%=*}\
19157 \    func_split_long_opt_arg=${1#*=}\
19158 } # Extended-shell func_split_long_opt 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_split_short_opt ()$/,/^} # func_split_short_opt /c\
19165 func_split_short_opt ()\
19166 {\
19167 \    func_split_short_opt_arg=${1#??}\
19168 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19169 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19170   && mv -f "$cfgfile.tmp" "$cfgfile" \
19171     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19172 test 0 -eq $? || _lt_function_replace_fail=:
19173
19174
19175   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19176 func_lo2o ()\
19177 {\
19178 \    case ${1} in\
19179 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19180 \      *)    func_lo2o_result=${1} ;;\
19181 \    esac\
19182 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19183   && mv -f "$cfgfile.tmp" "$cfgfile" \
19184     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19185 test 0 -eq $? || _lt_function_replace_fail=:
19186
19187
19188   sed -e '/^func_xform ()$/,/^} # func_xform /c\
19189 func_xform ()\
19190 {\
19191     func_xform_result=${1%.*}.lo\
19192 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19193   && mv -f "$cfgfile.tmp" "$cfgfile" \
19194     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19195 test 0 -eq $? || _lt_function_replace_fail=:
19196
19197
19198   sed -e '/^func_arith ()$/,/^} # func_arith /c\
19199 func_arith ()\
19200 {\
19201     func_arith_result=$(( $* ))\
19202 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19203   && mv -f "$cfgfile.tmp" "$cfgfile" \
19204     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19205 test 0 -eq $? || _lt_function_replace_fail=:
19206
19207
19208   sed -e '/^func_len ()$/,/^} # func_len /c\
19209 func_len ()\
19210 {\
19211     func_len_result=${#1}\
19212 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19213   && mv -f "$cfgfile.tmp" "$cfgfile" \
19214     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19215 test 0 -eq $? || _lt_function_replace_fail=:
19216
19217 fi
19218
19219 if test x"$lt_shell_append" = xyes; then
19220   sed -e '/^func_append ()$/,/^} # func_append /c\
19221 func_append ()\
19222 {\
19223     eval "${1}+=\\${2}"\
19224 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19225   && mv -f "$cfgfile.tmp" "$cfgfile" \
19226     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19227 test 0 -eq $? || _lt_function_replace_fail=:
19228
19229
19230   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19231 func_append_quoted ()\
19232 {\
19233 \    func_quote_for_eval "${2}"\
19234 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19235 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19236   && mv -f "$cfgfile.tmp" "$cfgfile" \
19237     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19238 test 0 -eq $? || _lt_function_replace_fail=:
19239
19240
19241   # Save a `func_append' function call where possible by direct use of '+='
19242   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19243     && mv -f "$cfgfile.tmp" "$cfgfile" \
19244       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19245   test 0 -eq $? || _lt_function_replace_fail=:
19246 else
19247   # Save a `func_append' function call even when '+=' is not available
19248   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19249     && mv -f "$cfgfile.tmp" "$cfgfile" \
19250       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19251   test 0 -eq $? || _lt_function_replace_fail=:
19252 fi
19253
19254 if test x"$_lt_function_replace_fail" = x":"; then
19255   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19256 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19257 fi
19258
19259
19260    mv -f "$cfgfile" "$ofile" ||
19261     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19262   chmod +x "$ofile"
19263
19264
19265     cat <<_LT_EOF >> "$ofile"
19266
19267 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19268
19269 # The linker used to build libraries.
19270 LD=$lt_LD_CXX
19271
19272 # How to create reloadable object files.
19273 reload_flag=$lt_reload_flag_CXX
19274 reload_cmds=$lt_reload_cmds_CXX
19275
19276 # Commands used to build an old-style archive.
19277 old_archive_cmds=$lt_old_archive_cmds_CXX
19278
19279 # A language specific compiler.
19280 CC=$lt_compiler_CXX
19281
19282 # Is the compiler the GNU compiler?
19283 with_gcc=$GCC_CXX
19284
19285 # Compiler flag to turn off builtin functions.
19286 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19287
19288 # Additional compiler flags for building library objects.
19289 pic_flag=$lt_lt_prog_compiler_pic_CXX
19290
19291 # How to pass a linker flag through the compiler.
19292 wl=$lt_lt_prog_compiler_wl_CXX
19293
19294 # Compiler flag to prevent dynamic linking.
19295 link_static_flag=$lt_lt_prog_compiler_static_CXX
19296
19297 # Does compiler simultaneously support -c and -o options?
19298 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19299
19300 # Whether or not to add -lc for building shared libraries.
19301 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19302
19303 # Whether or not to disallow shared libs when runtime libs are static.
19304 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19305
19306 # Compiler flag to allow reflexive dlopens.
19307 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19308
19309 # Compiler flag to generate shared objects directly from archives.
19310 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19311
19312 # Whether the compiler copes with passing no objects directly.
19313 compiler_needs_object=$lt_compiler_needs_object_CXX
19314
19315 # Create an old-style archive from a shared archive.
19316 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19317
19318 # Create a temporary old-style archive to link instead of a shared archive.
19319 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19320
19321 # Commands used to build a shared archive.
19322 archive_cmds=$lt_archive_cmds_CXX
19323 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19324
19325 # Commands used to build a loadable module if different from building
19326 # a shared archive.
19327 module_cmds=$lt_module_cmds_CXX
19328 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19329
19330 # Whether we are building with GNU ld or not.
19331 with_gnu_ld=$lt_with_gnu_ld_CXX
19332
19333 # Flag that allows shared libraries with undefined symbols to be built.
19334 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19335
19336 # Flag that enforces no undefined symbols.
19337 no_undefined_flag=$lt_no_undefined_flag_CXX
19338
19339 # Flag to hardcode \$libdir into a binary during linking.
19340 # This must work even if \$libdir does not exist
19341 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19342
19343 # Whether we need a single "-rpath" flag with a separated argument.
19344 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19345
19346 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19347 # DIR into the resulting binary.
19348 hardcode_direct=$hardcode_direct_CXX
19349
19350 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19351 # DIR into the resulting binary and the resulting library dependency is
19352 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19353 # library is relocated.
19354 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19355
19356 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19357 # into the resulting binary.
19358 hardcode_minus_L=$hardcode_minus_L_CXX
19359
19360 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19361 # into the resulting binary.
19362 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19363
19364 # Set to "yes" if building a shared library automatically hardcodes DIR
19365 # into the library and all subsequent libraries and executables linked
19366 # against it.
19367 hardcode_automatic=$hardcode_automatic_CXX
19368
19369 # Set to yes if linker adds runtime paths of dependent libraries
19370 # to runtime path list.
19371 inherit_rpath=$inherit_rpath_CXX
19372
19373 # Whether libtool must link a program against all its dependency libraries.
19374 link_all_deplibs=$link_all_deplibs_CXX
19375
19376 # Set to "yes" if exported symbols are required.
19377 always_export_symbols=$always_export_symbols_CXX
19378
19379 # The commands to list exported symbols.
19380 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19381
19382 # Symbols that should not be listed in the preloaded symbols.
19383 exclude_expsyms=$lt_exclude_expsyms_CXX
19384
19385 # Symbols that must always be exported.
19386 include_expsyms=$lt_include_expsyms_CXX
19387
19388 # Commands necessary for linking programs (against libraries) with templates.
19389 prelink_cmds=$lt_prelink_cmds_CXX
19390
19391 # Commands necessary for finishing linking programs.
19392 postlink_cmds=$lt_postlink_cmds_CXX
19393
19394 # Specify filename containing input files.
19395 file_list_spec=$lt_file_list_spec_CXX
19396
19397 # How to hardcode a shared library path into an executable.
19398 hardcode_action=$hardcode_action_CXX
19399
19400 # The directories searched by this compiler when creating a shared library.
19401 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19402
19403 # Dependencies to place before and after the objects being linked to
19404 # create a shared library.
19405 predep_objects=$lt_predep_objects_CXX
19406 postdep_objects=$lt_postdep_objects_CXX
19407 predeps=$lt_predeps_CXX
19408 postdeps=$lt_postdeps_CXX
19409
19410 # The library search path used internally by the compiler when linking
19411 # a shared library.
19412 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19413
19414 # ### END LIBTOOL TAG CONFIG: CXX
19415 _LT_EOF
19416
19417  ;;
19418     "MSVC_Net2005/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2005/libxml++/libxml++config.h ;;
19419     "MSVC_Net2008/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2008/libxml++/libxml++config.h ;;
19420     "MSVC_Net2010/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2010/libxml++/libxml++config.h ;;
19421
19422   esac
19423 done # for ac_tag
19424
19425
19426 as_fn_exit 0
19427 _ACEOF
19428 ac_clean_files=$ac_clean_files_save
19429
19430 test $ac_write_fail = 0 ||
19431   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19432
19433
19434 # configure is writing to config.log, and then calls config.status.
19435 # config.status does its own redirection, appending to config.log.
19436 # Unfortunately, on DOS this fails, as config.log is still kept open
19437 # by configure, so config.status won't be able to write to it; its
19438 # output is simply discarded.  So we exec the FD to /dev/null,
19439 # effectively closing config.log, so it can be properly (re)opened and
19440 # appended to by config.status.  When coming back to configure, we
19441 # need to make the FD available again.
19442 if test "$no_create" != yes; then
19443   ac_cs_success=:
19444   ac_config_status_args=
19445   test "$silent" = yes &&
19446     ac_config_status_args="$ac_config_status_args --quiet"
19447   exec 5>/dev/null
19448   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19449   exec 5>>config.log
19450   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19451   # would make configure fail if this is the last instruction.
19452   $ac_cs_success || as_fn_exit 1
19453 fi
19454 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19455   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19456 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19457 fi
19458