Bump version
[libdcp.git] / asdcplib / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for asdcplib 1.9.45.
4 #
5 # Report bugs to <asdcplib@cinecert.com>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 as_myself=
95 case $0 in #((
96   *[\\/]* ) as_myself=$0 ;;
97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100   IFS=$as_save_IFS
101   test -z "$as_dir" && as_dir=.
102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103   done
104 IFS=$as_save_IFS
105
106      ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111   as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115   exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there.  '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141   emulate sh
142   NULLCMD=:
143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144   # is contrary to our usage.  Disable this feature.
145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
146   setopt NO_GLOB_SUBST
147 else
148   case \`(set -o) 2>/dev/null\` in #(
149   *posix*) :
150     set -o posix ;; #(
151   *) :
152      ;;
153 esac
154 fi
155 "
156   as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170   exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182     PATH=/empty FPATH=/empty; export PATH FPATH
183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186   if (eval "$as_required") 2>/dev/null; then :
187   as_have_required=yes
188 else
189   as_have_required=no
190 fi
191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193 else
194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198   IFS=$as_save_IFS
199   test -z "$as_dir" && as_dir=.
200   as_found=:
201   case $as_dir in #(
202          /*)
203            for as_base in sh bash ksh sh5; do
204              # Try only shells that exist, to save several forks.
205              as_shell=$as_dir/$as_base
206              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   CONFIG_SHELL=$as_shell as_have_required=yes
209                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210   break 2
211 fi
212 fi
213            done;;
214        esac
215   as_found=false
216 done
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219   CONFIG_SHELL=$SHELL as_have_required=yes
220 fi; }
221 IFS=$as_save_IFS
222
223
224       if test "x$CONFIG_SHELL" != x; then :
225   # We cannot yet assume a decent shell, so we have to provide a
226         # neutralization value for shells without unset; and this also
227         # works around shells that cannot unset nonexistent variables.
228         # Preserve -v and -x to the replacement shell.
229         BASH_ENV=/dev/null
230         ENV=/dev/null
231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232         export CONFIG_SHELL
233         case $- in # ((((
234           *v*x* | *x*v* ) as_opts=-vx ;;
235           *v* ) as_opts=-v ;;
236           *x* ) as_opts=-x ;;
237           * ) as_opts= ;;
238         esac
239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 fi
241
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: asdcplib@cinecert.com about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
254   fi
255   exit 1
256 fi
257 fi
258 fi
259 SHELL=${CONFIG_SHELL-/bin/sh}
260 export SHELL
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
264
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 # as_fn_unset VAR
269 # ---------------
270 # Portably unset VAR.
271 as_fn_unset ()
272 {
273   { eval $1=; unset $1;}
274 }
275 as_unset=as_fn_unset
276
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
280 as_fn_set_status ()
281 {
282   return $1
283 } # as_fn_set_status
284
285 # as_fn_exit STATUS
286 # -----------------
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288 as_fn_exit ()
289 {
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } # as_fn_exit
294
295 # as_fn_mkdir_p
296 # -------------
297 # Create "$as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
299 {
300
301   case $as_dir in #(
302   -*) as_dir=./$as_dir;;
303   esac
304   test -d "$as_dir" || eval $as_mkdir_p || {
305     as_dirs=
306     while :; do
307       case $as_dir in #(
308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309       *) as_qdir=$as_dir;;
310       esac
311       as_dirs="'$as_qdir' $as_dirs"
312       as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314          X"$as_dir" : 'X\(//\)[^/]' \| \
315          X"$as_dir" : 'X\(//\)$' \| \
316          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319             s//\1/
320             q
321           }
322           /^X\(\/\/\)[^/].*/{
323             s//\1/
324             q
325           }
326           /^X\(\/\/\)$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\).*/{
331             s//\1/
332             q
333           }
334           s/.*/./; q'`
335       test -d "$as_dir" && break
336     done
337     test -z "$as_dirs" || eval "mkdir $as_dirs"
338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341 } # as_fn_mkdir_p
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
347 # implementations.
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349   eval 'as_fn_append ()
350   {
351     eval $1+=\$2
352   }'
353 else
354   as_fn_append ()
355   {
356     eval $1=\$$1\$2
357   }
358 fi # as_fn_append
359
360 # as_fn_arith ARG...
361 # ------------------
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366   eval 'as_fn_arith ()
367   {
368     as_val=$(( $* ))
369   }'
370 else
371   as_fn_arith ()
372   {
373     as_val=`expr "$@" || test $? -eq 1`
374   }
375 fi # as_fn_arith
376
377
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
383 as_fn_error ()
384 {
385   as_status=$1; test $as_status -eq 0 && as_status=1
386   if test "$4"; then
387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389   fi
390   $as_echo "$as_me: error: $2" >&2
391   as_fn_exit $as_status
392 } # as_fn_error
393
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
396   as_expr=expr
397 else
398   as_expr=false
399 fi
400
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
405 fi
406
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408   as_dirname=dirname
409 else
410   as_dirname=false
411 fi
412
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415          X"$0" : 'X\(//\)$' \| \
416          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417 $as_echo X/"$0" |
418     sed '/^.*\/\([^/][^/]*\)\/*$/{
419             s//\1/
420             q
421           }
422           /^X\/\(\/\/\)$/{
423             s//\1/
424             q
425           }
426           /^X\/\(\/\).*/{
427             s//\1/
428             q
429           }
430           s/.*/./; q'`
431
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445   sed -n '
446     p
447     /[$]LINENO/=
448   ' <$as_myself |
449     sed '
450       s/[$]LINENO.*/&-/
451       t lineno
452       b
453       :lineno
454       N
455       :loop
456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457       t loop
458       s/-\n.*//
459     ' >$as_me.lineno &&
460   chmod +x "$as_me.lineno" ||
461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463   # Don't try to exec as it changes $[0], causing all sort of problems
464   # (the dirname of $[0] is not the place where we might find the
465   # original and so on.  Autoconf is especially sensitive to this).
466   . "./$as_me.lineno"
467   # Exit status is that of the last command.
468   exit
469 }
470
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
473 -n*)
474   case `echo 'xy\c'` in
475   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
476   xy)  ECHO_C='\c';;
477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478        ECHO_T=' ';;
479   esac;;
480 *)
481   ECHO_N='-n';;
482 esac
483
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486   rm -f conf$$.dir/conf$$.file
487 else
488   rm -f conf$$.dir
489   mkdir conf$$.dir 2>/dev/null
490 fi
491 if (echo >conf$$.file) 2>/dev/null; then
492   if ln -s conf$$.file conf$$ 2>/dev/null; then
493     as_ln_s='ln -s'
494     # ... but there are two gotchas:
495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497     # In both cases, we have to default to `cp -p'.
498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499       as_ln_s='cp -p'
500   elif ln conf$$.file conf$$ 2>/dev/null; then
501     as_ln_s=ln
502   else
503     as_ln_s='cp -p'
504   fi
505 else
506   as_ln_s='cp -p'
507 fi
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
510
511 if mkdir -p . 2>/dev/null; then
512   as_mkdir_p='mkdir -p "$as_dir"'
513 else
514   test -d ./-p && rmdir ./-p
515   as_mkdir_p=false
516 fi
517
518 if test -x / >/dev/null 2>&1; then
519   as_test_x='test -x'
520 else
521   if ls -dL / >/dev/null 2>&1; then
522     as_ls_L_option=L
523   else
524     as_ls_L_option=
525   fi
526   as_test_x='
527     eval sh -c '\''
528       if test -d "$1"; then
529         test -d "$1/.";
530       else
531         case $1 in #(
532         -*)set "./$1";;
533         esac;
534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535         ???[sx]*):;;*)false;;esac;fi
536     '\'' sh
537   '
538 fi
539 as_executable_p=$as_test_x
540
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547 SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
552
553 # Name of the host.
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558 #
559 # Initializations.
560 #
561 ac_default_prefix=/usr/local
562 ac_clean_files=
563 ac_config_libobj_dir=.
564 LIBOBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='asdcplib'
572 PACKAGE_TARNAME='asdcplib'
573 PACKAGE_VERSION='1.9.45'
574 PACKAGE_STRING='asdcplib 1.9.45'
575 PACKAGE_BUGREPORT='asdcplib@cinecert.com'
576 PACKAGE_URL=''
577
578 ac_unique_file="src/KM_error.h"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
581 #include <stdio.h>
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
584 #endif
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
587 #endif
588 #ifdef STDC_HEADERS
589 # include <stdlib.h>
590 # include <stddef.h>
591 #else
592 # ifdef HAVE_STDLIB_H
593 #  include <stdlib.h>
594 # endif
595 #endif
596 #ifdef HAVE_STRING_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
598 #  include <memory.h>
599 # endif
600 # include <string.h>
601 #endif
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
604 #endif
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
607 #endif
608 #ifdef HAVE_STDINT_H
609 # include <stdint.h>
610 #endif
611 #ifdef HAVE_UNISTD_H
612 # include <unistd.h>
613 #endif"
614
615 ac_subst_vars='am__EXEEXT_FALSE
616 am__EXEEXT_TRUE
617 LTLIBOBJS
618 LIBOBJS
619 ENABLE_RANDOM_UUID_FALSE
620 ENABLE_RANDOM_UUID_TRUE
621 DEV_HEADERS_FALSE
622 DEV_HEADERS_TRUE
623 FREEDIST_FALSE
624 FREEDIST_TRUE
625 HAVE_PYTHON_FALSE
626 HAVE_PYTHON_TRUE
627 PYTHON_EXECDIR
628 PYTHON_EXECPREFIX
629 PYTHON_PREFIX
630 PYTHON_LDFLAGS
631 PYTHON_LSPEC
632 PYTHON_SHORTVERSION
633 PYTHON_CPPFLAGS
634 PYTHON_CSPEC
635 PYTHON
636 PYTHON_USE_FALSE
637 PYTHON_USE_TRUE
638 XERCES_VERSION
639 XERCES_LIBS
640 XERCES_LDFLAGS
641 XERCES_CPPFLAGS
642 EXPAT_VERSION
643 EXPAT_LDFLAGS
644 EXPAT_CFLAGS
645 OPENSSL_VERSION
646 OPENSSL_LIBS
647 OPENSSL_LDFLAGS
648 OPENSSL_CPPFLAGS
649 CXXCPP
650 CPP
651 OTOOL64
652 OTOOL
653 LIPO
654 NMEDIT
655 DSYMUTIL
656 MANIFEST_TOOL
657 RANLIB
658 ac_ct_AR
659 AR
660 DLLTOOL
661 OBJDUMP
662 LN_S
663 NM
664 ac_ct_DUMPBIN
665 DUMPBIN
666 LD
667 FGREP
668 EGREP
669 GREP
670 SED
671 LIBTOOL
672 am__fastdepCXX_FALSE
673 am__fastdepCXX_TRUE
674 CXXDEPMODE
675 ac_ct_CXX
676 CXXFLAGS
677 CXX
678 am__fastdepCC_FALSE
679 am__fastdepCC_TRUE
680 CCDEPMODE
681 am__nodep
682 AMDEPBACKSLASH
683 AMDEP_FALSE
684 AMDEP_TRUE
685 am__quote
686 am__include
687 DEPDIR
688 OBJEXT
689 EXEEXT
690 ac_ct_CC
691 CPPFLAGS
692 LDFLAGS
693 CFLAGS
694 CC
695 OPENBSD_HOST_FALSE
696 OPENBSD_HOST_TRUE
697 host_os
698 host_vendor
699 host_cpu
700 host
701 build_os
702 build_vendor
703 build_cpu
704 build
705 am__untar
706 am__tar
707 AMTAR
708 am__leading_dot
709 SET_MAKE
710 AWK
711 mkdir_p
712 MKDIR_P
713 INSTALL_STRIP_PROGRAM
714 STRIP
715 install_sh
716 MAKEINFO
717 AUTOHEADER
718 AUTOMAKE
719 AUTOCONF
720 ACLOCAL
721 VERSION
722 PACKAGE
723 CYGPATH_W
724 am__isrc
725 INSTALL_DATA
726 INSTALL_SCRIPT
727 INSTALL_PROGRAM
728 target_alias
729 host_alias
730 build_alias
731 LIBS
732 ECHO_T
733 ECHO_N
734 ECHO_C
735 DEFS
736 mandir
737 localedir
738 libdir
739 psdir
740 pdfdir
741 dvidir
742 htmldir
743 infodir
744 docdir
745 oldincludedir
746 includedir
747 localstatedir
748 sharedstatedir
749 sysconfdir
750 datadir
751 datarootdir
752 libexecdir
753 sbindir
754 bindir
755 program_transform_name
756 prefix
757 exec_prefix
758 PACKAGE_URL
759 PACKAGE_BUGREPORT
760 PACKAGE_STRING
761 PACKAGE_VERSION
762 PACKAGE_TARNAME
763 PACKAGE_NAME
764 PATH_SEPARATOR
765 SHELL'
766 ac_subst_files=''
767 ac_user_opts='
768 enable_option_checking
769 enable_dependency_tracking
770 enable_shared
771 enable_static
772 with_pic
773 enable_fast_install
774 with_gnu_ld
775 with_sysroot
776 enable_libtool_lock
777 enable_largefile
778 with_openssl
779 with_expat
780 with_expat_inc
781 with_expat_lib
782 with_xerces
783 with_xerces_inc
784 with_xerces_lib
785 with_python
786 enable_freedist
787 enable_dev_headers
788 enable_random_case_UUID
789 '
790       ac_precious_vars='build_alias
791 host_alias
792 target_alias
793 CC
794 CFLAGS
795 LDFLAGS
796 LIBS
797 CPPFLAGS
798 CXX
799 CXXFLAGS
800 CCC
801 CPP
802 CXXCPP
803 PYTHON'
804
805
806 # Initialize some variables set by options.
807 ac_init_help=
808 ac_init_version=false
809 ac_unrecognized_opts=
810 ac_unrecognized_sep=
811 # The variables have the same names as the options, with
812 # dashes changed to underlines.
813 cache_file=/dev/null
814 exec_prefix=NONE
815 no_create=
816 no_recursion=
817 prefix=NONE
818 program_prefix=NONE
819 program_suffix=NONE
820 program_transform_name=s,x,x,
821 silent=
822 site=
823 srcdir=
824 verbose=
825 x_includes=NONE
826 x_libraries=NONE
827
828 # Installation directory options.
829 # These are left unexpanded so users can "make install exec_prefix=/foo"
830 # and all the variables that are supposed to be based on exec_prefix
831 # by default will actually change.
832 # Use braces instead of parens because sh, perl, etc. also accept them.
833 # (The list follows the same order as the GNU Coding Standards.)
834 bindir='${exec_prefix}/bin'
835 sbindir='${exec_prefix}/sbin'
836 libexecdir='${exec_prefix}/libexec'
837 datarootdir='${prefix}/share'
838 datadir='${datarootdir}'
839 sysconfdir='${prefix}/etc'
840 sharedstatedir='${prefix}/com'
841 localstatedir='${prefix}/var'
842 includedir='${prefix}/include'
843 oldincludedir='/usr/include'
844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
845 infodir='${datarootdir}/info'
846 htmldir='${docdir}'
847 dvidir='${docdir}'
848 pdfdir='${docdir}'
849 psdir='${docdir}'
850 libdir='${exec_prefix}/lib'
851 localedir='${datarootdir}/locale'
852 mandir='${datarootdir}/man'
853
854 ac_prev=
855 ac_dashdash=
856 for ac_option
857 do
858   # If the previous option needs an argument, assign it.
859   if test -n "$ac_prev"; then
860     eval $ac_prev=\$ac_option
861     ac_prev=
862     continue
863   fi
864
865   case $ac_option in
866   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
867   *=)   ac_optarg= ;;
868   *)    ac_optarg=yes ;;
869   esac
870
871   # Accept the important Cygnus configure options, so we can diagnose typos.
872
873   case $ac_dashdash$ac_option in
874   --)
875     ac_dashdash=yes ;;
876
877   -bindir | --bindir | --bindi | --bind | --bin | --bi)
878     ac_prev=bindir ;;
879   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
880     bindir=$ac_optarg ;;
881
882   -build | --build | --buil | --bui | --bu)
883     ac_prev=build_alias ;;
884   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
885     build_alias=$ac_optarg ;;
886
887   -cache-file | --cache-file | --cache-fil | --cache-fi \
888   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
889     ac_prev=cache_file ;;
890   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
891   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
892     cache_file=$ac_optarg ;;
893
894   --config-cache | -C)
895     cache_file=config.cache ;;
896
897   -datadir | --datadir | --datadi | --datad)
898     ac_prev=datadir ;;
899   -datadir=* | --datadir=* | --datadi=* | --datad=*)
900     datadir=$ac_optarg ;;
901
902   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
903   | --dataroo | --dataro | --datar)
904     ac_prev=datarootdir ;;
905   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
906   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
907     datarootdir=$ac_optarg ;;
908
909   -disable-* | --disable-*)
910     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911     # Reject names that are not valid shell variable names.
912     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913       as_fn_error $? "invalid feature name: $ac_useropt"
914     ac_useropt_orig=$ac_useropt
915     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916     case $ac_user_opts in
917       *"
918 "enable_$ac_useropt"
919 "*) ;;
920       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921          ac_unrecognized_sep=', ';;
922     esac
923     eval enable_$ac_useropt=no ;;
924
925   -docdir | --docdir | --docdi | --doc | --do)
926     ac_prev=docdir ;;
927   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
928     docdir=$ac_optarg ;;
929
930   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
931     ac_prev=dvidir ;;
932   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
933     dvidir=$ac_optarg ;;
934
935   -enable-* | --enable-*)
936     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937     # Reject names that are not valid shell variable names.
938     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939       as_fn_error $? "invalid feature name: $ac_useropt"
940     ac_useropt_orig=$ac_useropt
941     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942     case $ac_user_opts in
943       *"
944 "enable_$ac_useropt"
945 "*) ;;
946       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947          ac_unrecognized_sep=', ';;
948     esac
949     eval enable_$ac_useropt=\$ac_optarg ;;
950
951   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
952   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
953   | --exec | --exe | --ex)
954     ac_prev=exec_prefix ;;
955   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
956   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
957   | --exec=* | --exe=* | --ex=*)
958     exec_prefix=$ac_optarg ;;
959
960   -gas | --gas | --ga | --g)
961     # Obsolete; use --with-gas.
962     with_gas=yes ;;
963
964   -help | --help | --hel | --he | -h)
965     ac_init_help=long ;;
966   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
967     ac_init_help=recursive ;;
968   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
969     ac_init_help=short ;;
970
971   -host | --host | --hos | --ho)
972     ac_prev=host_alias ;;
973   -host=* | --host=* | --hos=* | --ho=*)
974     host_alias=$ac_optarg ;;
975
976   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
977     ac_prev=htmldir ;;
978   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
979   | --ht=*)
980     htmldir=$ac_optarg ;;
981
982   -includedir | --includedir | --includedi | --included | --include \
983   | --includ | --inclu | --incl | --inc)
984     ac_prev=includedir ;;
985   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
986   | --includ=* | --inclu=* | --incl=* | --inc=*)
987     includedir=$ac_optarg ;;
988
989   -infodir | --infodir | --infodi | --infod | --info | --inf)
990     ac_prev=infodir ;;
991   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
992     infodir=$ac_optarg ;;
993
994   -libdir | --libdir | --libdi | --libd)
995     ac_prev=libdir ;;
996   -libdir=* | --libdir=* | --libdi=* | --libd=*)
997     libdir=$ac_optarg ;;
998
999   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1000   | --libexe | --libex | --libe)
1001     ac_prev=libexecdir ;;
1002   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1003   | --libexe=* | --libex=* | --libe=*)
1004     libexecdir=$ac_optarg ;;
1005
1006   -localedir | --localedir | --localedi | --localed | --locale)
1007     ac_prev=localedir ;;
1008   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1009     localedir=$ac_optarg ;;
1010
1011   -localstatedir | --localstatedir | --localstatedi | --localstated \
1012   | --localstate | --localstat | --localsta | --localst | --locals)
1013     ac_prev=localstatedir ;;
1014   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1015   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1016     localstatedir=$ac_optarg ;;
1017
1018   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1019     ac_prev=mandir ;;
1020   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1021     mandir=$ac_optarg ;;
1022
1023   -nfp | --nfp | --nf)
1024     # Obsolete; use --without-fp.
1025     with_fp=no ;;
1026
1027   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1028   | --no-cr | --no-c | -n)
1029     no_create=yes ;;
1030
1031   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1032   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1033     no_recursion=yes ;;
1034
1035   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1036   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1037   | --oldin | --oldi | --old | --ol | --o)
1038     ac_prev=oldincludedir ;;
1039   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1040   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1041   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1042     oldincludedir=$ac_optarg ;;
1043
1044   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1045     ac_prev=prefix ;;
1046   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1047     prefix=$ac_optarg ;;
1048
1049   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1050   | --program-pre | --program-pr | --program-p)
1051     ac_prev=program_prefix ;;
1052   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1053   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1054     program_prefix=$ac_optarg ;;
1055
1056   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1057   | --program-suf | --program-su | --program-s)
1058     ac_prev=program_suffix ;;
1059   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1060   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1061     program_suffix=$ac_optarg ;;
1062
1063   -program-transform-name | --program-transform-name \
1064   | --program-transform-nam | --program-transform-na \
1065   | --program-transform-n | --program-transform- \
1066   | --program-transform | --program-transfor \
1067   | --program-transfo | --program-transf \
1068   | --program-trans | --program-tran \
1069   | --progr-tra | --program-tr | --program-t)
1070     ac_prev=program_transform_name ;;
1071   -program-transform-name=* | --program-transform-name=* \
1072   | --program-transform-nam=* | --program-transform-na=* \
1073   | --program-transform-n=* | --program-transform-=* \
1074   | --program-transform=* | --program-transfor=* \
1075   | --program-transfo=* | --program-transf=* \
1076   | --program-trans=* | --program-tran=* \
1077   | --progr-tra=* | --program-tr=* | --program-t=*)
1078     program_transform_name=$ac_optarg ;;
1079
1080   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1081     ac_prev=pdfdir ;;
1082   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1083     pdfdir=$ac_optarg ;;
1084
1085   -psdir | --psdir | --psdi | --psd | --ps)
1086     ac_prev=psdir ;;
1087   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1088     psdir=$ac_optarg ;;
1089
1090   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091   | -silent | --silent | --silen | --sile | --sil)
1092     silent=yes ;;
1093
1094   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1095     ac_prev=sbindir ;;
1096   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1097   | --sbi=* | --sb=*)
1098     sbindir=$ac_optarg ;;
1099
1100   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1101   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1102   | --sharedst | --shareds | --shared | --share | --shar \
1103   | --sha | --sh)
1104     ac_prev=sharedstatedir ;;
1105   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1106   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1107   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1108   | --sha=* | --sh=*)
1109     sharedstatedir=$ac_optarg ;;
1110
1111   -site | --site | --sit)
1112     ac_prev=site ;;
1113   -site=* | --site=* | --sit=*)
1114     site=$ac_optarg ;;
1115
1116   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1117     ac_prev=srcdir ;;
1118   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1119     srcdir=$ac_optarg ;;
1120
1121   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1122   | --syscon | --sysco | --sysc | --sys | --sy)
1123     ac_prev=sysconfdir ;;
1124   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1125   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1126     sysconfdir=$ac_optarg ;;
1127
1128   -target | --target | --targe | --targ | --tar | --ta | --t)
1129     ac_prev=target_alias ;;
1130   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1131     target_alias=$ac_optarg ;;
1132
1133   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1134     verbose=yes ;;
1135
1136   -version | --version | --versio | --versi | --vers | -V)
1137     ac_init_version=: ;;
1138
1139   -with-* | --with-*)
1140     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141     # Reject names that are not valid shell variable names.
1142     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143       as_fn_error $? "invalid package name: $ac_useropt"
1144     ac_useropt_orig=$ac_useropt
1145     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146     case $ac_user_opts in
1147       *"
1148 "with_$ac_useropt"
1149 "*) ;;
1150       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151          ac_unrecognized_sep=', ';;
1152     esac
1153     eval with_$ac_useropt=\$ac_optarg ;;
1154
1155   -without-* | --without-*)
1156     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157     # Reject names that are not valid shell variable names.
1158     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159       as_fn_error $? "invalid package name: $ac_useropt"
1160     ac_useropt_orig=$ac_useropt
1161     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162     case $ac_user_opts in
1163       *"
1164 "with_$ac_useropt"
1165 "*) ;;
1166       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167          ac_unrecognized_sep=', ';;
1168     esac
1169     eval with_$ac_useropt=no ;;
1170
1171   --x)
1172     # Obsolete; use --with-x.
1173     with_x=yes ;;
1174
1175   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1176   | --x-incl | --x-inc | --x-in | --x-i)
1177     ac_prev=x_includes ;;
1178   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1179   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1180     x_includes=$ac_optarg ;;
1181
1182   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1183   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1184     ac_prev=x_libraries ;;
1185   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1186   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1187     x_libraries=$ac_optarg ;;
1188
1189   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information"
1191     ;;
1192
1193   *=*)
1194     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1195     # Reject names that are not valid shell variable names.
1196     case $ac_envvar in #(
1197       '' | [0-9]* | *[!_$as_cr_alnum]* )
1198       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1199     esac
1200     eval $ac_envvar=\$ac_optarg
1201     export $ac_envvar ;;
1202
1203   *)
1204     # FIXME: should be removed in autoconf 3.0.
1205     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1207       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1209     ;;
1210
1211   esac
1212 done
1213
1214 if test -n "$ac_prev"; then
1215   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1216   as_fn_error $? "missing argument to $ac_option"
1217 fi
1218
1219 if test -n "$ac_unrecognized_opts"; then
1220   case $enable_option_checking in
1221     no) ;;
1222     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1223     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1224   esac
1225 fi
1226
1227 # Check all directory arguments for consistency.
1228 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229                 datadir sysconfdir sharedstatedir localstatedir includedir \
1230                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231                 libdir localedir mandir
1232 do
1233   eval ac_val=\$$ac_var
1234   # Remove trailing slashes.
1235   case $ac_val in
1236     */ )
1237       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238       eval $ac_var=\$ac_val;;
1239   esac
1240   # Be sure to have absolute directory names.
1241   case $ac_val in
1242     [\\/$]* | ?:[\\/]* )  continue;;
1243     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1244   esac
1245   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1246 done
1247
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1251 build=$build_alias
1252 host=$host_alias
1253 target=$target_alias
1254
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x; then
1257   if test "x$build_alias" = x; then
1258     cross_compiling=maybe
1259     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1260     If a cross compiler is detected then cross compile mode will be used" >&2
1261   elif test "x$build_alias" != "x$host_alias"; then
1262     cross_compiling=yes
1263   fi
1264 fi
1265
1266 ac_tool_prefix=
1267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1268
1269 test "$silent" = yes && exec 6>/dev/null
1270
1271
1272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1273 ac_ls_di=`ls -di .` &&
1274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1275   as_fn_error $? "working directory cannot be determined"
1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1277   as_fn_error $? "pwd does not report name of working directory"
1278
1279
1280 # Find the source files, if location was not specified.
1281 if test -z "$srcdir"; then
1282   ac_srcdir_defaulted=yes
1283   # Try the directory containing this script, then the parent directory.
1284   ac_confdir=`$as_dirname -- "$as_myself" ||
1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1286          X"$as_myself" : 'X\(//\)[^/]' \| \
1287          X"$as_myself" : 'X\(//\)$' \| \
1288          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1289 $as_echo X"$as_myself" |
1290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291             s//\1/
1292             q
1293           }
1294           /^X\(\/\/\)[^/].*/{
1295             s//\1/
1296             q
1297           }
1298           /^X\(\/\/\)$/{
1299             s//\1/
1300             q
1301           }
1302           /^X\(\/\).*/{
1303             s//\1/
1304             q
1305           }
1306           s/.*/./; q'`
1307   srcdir=$ac_confdir
1308   if test ! -r "$srcdir/$ac_unique_file"; then
1309     srcdir=..
1310   fi
1311 else
1312   ac_srcdir_defaulted=no
1313 fi
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1316   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1317 fi
1318 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1319 ac_abs_confdir=`(
1320         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1321         pwd)`
1322 # When building in place, set srcdir=.
1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324   srcdir=.
1325 fi
1326 # Remove unnecessary trailing slashes from srcdir.
1327 # Double slashes in file names in object file debugging info
1328 # mess up M-x gdb in Emacs.
1329 case $srcdir in
1330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1331 esac
1332 for ac_var in $ac_precious_vars; do
1333   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1334   eval ac_env_${ac_var}_value=\$${ac_var}
1335   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1336   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1337 done
1338
1339 #
1340 # Report the --help message.
1341 #
1342 if test "$ac_init_help" = "long"; then
1343   # Omit some internal or obsolete options to make the list less imposing.
1344   # This message is too long to be a string in the A/UX 3.1 sh.
1345   cat <<_ACEOF
1346 \`configure' configures asdcplib 1.9.45 to adapt to many kinds of systems.
1347
1348 Usage: $0 [OPTION]... [VAR=VALUE]...
1349
1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1351 VAR=VALUE.  See below for descriptions of some of the useful variables.
1352
1353 Defaults for the options are specified in brackets.
1354
1355 Configuration:
1356   -h, --help              display this help and exit
1357       --help=short        display options specific to this package
1358       --help=recursive    display the short help of all the included packages
1359   -V, --version           display version information and exit
1360   -q, --quiet, --silent   do not print \`checking ...' messages
1361       --cache-file=FILE   cache test results in FILE [disabled]
1362   -C, --config-cache      alias for \`--cache-file=config.cache'
1363   -n, --no-create         do not create output files
1364       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1365
1366 Installation directories:
1367   --prefix=PREFIX         install architecture-independent files in PREFIX
1368                           [$ac_default_prefix]
1369   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1370                           [PREFIX]
1371
1372 By default, \`make install' will install all the files in
1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1375 for instance \`--prefix=\$HOME'.
1376
1377 For better control, use the options below.
1378
1379 Fine tuning of the installation directories:
1380   --bindir=DIR            user executables [EPREFIX/bin]
1381   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1382   --libexecdir=DIR        program executables [EPREFIX/libexec]
1383   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1384   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1385   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1386   --libdir=DIR            object code libraries [EPREFIX/lib]
1387   --includedir=DIR        C header files [PREFIX/include]
1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/asdcplib]
1395   --htmldir=DIR           html documentation [DOCDIR]
1396   --dvidir=DIR            dvi documentation [DOCDIR]
1397   --pdfdir=DIR            pdf documentation [DOCDIR]
1398   --psdir=DIR             ps documentation [DOCDIR]
1399 _ACEOF
1400
1401   cat <<\_ACEOF
1402
1403 Program names:
1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1407
1408 System types:
1409   --build=BUILD     configure for building on BUILD [guessed]
1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1411 _ACEOF
1412 fi
1413
1414 if test -n "$ac_init_help"; then
1415   case $ac_init_help in
1416      short | recursive ) echo "Configuration of asdcplib 1.9.45:";;
1417    esac
1418   cat <<\_ACEOF
1419
1420 Optional Features:
1421   --disable-option-checking  ignore unrecognized --enable/--with options
1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1424   --disable-dependency-tracking  speeds up one-time build
1425   --enable-dependency-tracking   do not reject slow dependency extractors
1426   --enable-shared[=PKGS]  build shared libraries [default=yes]
1427   --enable-static[=PKGS]  build static libraries [default=yes]
1428   --enable-fast-install[=PKGS]
1429                           optimize for fast installation [default=yes]
1430   --disable-libtool-lock  avoid locking (might break parallel builds)
1431   --disable-largefile     omit support for large files
1432   --enable-freedist    ensure source distribution is of BSD-licensed code
1433   --enable-dev-headers    install development headers
1434   --enable-random-case-UUID    allow randomly cased UUID headers when the environment variable KM_USE_RANDOM_UUID is set
1435
1436 Optional Packages:
1437   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1438   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1439   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1440                           both]
1441   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1442   --with-sysroot=DIR Search for dependent libraries within DIR
1443                         (or the compiler's sysroot if not specified).
1444   --with-openssl=[ARG]    use OpenSSL from given prefix (ARG=path); check
1445                           standard prefixes (ARG=yes); disable (ARG=no)
1446   --with-expat=[ARG]      use Expat XML Parser from given prefix (ARG=path);
1447                           check standard prefixes (ARG=yes); disable (ARG=no)
1448   --with-expat-inc=[DIR]  path to Expat XML Parser headers
1449   --with-expat-lib=[ARG]  link options for Expat XML Parser libraries
1450   --with-xerces=[ARG]     use Xerces C++ Parser from given prefix (ARG=path);
1451                           check standard prefixes (ARG=yes); disable (ARG=no)
1452   --with-xerces-inc=[DIR] path to Xerces C++ Parser headers
1453   --with-xerces-lib=[ARG] link options for Xerces C++ Parser libraries
1454   --with-python[=PYTHON]  absolute path name of Python executable
1455
1456 Some influential environment variables:
1457   CC          C compiler command
1458   CFLAGS      C compiler flags
1459   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1460               nonstandard directory <lib dir>
1461   LIBS        libraries to pass to the linker, e.g. -l<library>
1462   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1463               you have headers in a nonstandard directory <include dir>
1464   CXX         C++ compiler command
1465   CXXFLAGS    C++ compiler flags
1466   CPP         C preprocessor
1467   CXXCPP      C++ preprocessor
1468   PYTHON      Python Executable Path
1469
1470 Use these variables to override the choices made by `configure' or to help
1471 it to find libraries and programs with nonstandard names/locations.
1472
1473 Report bugs to <asdcplib@cinecert.com>.
1474 _ACEOF
1475 ac_status=$?
1476 fi
1477
1478 if test "$ac_init_help" = "recursive"; then
1479   # If there are subdirs, report their specific --help.
1480   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1481     test -d "$ac_dir" ||
1482       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1483       continue
1484     ac_builddir=.
1485
1486 case "$ac_dir" in
1487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *)
1489   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1490   # A ".." for each directory in $ac_dir_suffix.
1491   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1492   case $ac_top_builddir_sub in
1493   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1494   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1495   esac ;;
1496 esac
1497 ac_abs_top_builddir=$ac_pwd
1498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1499 # for backward compatibility:
1500 ac_top_builddir=$ac_top_build_prefix
1501
1502 case $srcdir in
1503   .)  # We are building in place.
1504     ac_srcdir=.
1505     ac_top_srcdir=$ac_top_builddir_sub
1506     ac_abs_top_srcdir=$ac_pwd ;;
1507   [\\/]* | ?:[\\/]* )  # Absolute name.
1508     ac_srcdir=$srcdir$ac_dir_suffix;
1509     ac_top_srcdir=$srcdir
1510     ac_abs_top_srcdir=$srcdir ;;
1511   *) # Relative name.
1512     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1513     ac_top_srcdir=$ac_top_build_prefix$srcdir
1514     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1515 esac
1516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1517
1518     cd "$ac_dir" || { ac_status=$?; continue; }
1519     # Check for guested configure.
1520     if test -f "$ac_srcdir/configure.gnu"; then
1521       echo &&
1522       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1523     elif test -f "$ac_srcdir/configure"; then
1524       echo &&
1525       $SHELL "$ac_srcdir/configure" --help=recursive
1526     else
1527       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1528     fi || ac_status=$?
1529     cd "$ac_pwd" || { ac_status=$?; break; }
1530   done
1531 fi
1532
1533 test -n "$ac_init_help" && exit $ac_status
1534 if $ac_init_version; then
1535   cat <<\_ACEOF
1536 asdcplib configure 1.9.45
1537 generated by GNU Autoconf 2.68
1538
1539 Copyright (C) 2010 Free Software Foundation, Inc.
1540 This configure script is free software; the Free Software Foundation
1541 gives unlimited permission to copy, distribute and modify it.
1542 _ACEOF
1543   exit
1544 fi
1545
1546 ## ------------------------ ##
1547 ## Autoconf initialization. ##
1548 ## ------------------------ ##
1549
1550 # ac_fn_c_try_compile LINENO
1551 # --------------------------
1552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1553 ac_fn_c_try_compile ()
1554 {
1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556   rm -f conftest.$ac_objext
1557   if { { ac_try="$ac_compile"
1558 case "(($ac_try" in
1559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560   *) ac_try_echo=$ac_try;;
1561 esac
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564   (eval "$ac_compile") 2>conftest.err
1565   ac_status=$?
1566   if test -s conftest.err; then
1567     grep -v '^ *+' conftest.err >conftest.er1
1568     cat conftest.er1 >&5
1569     mv -f conftest.er1 conftest.err
1570   fi
1571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572   test $ac_status = 0; } && {
1573          test -z "$ac_c_werror_flag" ||
1574          test ! -s conftest.err
1575        } && test -s conftest.$ac_objext; then :
1576   ac_retval=0
1577 else
1578   $as_echo "$as_me: failed program was:" >&5
1579 sed 's/^/| /' conftest.$ac_ext >&5
1580
1581         ac_retval=1
1582 fi
1583   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1584   as_fn_set_status $ac_retval
1585
1586 } # ac_fn_c_try_compile
1587
1588 # ac_fn_cxx_try_compile LINENO
1589 # ----------------------------
1590 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1591 ac_fn_cxx_try_compile ()
1592 {
1593   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1594   rm -f conftest.$ac_objext
1595   if { { ac_try="$ac_compile"
1596 case "(($ac_try" in
1597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1598   *) ac_try_echo=$ac_try;;
1599 esac
1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1601 $as_echo "$ac_try_echo"; } >&5
1602   (eval "$ac_compile") 2>conftest.err
1603   ac_status=$?
1604   if test -s conftest.err; then
1605     grep -v '^ *+' conftest.err >conftest.er1
1606     cat conftest.er1 >&5
1607     mv -f conftest.er1 conftest.err
1608   fi
1609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1610   test $ac_status = 0; } && {
1611          test -z "$ac_cxx_werror_flag" ||
1612          test ! -s conftest.err
1613        } && test -s conftest.$ac_objext; then :
1614   ac_retval=0
1615 else
1616   $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.$ac_ext >&5
1618
1619         ac_retval=1
1620 fi
1621   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622   as_fn_set_status $ac_retval
1623
1624 } # ac_fn_cxx_try_compile
1625
1626 # ac_fn_c_try_link LINENO
1627 # -----------------------
1628 # Try to link conftest.$ac_ext, and return whether this succeeded.
1629 ac_fn_c_try_link ()
1630 {
1631   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632   rm -f conftest.$ac_objext conftest$ac_exeext
1633   if { { ac_try="$ac_link"
1634 case "(($ac_try" in
1635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636   *) ac_try_echo=$ac_try;;
1637 esac
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640   (eval "$ac_link") 2>conftest.err
1641   ac_status=$?
1642   if test -s conftest.err; then
1643     grep -v '^ *+' conftest.err >conftest.er1
1644     cat conftest.er1 >&5
1645     mv -f conftest.er1 conftest.err
1646   fi
1647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648   test $ac_status = 0; } && {
1649          test -z "$ac_c_werror_flag" ||
1650          test ! -s conftest.err
1651        } && test -s conftest$ac_exeext && {
1652          test "$cross_compiling" = yes ||
1653          $as_test_x conftest$ac_exeext
1654        }; then :
1655   ac_retval=0
1656 else
1657   $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1659
1660         ac_retval=1
1661 fi
1662   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1663   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1664   # interfere with the next link command; also delete a directory that is
1665   # left behind by Apple's compiler.  We do this before executing the actions.
1666   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668   as_fn_set_status $ac_retval
1669
1670 } # ac_fn_c_try_link
1671
1672 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1673 # -------------------------------------------------------
1674 # Tests whether HEADER exists and can be compiled using the include files in
1675 # INCLUDES, setting the cache variable VAR accordingly.
1676 ac_fn_c_check_header_compile ()
1677 {
1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if eval \${$3+:} false; then :
1682   $as_echo_n "(cached) " >&6
1683 else
1684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1685 /* end confdefs.h.  */
1686 $4
1687 #include <$2>
1688 _ACEOF
1689 if ac_fn_c_try_compile "$LINENO"; then :
1690   eval "$3=yes"
1691 else
1692   eval "$3=no"
1693 fi
1694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1695 fi
1696 eval ac_res=\$$3
1697                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1699   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700
1701 } # ac_fn_c_check_header_compile
1702
1703 # ac_fn_c_try_cpp LINENO
1704 # ----------------------
1705 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_cpp ()
1707 {
1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709   if { { ac_try="$ac_cpp conftest.$ac_ext"
1710 case "(($ac_try" in
1711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712   *) ac_try_echo=$ac_try;;
1713 esac
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1717   ac_status=$?
1718   if test -s conftest.err; then
1719     grep -v '^ *+' conftest.err >conftest.er1
1720     cat conftest.er1 >&5
1721     mv -f conftest.er1 conftest.err
1722   fi
1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724   test $ac_status = 0; } > conftest.i && {
1725          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1726          test ! -s conftest.err
1727        }; then :
1728   ac_retval=0
1729 else
1730   $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1732
1733     ac_retval=1
1734 fi
1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736   as_fn_set_status $ac_retval
1737
1738 } # ac_fn_c_try_cpp
1739
1740 # ac_fn_c_try_run LINENO
1741 # ----------------------
1742 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1743 # that executables *can* be run.
1744 ac_fn_c_try_run ()
1745 {
1746   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747   if { { ac_try="$ac_link"
1748 case "(($ac_try" in
1749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750   *) ac_try_echo=$ac_try;;
1751 esac
1752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754   (eval "$ac_link") 2>&5
1755   ac_status=$?
1756   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1758   { { case "(($ac_try" in
1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760   *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764   (eval "$ac_try") 2>&5
1765   ac_status=$?
1766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767   test $ac_status = 0; }; }; then :
1768   ac_retval=0
1769 else
1770   $as_echo "$as_me: program exited with status $ac_status" >&5
1771        $as_echo "$as_me: failed program was:" >&5
1772 sed 's/^/| /' conftest.$ac_ext >&5
1773
1774        ac_retval=$ac_status
1775 fi
1776   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1777   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778   as_fn_set_status $ac_retval
1779
1780 } # ac_fn_c_try_run
1781
1782 # ac_fn_c_check_func LINENO FUNC VAR
1783 # ----------------------------------
1784 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1785 ac_fn_c_check_func ()
1786 {
1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1789 $as_echo_n "checking for $2... " >&6; }
1790 if eval \${$3+:} false; then :
1791   $as_echo_n "(cached) " >&6
1792 else
1793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794 /* end confdefs.h.  */
1795 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1797 #define $2 innocuous_$2
1798
1799 /* System header to define __stub macros and hopefully few prototypes,
1800     which can conflict with char $2 (); below.
1801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1802     <limits.h> exists even on freestanding compilers.  */
1803
1804 #ifdef __STDC__
1805 # include <limits.h>
1806 #else
1807 # include <assert.h>
1808 #endif
1809
1810 #undef $2
1811
1812 /* Override any GCC internal prototype to avoid an error.
1813    Use char because int might match the return type of a GCC
1814    builtin and then its argument prototype would still apply.  */
1815 #ifdef __cplusplus
1816 extern "C"
1817 #endif
1818 char $2 ();
1819 /* The GNU C library defines this for functions which it implements
1820     to always fail with ENOSYS.  Some functions are actually named
1821     something starting with __ and the normal name is an alias.  */
1822 #if defined __stub_$2 || defined __stub___$2
1823 choke me
1824 #endif
1825
1826 int
1827 main ()
1828 {
1829 return $2 ();
1830   ;
1831   return 0;
1832 }
1833 _ACEOF
1834 if ac_fn_c_try_link "$LINENO"; then :
1835   eval "$3=yes"
1836 else
1837   eval "$3=no"
1838 fi
1839 rm -f core conftest.err conftest.$ac_objext \
1840     conftest$ac_exeext conftest.$ac_ext
1841 fi
1842 eval ac_res=\$$3
1843                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1844 $as_echo "$ac_res" >&6; }
1845   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1846
1847 } # ac_fn_c_check_func
1848
1849 # ac_fn_cxx_try_cpp LINENO
1850 # ------------------------
1851 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1852 ac_fn_cxx_try_cpp ()
1853 {
1854   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1855   if { { ac_try="$ac_cpp conftest.$ac_ext"
1856 case "(($ac_try" in
1857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1858   *) ac_try_echo=$ac_try;;
1859 esac
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1863   ac_status=$?
1864   if test -s conftest.err; then
1865     grep -v '^ *+' conftest.err >conftest.er1
1866     cat conftest.er1 >&5
1867     mv -f conftest.er1 conftest.err
1868   fi
1869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870   test $ac_status = 0; } > conftest.i && {
1871          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1872          test ! -s conftest.err
1873        }; then :
1874   ac_retval=0
1875 else
1876   $as_echo "$as_me: failed program was:" >&5
1877 sed 's/^/| /' conftest.$ac_ext >&5
1878
1879     ac_retval=1
1880 fi
1881   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882   as_fn_set_status $ac_retval
1883
1884 } # ac_fn_cxx_try_cpp
1885
1886 # ac_fn_cxx_try_link LINENO
1887 # -------------------------
1888 # Try to link conftest.$ac_ext, and return whether this succeeded.
1889 ac_fn_cxx_try_link ()
1890 {
1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892   rm -f conftest.$ac_objext conftest$ac_exeext
1893   if { { ac_try="$ac_link"
1894 case "(($ac_try" in
1895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1896   *) ac_try_echo=$ac_try;;
1897 esac
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900   (eval "$ac_link") 2>conftest.err
1901   ac_status=$?
1902   if test -s conftest.err; then
1903     grep -v '^ *+' conftest.err >conftest.er1
1904     cat conftest.er1 >&5
1905     mv -f conftest.er1 conftest.err
1906   fi
1907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908   test $ac_status = 0; } && {
1909          test -z "$ac_cxx_werror_flag" ||
1910          test ! -s conftest.err
1911        } && test -s conftest$ac_exeext && {
1912          test "$cross_compiling" = yes ||
1913          $as_test_x conftest$ac_exeext
1914        }; then :
1915   ac_retval=0
1916 else
1917   $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.$ac_ext >&5
1919
1920         ac_retval=1
1921 fi
1922   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1923   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1924   # interfere with the next link command; also delete a directory that is
1925   # left behind by Apple's compiler.  We do this before executing the actions.
1926   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1927   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928   as_fn_set_status $ac_retval
1929
1930 } # ac_fn_cxx_try_link
1931 cat >config.log <<_ACEOF
1932 This file contains any messages produced by compilers while
1933 running configure, to aid debugging if configure makes a mistake.
1934
1935 It was created by asdcplib $as_me 1.9.45, which was
1936 generated by GNU Autoconf 2.68.  Invocation command line was
1937
1938   $ $0 $@
1939
1940 _ACEOF
1941 exec 5>>config.log
1942 {
1943 cat <<_ASUNAME
1944 ## --------- ##
1945 ## Platform. ##
1946 ## --------- ##
1947
1948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1953
1954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1955 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1956
1957 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1958 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1960 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1961 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1962 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1963 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1964
1965 _ASUNAME
1966
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1968 for as_dir in $PATH
1969 do
1970   IFS=$as_save_IFS
1971   test -z "$as_dir" && as_dir=.
1972     $as_echo "PATH: $as_dir"
1973   done
1974 IFS=$as_save_IFS
1975
1976 } >&5
1977
1978 cat >&5 <<_ACEOF
1979
1980
1981 ## ----------- ##
1982 ## Core tests. ##
1983 ## ----------- ##
1984
1985 _ACEOF
1986
1987
1988 # Keep a trace of the command line.
1989 # Strip out --no-create and --no-recursion so they do not pile up.
1990 # Strip out --silent because we don't want to record it for future runs.
1991 # Also quote any args containing shell meta-characters.
1992 # Make two passes to allow for proper duplicate-argument suppression.
1993 ac_configure_args=
1994 ac_configure_args0=
1995 ac_configure_args1=
1996 ac_must_keep_next=false
1997 for ac_pass in 1 2
1998 do
1999   for ac_arg
2000   do
2001     case $ac_arg in
2002     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2003     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2004     | -silent | --silent | --silen | --sile | --sil)
2005       continue ;;
2006     *\'*)
2007       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2008     esac
2009     case $ac_pass in
2010     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2011     2)
2012       as_fn_append ac_configure_args1 " '$ac_arg'"
2013       if test $ac_must_keep_next = true; then
2014         ac_must_keep_next=false # Got value, back to normal.
2015       else
2016         case $ac_arg in
2017           *=* | --config-cache | -C | -disable-* | --disable-* \
2018           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2019           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2020           | -with-* | --with-* | -without-* | --without-* | --x)
2021             case "$ac_configure_args0 " in
2022               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2023             esac
2024             ;;
2025           -* ) ac_must_keep_next=true ;;
2026         esac
2027       fi
2028       as_fn_append ac_configure_args " '$ac_arg'"
2029       ;;
2030     esac
2031   done
2032 done
2033 { ac_configure_args0=; unset ac_configure_args0;}
2034 { ac_configure_args1=; unset ac_configure_args1;}
2035
2036 # When interrupted or exit'd, cleanup temporary files, and complete
2037 # config.log.  We remove comments because anyway the quotes in there
2038 # would cause problems or look ugly.
2039 # WARNING: Use '\'' to represent an apostrophe within the trap.
2040 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2041 trap 'exit_status=$?
2042   # Save into config.log some information that might help in debugging.
2043   {
2044     echo
2045
2046     $as_echo "## ---------------- ##
2047 ## Cache variables. ##
2048 ## ---------------- ##"
2049     echo
2050     # The following way of writing the cache mishandles newlines in values,
2051 (
2052   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2053     eval ac_val=\$$ac_var
2054     case $ac_val in #(
2055     *${as_nl}*)
2056       case $ac_var in #(
2057       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2058 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2059       esac
2060       case $ac_var in #(
2061       _ | IFS | as_nl) ;; #(
2062       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2063       *) { eval $ac_var=; unset $ac_var;} ;;
2064       esac ;;
2065     esac
2066   done
2067   (set) 2>&1 |
2068     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2069     *${as_nl}ac_space=\ *)
2070       sed -n \
2071         "s/'\''/'\''\\\\'\'''\''/g;
2072           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2073       ;; #(
2074     *)
2075       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2076       ;;
2077     esac |
2078     sort
2079 )
2080     echo
2081
2082     $as_echo "## ----------------- ##
2083 ## Output variables. ##
2084 ## ----------------- ##"
2085     echo
2086     for ac_var in $ac_subst_vars
2087     do
2088       eval ac_val=\$$ac_var
2089       case $ac_val in
2090       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2091       esac
2092       $as_echo "$ac_var='\''$ac_val'\''"
2093     done | sort
2094     echo
2095
2096     if test -n "$ac_subst_files"; then
2097       $as_echo "## ------------------- ##
2098 ## File substitutions. ##
2099 ## ------------------- ##"
2100       echo
2101       for ac_var in $ac_subst_files
2102       do
2103         eval ac_val=\$$ac_var
2104         case $ac_val in
2105         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2106         esac
2107         $as_echo "$ac_var='\''$ac_val'\''"
2108       done | sort
2109       echo
2110     fi
2111
2112     if test -s confdefs.h; then
2113       $as_echo "## ----------- ##
2114 ## confdefs.h. ##
2115 ## ----------- ##"
2116       echo
2117       cat confdefs.h
2118       echo
2119     fi
2120     test "$ac_signal" != 0 &&
2121       $as_echo "$as_me: caught signal $ac_signal"
2122     $as_echo "$as_me: exit $exit_status"
2123   } >&5
2124   rm -f core *.core core.conftest.* &&
2125     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2126     exit $exit_status
2127 ' 0
2128 for ac_signal in 1 2 13 15; do
2129   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2130 done
2131 ac_signal=0
2132
2133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2134 rm -f -r conftest* confdefs.h
2135
2136 $as_echo "/* confdefs.h */" > confdefs.h
2137
2138 # Predefined preprocessor variables.
2139
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_NAME "$PACKAGE_NAME"
2142 _ACEOF
2143
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2146 _ACEOF
2147
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2150 _ACEOF
2151
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_STRING "$PACKAGE_STRING"
2154 _ACEOF
2155
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2158 _ACEOF
2159
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_URL "$PACKAGE_URL"
2162 _ACEOF
2163
2164
2165 # Let the site file select an alternate cache file if it wants to.
2166 # Prefer an explicitly selected file to automatically selected ones.
2167 ac_site_file1=NONE
2168 ac_site_file2=NONE
2169 if test -n "$CONFIG_SITE"; then
2170   # We do not want a PATH search for config.site.
2171   case $CONFIG_SITE in #((
2172     -*)  ac_site_file1=./$CONFIG_SITE;;
2173     */*) ac_site_file1=$CONFIG_SITE;;
2174     *)   ac_site_file1=./$CONFIG_SITE;;
2175   esac
2176 elif test "x$prefix" != xNONE; then
2177   ac_site_file1=$prefix/share/config.site
2178   ac_site_file2=$prefix/etc/config.site
2179 else
2180   ac_site_file1=$ac_default_prefix/share/config.site
2181   ac_site_file2=$ac_default_prefix/etc/config.site
2182 fi
2183 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2184 do
2185   test "x$ac_site_file" = xNONE && continue
2186   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2187     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2188 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2189     sed 's/^/| /' "$ac_site_file" >&5
2190     . "$ac_site_file" \
2191       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 as_fn_error $? "failed to load site script $ac_site_file
2194 See \`config.log' for more details" "$LINENO" 5; }
2195   fi
2196 done
2197
2198 if test -r "$cache_file"; then
2199   # Some versions of bash will fail to source /dev/null (special files
2200   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2201   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2202     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2203 $as_echo "$as_me: loading cache $cache_file" >&6;}
2204     case $cache_file in
2205       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2206       *)                      . "./$cache_file";;
2207     esac
2208   fi
2209 else
2210   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2211 $as_echo "$as_me: creating cache $cache_file" >&6;}
2212   >$cache_file
2213 fi
2214
2215 # Check that the precious variables saved in the cache have kept the same
2216 # value.
2217 ac_cache_corrupted=false
2218 for ac_var in $ac_precious_vars; do
2219   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2220   eval ac_new_set=\$ac_env_${ac_var}_set
2221   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2222   eval ac_new_val=\$ac_env_${ac_var}_value
2223   case $ac_old_set,$ac_new_set in
2224     set,)
2225       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2226 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2227       ac_cache_corrupted=: ;;
2228     ,set)
2229       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2230 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2231       ac_cache_corrupted=: ;;
2232     ,);;
2233     *)
2234       if test "x$ac_old_val" != "x$ac_new_val"; then
2235         # differences in whitespace do not lead to failure.
2236         ac_old_val_w=`echo x $ac_old_val`
2237         ac_new_val_w=`echo x $ac_new_val`
2238         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2239           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2240 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2241           ac_cache_corrupted=:
2242         else
2243           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2244 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2245           eval $ac_var=\$ac_old_val
2246         fi
2247         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2248 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2249         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2250 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2251       fi;;
2252   esac
2253   # Pass precious variables to config.status.
2254   if test "$ac_new_set" = set; then
2255     case $ac_new_val in
2256     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2257     *) ac_arg=$ac_var=$ac_new_val ;;
2258     esac
2259     case " $ac_configure_args " in
2260       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2261       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2262     esac
2263   fi
2264 done
2265 if $ac_cache_corrupted; then
2266   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2268   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2269 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2270   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2271 fi
2272 ## -------------------- ##
2273 ## Main body of script. ##
2274 ## -------------------- ##
2275
2276 ac_ext=c
2277 ac_cpp='$CPP $CPPFLAGS'
2278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2281
2282
2283
2284 ac_aux_dir=
2285 for ac_dir in build-aux "$srcdir"/build-aux; do
2286   if test -f "$ac_dir/install-sh"; then
2287     ac_aux_dir=$ac_dir
2288     ac_install_sh="$ac_aux_dir/install-sh -c"
2289     break
2290   elif test -f "$ac_dir/install.sh"; then
2291     ac_aux_dir=$ac_dir
2292     ac_install_sh="$ac_aux_dir/install.sh -c"
2293     break
2294   elif test -f "$ac_dir/shtool"; then
2295     ac_aux_dir=$ac_dir
2296     ac_install_sh="$ac_aux_dir/shtool install -c"
2297     break
2298   fi
2299 done
2300 if test -z "$ac_aux_dir"; then
2301   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2302 fi
2303
2304 # These three variables are undocumented and unsupported,
2305 # and are intended to be withdrawn in a future Autoconf release.
2306 # They can cause serious problems if a builder's source tree is in a directory
2307 # whose full name contains unusual characters.
2308 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2309 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2310 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2311
2312
2313
2314 #AC_CONFIG_HEADER([src/config.h])
2315 am__api_version='1.11'
2316
2317 # Find a good install program.  We prefer a C program (faster),
2318 # so one script is as good as another.  But avoid the broken or
2319 # incompatible versions:
2320 # SysV /etc/install, /usr/sbin/install
2321 # SunOS /usr/etc/install
2322 # IRIX /sbin/install
2323 # AIX /bin/install
2324 # AmigaOS /C/install, which installs bootblocks on floppy discs
2325 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2326 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2327 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2328 # OS/2's system install, which has a completely different semantic
2329 # ./install, which can be erroneously created by make from ./install.sh.
2330 # Reject install programs that cannot install multiple files.
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2333 if test -z "$INSTALL"; then
2334 if ${ac_cv_path_install+:} false; then :
2335   $as_echo_n "(cached) " >&6
2336 else
2337   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 for as_dir in $PATH
2339 do
2340   IFS=$as_save_IFS
2341   test -z "$as_dir" && as_dir=.
2342     # Account for people who put trailing slashes in PATH elements.
2343 case $as_dir/ in #((
2344   ./ | .// | /[cC]/* | \
2345   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2347   /usr/ucb/* ) ;;
2348   *)
2349     # OSF1 and SCO ODT 3.0 have their own names for install.
2350     # Don't use installbsd from OSF since it installs stuff as root
2351     # by default.
2352     for ac_prog in ginstall scoinst install; do
2353       for ac_exec_ext in '' $ac_executable_extensions; do
2354         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2355           if test $ac_prog = install &&
2356             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2357             # AIX install.  It has an incompatible calling convention.
2358             :
2359           elif test $ac_prog = install &&
2360             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2361             # program-specific install script used by HP pwplus--don't use.
2362             :
2363           else
2364             rm -rf conftest.one conftest.two conftest.dir
2365             echo one > conftest.one
2366             echo two > conftest.two
2367             mkdir conftest.dir
2368             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2369               test -s conftest.one && test -s conftest.two &&
2370               test -s conftest.dir/conftest.one &&
2371               test -s conftest.dir/conftest.two
2372             then
2373               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2374               break 3
2375             fi
2376           fi
2377         fi
2378       done
2379     done
2380     ;;
2381 esac
2382
2383   done
2384 IFS=$as_save_IFS
2385
2386 rm -rf conftest.one conftest.two conftest.dir
2387
2388 fi
2389   if test "${ac_cv_path_install+set}" = set; then
2390     INSTALL=$ac_cv_path_install
2391   else
2392     # As a last resort, use the slow shell script.  Don't cache a
2393     # value for INSTALL within a source directory, because that will
2394     # break other packages using the cache if that directory is
2395     # removed, or if the value is a relative name.
2396     INSTALL=$ac_install_sh
2397   fi
2398 fi
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400 $as_echo "$INSTALL" >&6; }
2401
2402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2403 # It thinks the first close brace ends the variable substitution.
2404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2405
2406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2407
2408 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2409
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2411 $as_echo_n "checking whether build environment is sane... " >&6; }
2412 # Just in case
2413 sleep 1
2414 echo timestamp > conftest.file
2415 # Reject unsafe characters in $srcdir or the absolute working directory
2416 # name.  Accept space and tab only in the latter.
2417 am_lf='
2418 '
2419 case `pwd` in
2420   *[\\\"\#\$\&\'\`$am_lf]*)
2421     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2422 esac
2423 case $srcdir in
2424   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2425     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2426 esac
2427
2428 # Do `set' in a subshell so we don't clobber the current shell's
2429 # arguments.  Must try -L first in case configure is actually a
2430 # symlink; some systems play weird games with the mod time of symlinks
2431 # (eg FreeBSD returns the mod time of the symlink's containing
2432 # directory).
2433 if (
2434    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2435    if test "$*" = "X"; then
2436       # -L didn't work.
2437       set X `ls -t "$srcdir/configure" conftest.file`
2438    fi
2439    rm -f conftest.file
2440    if test "$*" != "X $srcdir/configure conftest.file" \
2441       && test "$*" != "X conftest.file $srcdir/configure"; then
2442
2443       # If neither matched, then we have a broken ls.  This can happen
2444       # if, for instance, CONFIG_SHELL is bash and it inherits a
2445       # broken ls alias from the environment.  This has actually
2446       # happened.  Such a system could not be considered "sane".
2447       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2448 alias in your environment" "$LINENO" 5
2449    fi
2450
2451    test "$2" = conftest.file
2452    )
2453 then
2454    # Ok.
2455    :
2456 else
2457    as_fn_error $? "newly created file is older than distributed files!
2458 Check your system clock" "$LINENO" 5
2459 fi
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2461 $as_echo "yes" >&6; }
2462 test "$program_prefix" != NONE &&
2463   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2464 # Use a double $ so make ignores it.
2465 test "$program_suffix" != NONE &&
2466   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2467 # Double any \ or $.
2468 # By default was `s,x,x', remove it if useless.
2469 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2470 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2471
2472 # expand $ac_aux_dir to an absolute path
2473 am_aux_dir=`cd $ac_aux_dir && pwd`
2474
2475 if test x"${MISSING+set}" != xset; then
2476   case $am_aux_dir in
2477   *\ * | *\     *)
2478     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2479   *)
2480     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2481   esac
2482 fi
2483 # Use eval to expand $SHELL
2484 if eval "$MISSING --run true"; then
2485   am_missing_run="$MISSING --run "
2486 else
2487   am_missing_run=
2488   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2489 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2490 fi
2491
2492 if test x"${install_sh}" != xset; then
2493   case $am_aux_dir in
2494   *\ * | *\     *)
2495     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2496   *)
2497     install_sh="\${SHELL} $am_aux_dir/install-sh"
2498   esac
2499 fi
2500
2501 # Installed binaries are usually stripped using `strip' when the user
2502 # run `make install-strip'.  However `strip' might not be the right
2503 # tool to use in cross-compilation environments, therefore Automake
2504 # will honor the `STRIP' environment variable to overrule this program.
2505 if test "$cross_compiling" != no; then
2506   if test -n "$ac_tool_prefix"; then
2507   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2508 set dummy ${ac_tool_prefix}strip; ac_word=$2
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2510 $as_echo_n "checking for $ac_word... " >&6; }
2511 if ${ac_cv_prog_STRIP+:} false; then :
2512   $as_echo_n "(cached) " >&6
2513 else
2514   if test -n "$STRIP"; then
2515   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520   IFS=$as_save_IFS
2521   test -z "$as_dir" && as_dir=.
2522     for ac_exec_ext in '' $ac_executable_extensions; do
2523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526     break 2
2527   fi
2528 done
2529   done
2530 IFS=$as_save_IFS
2531
2532 fi
2533 fi
2534 STRIP=$ac_cv_prog_STRIP
2535 if test -n "$STRIP"; then
2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2537 $as_echo "$STRIP" >&6; }
2538 else
2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2540 $as_echo "no" >&6; }
2541 fi
2542
2543
2544 fi
2545 if test -z "$ac_cv_prog_STRIP"; then
2546   ac_ct_STRIP=$STRIP
2547   # Extract the first word of "strip", so it can be a program name with args.
2548 set dummy strip; ac_word=$2
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2550 $as_echo_n "checking for $ac_word... " >&6; }
2551 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2552   $as_echo_n "(cached) " >&6
2553 else
2554   if test -n "$ac_ct_STRIP"; then
2555   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2556 else
2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 for as_dir in $PATH
2559 do
2560   IFS=$as_save_IFS
2561   test -z "$as_dir" && as_dir=.
2562     for ac_exec_ext in '' $ac_executable_extensions; do
2563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2564     ac_cv_prog_ac_ct_STRIP="strip"
2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566     break 2
2567   fi
2568 done
2569   done
2570 IFS=$as_save_IFS
2571
2572 fi
2573 fi
2574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2575 if test -n "$ac_ct_STRIP"; then
2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2577 $as_echo "$ac_ct_STRIP" >&6; }
2578 else
2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2580 $as_echo "no" >&6; }
2581 fi
2582
2583   if test "x$ac_ct_STRIP" = x; then
2584     STRIP=":"
2585   else
2586     case $cross_compiling:$ac_tool_warned in
2587 yes:)
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2590 ac_tool_warned=yes ;;
2591 esac
2592     STRIP=$ac_ct_STRIP
2593   fi
2594 else
2595   STRIP="$ac_cv_prog_STRIP"
2596 fi
2597
2598 fi
2599 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2600
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2602 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2603 if test -z "$MKDIR_P"; then
2604   if ${ac_cv_path_mkdir+:} false; then :
2605   $as_echo_n "(cached) " >&6
2606 else
2607   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2609 do
2610   IFS=$as_save_IFS
2611   test -z "$as_dir" && as_dir=.
2612     for ac_prog in mkdir gmkdir; do
2613          for ac_exec_ext in '' $ac_executable_extensions; do
2614            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2615            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2616              'mkdir (GNU coreutils) '* | \
2617              'mkdir (coreutils) '* | \
2618              'mkdir (fileutils) '4.1*)
2619                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2620                break 3;;
2621            esac
2622          done
2623        done
2624   done
2625 IFS=$as_save_IFS
2626
2627 fi
2628
2629   test -d ./--version && rmdir ./--version
2630   if test "${ac_cv_path_mkdir+set}" = set; then
2631     MKDIR_P="$ac_cv_path_mkdir -p"
2632   else
2633     # As a last resort, use the slow shell script.  Don't cache a
2634     # value for MKDIR_P within a source directory, because that will
2635     # break other packages using the cache if that directory is
2636     # removed, or if the value is a relative name.
2637     MKDIR_P="$ac_install_sh -d"
2638   fi
2639 fi
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2641 $as_echo "$MKDIR_P" >&6; }
2642
2643 mkdir_p="$MKDIR_P"
2644 case $mkdir_p in
2645   [\\/$]* | ?:[\\/]*) ;;
2646   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2647 esac
2648
2649 for ac_prog in gawk mawk nawk awk
2650 do
2651   # Extract the first word of "$ac_prog", so it can be a program name with args.
2652 set dummy $ac_prog; ac_word=$2
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2654 $as_echo_n "checking for $ac_word... " >&6; }
2655 if ${ac_cv_prog_AWK+:} false; then :
2656   $as_echo_n "(cached) " >&6
2657 else
2658   if test -n "$AWK"; then
2659   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2660 else
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2663 do
2664   IFS=$as_save_IFS
2665   test -z "$as_dir" && as_dir=.
2666     for ac_exec_ext in '' $ac_executable_extensions; do
2667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2668     ac_cv_prog_AWK="$ac_prog"
2669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670     break 2
2671   fi
2672 done
2673   done
2674 IFS=$as_save_IFS
2675
2676 fi
2677 fi
2678 AWK=$ac_cv_prog_AWK
2679 if test -n "$AWK"; then
2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2681 $as_echo "$AWK" >&6; }
2682 else
2683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2684 $as_echo "no" >&6; }
2685 fi
2686
2687
2688   test -n "$AWK" && break
2689 done
2690
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2692 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2693 set x ${MAKE-make}
2694 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2695 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2696   $as_echo_n "(cached) " >&6
2697 else
2698   cat >conftest.make <<\_ACEOF
2699 SHELL = /bin/sh
2700 all:
2701         @echo '@@@%%%=$(MAKE)=@@@%%%'
2702 _ACEOF
2703 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2704 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2705   *@@@%%%=?*=@@@%%%*)
2706     eval ac_cv_prog_make_${ac_make}_set=yes;;
2707   *)
2708     eval ac_cv_prog_make_${ac_make}_set=no;;
2709 esac
2710 rm -f conftest.make
2711 fi
2712 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2715   SET_MAKE=
2716 else
2717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2719   SET_MAKE="MAKE=${MAKE-make}"
2720 fi
2721
2722 rm -rf .tst 2>/dev/null
2723 mkdir .tst 2>/dev/null
2724 if test -d .tst; then
2725   am__leading_dot=.
2726 else
2727   am__leading_dot=_
2728 fi
2729 rmdir .tst 2>/dev/null
2730
2731 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2732   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2733   # is not polluted with repeated "-I."
2734   am__isrc=' -I$(srcdir)'
2735   # test to see if srcdir already configured
2736   if test -f $srcdir/config.status; then
2737     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2738   fi
2739 fi
2740
2741 # test whether we have cygpath
2742 if test -z "$CYGPATH_W"; then
2743   if (cygpath --version) >/dev/null 2>/dev/null; then
2744     CYGPATH_W='cygpath -w'
2745   else
2746     CYGPATH_W=echo
2747   fi
2748 fi
2749
2750
2751 # Define the identity of the package.
2752  PACKAGE='asdcplib'
2753  VERSION='1.9.45'
2754
2755
2756 cat >>confdefs.h <<_ACEOF
2757 #define PACKAGE "$PACKAGE"
2758 _ACEOF
2759
2760
2761 cat >>confdefs.h <<_ACEOF
2762 #define VERSION "$VERSION"
2763 _ACEOF
2764
2765 # Some tools Automake needs.
2766
2767 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2768
2769
2770 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2771
2772
2773 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2774
2775
2776 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2777
2778
2779 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2780
2781 # We need awk for the "check" target.  The system "awk" is bad on
2782 # some platforms.
2783 # Always define AMTAR for backward compatibility.  Yes, it's still used
2784 # in the wild :-(  We should find a proper way to deprecate it ...
2785 AMTAR='$${TAR-tar}'
2786
2787 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2788
2789
2790
2791
2792
2793
2794 # Checks for programs.
2795 # Make sure we can run config.sub.
2796 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2797   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2798
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2800 $as_echo_n "checking build system type... " >&6; }
2801 if ${ac_cv_build+:} false; then :
2802   $as_echo_n "(cached) " >&6
2803 else
2804   ac_build_alias=$build_alias
2805 test "x$ac_build_alias" = x &&
2806   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2807 test "x$ac_build_alias" = x &&
2808   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2809 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2810   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2811
2812 fi
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2814 $as_echo "$ac_cv_build" >&6; }
2815 case $ac_cv_build in
2816 *-*-*) ;;
2817 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2818 esac
2819 build=$ac_cv_build
2820 ac_save_IFS=$IFS; IFS='-'
2821 set x $ac_cv_build
2822 shift
2823 build_cpu=$1
2824 build_vendor=$2
2825 shift; shift
2826 # Remember, the first character of IFS is used to create $*,
2827 # except with old shells:
2828 build_os=$*
2829 IFS=$ac_save_IFS
2830 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2831
2832
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2834 $as_echo_n "checking host system type... " >&6; }
2835 if ${ac_cv_host+:} false; then :
2836   $as_echo_n "(cached) " >&6
2837 else
2838   if test "x$host_alias" = x; then
2839   ac_cv_host=$ac_cv_build
2840 else
2841   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2842     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2843 fi
2844
2845 fi
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2847 $as_echo "$ac_cv_host" >&6; }
2848 case $ac_cv_host in
2849 *-*-*) ;;
2850 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2851 esac
2852 host=$ac_cv_host
2853 ac_save_IFS=$IFS; IFS='-'
2854 set x $ac_cv_host
2855 shift
2856 host_cpu=$1
2857 host_vendor=$2
2858 shift; shift
2859 # Remember, the first character of IFS is used to create $*,
2860 # except with old shells:
2861 host_os=$*
2862 IFS=$ac_save_IFS
2863 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2864
2865
2866 case $host_os in
2867        openbsd*) openbsd_host=true ;;
2868        *)        openbsd_host=false ;;
2869 esac
2870  if test x$openbsd_host = xtrue; then
2871   OPENBSD_HOST_TRUE=
2872   OPENBSD_HOST_FALSE='#'
2873 else
2874   OPENBSD_HOST_TRUE='#'
2875   OPENBSD_HOST_FALSE=
2876 fi
2877
2878 ac_ext=c
2879 ac_cpp='$CPP $CPPFLAGS'
2880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2883 if test -n "$ac_tool_prefix"; then
2884   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2885 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if ${ac_cv_prog_CC+:} false; then :
2889   $as_echo_n "(cached) " >&6
2890 else
2891   if test -n "$CC"; then
2892   ac_cv_prog_CC="$CC" # Let the user override the test.
2893 else
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 for as_dir in $PATH
2896 do
2897   IFS=$as_save_IFS
2898   test -z "$as_dir" && as_dir=.
2899     for ac_exec_ext in '' $ac_executable_extensions; do
2900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2903     break 2
2904   fi
2905 done
2906   done
2907 IFS=$as_save_IFS
2908
2909 fi
2910 fi
2911 CC=$ac_cv_prog_CC
2912 if test -n "$CC"; then
2913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2914 $as_echo "$CC" >&6; }
2915 else
2916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2918 fi
2919
2920
2921 fi
2922 if test -z "$ac_cv_prog_CC"; then
2923   ac_ct_CC=$CC
2924   # Extract the first word of "gcc", so it can be a program name with args.
2925 set dummy gcc; ac_word=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2929   $as_echo_n "(cached) " >&6
2930 else
2931   if test -n "$ac_ct_CC"; then
2932   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2933 else
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 for as_dir in $PATH
2936 do
2937   IFS=$as_save_IFS
2938   test -z "$as_dir" && as_dir=.
2939     for ac_exec_ext in '' $ac_executable_extensions; do
2940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2941     ac_cv_prog_ac_ct_CC="gcc"
2942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943     break 2
2944   fi
2945 done
2946   done
2947 IFS=$as_save_IFS
2948
2949 fi
2950 fi
2951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2952 if test -n "$ac_ct_CC"; then
2953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2954 $as_echo "$ac_ct_CC" >&6; }
2955 else
2956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2958 fi
2959
2960   if test "x$ac_ct_CC" = x; then
2961     CC=""
2962   else
2963     case $cross_compiling:$ac_tool_warned in
2964 yes:)
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2967 ac_tool_warned=yes ;;
2968 esac
2969     CC=$ac_ct_CC
2970   fi
2971 else
2972   CC="$ac_cv_prog_CC"
2973 fi
2974
2975 if test -z "$CC"; then
2976           if test -n "$ac_tool_prefix"; then
2977     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2978 set dummy ${ac_tool_prefix}cc; ac_word=$2
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2980 $as_echo_n "checking for $ac_word... " >&6; }
2981 if ${ac_cv_prog_CC+:} false; then :
2982   $as_echo_n "(cached) " >&6
2983 else
2984   if test -n "$CC"; then
2985   ac_cv_prog_CC="$CC" # Let the user override the test.
2986 else
2987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2988 for as_dir in $PATH
2989 do
2990   IFS=$as_save_IFS
2991   test -z "$as_dir" && as_dir=.
2992     for ac_exec_ext in '' $ac_executable_extensions; do
2993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2994     ac_cv_prog_CC="${ac_tool_prefix}cc"
2995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996     break 2
2997   fi
2998 done
2999   done
3000 IFS=$as_save_IFS
3001
3002 fi
3003 fi
3004 CC=$ac_cv_prog_CC
3005 if test -n "$CC"; then
3006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3007 $as_echo "$CC" >&6; }
3008 else
3009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3010 $as_echo "no" >&6; }
3011 fi
3012
3013
3014   fi
3015 fi
3016 if test -z "$CC"; then
3017   # Extract the first word of "cc", so it can be a program name with args.
3018 set dummy cc; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_CC+:} false; then :
3022   $as_echo_n "(cached) " >&6
3023 else
3024   if test -n "$CC"; then
3025   ac_cv_prog_CC="$CC" # Let the user override the test.
3026 else
3027   ac_prog_rejected=no
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 for as_dir in $PATH
3030 do
3031   IFS=$as_save_IFS
3032   test -z "$as_dir" && as_dir=.
3033     for ac_exec_ext in '' $ac_executable_extensions; do
3034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3035     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3036        ac_prog_rejected=yes
3037        continue
3038      fi
3039     ac_cv_prog_CC="cc"
3040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041     break 2
3042   fi
3043 done
3044   done
3045 IFS=$as_save_IFS
3046
3047 if test $ac_prog_rejected = yes; then
3048   # We found a bogon in the path, so make sure we never use it.
3049   set dummy $ac_cv_prog_CC
3050   shift
3051   if test $# != 0; then
3052     # We chose a different compiler from the bogus one.
3053     # However, it has the same basename, so the bogon will be chosen
3054     # first if we set CC to just the basename; use the full file name.
3055     shift
3056     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3057   fi
3058 fi
3059 fi
3060 fi
3061 CC=$ac_cv_prog_CC
3062 if test -n "$CC"; then
3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3064 $as_echo "$CC" >&6; }
3065 else
3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3067 $as_echo "no" >&6; }
3068 fi
3069
3070
3071 fi
3072 if test -z "$CC"; then
3073   if test -n "$ac_tool_prefix"; then
3074   for ac_prog in cl.exe
3075   do
3076     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3077 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3079 $as_echo_n "checking for $ac_word... " >&6; }
3080 if ${ac_cv_prog_CC+:} false; then :
3081   $as_echo_n "(cached) " >&6
3082 else
3083   if test -n "$CC"; then
3084   ac_cv_prog_CC="$CC" # Let the user override the test.
3085 else
3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087 for as_dir in $PATH
3088 do
3089   IFS=$as_save_IFS
3090   test -z "$as_dir" && as_dir=.
3091     for ac_exec_ext in '' $ac_executable_extensions; do
3092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095     break 2
3096   fi
3097 done
3098   done
3099 IFS=$as_save_IFS
3100
3101 fi
3102 fi
3103 CC=$ac_cv_prog_CC
3104 if test -n "$CC"; then
3105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3106 $as_echo "$CC" >&6; }
3107 else
3108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109 $as_echo "no" >&6; }
3110 fi
3111
3112
3113     test -n "$CC" && break
3114   done
3115 fi
3116 if test -z "$CC"; then
3117   ac_ct_CC=$CC
3118   for ac_prog in cl.exe
3119 do
3120   # Extract the first word of "$ac_prog", so it can be a program name with args.
3121 set dummy $ac_prog; ac_word=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3125   $as_echo_n "(cached) " >&6
3126 else
3127   if test -n "$ac_ct_CC"; then
3128   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3129 else
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 for as_dir in $PATH
3132 do
3133   IFS=$as_save_IFS
3134   test -z "$as_dir" && as_dir=.
3135     for ac_exec_ext in '' $ac_executable_extensions; do
3136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137     ac_cv_prog_ac_ct_CC="$ac_prog"
3138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3139     break 2
3140   fi
3141 done
3142   done
3143 IFS=$as_save_IFS
3144
3145 fi
3146 fi
3147 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3148 if test -n "$ac_ct_CC"; then
3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3150 $as_echo "$ac_ct_CC" >&6; }
3151 else
3152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3154 fi
3155
3156
3157   test -n "$ac_ct_CC" && break
3158 done
3159
3160   if test "x$ac_ct_CC" = x; then
3161     CC=""
3162   else
3163     case $cross_compiling:$ac_tool_warned in
3164 yes:)
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3167 ac_tool_warned=yes ;;
3168 esac
3169     CC=$ac_ct_CC
3170   fi
3171 fi
3172
3173 fi
3174
3175
3176 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error $? "no acceptable C compiler found in \$PATH
3179 See \`config.log' for more details" "$LINENO" 5; }
3180
3181 # Provide some information about the compiler.
3182 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3183 set X $ac_compile
3184 ac_compiler=$2
3185 for ac_option in --version -v -V -qversion; do
3186   { { ac_try="$ac_compiler $ac_option >&5"
3187 case "(($ac_try" in
3188   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3189   *) ac_try_echo=$ac_try;;
3190 esac
3191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3192 $as_echo "$ac_try_echo"; } >&5
3193   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3194   ac_status=$?
3195   if test -s conftest.err; then
3196     sed '10a\
3197 ... rest of stderr output deleted ...
3198          10q' conftest.err >conftest.er1
3199     cat conftest.er1 >&5
3200   fi
3201   rm -f conftest.er1 conftest.err
3202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3203   test $ac_status = 0; }
3204 done
3205
3206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h.  */
3208
3209 int
3210 main ()
3211 {
3212
3213   ;
3214   return 0;
3215 }
3216 _ACEOF
3217 ac_clean_files_save=$ac_clean_files
3218 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3219 # Try to create an executable without -o first, disregard a.out.
3220 # It will help us diagnose broken compilers, and finding out an intuition
3221 # of exeext.
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3223 $as_echo_n "checking whether the C compiler works... " >&6; }
3224 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3225
3226 # The possible output files:
3227 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3228
3229 ac_rmfiles=
3230 for ac_file in $ac_files
3231 do
3232   case $ac_file in
3233     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3234     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3235   esac
3236 done
3237 rm -f $ac_rmfiles
3238
3239 if { { ac_try="$ac_link_default"
3240 case "(($ac_try" in
3241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3242   *) ac_try_echo=$ac_try;;
3243 esac
3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3245 $as_echo "$ac_try_echo"; } >&5
3246   (eval "$ac_link_default") 2>&5
3247   ac_status=$?
3248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249   test $ac_status = 0; }; then :
3250   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3251 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3252 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3253 # so that the user can short-circuit this test for compilers unknown to
3254 # Autoconf.
3255 for ac_file in $ac_files ''
3256 do
3257   test -f "$ac_file" || continue
3258   case $ac_file in
3259     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3260         ;;
3261     [ab].out )
3262         # We found the default executable, but exeext='' is most
3263         # certainly right.
3264         break;;
3265     *.* )
3266         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3267         then :; else
3268            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3269         fi
3270         # We set ac_cv_exeext here because the later test for it is not
3271         # safe: cross compilers may not add the suffix if given an `-o'
3272         # argument, so we may need to know it at that point already.
3273         # Even if this section looks crufty: it has the advantage of
3274         # actually working.
3275         break;;
3276     * )
3277         break;;
3278   esac
3279 done
3280 test "$ac_cv_exeext" = no && ac_cv_exeext=
3281
3282 else
3283   ac_file=''
3284 fi
3285 if test -z "$ac_file"; then :
3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3287 $as_echo "no" >&6; }
3288 $as_echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.$ac_ext >&5
3290
3291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3293 as_fn_error 77 "C compiler cannot create executables
3294 See \`config.log' for more details" "$LINENO" 5; }
3295 else
3296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3298 fi
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3300 $as_echo_n "checking for C compiler default output file name... " >&6; }
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3302 $as_echo "$ac_file" >&6; }
3303 ac_exeext=$ac_cv_exeext
3304
3305 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3306 ac_clean_files=$ac_clean_files_save
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3308 $as_echo_n "checking for suffix of executables... " >&6; }
3309 if { { ac_try="$ac_link"
3310 case "(($ac_try" in
3311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312   *) ac_try_echo=$ac_try;;
3313 esac
3314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3315 $as_echo "$ac_try_echo"; } >&5
3316   (eval "$ac_link") 2>&5
3317   ac_status=$?
3318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3319   test $ac_status = 0; }; then :
3320   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3321 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3322 # work properly (i.e., refer to `conftest.exe'), while it won't with
3323 # `rm'.
3324 for ac_file in conftest.exe conftest conftest.*; do
3325   test -f "$ac_file" || continue
3326   case $ac_file in
3327     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3328     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3329           break;;
3330     * ) break;;
3331   esac
3332 done
3333 else
3334   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3336 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3337 See \`config.log' for more details" "$LINENO" 5; }
3338 fi
3339 rm -f conftest conftest$ac_cv_exeext
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3341 $as_echo "$ac_cv_exeext" >&6; }
3342
3343 rm -f conftest.$ac_ext
3344 EXEEXT=$ac_cv_exeext
3345 ac_exeext=$EXEEXT
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h.  */
3348 #include <stdio.h>
3349 int
3350 main ()
3351 {
3352 FILE *f = fopen ("conftest.out", "w");
3353  return ferror (f) || fclose (f) != 0;
3354
3355   ;
3356   return 0;
3357 }
3358 _ACEOF
3359 ac_clean_files="$ac_clean_files conftest.out"
3360 # Check that the compiler produces executables we can run.  If not, either
3361 # the compiler is broken, or we cross compile.
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3363 $as_echo_n "checking whether we are cross compiling... " >&6; }
3364 if test "$cross_compiling" != yes; then
3365   { { ac_try="$ac_link"
3366 case "(($ac_try" in
3367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368   *) ac_try_echo=$ac_try;;
3369 esac
3370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3371 $as_echo "$ac_try_echo"; } >&5
3372   (eval "$ac_link") 2>&5
3373   ac_status=$?
3374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375   test $ac_status = 0; }
3376   if { ac_try='./conftest$ac_cv_exeext'
3377   { { case "(($ac_try" in
3378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379   *) ac_try_echo=$ac_try;;
3380 esac
3381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382 $as_echo "$ac_try_echo"; } >&5
3383   (eval "$ac_try") 2>&5
3384   ac_status=$?
3385   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386   test $ac_status = 0; }; }; then
3387     cross_compiling=no
3388   else
3389     if test "$cross_compiling" = maybe; then
3390         cross_compiling=yes
3391     else
3392         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3394 as_fn_error $? "cannot run C compiled programs.
3395 If you meant to cross compile, use \`--host'.
3396 See \`config.log' for more details" "$LINENO" 5; }
3397     fi
3398   fi
3399 fi
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3401 $as_echo "$cross_compiling" >&6; }
3402
3403 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3404 ac_clean_files=$ac_clean_files_save
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3406 $as_echo_n "checking for suffix of object files... " >&6; }
3407 if ${ac_cv_objext+:} false; then :
3408   $as_echo_n "(cached) " >&6
3409 else
3410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h.  */
3412
3413 int
3414 main ()
3415 {
3416
3417   ;
3418   return 0;
3419 }
3420 _ACEOF
3421 rm -f conftest.o conftest.obj
3422 if { { ac_try="$ac_compile"
3423 case "(($ac_try" in
3424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3425   *) ac_try_echo=$ac_try;;
3426 esac
3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3428 $as_echo "$ac_try_echo"; } >&5
3429   (eval "$ac_compile") 2>&5
3430   ac_status=$?
3431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3432   test $ac_status = 0; }; then :
3433   for ac_file in conftest.o conftest.obj conftest.*; do
3434   test -f "$ac_file" || continue;
3435   case $ac_file in
3436     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3437     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3438        break;;
3439   esac
3440 done
3441 else
3442   $as_echo "$as_me: failed program was:" >&5
3443 sed 's/^/| /' conftest.$ac_ext >&5
3444
3445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "cannot compute suffix of object files: cannot compile
3448 See \`config.log' for more details" "$LINENO" 5; }
3449 fi
3450 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3451 fi
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3453 $as_echo "$ac_cv_objext" >&6; }
3454 OBJEXT=$ac_cv_objext
3455 ac_objext=$OBJEXT
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3457 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3458 if ${ac_cv_c_compiler_gnu+:} false; then :
3459   $as_echo_n "(cached) " >&6
3460 else
3461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h.  */
3463
3464 int
3465 main ()
3466 {
3467 #ifndef __GNUC__
3468        choke me
3469 #endif
3470
3471   ;
3472   return 0;
3473 }
3474 _ACEOF
3475 if ac_fn_c_try_compile "$LINENO"; then :
3476   ac_compiler_gnu=yes
3477 else
3478   ac_compiler_gnu=no
3479 fi
3480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3482
3483 fi
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3485 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3486 if test $ac_compiler_gnu = yes; then
3487   GCC=yes
3488 else
3489   GCC=
3490 fi
3491 ac_test_CFLAGS=${CFLAGS+set}
3492 ac_save_CFLAGS=$CFLAGS
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3494 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3495 if ${ac_cv_prog_cc_g+:} false; then :
3496   $as_echo_n "(cached) " >&6
3497 else
3498   ac_save_c_werror_flag=$ac_c_werror_flag
3499    ac_c_werror_flag=yes
3500    ac_cv_prog_cc_g=no
3501    CFLAGS="-g"
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 if ac_fn_c_try_compile "$LINENO"; then :
3514   ac_cv_prog_cc_g=yes
3515 else
3516   CFLAGS=""
3517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h.  */
3519
3520 int
3521 main ()
3522 {
3523
3524   ;
3525   return 0;
3526 }
3527 _ACEOF
3528 if ac_fn_c_try_compile "$LINENO"; then :
3529
3530 else
3531   ac_c_werror_flag=$ac_save_c_werror_flag
3532          CFLAGS="-g"
3533          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3534 /* end confdefs.h.  */
3535
3536 int
3537 main ()
3538 {
3539
3540   ;
3541   return 0;
3542 }
3543 _ACEOF
3544 if ac_fn_c_try_compile "$LINENO"; then :
3545   ac_cv_prog_cc_g=yes
3546 fi
3547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 fi
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 fi
3551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3552    ac_c_werror_flag=$ac_save_c_werror_flag
3553 fi
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3555 $as_echo "$ac_cv_prog_cc_g" >&6; }
3556 if test "$ac_test_CFLAGS" = set; then
3557   CFLAGS=$ac_save_CFLAGS
3558 elif test $ac_cv_prog_cc_g = yes; then
3559   if test "$GCC" = yes; then
3560     CFLAGS="-g -O2"
3561   else
3562     CFLAGS="-g"
3563   fi
3564 else
3565   if test "$GCC" = yes; then
3566     CFLAGS="-O2"
3567   else
3568     CFLAGS=
3569   fi
3570 fi
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3572 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3573 if ${ac_cv_prog_cc_c89+:} false; then :
3574   $as_echo_n "(cached) " >&6
3575 else
3576   ac_cv_prog_cc_c89=no
3577 ac_save_CC=$CC
3578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3579 /* end confdefs.h.  */
3580 #include <stdarg.h>
3581 #include <stdio.h>
3582 #include <sys/types.h>
3583 #include <sys/stat.h>
3584 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3585 struct buf { int x; };
3586 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3587 static char *e (p, i)
3588      char **p;
3589      int i;
3590 {
3591   return p[i];
3592 }
3593 static char *f (char * (*g) (char **, int), char **p, ...)
3594 {
3595   char *s;
3596   va_list v;
3597   va_start (v,p);
3598   s = g (p, va_arg (v,int));
3599   va_end (v);
3600   return s;
3601 }
3602
3603 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3604    function prototypes and stuff, but not '\xHH' hex character constants.
3605    These don't provoke an error unfortunately, instead are silently treated
3606    as 'x'.  The following induces an error, until -std is added to get
3607    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3608    array size at least.  It's necessary to write '\x00'==0 to get something
3609    that's true only with -std.  */
3610 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3611
3612 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3613    inside strings and character constants.  */
3614 #define FOO(x) 'x'
3615 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3616
3617 int test (int i, double x);
3618 struct s1 {int (*f) (int a);};
3619 struct s2 {int (*f) (double a);};
3620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3621 int argc;
3622 char **argv;
3623 int
3624 main ()
3625 {
3626 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3627   ;
3628   return 0;
3629 }
3630 _ACEOF
3631 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3632         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3633 do
3634   CC="$ac_save_CC $ac_arg"
3635   if ac_fn_c_try_compile "$LINENO"; then :
3636   ac_cv_prog_cc_c89=$ac_arg
3637 fi
3638 rm -f core conftest.err conftest.$ac_objext
3639   test "x$ac_cv_prog_cc_c89" != "xno" && break
3640 done
3641 rm -f conftest.$ac_ext
3642 CC=$ac_save_CC
3643
3644 fi
3645 # AC_CACHE_VAL
3646 case "x$ac_cv_prog_cc_c89" in
3647   x)
3648     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3649 $as_echo "none needed" >&6; } ;;
3650   xno)
3651     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3652 $as_echo "unsupported" >&6; } ;;
3653   *)
3654     CC="$CC $ac_cv_prog_cc_c89"
3655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3656 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3657 esac
3658 if test "x$ac_cv_prog_cc_c89" != xno; then :
3659
3660 fi
3661
3662 ac_ext=c
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3667 DEPDIR="${am__leading_dot}deps"
3668
3669 ac_config_commands="$ac_config_commands depfiles"
3670
3671
3672 am_make=${MAKE-make}
3673 cat > confinc << 'END'
3674 am__doit:
3675         @echo this is the am__doit target
3676 .PHONY: am__doit
3677 END
3678 # If we don't find an include directive, just comment out the code.
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3680 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3681 am__include="#"
3682 am__quote=
3683 _am_result=none
3684 # First try GNU make style include.
3685 echo "include confinc" > confmf
3686 # Ignore all kinds of additional output from `make'.
3687 case `$am_make -s -f confmf 2> /dev/null` in #(
3688 *the\ am__doit\ target*)
3689   am__include=include
3690   am__quote=
3691   _am_result=GNU
3692   ;;
3693 esac
3694 # Now try BSD make style include.
3695 if test "$am__include" = "#"; then
3696    echo '.include "confinc"' > confmf
3697    case `$am_make -s -f confmf 2> /dev/null` in #(
3698    *the\ am__doit\ target*)
3699      am__include=.include
3700      am__quote="\""
3701      _am_result=BSD
3702      ;;
3703    esac
3704 fi
3705
3706
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3708 $as_echo "$_am_result" >&6; }
3709 rm -f confinc confmf
3710
3711 # Check whether --enable-dependency-tracking was given.
3712 if test "${enable_dependency_tracking+set}" = set; then :
3713   enableval=$enable_dependency_tracking;
3714 fi
3715
3716 if test "x$enable_dependency_tracking" != xno; then
3717   am_depcomp="$ac_aux_dir/depcomp"
3718   AMDEPBACKSLASH='\'
3719   am__nodep='_no'
3720 fi
3721  if test "x$enable_dependency_tracking" != xno; then
3722   AMDEP_TRUE=
3723   AMDEP_FALSE='#'
3724 else
3725   AMDEP_TRUE='#'
3726   AMDEP_FALSE=
3727 fi
3728
3729
3730
3731 depcc="$CC"   am_compiler_list=
3732
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3734 $as_echo_n "checking dependency style of $depcc... " >&6; }
3735 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3736   $as_echo_n "(cached) " >&6
3737 else
3738   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3739   # We make a subdir and do the tests there.  Otherwise we can end up
3740   # making bogus files that we don't know about and never remove.  For
3741   # instance it was reported that on HP-UX the gcc test will end up
3742   # making a dummy file named `D' -- because `-MD' means `put the output
3743   # in D'.
3744   rm -rf conftest.dir
3745   mkdir conftest.dir
3746   # Copy depcomp to subdir because otherwise we won't find it if we're
3747   # using a relative directory.
3748   cp "$am_depcomp" conftest.dir
3749   cd conftest.dir
3750   # We will build objects and dependencies in a subdirectory because
3751   # it helps to detect inapplicable dependency modes.  For instance
3752   # both Tru64's cc and ICC support -MD to output dependencies as a
3753   # side effect of compilation, but ICC will put the dependencies in
3754   # the current directory while Tru64 will put them in the object
3755   # directory.
3756   mkdir sub
3757
3758   am_cv_CC_dependencies_compiler_type=none
3759   if test "$am_compiler_list" = ""; then
3760      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3761   fi
3762   am__universal=false
3763   case " $depcc " in #(
3764      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3765      esac
3766
3767   for depmode in $am_compiler_list; do
3768     # Setup a source with many dependencies, because some compilers
3769     # like to wrap large dependency lists on column 80 (with \), and
3770     # we should not choose a depcomp mode which is confused by this.
3771     #
3772     # We need to recreate these files for each test, as the compiler may
3773     # overwrite some of them when testing with obscure command lines.
3774     # This happens at least with the AIX C compiler.
3775     : > sub/conftest.c
3776     for i in 1 2 3 4 5 6; do
3777       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3778       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3779       # Solaris 8's {/usr,}/bin/sh.
3780       touch sub/conftst$i.h
3781     done
3782     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3783
3784     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3785     # mode.  It turns out that the SunPro C++ compiler does not properly
3786     # handle `-M -o', and we need to detect this.  Also, some Intel
3787     # versions had trouble with output in subdirs
3788     am__obj=sub/conftest.${OBJEXT-o}
3789     am__minus_obj="-o $am__obj"
3790     case $depmode in
3791     gcc)
3792       # This depmode causes a compiler race in universal mode.
3793       test "$am__universal" = false || continue
3794       ;;
3795     nosideeffect)
3796       # after this tag, mechanisms are not by side-effect, so they'll
3797       # only be used when explicitly requested
3798       if test "x$enable_dependency_tracking" = xyes; then
3799         continue
3800       else
3801         break
3802       fi
3803       ;;
3804     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3805       # This compiler won't grok `-c -o', but also, the minuso test has
3806       # not run yet.  These depmodes are late enough in the game, and
3807       # so weak that their functioning should not be impacted.
3808       am__obj=conftest.${OBJEXT-o}
3809       am__minus_obj=
3810       ;;
3811     none) break ;;
3812     esac
3813     if depmode=$depmode \
3814        source=sub/conftest.c object=$am__obj \
3815        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3816        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3817          >/dev/null 2>conftest.err &&
3818        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3819        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3820        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3821        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3822       # icc doesn't choke on unknown options, it will just issue warnings
3823       # or remarks (even with -Werror).  So we grep stderr for any message
3824       # that says an option was ignored or not supported.
3825       # When given -MP, icc 7.0 and 7.1 complain thusly:
3826       #   icc: Command line warning: ignoring option '-M'; no argument required
3827       # The diagnosis changed in icc 8.0:
3828       #   icc: Command line remark: option '-MP' not supported
3829       if (grep 'ignoring option' conftest.err ||
3830           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3831         am_cv_CC_dependencies_compiler_type=$depmode
3832         break
3833       fi
3834     fi
3835   done
3836
3837   cd ..
3838   rm -rf conftest.dir
3839 else
3840   am_cv_CC_dependencies_compiler_type=none
3841 fi
3842
3843 fi
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3845 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3846 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3847
3848  if
3849   test "x$enable_dependency_tracking" != xno \
3850   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3851   am__fastdepCC_TRUE=
3852   am__fastdepCC_FALSE='#'
3853 else
3854   am__fastdepCC_TRUE='#'
3855   am__fastdepCC_FALSE=
3856 fi
3857
3858
3859 ac_ext=cpp
3860 ac_cpp='$CXXCPP $CPPFLAGS'
3861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3864 if test -z "$CXX"; then
3865   if test -n "$CCC"; then
3866     CXX=$CCC
3867   else
3868     if test -n "$ac_tool_prefix"; then
3869   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3870   do
3871     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3872 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if ${ac_cv_prog_CXX+:} false; then :
3876   $as_echo_n "(cached) " >&6
3877 else
3878   if test -n "$CXX"; then
3879   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3883 do
3884   IFS=$as_save_IFS
3885   test -z "$as_dir" && as_dir=.
3886     for ac_exec_ext in '' $ac_executable_extensions; do
3887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890     break 2
3891   fi
3892 done
3893   done
3894 IFS=$as_save_IFS
3895
3896 fi
3897 fi
3898 CXX=$ac_cv_prog_CXX
3899 if test -n "$CXX"; then
3900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3901 $as_echo "$CXX" >&6; }
3902 else
3903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3905 fi
3906
3907
3908     test -n "$CXX" && break
3909   done
3910 fi
3911 if test -z "$CXX"; then
3912   ac_ct_CXX=$CXX
3913   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3914 do
3915   # Extract the first word of "$ac_prog", so it can be a program name with args.
3916 set dummy $ac_prog; ac_word=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3920   $as_echo_n "(cached) " >&6
3921 else
3922   if test -n "$ac_ct_CXX"; then
3923   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3924 else
3925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 for as_dir in $PATH
3927 do
3928   IFS=$as_save_IFS
3929   test -z "$as_dir" && as_dir=.
3930     for ac_exec_ext in '' $ac_executable_extensions; do
3931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932     ac_cv_prog_ac_ct_CXX="$ac_prog"
3933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3934     break 2
3935   fi
3936 done
3937   done
3938 IFS=$as_save_IFS
3939
3940 fi
3941 fi
3942 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3943 if test -n "$ac_ct_CXX"; then
3944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3945 $as_echo "$ac_ct_CXX" >&6; }
3946 else
3947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3949 fi
3950
3951
3952   test -n "$ac_ct_CXX" && break
3953 done
3954
3955   if test "x$ac_ct_CXX" = x; then
3956     CXX="g++"
3957   else
3958     case $cross_compiling:$ac_tool_warned in
3959 yes:)
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3962 ac_tool_warned=yes ;;
3963 esac
3964     CXX=$ac_ct_CXX
3965   fi
3966 fi
3967
3968   fi
3969 fi
3970 # Provide some information about the compiler.
3971 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3972 set X $ac_compile
3973 ac_compiler=$2
3974 for ac_option in --version -v -V -qversion; do
3975   { { ac_try="$ac_compiler $ac_option >&5"
3976 case "(($ac_try" in
3977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978   *) ac_try_echo=$ac_try;;
3979 esac
3980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3981 $as_echo "$ac_try_echo"; } >&5
3982   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3983   ac_status=$?
3984   if test -s conftest.err; then
3985     sed '10a\
3986 ... rest of stderr output deleted ...
3987          10q' conftest.err >conftest.er1
3988     cat conftest.er1 >&5
3989   fi
3990   rm -f conftest.er1 conftest.err
3991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3992   test $ac_status = 0; }
3993 done
3994
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3996 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3997 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3998   $as_echo_n "(cached) " >&6
3999 else
4000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h.  */
4002
4003 int
4004 main ()
4005 {
4006 #ifndef __GNUC__
4007        choke me
4008 #endif
4009
4010   ;
4011   return 0;
4012 }
4013 _ACEOF
4014 if ac_fn_cxx_try_compile "$LINENO"; then :
4015   ac_compiler_gnu=yes
4016 else
4017   ac_compiler_gnu=no
4018 fi
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4020 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4021
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4024 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4025 if test $ac_compiler_gnu = yes; then
4026   GXX=yes
4027 else
4028   GXX=
4029 fi
4030 ac_test_CXXFLAGS=${CXXFLAGS+set}
4031 ac_save_CXXFLAGS=$CXXFLAGS
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4033 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4034 if ${ac_cv_prog_cxx_g+:} false; then :
4035   $as_echo_n "(cached) " >&6
4036 else
4037   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4038    ac_cxx_werror_flag=yes
4039    ac_cv_prog_cxx_g=no
4040    CXXFLAGS="-g"
4041    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h.  */
4043
4044 int
4045 main ()
4046 {
4047
4048   ;
4049   return 0;
4050 }
4051 _ACEOF
4052 if ac_fn_cxx_try_compile "$LINENO"; then :
4053   ac_cv_prog_cxx_g=yes
4054 else
4055   CXXFLAGS=""
4056       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h.  */
4058
4059 int
4060 main ()
4061 {
4062
4063   ;
4064   return 0;
4065 }
4066 _ACEOF
4067 if ac_fn_cxx_try_compile "$LINENO"; then :
4068
4069 else
4070   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4071          CXXFLAGS="-g"
4072          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h.  */
4074
4075 int
4076 main ()
4077 {
4078
4079   ;
4080   return 0;
4081 }
4082 _ACEOF
4083 if ac_fn_cxx_try_compile "$LINENO"; then :
4084   ac_cv_prog_cxx_g=yes
4085 fi
4086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087 fi
4088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4089 fi
4090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4091    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4092 fi
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4094 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4095 if test "$ac_test_CXXFLAGS" = set; then
4096   CXXFLAGS=$ac_save_CXXFLAGS
4097 elif test $ac_cv_prog_cxx_g = yes; then
4098   if test "$GXX" = yes; then
4099     CXXFLAGS="-g -O2"
4100   else
4101     CXXFLAGS="-g"
4102   fi
4103 else
4104   if test "$GXX" = yes; then
4105     CXXFLAGS="-O2"
4106   else
4107     CXXFLAGS=
4108   fi
4109 fi
4110 ac_ext=c
4111 ac_cpp='$CPP $CPPFLAGS'
4112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4115
4116 depcc="$CXX"  am_compiler_list=
4117
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4119 $as_echo_n "checking dependency style of $depcc... " >&6; }
4120 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4121   $as_echo_n "(cached) " >&6
4122 else
4123   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4124   # We make a subdir and do the tests there.  Otherwise we can end up
4125   # making bogus files that we don't know about and never remove.  For
4126   # instance it was reported that on HP-UX the gcc test will end up
4127   # making a dummy file named `D' -- because `-MD' means `put the output
4128   # in D'.
4129   rm -rf conftest.dir
4130   mkdir conftest.dir
4131   # Copy depcomp to subdir because otherwise we won't find it if we're
4132   # using a relative directory.
4133   cp "$am_depcomp" conftest.dir
4134   cd conftest.dir
4135   # We will build objects and dependencies in a subdirectory because
4136   # it helps to detect inapplicable dependency modes.  For instance
4137   # both Tru64's cc and ICC support -MD to output dependencies as a
4138   # side effect of compilation, but ICC will put the dependencies in
4139   # the current directory while Tru64 will put them in the object
4140   # directory.
4141   mkdir sub
4142
4143   am_cv_CXX_dependencies_compiler_type=none
4144   if test "$am_compiler_list" = ""; then
4145      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4146   fi
4147   am__universal=false
4148   case " $depcc " in #(
4149      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4150      esac
4151
4152   for depmode in $am_compiler_list; do
4153     # Setup a source with many dependencies, because some compilers
4154     # like to wrap large dependency lists on column 80 (with \), and
4155     # we should not choose a depcomp mode which is confused by this.
4156     #
4157     # We need to recreate these files for each test, as the compiler may
4158     # overwrite some of them when testing with obscure command lines.
4159     # This happens at least with the AIX C compiler.
4160     : > sub/conftest.c
4161     for i in 1 2 3 4 5 6; do
4162       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4163       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4164       # Solaris 8's {/usr,}/bin/sh.
4165       touch sub/conftst$i.h
4166     done
4167     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4168
4169     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4170     # mode.  It turns out that the SunPro C++ compiler does not properly
4171     # handle `-M -o', and we need to detect this.  Also, some Intel
4172     # versions had trouble with output in subdirs
4173     am__obj=sub/conftest.${OBJEXT-o}
4174     am__minus_obj="-o $am__obj"
4175     case $depmode in
4176     gcc)
4177       # This depmode causes a compiler race in universal mode.
4178       test "$am__universal" = false || continue
4179       ;;
4180     nosideeffect)
4181       # after this tag, mechanisms are not by side-effect, so they'll
4182       # only be used when explicitly requested
4183       if test "x$enable_dependency_tracking" = xyes; then
4184         continue
4185       else
4186         break
4187       fi
4188       ;;
4189     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4190       # This compiler won't grok `-c -o', but also, the minuso test has
4191       # not run yet.  These depmodes are late enough in the game, and
4192       # so weak that their functioning should not be impacted.
4193       am__obj=conftest.${OBJEXT-o}
4194       am__minus_obj=
4195       ;;
4196     none) break ;;
4197     esac
4198     if depmode=$depmode \
4199        source=sub/conftest.c object=$am__obj \
4200        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4201        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4202          >/dev/null 2>conftest.err &&
4203        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4204        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4205        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4206        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4207       # icc doesn't choke on unknown options, it will just issue warnings
4208       # or remarks (even with -Werror).  So we grep stderr for any message
4209       # that says an option was ignored or not supported.
4210       # When given -MP, icc 7.0 and 7.1 complain thusly:
4211       #   icc: Command line warning: ignoring option '-M'; no argument required
4212       # The diagnosis changed in icc 8.0:
4213       #   icc: Command line remark: option '-MP' not supported
4214       if (grep 'ignoring option' conftest.err ||
4215           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4216         am_cv_CXX_dependencies_compiler_type=$depmode
4217         break
4218       fi
4219     fi
4220   done
4221
4222   cd ..
4223   rm -rf conftest.dir
4224 else
4225   am_cv_CXX_dependencies_compiler_type=none
4226 fi
4227
4228 fi
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4230 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4231 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4232
4233  if
4234   test "x$enable_dependency_tracking" != xno \
4235   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4236   am__fastdepCXX_TRUE=
4237   am__fastdepCXX_FALSE='#'
4238 else
4239   am__fastdepCXX_TRUE='#'
4240   am__fastdepCXX_FALSE=
4241 fi
4242
4243
4244 case `pwd` in
4245   *\ * | *\     *)
4246     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4247 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4248 esac
4249
4250
4251
4252 macro_version='2.4.2'
4253 macro_revision='1.3337'
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267 ltmain="$ac_aux_dir/ltmain.sh"
4268
4269 # Backslashify metacharacters that are still active within
4270 # double-quoted strings.
4271 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4272
4273 # Same as above, but do not quote variable references.
4274 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4275
4276 # Sed substitution to delay expansion of an escaped shell variable in a
4277 # double_quote_subst'ed string.
4278 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4279
4280 # Sed substitution to delay expansion of an escaped single quote.
4281 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4282
4283 # Sed substitution to avoid accidental globbing in evaled expressions
4284 no_glob_subst='s/\*/\\\*/g'
4285
4286 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4287 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4288 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4289
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4291 $as_echo_n "checking how to print strings... " >&6; }
4292 # Test print first, because it will be a builtin if present.
4293 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4294    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4295   ECHO='print -r --'
4296 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4297   ECHO='printf %s\n'
4298 else
4299   # Use this function as a fallback that always works.
4300   func_fallback_echo ()
4301   {
4302     eval 'cat <<_LTECHO_EOF
4303 $1
4304 _LTECHO_EOF'
4305   }
4306   ECHO='func_fallback_echo'
4307 fi
4308
4309 # func_echo_all arg...
4310 # Invoke $ECHO with all args, space-separated.
4311 func_echo_all ()
4312 {
4313     $ECHO ""
4314 }
4315
4316 case "$ECHO" in
4317   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4318 $as_echo "printf" >&6; } ;;
4319   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4320 $as_echo "print -r" >&6; } ;;
4321   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4322 $as_echo "cat" >&6; } ;;
4323 esac
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4339 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4340 if ${ac_cv_path_SED+:} false; then :
4341   $as_echo_n "(cached) " >&6
4342 else
4343             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4344      for ac_i in 1 2 3 4 5 6 7; do
4345        ac_script="$ac_script$as_nl$ac_script"
4346      done
4347      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4348      { ac_script=; unset ac_script;}
4349      if test -z "$SED"; then
4350   ac_path_SED_found=false
4351   # Loop through the user's path and test for each of PROGNAME-LIST
4352   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353 for as_dir in $PATH
4354 do
4355   IFS=$as_save_IFS
4356   test -z "$as_dir" && as_dir=.
4357     for ac_prog in sed gsed; do
4358     for ac_exec_ext in '' $ac_executable_extensions; do
4359       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4360       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4361 # Check for GNU ac_path_SED and select it if it is found.
4362   # Check for GNU $ac_path_SED
4363 case `"$ac_path_SED" --version 2>&1` in
4364 *GNU*)
4365   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4366 *)
4367   ac_count=0
4368   $as_echo_n 0123456789 >"conftest.in"
4369   while :
4370   do
4371     cat "conftest.in" "conftest.in" >"conftest.tmp"
4372     mv "conftest.tmp" "conftest.in"
4373     cp "conftest.in" "conftest.nl"
4374     $as_echo '' >> "conftest.nl"
4375     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4376     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4377     as_fn_arith $ac_count + 1 && ac_count=$as_val
4378     if test $ac_count -gt ${ac_path_SED_max-0}; then
4379       # Best one so far, save it but keep looking for a better one
4380       ac_cv_path_SED="$ac_path_SED"
4381       ac_path_SED_max=$ac_count
4382     fi
4383     # 10*(2^10) chars as input seems more than enough
4384     test $ac_count -gt 10 && break
4385   done
4386   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4387 esac
4388
4389       $ac_path_SED_found && break 3
4390     done
4391   done
4392   done
4393 IFS=$as_save_IFS
4394   if test -z "$ac_cv_path_SED"; then
4395     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4396   fi
4397 else
4398   ac_cv_path_SED=$SED
4399 fi
4400
4401 fi
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4403 $as_echo "$ac_cv_path_SED" >&6; }
4404  SED="$ac_cv_path_SED"
4405   rm -f conftest.sed
4406
4407 test -z "$SED" && SED=sed
4408 Xsed="$SED -e 1s/^X//"
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4421 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4422 if ${ac_cv_path_GREP+:} false; then :
4423   $as_echo_n "(cached) " >&6
4424 else
4425   if test -z "$GREP"; then
4426   ac_path_GREP_found=false
4427   # Loop through the user's path and test for each of PROGNAME-LIST
4428   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4430 do
4431   IFS=$as_save_IFS
4432   test -z "$as_dir" && as_dir=.
4433     for ac_prog in grep ggrep; do
4434     for ac_exec_ext in '' $ac_executable_extensions; do
4435       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4436       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4437 # Check for GNU ac_path_GREP and select it if it is found.
4438   # Check for GNU $ac_path_GREP
4439 case `"$ac_path_GREP" --version 2>&1` in
4440 *GNU*)
4441   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4442 *)
4443   ac_count=0
4444   $as_echo_n 0123456789 >"conftest.in"
4445   while :
4446   do
4447     cat "conftest.in" "conftest.in" >"conftest.tmp"
4448     mv "conftest.tmp" "conftest.in"
4449     cp "conftest.in" "conftest.nl"
4450     $as_echo 'GREP' >> "conftest.nl"
4451     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4452     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4453     as_fn_arith $ac_count + 1 && ac_count=$as_val
4454     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4455       # Best one so far, save it but keep looking for a better one
4456       ac_cv_path_GREP="$ac_path_GREP"
4457       ac_path_GREP_max=$ac_count
4458     fi
4459     # 10*(2^10) chars as input seems more than enough
4460     test $ac_count -gt 10 && break
4461   done
4462   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4463 esac
4464
4465       $ac_path_GREP_found && break 3
4466     done
4467   done
4468   done
4469 IFS=$as_save_IFS
4470   if test -z "$ac_cv_path_GREP"; then
4471     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4472   fi
4473 else
4474   ac_cv_path_GREP=$GREP
4475 fi
4476
4477 fi
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4479 $as_echo "$ac_cv_path_GREP" >&6; }
4480  GREP="$ac_cv_path_GREP"
4481
4482
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4484 $as_echo_n "checking for egrep... " >&6; }
4485 if ${ac_cv_path_EGREP+:} false; then :
4486   $as_echo_n "(cached) " >&6
4487 else
4488   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4489    then ac_cv_path_EGREP="$GREP -E"
4490    else
4491      if test -z "$EGREP"; then
4492   ac_path_EGREP_found=false
4493   # Loop through the user's path and test for each of PROGNAME-LIST
4494   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4495 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4496 do
4497   IFS=$as_save_IFS
4498   test -z "$as_dir" && as_dir=.
4499     for ac_prog in egrep; do
4500     for ac_exec_ext in '' $ac_executable_extensions; do
4501       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4502       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4503 # Check for GNU ac_path_EGREP and select it if it is found.
4504   # Check for GNU $ac_path_EGREP
4505 case `"$ac_path_EGREP" --version 2>&1` in
4506 *GNU*)
4507   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4508 *)
4509   ac_count=0
4510   $as_echo_n 0123456789 >"conftest.in"
4511   while :
4512   do
4513     cat "conftest.in" "conftest.in" >"conftest.tmp"
4514     mv "conftest.tmp" "conftest.in"
4515     cp "conftest.in" "conftest.nl"
4516     $as_echo 'EGREP' >> "conftest.nl"
4517     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4518     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4519     as_fn_arith $ac_count + 1 && ac_count=$as_val
4520     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4521       # Best one so far, save it but keep looking for a better one
4522       ac_cv_path_EGREP="$ac_path_EGREP"
4523       ac_path_EGREP_max=$ac_count
4524     fi
4525     # 10*(2^10) chars as input seems more than enough
4526     test $ac_count -gt 10 && break
4527   done
4528   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4529 esac
4530
4531       $ac_path_EGREP_found && break 3
4532     done
4533   done
4534   done
4535 IFS=$as_save_IFS
4536   if test -z "$ac_cv_path_EGREP"; then
4537     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4538   fi
4539 else
4540   ac_cv_path_EGREP=$EGREP
4541 fi
4542
4543    fi
4544 fi
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4546 $as_echo "$ac_cv_path_EGREP" >&6; }
4547  EGREP="$ac_cv_path_EGREP"
4548
4549
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4551 $as_echo_n "checking for fgrep... " >&6; }
4552 if ${ac_cv_path_FGREP+:} false; then :
4553   $as_echo_n "(cached) " >&6
4554 else
4555   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4556    then ac_cv_path_FGREP="$GREP -F"
4557    else
4558      if test -z "$FGREP"; then
4559   ac_path_FGREP_found=false
4560   # Loop through the user's path and test for each of PROGNAME-LIST
4561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4563 do
4564   IFS=$as_save_IFS
4565   test -z "$as_dir" && as_dir=.
4566     for ac_prog in fgrep; do
4567     for ac_exec_ext in '' $ac_executable_extensions; do
4568       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4569       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4570 # Check for GNU ac_path_FGREP and select it if it is found.
4571   # Check for GNU $ac_path_FGREP
4572 case `"$ac_path_FGREP" --version 2>&1` in
4573 *GNU*)
4574   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4575 *)
4576   ac_count=0
4577   $as_echo_n 0123456789 >"conftest.in"
4578   while :
4579   do
4580     cat "conftest.in" "conftest.in" >"conftest.tmp"
4581     mv "conftest.tmp" "conftest.in"
4582     cp "conftest.in" "conftest.nl"
4583     $as_echo 'FGREP' >> "conftest.nl"
4584     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4585     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4586     as_fn_arith $ac_count + 1 && ac_count=$as_val
4587     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4588       # Best one so far, save it but keep looking for a better one
4589       ac_cv_path_FGREP="$ac_path_FGREP"
4590       ac_path_FGREP_max=$ac_count
4591     fi
4592     # 10*(2^10) chars as input seems more than enough
4593     test $ac_count -gt 10 && break
4594   done
4595   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4596 esac
4597
4598       $ac_path_FGREP_found && break 3
4599     done
4600   done
4601   done
4602 IFS=$as_save_IFS
4603   if test -z "$ac_cv_path_FGREP"; then
4604     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4605   fi
4606 else
4607   ac_cv_path_FGREP=$FGREP
4608 fi
4609
4610    fi
4611 fi
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4613 $as_echo "$ac_cv_path_FGREP" >&6; }
4614  FGREP="$ac_cv_path_FGREP"
4615
4616
4617 test -z "$GREP" && GREP=grep
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637 # Check whether --with-gnu-ld was given.
4638 if test "${with_gnu_ld+set}" = set; then :
4639   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4640 else
4641   with_gnu_ld=no
4642 fi
4643
4644 ac_prog=ld
4645 if test "$GCC" = yes; then
4646   # Check if gcc -print-prog-name=ld gives a path.
4647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4648 $as_echo_n "checking for ld used by $CC... " >&6; }
4649   case $host in
4650   *-*-mingw*)
4651     # gcc leaves a trailing carriage return which upsets mingw
4652     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4653   *)
4654     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4655   esac
4656   case $ac_prog in
4657     # Accept absolute paths.
4658     [\\/]* | ?:[\\/]*)
4659       re_direlt='/[^/][^/]*/\.\./'
4660       # Canonicalize the pathname of ld
4661       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4662       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4663         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4664       done
4665       test -z "$LD" && LD="$ac_prog"
4666       ;;
4667   "")
4668     # If it fails, then pretend we aren't using GCC.
4669     ac_prog=ld
4670     ;;
4671   *)
4672     # If it is relative, then search for the first ld in PATH.
4673     with_gnu_ld=unknown
4674     ;;
4675   esac
4676 elif test "$with_gnu_ld" = yes; then
4677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4678 $as_echo_n "checking for GNU ld... " >&6; }
4679 else
4680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4681 $as_echo_n "checking for non-GNU ld... " >&6; }
4682 fi
4683 if ${lt_cv_path_LD+:} false; then :
4684   $as_echo_n "(cached) " >&6
4685 else
4686   if test -z "$LD"; then
4687   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4688   for ac_dir in $PATH; do
4689     IFS="$lt_save_ifs"
4690     test -z "$ac_dir" && ac_dir=.
4691     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4692       lt_cv_path_LD="$ac_dir/$ac_prog"
4693       # Check to see if the program is GNU ld.  I'd rather use --version,
4694       # but apparently some variants of GNU ld only accept -v.
4695       # Break only if it was the GNU/non-GNU ld that we prefer.
4696       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4697       *GNU* | *'with BFD'*)
4698         test "$with_gnu_ld" != no && break
4699         ;;
4700       *)
4701         test "$with_gnu_ld" != yes && break
4702         ;;
4703       esac
4704     fi
4705   done
4706   IFS="$lt_save_ifs"
4707 else
4708   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4709 fi
4710 fi
4711
4712 LD="$lt_cv_path_LD"
4713 if test -n "$LD"; then
4714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4715 $as_echo "$LD" >&6; }
4716 else
4717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4719 fi
4720 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4723 if ${lt_cv_prog_gnu_ld+:} false; then :
4724   $as_echo_n "(cached) " >&6
4725 else
4726   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4727 case `$LD -v 2>&1 </dev/null` in
4728 *GNU* | *'with BFD'*)
4729   lt_cv_prog_gnu_ld=yes
4730   ;;
4731 *)
4732   lt_cv_prog_gnu_ld=no
4733   ;;
4734 esac
4735 fi
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4738 with_gnu_ld=$lt_cv_prog_gnu_ld
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4750 if ${lt_cv_path_NM+:} false; then :
4751   $as_echo_n "(cached) " >&6
4752 else
4753   if test -n "$NM"; then
4754   # Let the user override the test.
4755   lt_cv_path_NM="$NM"
4756 else
4757   lt_nm_to_check="${ac_tool_prefix}nm"
4758   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4759     lt_nm_to_check="$lt_nm_to_check nm"
4760   fi
4761   for lt_tmp_nm in $lt_nm_to_check; do
4762     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4763     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4764       IFS="$lt_save_ifs"
4765       test -z "$ac_dir" && ac_dir=.
4766       tmp_nm="$ac_dir/$lt_tmp_nm"
4767       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4768         # Check to see if the nm accepts a BSD-compat flag.
4769         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4770         #   nm: unknown option "B" ignored
4771         # Tru64's nm complains that /dev/null is an invalid object file
4772         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4773         */dev/null* | *'Invalid file or object type'*)
4774           lt_cv_path_NM="$tmp_nm -B"
4775           break
4776           ;;
4777         *)
4778           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4779           */dev/null*)
4780             lt_cv_path_NM="$tmp_nm -p"
4781             break
4782             ;;
4783           *)
4784             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4785             continue # so that we can try to find one that supports BSD flags
4786             ;;
4787           esac
4788           ;;
4789         esac
4790       fi
4791     done
4792     IFS="$lt_save_ifs"
4793   done
4794   : ${lt_cv_path_NM=no}
4795 fi
4796 fi
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4798 $as_echo "$lt_cv_path_NM" >&6; }
4799 if test "$lt_cv_path_NM" != "no"; then
4800   NM="$lt_cv_path_NM"
4801 else
4802   # Didn't find any BSD compatible name lister, look for dumpbin.
4803   if test -n "$DUMPBIN"; then :
4804     # Let the user override the test.
4805   else
4806     if test -n "$ac_tool_prefix"; then
4807   for ac_prog in dumpbin "link -dump"
4808   do
4809     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if ${ac_cv_prog_DUMPBIN+:} false; then :
4814   $as_echo_n "(cached) " >&6
4815 else
4816   if test -n "$DUMPBIN"; then
4817   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4818 else
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH
4821 do
4822   IFS=$as_save_IFS
4823   test -z "$as_dir" && as_dir=.
4824     for ac_exec_ext in '' $ac_executable_extensions; do
4825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4828     break 2
4829   fi
4830 done
4831   done
4832 IFS=$as_save_IFS
4833
4834 fi
4835 fi
4836 DUMPBIN=$ac_cv_prog_DUMPBIN
4837 if test -n "$DUMPBIN"; then
4838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4839 $as_echo "$DUMPBIN" >&6; }
4840 else
4841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4843 fi
4844
4845
4846     test -n "$DUMPBIN" && break
4847   done
4848 fi
4849 if test -z "$DUMPBIN"; then
4850   ac_ct_DUMPBIN=$DUMPBIN
4851   for ac_prog in dumpbin "link -dump"
4852 do
4853   # Extract the first word of "$ac_prog", so it can be a program name with args.
4854 set dummy $ac_prog; ac_word=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4858   $as_echo_n "(cached) " >&6
4859 else
4860   if test -n "$ac_ct_DUMPBIN"; then
4861   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4862 else
4863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864 for as_dir in $PATH
4865 do
4866   IFS=$as_save_IFS
4867   test -z "$as_dir" && as_dir=.
4868     for ac_exec_ext in '' $ac_executable_extensions; do
4869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4870     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872     break 2
4873   fi
4874 done
4875   done
4876 IFS=$as_save_IFS
4877
4878 fi
4879 fi
4880 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4881 if test -n "$ac_ct_DUMPBIN"; then
4882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4883 $as_echo "$ac_ct_DUMPBIN" >&6; }
4884 else
4885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4887 fi
4888
4889
4890   test -n "$ac_ct_DUMPBIN" && break
4891 done
4892
4893   if test "x$ac_ct_DUMPBIN" = x; then
4894     DUMPBIN=":"
4895   else
4896     case $cross_compiling:$ac_tool_warned in
4897 yes:)
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4900 ac_tool_warned=yes ;;
4901 esac
4902     DUMPBIN=$ac_ct_DUMPBIN
4903   fi
4904 fi
4905
4906     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4907     *COFF*)
4908       DUMPBIN="$DUMPBIN -symbols"
4909       ;;
4910     *)
4911       DUMPBIN=:
4912       ;;
4913     esac
4914   fi
4915
4916   if test "$DUMPBIN" != ":"; then
4917     NM="$DUMPBIN"
4918   fi
4919 fi
4920 test -z "$NM" && NM=nm
4921
4922
4923
4924
4925
4926
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4928 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4929 if ${lt_cv_nm_interface+:} false; then :
4930   $as_echo_n "(cached) " >&6
4931 else
4932   lt_cv_nm_interface="BSD nm"
4933   echo "int some_variable = 0;" > conftest.$ac_ext
4934   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4935   (eval "$ac_compile" 2>conftest.err)
4936   cat conftest.err >&5
4937   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4938   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4939   cat conftest.err >&5
4940   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4941   cat conftest.out >&5
4942   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4943     lt_cv_nm_interface="MS dumpbin"
4944   fi
4945   rm -f conftest*
4946 fi
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4948 $as_echo "$lt_cv_nm_interface" >&6; }
4949
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4951 $as_echo_n "checking whether ln -s works... " >&6; }
4952 LN_S=$as_ln_s
4953 if test "$LN_S" = "ln -s"; then
4954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4955 $as_echo "yes" >&6; }
4956 else
4957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4958 $as_echo "no, using $LN_S" >&6; }
4959 fi
4960
4961 # find the maximum length of command line arguments
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4963 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4964 if ${lt_cv_sys_max_cmd_len+:} false; then :
4965   $as_echo_n "(cached) " >&6
4966 else
4967     i=0
4968   teststring="ABCD"
4969
4970   case $build_os in
4971   msdosdjgpp*)
4972     # On DJGPP, this test can blow up pretty badly due to problems in libc
4973     # (any single argument exceeding 2000 bytes causes a buffer overrun
4974     # during glob expansion).  Even if it were fixed, the result of this
4975     # check would be larger than it should be.
4976     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4977     ;;
4978
4979   gnu*)
4980     # Under GNU Hurd, this test is not required because there is
4981     # no limit to the length of command line arguments.
4982     # Libtool will interpret -1 as no limit whatsoever
4983     lt_cv_sys_max_cmd_len=-1;
4984     ;;
4985
4986   cygwin* | mingw* | cegcc*)
4987     # On Win9x/ME, this test blows up -- it succeeds, but takes
4988     # about 5 minutes as the teststring grows exponentially.
4989     # Worse, since 9x/ME are not pre-emptively multitasking,
4990     # you end up with a "frozen" computer, even though with patience
4991     # the test eventually succeeds (with a max line length of 256k).
4992     # Instead, let's just punt: use the minimum linelength reported by
4993     # all of the supported platforms: 8192 (on NT/2K/XP).
4994     lt_cv_sys_max_cmd_len=8192;
4995     ;;
4996
4997   mint*)
4998     # On MiNT this can take a long time and run out of memory.
4999     lt_cv_sys_max_cmd_len=8192;
5000     ;;
5001
5002   amigaos*)
5003     # On AmigaOS with pdksh, this test takes hours, literally.
5004     # So we just punt and use a minimum line length of 8192.
5005     lt_cv_sys_max_cmd_len=8192;
5006     ;;
5007
5008   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5009     # This has been around since 386BSD, at least.  Likely further.
5010     if test -x /sbin/sysctl; then
5011       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5012     elif test -x /usr/sbin/sysctl; then
5013       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5014     else
5015       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5016     fi
5017     # And add a safety zone
5018     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5019     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5020     ;;
5021
5022   interix*)
5023     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5024     lt_cv_sys_max_cmd_len=196608
5025     ;;
5026
5027   os2*)
5028     # The test takes a long time on OS/2.
5029     lt_cv_sys_max_cmd_len=8192
5030     ;;
5031
5032   osf*)
5033     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5034     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5035     # nice to cause kernel panics so lets avoid the loop below.
5036     # First set a reasonable default.
5037     lt_cv_sys_max_cmd_len=16384
5038     #
5039     if test -x /sbin/sysconfig; then
5040       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5041         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5042       esac
5043     fi
5044     ;;
5045   sco3.2v5*)
5046     lt_cv_sys_max_cmd_len=102400
5047     ;;
5048   sysv5* | sco5v6* | sysv4.2uw2*)
5049     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5050     if test -n "$kargmax"; then
5051       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5052     else
5053       lt_cv_sys_max_cmd_len=32768
5054     fi
5055     ;;
5056   *)
5057     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5058     if test -n "$lt_cv_sys_max_cmd_len"; then
5059       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5060       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5061     else
5062       # Make teststring a little bigger before we do anything with it.
5063       # a 1K string should be a reasonable start.
5064       for i in 1 2 3 4 5 6 7 8 ; do
5065         teststring=$teststring$teststring
5066       done
5067       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5068       # If test is not a shell built-in, we'll probably end up computing a
5069       # maximum length that is only half of the actual maximum length, but
5070       # we can't tell.
5071       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5072                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5073               test $i != 17 # 1/2 MB should be enough
5074       do
5075         i=`expr $i + 1`
5076         teststring=$teststring$teststring
5077       done
5078       # Only check the string length outside the loop.
5079       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5080       teststring=
5081       # Add a significant safety factor because C++ compilers can tack on
5082       # massive amounts of additional arguments before passing them to the
5083       # linker.  It appears as though 1/2 is a usable value.
5084       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5085     fi
5086     ;;
5087   esac
5088
5089 fi
5090
5091 if test -n $lt_cv_sys_max_cmd_len ; then
5092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5093 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5094 else
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5096 $as_echo "none" >&6; }
5097 fi
5098 max_cmd_len=$lt_cv_sys_max_cmd_len
5099
5100
5101
5102
5103
5104
5105 : ${CP="cp -f"}
5106 : ${MV="mv -f"}
5107 : ${RM="rm -f"}
5108
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5110 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5111 # Try some XSI features
5112 xsi_shell=no
5113 ( _lt_dummy="a/b/c"
5114   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5115       = c,a/b,b/c, \
5116     && eval 'test $(( 1 + 1 )) -eq 2 \
5117     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5118   && xsi_shell=yes
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5120 $as_echo "$xsi_shell" >&6; }
5121
5122
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5124 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5125 lt_shell_append=no
5126 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5127     >/dev/null 2>&1 \
5128   && lt_shell_append=yes
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5130 $as_echo "$lt_shell_append" >&6; }
5131
5132
5133 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5134   lt_unset=unset
5135 else
5136   lt_unset=false
5137 fi
5138
5139
5140
5141
5142
5143 # test EBCDIC or ASCII
5144 case `echo X|tr X '\101'` in
5145  A) # ASCII based system
5146     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5147   lt_SP2NL='tr \040 \012'
5148   lt_NL2SP='tr \015\012 \040\040'
5149   ;;
5150  *) # EBCDIC based system
5151   lt_SP2NL='tr \100 \n'
5152   lt_NL2SP='tr \r\n \100\100'
5153   ;;
5154 esac
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5165 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5166 if ${lt_cv_to_host_file_cmd+:} false; then :
5167   $as_echo_n "(cached) " >&6
5168 else
5169   case $host in
5170   *-*-mingw* )
5171     case $build in
5172       *-*-mingw* ) # actually msys
5173         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5174         ;;
5175       *-*-cygwin* )
5176         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5177         ;;
5178       * ) # otherwise, assume *nix
5179         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5180         ;;
5181     esac
5182     ;;
5183   *-*-cygwin* )
5184     case $build in
5185       *-*-mingw* ) # actually msys
5186         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5187         ;;
5188       *-*-cygwin* )
5189         lt_cv_to_host_file_cmd=func_convert_file_noop
5190         ;;
5191       * ) # otherwise, assume *nix
5192         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5193         ;;
5194     esac
5195     ;;
5196   * ) # unhandled hosts (and "normal" native builds)
5197     lt_cv_to_host_file_cmd=func_convert_file_noop
5198     ;;
5199 esac
5200
5201 fi
5202
5203 to_host_file_cmd=$lt_cv_to_host_file_cmd
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5205 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5206
5207
5208
5209
5210
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5212 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5213 if ${lt_cv_to_tool_file_cmd+:} false; then :
5214   $as_echo_n "(cached) " >&6
5215 else
5216   #assume ordinary cross tools, or native build.
5217 lt_cv_to_tool_file_cmd=func_convert_file_noop
5218 case $host in
5219   *-*-mingw* )
5220     case $build in
5221       *-*-mingw* ) # actually msys
5222         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5223         ;;
5224     esac
5225     ;;
5226 esac
5227
5228 fi
5229
5230 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5232 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5233
5234
5235
5236
5237
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5239 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5240 if ${lt_cv_ld_reload_flag+:} false; then :
5241   $as_echo_n "(cached) " >&6
5242 else
5243   lt_cv_ld_reload_flag='-r'
5244 fi
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5246 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5247 reload_flag=$lt_cv_ld_reload_flag
5248 case $reload_flag in
5249 "" | " "*) ;;
5250 *) reload_flag=" $reload_flag" ;;
5251 esac
5252 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5253 case $host_os in
5254   cygwin* | mingw* | pw32* | cegcc*)
5255     if test "$GCC" != yes; then
5256       reload_cmds=false
5257     fi
5258     ;;
5259   darwin*)
5260     if test "$GCC" = yes; then
5261       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5262     else
5263       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5264     fi
5265     ;;
5266 esac
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276 if test -n "$ac_tool_prefix"; then
5277   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5278 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_OBJDUMP+:} false; then :
5282   $as_echo_n "(cached) " >&6
5283 else
5284   if test -n "$OBJDUMP"; then
5285   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5286 else
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 for as_dir in $PATH
5289 do
5290   IFS=$as_save_IFS
5291   test -z "$as_dir" && as_dir=.
5292     for ac_exec_ext in '' $ac_executable_extensions; do
5293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5294     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296     break 2
5297   fi
5298 done
5299   done
5300 IFS=$as_save_IFS
5301
5302 fi
5303 fi
5304 OBJDUMP=$ac_cv_prog_OBJDUMP
5305 if test -n "$OBJDUMP"; then
5306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5307 $as_echo "$OBJDUMP" >&6; }
5308 else
5309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5311 fi
5312
5313
5314 fi
5315 if test -z "$ac_cv_prog_OBJDUMP"; then
5316   ac_ct_OBJDUMP=$OBJDUMP
5317   # Extract the first word of "objdump", so it can be a program name with args.
5318 set dummy objdump; ac_word=$2
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5320 $as_echo_n "checking for $ac_word... " >&6; }
5321 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5322   $as_echo_n "(cached) " >&6
5323 else
5324   if test -n "$ac_ct_OBJDUMP"; then
5325   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5326 else
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 for as_dir in $PATH
5329 do
5330   IFS=$as_save_IFS
5331   test -z "$as_dir" && as_dir=.
5332     for ac_exec_ext in '' $ac_executable_extensions; do
5333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5336     break 2
5337   fi
5338 done
5339   done
5340 IFS=$as_save_IFS
5341
5342 fi
5343 fi
5344 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5345 if test -n "$ac_ct_OBJDUMP"; then
5346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5347 $as_echo "$ac_ct_OBJDUMP" >&6; }
5348 else
5349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5350 $as_echo "no" >&6; }
5351 fi
5352
5353   if test "x$ac_ct_OBJDUMP" = x; then
5354     OBJDUMP="false"
5355   else
5356     case $cross_compiling:$ac_tool_warned in
5357 yes:)
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5360 ac_tool_warned=yes ;;
5361 esac
5362     OBJDUMP=$ac_ct_OBJDUMP
5363   fi
5364 else
5365   OBJDUMP="$ac_cv_prog_OBJDUMP"
5366 fi
5367
5368 test -z "$OBJDUMP" && OBJDUMP=objdump
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5379 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5380 if ${lt_cv_deplibs_check_method+:} false; then :
5381   $as_echo_n "(cached) " >&6
5382 else
5383   lt_cv_file_magic_cmd='$MAGIC_CMD'
5384 lt_cv_file_magic_test_file=
5385 lt_cv_deplibs_check_method='unknown'
5386 # Need to set the preceding variable on all platforms that support
5387 # interlibrary dependencies.
5388 # 'none' -- dependencies not supported.
5389 # `unknown' -- same as none, but documents that we really don't know.
5390 # 'pass_all' -- all dependencies passed with no checks.
5391 # 'test_compile' -- check by making test program.
5392 # 'file_magic [[regex]]' -- check by looking for files in library path
5393 # which responds to the $file_magic_cmd with a given extended regex.
5394 # If you have `file' or equivalent on your system and you're not sure
5395 # whether `pass_all' will *always* work, you probably want this one.
5396
5397 case $host_os in
5398 aix[4-9]*)
5399   lt_cv_deplibs_check_method=pass_all
5400   ;;
5401
5402 beos*)
5403   lt_cv_deplibs_check_method=pass_all
5404   ;;
5405
5406 bsdi[45]*)
5407   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5408   lt_cv_file_magic_cmd='/usr/bin/file -L'
5409   lt_cv_file_magic_test_file=/shlib/libc.so
5410   ;;
5411
5412 cygwin*)
5413   # func_win32_libid is a shell function defined in ltmain.sh
5414   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5415   lt_cv_file_magic_cmd='func_win32_libid'
5416   ;;
5417
5418 mingw* | pw32*)
5419   # Base MSYS/MinGW do not provide the 'file' command needed by
5420   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5421   # unless we find 'file', for example because we are cross-compiling.
5422   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5423   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5424     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5425     lt_cv_file_magic_cmd='func_win32_libid'
5426   else
5427     # Keep this pattern in sync with the one in func_win32_libid.
5428     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5429     lt_cv_file_magic_cmd='$OBJDUMP -f'
5430   fi
5431   ;;
5432
5433 cegcc*)
5434   # use the weaker test based on 'objdump'. See mingw*.
5435   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5436   lt_cv_file_magic_cmd='$OBJDUMP -f'
5437   ;;
5438
5439 darwin* | rhapsody*)
5440   lt_cv_deplibs_check_method=pass_all
5441   ;;
5442
5443 freebsd* | dragonfly*)
5444   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5445     case $host_cpu in
5446     i*86 )
5447       # Not sure whether the presence of OpenBSD here was a mistake.
5448       # Let's accept both of them until this is cleared up.
5449       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5450       lt_cv_file_magic_cmd=/usr/bin/file
5451       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5452       ;;
5453     esac
5454   else
5455     lt_cv_deplibs_check_method=pass_all
5456   fi
5457   ;;
5458
5459 gnu*)
5460   lt_cv_deplibs_check_method=pass_all
5461   ;;
5462
5463 haiku*)
5464   lt_cv_deplibs_check_method=pass_all
5465   ;;
5466
5467 hpux10.20* | hpux11*)
5468   lt_cv_file_magic_cmd=/usr/bin/file
5469   case $host_cpu in
5470   ia64*)
5471     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5472     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5473     ;;
5474   hppa*64*)
5475     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]'
5476     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5477     ;;
5478   *)
5479     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5480     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5481     ;;
5482   esac
5483   ;;
5484
5485 interix[3-9]*)
5486   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5487   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5488   ;;
5489
5490 irix5* | irix6* | nonstopux*)
5491   case $LD in
5492   *-32|*"-32 ") libmagic=32-bit;;
5493   *-n32|*"-n32 ") libmagic=N32;;
5494   *-64|*"-64 ") libmagic=64-bit;;
5495   *) libmagic=never-match;;
5496   esac
5497   lt_cv_deplibs_check_method=pass_all
5498   ;;
5499
5500 # This must be glibc/ELF.
5501 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5502   lt_cv_deplibs_check_method=pass_all
5503   ;;
5504
5505 netbsd*)
5506   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5507     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5508   else
5509     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5510   fi
5511   ;;
5512
5513 newos6*)
5514   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5515   lt_cv_file_magic_cmd=/usr/bin/file
5516   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5517   ;;
5518
5519 *nto* | *qnx*)
5520   lt_cv_deplibs_check_method=pass_all
5521   ;;
5522
5523 openbsd*)
5524   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5525     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5526   else
5527     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5528   fi
5529   ;;
5530
5531 osf3* | osf4* | osf5*)
5532   lt_cv_deplibs_check_method=pass_all
5533   ;;
5534
5535 rdos*)
5536   lt_cv_deplibs_check_method=pass_all
5537   ;;
5538
5539 solaris*)
5540   lt_cv_deplibs_check_method=pass_all
5541   ;;
5542
5543 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5544   lt_cv_deplibs_check_method=pass_all
5545   ;;
5546
5547 sysv4 | sysv4.3*)
5548   case $host_vendor in
5549   motorola)
5550     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]'
5551     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5552     ;;
5553   ncr)
5554     lt_cv_deplibs_check_method=pass_all
5555     ;;
5556   sequent)
5557     lt_cv_file_magic_cmd='/bin/file'
5558     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5559     ;;
5560   sni)
5561     lt_cv_file_magic_cmd='/bin/file'
5562     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5563     lt_cv_file_magic_test_file=/lib/libc.so
5564     ;;
5565   siemens)
5566     lt_cv_deplibs_check_method=pass_all
5567     ;;
5568   pc)
5569     lt_cv_deplibs_check_method=pass_all
5570     ;;
5571   esac
5572   ;;
5573
5574 tpf*)
5575   lt_cv_deplibs_check_method=pass_all
5576   ;;
5577 esac
5578
5579 fi
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5581 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5582
5583 file_magic_glob=
5584 want_nocaseglob=no
5585 if test "$build" = "$host"; then
5586   case $host_os in
5587   mingw* | pw32*)
5588     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5589       want_nocaseglob=yes
5590     else
5591       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5592     fi
5593     ;;
5594   esac
5595 fi
5596
5597 file_magic_cmd=$lt_cv_file_magic_cmd
5598 deplibs_check_method=$lt_cv_deplibs_check_method
5599 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622 if test -n "$ac_tool_prefix"; then
5623   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5624 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_DLLTOOL+:} false; then :
5628   $as_echo_n "(cached) " >&6
5629 else
5630   if test -n "$DLLTOOL"; then
5631   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5635 do
5636   IFS=$as_save_IFS
5637   test -z "$as_dir" && as_dir=.
5638     for ac_exec_ext in '' $ac_executable_extensions; do
5639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642     break 2
5643   fi
5644 done
5645   done
5646 IFS=$as_save_IFS
5647
5648 fi
5649 fi
5650 DLLTOOL=$ac_cv_prog_DLLTOOL
5651 if test -n "$DLLTOOL"; then
5652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5653 $as_echo "$DLLTOOL" >&6; }
5654 else
5655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5657 fi
5658
5659
5660 fi
5661 if test -z "$ac_cv_prog_DLLTOOL"; then
5662   ac_ct_DLLTOOL=$DLLTOOL
5663   # Extract the first word of "dlltool", so it can be a program name with args.
5664 set dummy dlltool; ac_word=$2
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 $as_echo_n "checking for $ac_word... " >&6; }
5667 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5668   $as_echo_n "(cached) " >&6
5669 else
5670   if test -n "$ac_ct_DLLTOOL"; then
5671   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5672 else
5673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 for as_dir in $PATH
5675 do
5676   IFS=$as_save_IFS
5677   test -z "$as_dir" && as_dir=.
5678     for ac_exec_ext in '' $ac_executable_extensions; do
5679   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5680     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5682     break 2
5683   fi
5684 done
5685   done
5686 IFS=$as_save_IFS
5687
5688 fi
5689 fi
5690 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5691 if test -n "$ac_ct_DLLTOOL"; then
5692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5693 $as_echo "$ac_ct_DLLTOOL" >&6; }
5694 else
5695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }
5697 fi
5698
5699   if test "x$ac_ct_DLLTOOL" = x; then
5700     DLLTOOL="false"
5701   else
5702     case $cross_compiling:$ac_tool_warned in
5703 yes:)
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5706 ac_tool_warned=yes ;;
5707 esac
5708     DLLTOOL=$ac_ct_DLLTOOL
5709   fi
5710 else
5711   DLLTOOL="$ac_cv_prog_DLLTOOL"
5712 fi
5713
5714 test -z "$DLLTOOL" && DLLTOOL=dlltool
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5726 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5727 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5728   $as_echo_n "(cached) " >&6
5729 else
5730   lt_cv_sharedlib_from_linklib_cmd='unknown'
5731
5732 case $host_os in
5733 cygwin* | mingw* | pw32* | cegcc*)
5734   # two different shell functions defined in ltmain.sh
5735   # decide which to use based on capabilities of $DLLTOOL
5736   case `$DLLTOOL --help 2>&1` in
5737   *--identify-strict*)
5738     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5739     ;;
5740   *)
5741     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5742     ;;
5743   esac
5744   ;;
5745 *)
5746   # fallback: assume linklib IS sharedlib
5747   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5748   ;;
5749 esac
5750
5751 fi
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5753 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5754 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5755 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5756
5757
5758
5759
5760
5761
5762
5763
5764 if test -n "$ac_tool_prefix"; then
5765   for ac_prog in ar
5766   do
5767     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if ${ac_cv_prog_AR+:} false; then :
5772   $as_echo_n "(cached) " >&6
5773 else
5774   if test -n "$AR"; then
5775   ac_cv_prog_AR="$AR" # Let the user override the test.
5776 else
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 for as_dir in $PATH
5779 do
5780   IFS=$as_save_IFS
5781   test -z "$as_dir" && as_dir=.
5782     for ac_exec_ext in '' $ac_executable_extensions; do
5783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5784     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786     break 2
5787   fi
5788 done
5789   done
5790 IFS=$as_save_IFS
5791
5792 fi
5793 fi
5794 AR=$ac_cv_prog_AR
5795 if test -n "$AR"; then
5796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5797 $as_echo "$AR" >&6; }
5798 else
5799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5801 fi
5802
5803
5804     test -n "$AR" && break
5805   done
5806 fi
5807 if test -z "$AR"; then
5808   ac_ct_AR=$AR
5809   for ac_prog in ar
5810 do
5811   # Extract the first word of "$ac_prog", so it can be a program name with args.
5812 set dummy $ac_prog; ac_word=$2
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5814 $as_echo_n "checking for $ac_word... " >&6; }
5815 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5816   $as_echo_n "(cached) " >&6
5817 else
5818   if test -n "$ac_ct_AR"; then
5819   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5820 else
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5822 for as_dir in $PATH
5823 do
5824   IFS=$as_save_IFS
5825   test -z "$as_dir" && as_dir=.
5826     for ac_exec_ext in '' $ac_executable_extensions; do
5827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828     ac_cv_prog_ac_ct_AR="$ac_prog"
5829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5830     break 2
5831   fi
5832 done
5833   done
5834 IFS=$as_save_IFS
5835
5836 fi
5837 fi
5838 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5839 if test -n "$ac_ct_AR"; then
5840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5841 $as_echo "$ac_ct_AR" >&6; }
5842 else
5843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5844 $as_echo "no" >&6; }
5845 fi
5846
5847
5848   test -n "$ac_ct_AR" && break
5849 done
5850
5851   if test "x$ac_ct_AR" = x; then
5852     AR="false"
5853   else
5854     case $cross_compiling:$ac_tool_warned in
5855 yes:)
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5858 ac_tool_warned=yes ;;
5859 esac
5860     AR=$ac_ct_AR
5861   fi
5862 fi
5863
5864 : ${AR=ar}
5865 : ${AR_FLAGS=cru}
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5878 $as_echo_n "checking for archiver @FILE support... " >&6; }
5879 if ${lt_cv_ar_at_file+:} false; then :
5880   $as_echo_n "(cached) " >&6
5881 else
5882   lt_cv_ar_at_file=no
5883    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h.  */
5885
5886 int
5887 main ()
5888 {
5889
5890   ;
5891   return 0;
5892 }
5893 _ACEOF
5894 if ac_fn_c_try_compile "$LINENO"; then :
5895   echo conftest.$ac_objext > conftest.lst
5896       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5897       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5898   (eval $lt_ar_try) 2>&5
5899   ac_status=$?
5900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5901   test $ac_status = 0; }
5902       if test "$ac_status" -eq 0; then
5903         # Ensure the archiver fails upon bogus file names.
5904         rm -f conftest.$ac_objext libconftest.a
5905         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5906   (eval $lt_ar_try) 2>&5
5907   ac_status=$?
5908   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5909   test $ac_status = 0; }
5910         if test "$ac_status" -ne 0; then
5911           lt_cv_ar_at_file=@
5912         fi
5913       fi
5914       rm -f conftest.* libconftest.a
5915
5916 fi
5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5918
5919 fi
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5921 $as_echo "$lt_cv_ar_at_file" >&6; }
5922
5923 if test "x$lt_cv_ar_at_file" = xno; then
5924   archiver_list_spec=
5925 else
5926   archiver_list_spec=$lt_cv_ar_at_file
5927 fi
5928
5929
5930
5931
5932
5933
5934
5935 if test -n "$ac_tool_prefix"; then
5936   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5937 set dummy ${ac_tool_prefix}strip; ac_word=$2
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5939 $as_echo_n "checking for $ac_word... " >&6; }
5940 if ${ac_cv_prog_STRIP+:} false; then :
5941   $as_echo_n "(cached) " >&6
5942 else
5943   if test -n "$STRIP"; then
5944   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5945 else
5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 for as_dir in $PATH
5948 do
5949   IFS=$as_save_IFS
5950   test -z "$as_dir" && as_dir=.
5951     for ac_exec_ext in '' $ac_executable_extensions; do
5952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5953     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5955     break 2
5956   fi
5957 done
5958   done
5959 IFS=$as_save_IFS
5960
5961 fi
5962 fi
5963 STRIP=$ac_cv_prog_STRIP
5964 if test -n "$STRIP"; then
5965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5966 $as_echo "$STRIP" >&6; }
5967 else
5968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5969 $as_echo "no" >&6; }
5970 fi
5971
5972
5973 fi
5974 if test -z "$ac_cv_prog_STRIP"; then
5975   ac_ct_STRIP=$STRIP
5976   # Extract the first word of "strip", so it can be a program name with args.
5977 set dummy strip; ac_word=$2
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5979 $as_echo_n "checking for $ac_word... " >&6; }
5980 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5981   $as_echo_n "(cached) " >&6
5982 else
5983   if test -n "$ac_ct_STRIP"; then
5984   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5985 else
5986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 for as_dir in $PATH
5988 do
5989   IFS=$as_save_IFS
5990   test -z "$as_dir" && as_dir=.
5991     for ac_exec_ext in '' $ac_executable_extensions; do
5992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5993     ac_cv_prog_ac_ct_STRIP="strip"
5994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5995     break 2
5996   fi
5997 done
5998   done
5999 IFS=$as_save_IFS
6000
6001 fi
6002 fi
6003 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6004 if test -n "$ac_ct_STRIP"; then
6005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6006 $as_echo "$ac_ct_STRIP" >&6; }
6007 else
6008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6009 $as_echo "no" >&6; }
6010 fi
6011
6012   if test "x$ac_ct_STRIP" = x; then
6013     STRIP=":"
6014   else
6015     case $cross_compiling:$ac_tool_warned in
6016 yes:)
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6019 ac_tool_warned=yes ;;
6020 esac
6021     STRIP=$ac_ct_STRIP
6022   fi
6023 else
6024   STRIP="$ac_cv_prog_STRIP"
6025 fi
6026
6027 test -z "$STRIP" && STRIP=:
6028
6029
6030
6031
6032
6033
6034 if test -n "$ac_tool_prefix"; then
6035   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6036 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6038 $as_echo_n "checking for $ac_word... " >&6; }
6039 if ${ac_cv_prog_RANLIB+:} false; then :
6040   $as_echo_n "(cached) " >&6
6041 else
6042   if test -n "$RANLIB"; then
6043   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6044 else
6045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6046 for as_dir in $PATH
6047 do
6048   IFS=$as_save_IFS
6049   test -z "$as_dir" && as_dir=.
6050     for ac_exec_ext in '' $ac_executable_extensions; do
6051   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6052     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6054     break 2
6055   fi
6056 done
6057   done
6058 IFS=$as_save_IFS
6059
6060 fi
6061 fi
6062 RANLIB=$ac_cv_prog_RANLIB
6063 if test -n "$RANLIB"; then
6064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6065 $as_echo "$RANLIB" >&6; }
6066 else
6067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 $as_echo "no" >&6; }
6069 fi
6070
6071
6072 fi
6073 if test -z "$ac_cv_prog_RANLIB"; then
6074   ac_ct_RANLIB=$RANLIB
6075   # Extract the first word of "ranlib", so it can be a program name with args.
6076 set dummy ranlib; ac_word=$2
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6078 $as_echo_n "checking for $ac_word... " >&6; }
6079 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6080   $as_echo_n "(cached) " >&6
6081 else
6082   if test -n "$ac_ct_RANLIB"; then
6083   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6084 else
6085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 for as_dir in $PATH
6087 do
6088   IFS=$as_save_IFS
6089   test -z "$as_dir" && as_dir=.
6090     for ac_exec_ext in '' $ac_executable_extensions; do
6091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6092     ac_cv_prog_ac_ct_RANLIB="ranlib"
6093     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6094     break 2
6095   fi
6096 done
6097   done
6098 IFS=$as_save_IFS
6099
6100 fi
6101 fi
6102 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6103 if test -n "$ac_ct_RANLIB"; then
6104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6105 $as_echo "$ac_ct_RANLIB" >&6; }
6106 else
6107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108 $as_echo "no" >&6; }
6109 fi
6110
6111   if test "x$ac_ct_RANLIB" = x; then
6112     RANLIB=":"
6113   else
6114     case $cross_compiling:$ac_tool_warned in
6115 yes:)
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6118 ac_tool_warned=yes ;;
6119 esac
6120     RANLIB=$ac_ct_RANLIB
6121   fi
6122 else
6123   RANLIB="$ac_cv_prog_RANLIB"
6124 fi
6125
6126 test -z "$RANLIB" && RANLIB=:
6127
6128
6129
6130
6131
6132
6133 # Determine commands to create old-style static archives.
6134 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6135 old_postinstall_cmds='chmod 644 $oldlib'
6136 old_postuninstall_cmds=
6137
6138 if test -n "$RANLIB"; then
6139   case $host_os in
6140   openbsd*)
6141     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6142     ;;
6143   *)
6144     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6145     ;;
6146   esac
6147   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6148 fi
6149
6150 case $host_os in
6151   darwin*)
6152     lock_old_archive_extraction=yes ;;
6153   *)
6154     lock_old_archive_extraction=no ;;
6155 esac
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195 # If no C compiler was specified, use CC.
6196 LTCC=${LTCC-"$CC"}
6197
6198 # If no C compiler flags were specified, use CFLAGS.
6199 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6200
6201 # Allow CC to be a program name with arguments.
6202 compiler=$CC
6203
6204
6205 # Check for command to grab the raw symbol name followed by C symbol from nm.
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6207 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6208 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6209   $as_echo_n "(cached) " >&6
6210 else
6211
6212 # These are sane defaults that work on at least a few old systems.
6213 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6214
6215 # Character class describing NM global symbol codes.
6216 symcode='[BCDEGRST]'
6217
6218 # Regexp to match symbols that can be accessed directly from C.
6219 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6220
6221 # Define system-specific variables.
6222 case $host_os in
6223 aix*)
6224   symcode='[BCDT]'
6225   ;;
6226 cygwin* | mingw* | pw32* | cegcc*)
6227   symcode='[ABCDGISTW]'
6228   ;;
6229 hpux*)
6230   if test "$host_cpu" = ia64; then
6231     symcode='[ABCDEGRST]'
6232   fi
6233   ;;
6234 irix* | nonstopux*)
6235   symcode='[BCDEGRST]'
6236   ;;
6237 osf*)
6238   symcode='[BCDEGQRST]'
6239   ;;
6240 solaris*)
6241   symcode='[BDRT]'
6242   ;;
6243 sco3.2v5*)
6244   symcode='[DT]'
6245   ;;
6246 sysv4.2uw2*)
6247   symcode='[DT]'
6248   ;;
6249 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6250   symcode='[ABDT]'
6251   ;;
6252 sysv4)
6253   symcode='[DFNSTU]'
6254   ;;
6255 esac
6256
6257 # If we're using GNU nm, then use its standard symbol codes.
6258 case `$NM -V 2>&1` in
6259 *GNU* | *'with BFD'*)
6260   symcode='[ABCDGIRSTW]' ;;
6261 esac
6262
6263 # Transform an extracted symbol line into a proper C declaration.
6264 # Some systems (esp. on ia64) link data and code symbols differently,
6265 # so use this general approach.
6266 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6267
6268 # Transform an extracted symbol line into symbol name and symbol address
6269 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6270 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'"
6271
6272 # Handle CRLF in mingw tool chain
6273 opt_cr=
6274 case $build_os in
6275 mingw*)
6276   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6277   ;;
6278 esac
6279
6280 # Try without a prefix underscore, then with it.
6281 for ac_symprfx in "" "_"; do
6282
6283   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6284   symxfrm="\\1 $ac_symprfx\\2 \\2"
6285
6286   # Write the raw and C identifiers.
6287   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6288     # Fake it for dumpbin and say T for any non-static function
6289     # and D for any global variable.
6290     # Also find C++ and __fastcall symbols from MSVC++,
6291     # which start with @ or ?.
6292     lt_cv_sys_global_symbol_pipe="$AWK '"\
6293 "     {last_section=section; section=\$ 3};"\
6294 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6295 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6296 "     \$ 0!~/External *\|/{next};"\
6297 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6298 "     {if(hide[section]) next};"\
6299 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6300 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6301 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6302 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6303 "     ' prfx=^$ac_symprfx"
6304   else
6305     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6306   fi
6307   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6308
6309   # Check to see that the pipe works correctly.
6310   pipe_works=no
6311
6312   rm -f conftest*
6313   cat > conftest.$ac_ext <<_LT_EOF
6314 #ifdef __cplusplus
6315 extern "C" {
6316 #endif
6317 char nm_test_var;
6318 void nm_test_func(void);
6319 void nm_test_func(void){}
6320 #ifdef __cplusplus
6321 }
6322 #endif
6323 int main(){nm_test_var='a';nm_test_func();return(0);}
6324 _LT_EOF
6325
6326   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327   (eval $ac_compile) 2>&5
6328   ac_status=$?
6329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6330   test $ac_status = 0; }; then
6331     # Now try to grab the symbols.
6332     nlist=conftest.nm
6333     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6334   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6335   ac_status=$?
6336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6337   test $ac_status = 0; } && test -s "$nlist"; then
6338       # Try sorting and uniquifying the output.
6339       if sort "$nlist" | uniq > "$nlist"T; then
6340         mv -f "$nlist"T "$nlist"
6341       else
6342         rm -f "$nlist"T
6343       fi
6344
6345       # Make sure that we snagged all the symbols we need.
6346       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6347         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6348           cat <<_LT_EOF > conftest.$ac_ext
6349 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6350 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6351 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6352    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6353 # define LT_DLSYM_CONST
6354 #elif defined(__osf__)
6355 /* This system does not cope well with relocations in const data.  */
6356 # define LT_DLSYM_CONST
6357 #else
6358 # define LT_DLSYM_CONST const
6359 #endif
6360
6361 #ifdef __cplusplus
6362 extern "C" {
6363 #endif
6364
6365 _LT_EOF
6366           # Now generate the symbol file.
6367           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6368
6369           cat <<_LT_EOF >> conftest.$ac_ext
6370
6371 /* The mapping between symbol names and symbols.  */
6372 LT_DLSYM_CONST struct {
6373   const char *name;
6374   void       *address;
6375 }
6376 lt__PROGRAM__LTX_preloaded_symbols[] =
6377 {
6378   { "@PROGRAM@", (void *) 0 },
6379 _LT_EOF
6380           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6381           cat <<\_LT_EOF >> conftest.$ac_ext
6382   {0, (void *) 0}
6383 };
6384
6385 /* This works around a problem in FreeBSD linker */
6386 #ifdef FREEBSD_WORKAROUND
6387 static const void *lt_preloaded_setup() {
6388   return lt__PROGRAM__LTX_preloaded_symbols;
6389 }
6390 #endif
6391
6392 #ifdef __cplusplus
6393 }
6394 #endif
6395 _LT_EOF
6396           # Now try linking the two files.
6397           mv conftest.$ac_objext conftstm.$ac_objext
6398           lt_globsym_save_LIBS=$LIBS
6399           lt_globsym_save_CFLAGS=$CFLAGS
6400           LIBS="conftstm.$ac_objext"
6401           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6402           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6403   (eval $ac_link) 2>&5
6404   ac_status=$?
6405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6406   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6407             pipe_works=yes
6408           fi
6409           LIBS=$lt_globsym_save_LIBS
6410           CFLAGS=$lt_globsym_save_CFLAGS
6411         else
6412           echo "cannot find nm_test_func in $nlist" >&5
6413         fi
6414       else
6415         echo "cannot find nm_test_var in $nlist" >&5
6416       fi
6417     else
6418       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6419     fi
6420   else
6421     echo "$progname: failed program was:" >&5
6422     cat conftest.$ac_ext >&5
6423   fi
6424   rm -rf conftest* conftst*
6425
6426   # Do not use the global_symbol_pipe unless it works.
6427   if test "$pipe_works" = yes; then
6428     break
6429   else
6430     lt_cv_sys_global_symbol_pipe=
6431   fi
6432 done
6433
6434 fi
6435
6436 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6437   lt_cv_sys_global_symbol_to_cdecl=
6438 fi
6439 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6441 $as_echo "failed" >&6; }
6442 else
6443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6444 $as_echo "ok" >&6; }
6445 fi
6446
6447 # Response file support.
6448 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6449   nm_file_list_spec='@'
6450 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6451   nm_file_list_spec='@'
6452 fi
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6481 $as_echo_n "checking for sysroot... " >&6; }
6482
6483 # Check whether --with-sysroot was given.
6484 if test "${with_sysroot+set}" = set; then :
6485   withval=$with_sysroot;
6486 else
6487   with_sysroot=no
6488 fi
6489
6490
6491 lt_sysroot=
6492 case ${with_sysroot} in #(
6493  yes)
6494    if test "$GCC" = yes; then
6495      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6496    fi
6497    ;; #(
6498  /*)
6499    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6500    ;; #(
6501  no|'')
6502    ;; #(
6503  *)
6504    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6505 $as_echo "${with_sysroot}" >&6; }
6506    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6507    ;;
6508 esac
6509
6510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6511 $as_echo "${lt_sysroot:-no}" >&6; }
6512
6513
6514
6515
6516
6517 # Check whether --enable-libtool-lock was given.
6518 if test "${enable_libtool_lock+set}" = set; then :
6519   enableval=$enable_libtool_lock;
6520 fi
6521
6522 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6523
6524 # Some flags need to be propagated to the compiler or linker for good
6525 # libtool support.
6526 case $host in
6527 ia64-*-hpux*)
6528   # Find out which ABI we are using.
6529   echo 'int i;' > conftest.$ac_ext
6530   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6531   (eval $ac_compile) 2>&5
6532   ac_status=$?
6533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6534   test $ac_status = 0; }; then
6535     case `/usr/bin/file conftest.$ac_objext` in
6536       *ELF-32*)
6537         HPUX_IA64_MODE="32"
6538         ;;
6539       *ELF-64*)
6540         HPUX_IA64_MODE="64"
6541         ;;
6542     esac
6543   fi
6544   rm -rf conftest*
6545   ;;
6546 *-*-irix6*)
6547   # Find out which ABI we are using.
6548   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6549   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6550   (eval $ac_compile) 2>&5
6551   ac_status=$?
6552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6553   test $ac_status = 0; }; then
6554     if test "$lt_cv_prog_gnu_ld" = yes; then
6555       case `/usr/bin/file conftest.$ac_objext` in
6556         *32-bit*)
6557           LD="${LD-ld} -melf32bsmip"
6558           ;;
6559         *N32*)
6560           LD="${LD-ld} -melf32bmipn32"
6561           ;;
6562         *64-bit*)
6563           LD="${LD-ld} -melf64bmip"
6564         ;;
6565       esac
6566     else
6567       case `/usr/bin/file conftest.$ac_objext` in
6568         *32-bit*)
6569           LD="${LD-ld} -32"
6570           ;;
6571         *N32*)
6572           LD="${LD-ld} -n32"
6573           ;;
6574         *64-bit*)
6575           LD="${LD-ld} -64"
6576           ;;
6577       esac
6578     fi
6579   fi
6580   rm -rf conftest*
6581   ;;
6582
6583 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6584 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6585   # Find out which ABI we are using.
6586   echo 'int i;' > conftest.$ac_ext
6587   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6588   (eval $ac_compile) 2>&5
6589   ac_status=$?
6590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6591   test $ac_status = 0; }; then
6592     case `/usr/bin/file conftest.o` in
6593       *32-bit*)
6594         case $host in
6595           x86_64-*kfreebsd*-gnu)
6596             LD="${LD-ld} -m elf_i386_fbsd"
6597             ;;
6598           x86_64-*linux*)
6599             LD="${LD-ld} -m elf_i386"
6600             ;;
6601           ppc64-*linux*|powerpc64-*linux*)
6602             LD="${LD-ld} -m elf32ppclinux"
6603             ;;
6604           s390x-*linux*)
6605             LD="${LD-ld} -m elf_s390"
6606             ;;
6607           sparc64-*linux*)
6608             LD="${LD-ld} -m elf32_sparc"
6609             ;;
6610         esac
6611         ;;
6612       *64-bit*)
6613         case $host in
6614           x86_64-*kfreebsd*-gnu)
6615             LD="${LD-ld} -m elf_x86_64_fbsd"
6616             ;;
6617           x86_64-*linux*)
6618             LD="${LD-ld} -m elf_x86_64"
6619             ;;
6620           ppc*-*linux*|powerpc*-*linux*)
6621             LD="${LD-ld} -m elf64ppc"
6622             ;;
6623           s390*-*linux*|s390*-*tpf*)
6624             LD="${LD-ld} -m elf64_s390"
6625             ;;
6626           sparc*-*linux*)
6627             LD="${LD-ld} -m elf64_sparc"
6628             ;;
6629         esac
6630         ;;
6631     esac
6632   fi
6633   rm -rf conftest*
6634   ;;
6635
6636 *-*-sco3.2v5*)
6637   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6638   SAVE_CFLAGS="$CFLAGS"
6639   CFLAGS="$CFLAGS -belf"
6640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6641 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6642 if ${lt_cv_cc_needs_belf+:} false; then :
6643   $as_echo_n "(cached) " >&6
6644 else
6645   ac_ext=c
6646 ac_cpp='$CPP $CPPFLAGS'
6647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6650
6651      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6652 /* end confdefs.h.  */
6653
6654 int
6655 main ()
6656 {
6657
6658   ;
6659   return 0;
6660 }
6661 _ACEOF
6662 if ac_fn_c_try_link "$LINENO"; then :
6663   lt_cv_cc_needs_belf=yes
6664 else
6665   lt_cv_cc_needs_belf=no
6666 fi
6667 rm -f core conftest.err conftest.$ac_objext \
6668     conftest$ac_exeext conftest.$ac_ext
6669      ac_ext=c
6670 ac_cpp='$CPP $CPPFLAGS'
6671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6674
6675 fi
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6677 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6678   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6679     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6680     CFLAGS="$SAVE_CFLAGS"
6681   fi
6682   ;;
6683 *-*solaris*)
6684   # Find out which ABI we are using.
6685   echo 'int i;' > conftest.$ac_ext
6686   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6687   (eval $ac_compile) 2>&5
6688   ac_status=$?
6689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6690   test $ac_status = 0; }; then
6691     case `/usr/bin/file conftest.o` in
6692     *64-bit*)
6693       case $lt_cv_prog_gnu_ld in
6694       yes*)
6695         case $host in
6696         i?86-*-solaris*)
6697           LD="${LD-ld} -m elf_x86_64"
6698           ;;
6699         sparc*-*-solaris*)
6700           LD="${LD-ld} -m elf64_sparc"
6701           ;;
6702         esac
6703         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6704         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6705           LD="${LD-ld}_sol2"
6706         fi
6707         ;;
6708       *)
6709         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6710           LD="${LD-ld} -64"
6711         fi
6712         ;;
6713       esac
6714       ;;
6715     esac
6716   fi
6717   rm -rf conftest*
6718   ;;
6719 esac
6720
6721 need_locks="$enable_libtool_lock"
6722
6723 if test -n "$ac_tool_prefix"; then
6724   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6725 set dummy ${ac_tool_prefix}mt; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6729   $as_echo_n "(cached) " >&6
6730 else
6731   if test -n "$MANIFEST_TOOL"; then
6732   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6733 else
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 for as_dir in $PATH
6736 do
6737   IFS=$as_save_IFS
6738   test -z "$as_dir" && as_dir=.
6739     for ac_exec_ext in '' $ac_executable_extensions; do
6740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6741     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743     break 2
6744   fi
6745 done
6746   done
6747 IFS=$as_save_IFS
6748
6749 fi
6750 fi
6751 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6752 if test -n "$MANIFEST_TOOL"; then
6753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6754 $as_echo "$MANIFEST_TOOL" >&6; }
6755 else
6756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6758 fi
6759
6760
6761 fi
6762 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6763   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6764   # Extract the first word of "mt", so it can be a program name with args.
6765 set dummy mt; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6769   $as_echo_n "(cached) " >&6
6770 else
6771   if test -n "$ac_ct_MANIFEST_TOOL"; then
6772   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6776 do
6777   IFS=$as_save_IFS
6778   test -z "$as_dir" && as_dir=.
6779     for ac_exec_ext in '' $ac_executable_extensions; do
6780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6783     break 2
6784   fi
6785 done
6786   done
6787 IFS=$as_save_IFS
6788
6789 fi
6790 fi
6791 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6792 if test -n "$ac_ct_MANIFEST_TOOL"; then
6793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6794 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6795 else
6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6798 fi
6799
6800   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6801     MANIFEST_TOOL=":"
6802   else
6803     case $cross_compiling:$ac_tool_warned in
6804 yes:)
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6807 ac_tool_warned=yes ;;
6808 esac
6809     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6810   fi
6811 else
6812   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6813 fi
6814
6815 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6817 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6818 if ${lt_cv_path_mainfest_tool+:} false; then :
6819   $as_echo_n "(cached) " >&6
6820 else
6821   lt_cv_path_mainfest_tool=no
6822   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6823   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6824   cat conftest.err >&5
6825   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6826     lt_cv_path_mainfest_tool=yes
6827   fi
6828   rm -f conftest*
6829 fi
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6831 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6832 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6833   MANIFEST_TOOL=:
6834 fi
6835
6836
6837
6838
6839
6840
6841   case $host_os in
6842     rhapsody* | darwin*)
6843     if test -n "$ac_tool_prefix"; then
6844   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6845 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6847 $as_echo_n "checking for $ac_word... " >&6; }
6848 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6849   $as_echo_n "(cached) " >&6
6850 else
6851   if test -n "$DSYMUTIL"; then
6852   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6853 else
6854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 for as_dir in $PATH
6856 do
6857   IFS=$as_save_IFS
6858   test -z "$as_dir" && as_dir=.
6859     for ac_exec_ext in '' $ac_executable_extensions; do
6860   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6861     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6863     break 2
6864   fi
6865 done
6866   done
6867 IFS=$as_save_IFS
6868
6869 fi
6870 fi
6871 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6872 if test -n "$DSYMUTIL"; then
6873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6874 $as_echo "$DSYMUTIL" >&6; }
6875 else
6876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
6878 fi
6879
6880
6881 fi
6882 if test -z "$ac_cv_prog_DSYMUTIL"; then
6883   ac_ct_DSYMUTIL=$DSYMUTIL
6884   # Extract the first word of "dsymutil", so it can be a program name with args.
6885 set dummy dsymutil; ac_word=$2
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6887 $as_echo_n "checking for $ac_word... " >&6; }
6888 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6889   $as_echo_n "(cached) " >&6
6890 else
6891   if test -n "$ac_ct_DSYMUTIL"; then
6892   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6893 else
6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 for as_dir in $PATH
6896 do
6897   IFS=$as_save_IFS
6898   test -z "$as_dir" && as_dir=.
6899     for ac_exec_ext in '' $ac_executable_extensions; do
6900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6901     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6903     break 2
6904   fi
6905 done
6906   done
6907 IFS=$as_save_IFS
6908
6909 fi
6910 fi
6911 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6912 if test -n "$ac_ct_DSYMUTIL"; then
6913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6914 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6915 else
6916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6917 $as_echo "no" >&6; }
6918 fi
6919
6920   if test "x$ac_ct_DSYMUTIL" = x; then
6921     DSYMUTIL=":"
6922   else
6923     case $cross_compiling:$ac_tool_warned in
6924 yes:)
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6927 ac_tool_warned=yes ;;
6928 esac
6929     DSYMUTIL=$ac_ct_DSYMUTIL
6930   fi
6931 else
6932   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6933 fi
6934
6935     if test -n "$ac_tool_prefix"; then
6936   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6937 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6939 $as_echo_n "checking for $ac_word... " >&6; }
6940 if ${ac_cv_prog_NMEDIT+:} false; then :
6941   $as_echo_n "(cached) " >&6
6942 else
6943   if test -n "$NMEDIT"; then
6944   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6945 else
6946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6947 for as_dir in $PATH
6948 do
6949   IFS=$as_save_IFS
6950   test -z "$as_dir" && as_dir=.
6951     for ac_exec_ext in '' $ac_executable_extensions; do
6952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6955     break 2
6956   fi
6957 done
6958   done
6959 IFS=$as_save_IFS
6960
6961 fi
6962 fi
6963 NMEDIT=$ac_cv_prog_NMEDIT
6964 if test -n "$NMEDIT"; then
6965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6966 $as_echo "$NMEDIT" >&6; }
6967 else
6968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6969 $as_echo "no" >&6; }
6970 fi
6971
6972
6973 fi
6974 if test -z "$ac_cv_prog_NMEDIT"; then
6975   ac_ct_NMEDIT=$NMEDIT
6976   # Extract the first word of "nmedit", so it can be a program name with args.
6977 set dummy nmedit; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6981   $as_echo_n "(cached) " >&6
6982 else
6983   if test -n "$ac_ct_NMEDIT"; then
6984   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6985 else
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 for as_dir in $PATH
6988 do
6989   IFS=$as_save_IFS
6990   test -z "$as_dir" && as_dir=.
6991     for ac_exec_ext in '' $ac_executable_extensions; do
6992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995     break 2
6996   fi
6997 done
6998   done
6999 IFS=$as_save_IFS
7000
7001 fi
7002 fi
7003 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7004 if test -n "$ac_ct_NMEDIT"; then
7005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7006 $as_echo "$ac_ct_NMEDIT" >&6; }
7007 else
7008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7010 fi
7011
7012   if test "x$ac_ct_NMEDIT" = x; then
7013     NMEDIT=":"
7014   else
7015     case $cross_compiling:$ac_tool_warned in
7016 yes:)
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7019 ac_tool_warned=yes ;;
7020 esac
7021     NMEDIT=$ac_ct_NMEDIT
7022   fi
7023 else
7024   NMEDIT="$ac_cv_prog_NMEDIT"
7025 fi
7026
7027     if test -n "$ac_tool_prefix"; then
7028   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7029 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if ${ac_cv_prog_LIPO+:} false; then :
7033   $as_echo_n "(cached) " >&6
7034 else
7035   if test -n "$LIPO"; then
7036   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7037 else
7038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039 for as_dir in $PATH
7040 do
7041   IFS=$as_save_IFS
7042   test -z "$as_dir" && as_dir=.
7043     for ac_exec_ext in '' $ac_executable_extensions; do
7044   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7046     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047     break 2
7048   fi
7049 done
7050   done
7051 IFS=$as_save_IFS
7052
7053 fi
7054 fi
7055 LIPO=$ac_cv_prog_LIPO
7056 if test -n "$LIPO"; then
7057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7058 $as_echo "$LIPO" >&6; }
7059 else
7060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7062 fi
7063
7064
7065 fi
7066 if test -z "$ac_cv_prog_LIPO"; then
7067   ac_ct_LIPO=$LIPO
7068   # Extract the first word of "lipo", so it can be a program name with args.
7069 set dummy lipo; ac_word=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 $as_echo_n "checking for $ac_word... " >&6; }
7072 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7073   $as_echo_n "(cached) " >&6
7074 else
7075   if test -n "$ac_ct_LIPO"; then
7076   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7077 else
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079 for as_dir in $PATH
7080 do
7081   IFS=$as_save_IFS
7082   test -z "$as_dir" && as_dir=.
7083     for ac_exec_ext in '' $ac_executable_extensions; do
7084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7085     ac_cv_prog_ac_ct_LIPO="lipo"
7086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087     break 2
7088   fi
7089 done
7090   done
7091 IFS=$as_save_IFS
7092
7093 fi
7094 fi
7095 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7096 if test -n "$ac_ct_LIPO"; then
7097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7098 $as_echo "$ac_ct_LIPO" >&6; }
7099 else
7100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7101 $as_echo "no" >&6; }
7102 fi
7103
7104   if test "x$ac_ct_LIPO" = x; then
7105     LIPO=":"
7106   else
7107     case $cross_compiling:$ac_tool_warned in
7108 yes:)
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7111 ac_tool_warned=yes ;;
7112 esac
7113     LIPO=$ac_ct_LIPO
7114   fi
7115 else
7116   LIPO="$ac_cv_prog_LIPO"
7117 fi
7118
7119     if test -n "$ac_tool_prefix"; then
7120   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7121 set dummy ${ac_tool_prefix}otool; ac_word=$2
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7123 $as_echo_n "checking for $ac_word... " >&6; }
7124 if ${ac_cv_prog_OTOOL+:} false; then :
7125   $as_echo_n "(cached) " >&6
7126 else
7127   if test -n "$OTOOL"; then
7128   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7129 else
7130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7131 for as_dir in $PATH
7132 do
7133   IFS=$as_save_IFS
7134   test -z "$as_dir" && as_dir=.
7135     for ac_exec_ext in '' $ac_executable_extensions; do
7136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7137     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7139     break 2
7140   fi
7141 done
7142   done
7143 IFS=$as_save_IFS
7144
7145 fi
7146 fi
7147 OTOOL=$ac_cv_prog_OTOOL
7148 if test -n "$OTOOL"; then
7149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7150 $as_echo "$OTOOL" >&6; }
7151 else
7152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7153 $as_echo "no" >&6; }
7154 fi
7155
7156
7157 fi
7158 if test -z "$ac_cv_prog_OTOOL"; then
7159   ac_ct_OTOOL=$OTOOL
7160   # Extract the first word of "otool", so it can be a program name with args.
7161 set dummy otool; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7165   $as_echo_n "(cached) " >&6
7166 else
7167   if test -n "$ac_ct_OTOOL"; then
7168   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7172 do
7173   IFS=$as_save_IFS
7174   test -z "$as_dir" && as_dir=.
7175     for ac_exec_ext in '' $ac_executable_extensions; do
7176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177     ac_cv_prog_ac_ct_OTOOL="otool"
7178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7179     break 2
7180   fi
7181 done
7182   done
7183 IFS=$as_save_IFS
7184
7185 fi
7186 fi
7187 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7188 if test -n "$ac_ct_OTOOL"; then
7189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7190 $as_echo "$ac_ct_OTOOL" >&6; }
7191 else
7192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
7194 fi
7195
7196   if test "x$ac_ct_OTOOL" = x; then
7197     OTOOL=":"
7198   else
7199     case $cross_compiling:$ac_tool_warned in
7200 yes:)
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7203 ac_tool_warned=yes ;;
7204 esac
7205     OTOOL=$ac_ct_OTOOL
7206   fi
7207 else
7208   OTOOL="$ac_cv_prog_OTOOL"
7209 fi
7210
7211     if test -n "$ac_tool_prefix"; then
7212   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7213 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7215 $as_echo_n "checking for $ac_word... " >&6; }
7216 if ${ac_cv_prog_OTOOL64+:} false; then :
7217   $as_echo_n "(cached) " >&6
7218 else
7219   if test -n "$OTOOL64"; then
7220   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7221 else
7222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223 for as_dir in $PATH
7224 do
7225   IFS=$as_save_IFS
7226   test -z "$as_dir" && as_dir=.
7227     for ac_exec_ext in '' $ac_executable_extensions; do
7228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7229     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7231     break 2
7232   fi
7233 done
7234   done
7235 IFS=$as_save_IFS
7236
7237 fi
7238 fi
7239 OTOOL64=$ac_cv_prog_OTOOL64
7240 if test -n "$OTOOL64"; then
7241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7242 $as_echo "$OTOOL64" >&6; }
7243 else
7244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7245 $as_echo "no" >&6; }
7246 fi
7247
7248
7249 fi
7250 if test -z "$ac_cv_prog_OTOOL64"; then
7251   ac_ct_OTOOL64=$OTOOL64
7252   # Extract the first word of "otool64", so it can be a program name with args.
7253 set dummy otool64; ac_word=$2
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7255 $as_echo_n "checking for $ac_word... " >&6; }
7256 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7257   $as_echo_n "(cached) " >&6
7258 else
7259   if test -n "$ac_ct_OTOOL64"; then
7260   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7261 else
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7263 for as_dir in $PATH
7264 do
7265   IFS=$as_save_IFS
7266   test -z "$as_dir" && as_dir=.
7267     for ac_exec_ext in '' $ac_executable_extensions; do
7268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7269     ac_cv_prog_ac_ct_OTOOL64="otool64"
7270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7271     break 2
7272   fi
7273 done
7274   done
7275 IFS=$as_save_IFS
7276
7277 fi
7278 fi
7279 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7280 if test -n "$ac_ct_OTOOL64"; then
7281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7282 $as_echo "$ac_ct_OTOOL64" >&6; }
7283 else
7284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7285 $as_echo "no" >&6; }
7286 fi
7287
7288   if test "x$ac_ct_OTOOL64" = x; then
7289     OTOOL64=":"
7290   else
7291     case $cross_compiling:$ac_tool_warned in
7292 yes:)
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7294 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7295 ac_tool_warned=yes ;;
7296 esac
7297     OTOOL64=$ac_ct_OTOOL64
7298   fi
7299 else
7300   OTOOL64="$ac_cv_prog_OTOOL64"
7301 fi
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7330 $as_echo_n "checking for -single_module linker flag... " >&6; }
7331 if ${lt_cv_apple_cc_single_mod+:} false; then :
7332   $as_echo_n "(cached) " >&6
7333 else
7334   lt_cv_apple_cc_single_mod=no
7335       if test -z "${LT_MULTI_MODULE}"; then
7336         # By default we will add the -single_module flag. You can override
7337         # by either setting the environment variable LT_MULTI_MODULE
7338         # non-empty at configure time, or by adding -multi_module to the
7339         # link flags.
7340         rm -rf libconftest.dylib*
7341         echo "int foo(void){return 1;}" > conftest.c
7342         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7343 -dynamiclib -Wl,-single_module conftest.c" >&5
7344         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7345           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7346         _lt_result=$?
7347         # If there is a non-empty error log, and "single_module"
7348         # appears in it, assume the flag caused a linker warning
7349         if test -s conftest.err && $GREP single_module conftest.err; then
7350           cat conftest.err >&5
7351         # Otherwise, if the output was created with a 0 exit code from
7352         # the compiler, it worked.
7353         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7354           lt_cv_apple_cc_single_mod=yes
7355         else
7356           cat conftest.err >&5
7357         fi
7358         rm -rf libconftest.dylib*
7359         rm -f conftest.*
7360       fi
7361 fi
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7363 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7364
7365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7366 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7367 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7368   $as_echo_n "(cached) " >&6
7369 else
7370   lt_cv_ld_exported_symbols_list=no
7371       save_LDFLAGS=$LDFLAGS
7372       echo "_main" > conftest.sym
7373       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7374       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7375 /* end confdefs.h.  */
7376
7377 int
7378 main ()
7379 {
7380
7381   ;
7382   return 0;
7383 }
7384 _ACEOF
7385 if ac_fn_c_try_link "$LINENO"; then :
7386   lt_cv_ld_exported_symbols_list=yes
7387 else
7388   lt_cv_ld_exported_symbols_list=no
7389 fi
7390 rm -f core conftest.err conftest.$ac_objext \
7391     conftest$ac_exeext conftest.$ac_ext
7392         LDFLAGS="$save_LDFLAGS"
7393
7394 fi
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7396 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7397
7398     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7399 $as_echo_n "checking for -force_load linker flag... " >&6; }
7400 if ${lt_cv_ld_force_load+:} false; then :
7401   $as_echo_n "(cached) " >&6
7402 else
7403   lt_cv_ld_force_load=no
7404       cat > conftest.c << _LT_EOF
7405 int forced_loaded() { return 2;}
7406 _LT_EOF
7407       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7408       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7409       echo "$AR cru libconftest.a conftest.o" >&5
7410       $AR cru libconftest.a conftest.o 2>&5
7411       echo "$RANLIB libconftest.a" >&5
7412       $RANLIB libconftest.a 2>&5
7413       cat > conftest.c << _LT_EOF
7414 int main() { return 0;}
7415 _LT_EOF
7416       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7417       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7418       _lt_result=$?
7419       if test -s conftest.err && $GREP force_load conftest.err; then
7420         cat conftest.err >&5
7421       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7422         lt_cv_ld_force_load=yes
7423       else
7424         cat conftest.err >&5
7425       fi
7426         rm -f conftest.err libconftest.a conftest conftest.c
7427         rm -rf conftest.dSYM
7428
7429 fi
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7431 $as_echo "$lt_cv_ld_force_load" >&6; }
7432     case $host_os in
7433     rhapsody* | darwin1.[012])
7434       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7435     darwin1.*)
7436       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7437     darwin*) # darwin 5.x on
7438       # if running on 10.5 or later, the deployment target defaults
7439       # to the OS version, if on x86, and 10.4, the deployment
7440       # target defaults to 10.4. Don't you love it?
7441       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7442         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7443           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7444         10.[012]*)
7445           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7446         10.*)
7447           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7448       esac
7449     ;;
7450   esac
7451     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7452       _lt_dar_single_mod='$single_module'
7453     fi
7454     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7455       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7456     else
7457       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7458     fi
7459     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7460       _lt_dsymutil='~$DSYMUTIL $lib || :'
7461     else
7462       _lt_dsymutil=
7463     fi
7464     ;;
7465   esac
7466
7467 ac_ext=c
7468 ac_cpp='$CPP $CPPFLAGS'
7469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7474 # On Suns, sometimes $CPP names a directory.
7475 if test -n "$CPP" && test -d "$CPP"; then
7476   CPP=
7477 fi
7478 if test -z "$CPP"; then
7479   if ${ac_cv_prog_CPP+:} false; then :
7480   $as_echo_n "(cached) " >&6
7481 else
7482       # Double quotes because CPP needs to be expanded
7483     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7484     do
7485       ac_preproc_ok=false
7486 for ac_c_preproc_warn_flag in '' yes
7487 do
7488   # Use a header file that comes with gcc, so configuring glibc
7489   # with a fresh cross-compiler works.
7490   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7491   # <limits.h> exists even on freestanding compilers.
7492   # On the NeXT, cc -E runs the code through the compiler's parser,
7493   # not just through cpp. "Syntax error" is here to catch this case.
7494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7495 /* end confdefs.h.  */
7496 #ifdef __STDC__
7497 # include <limits.h>
7498 #else
7499 # include <assert.h>
7500 #endif
7501                      Syntax error
7502 _ACEOF
7503 if ac_fn_c_try_cpp "$LINENO"; then :
7504
7505 else
7506   # Broken: fails on valid input.
7507 continue
7508 fi
7509 rm -f conftest.err conftest.i conftest.$ac_ext
7510
7511   # OK, works on sane cases.  Now check whether nonexistent headers
7512   # can be detected and how.
7513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7514 /* end confdefs.h.  */
7515 #include <ac_nonexistent.h>
7516 _ACEOF
7517 if ac_fn_c_try_cpp "$LINENO"; then :
7518   # Broken: success on invalid input.
7519 continue
7520 else
7521   # Passes both tests.
7522 ac_preproc_ok=:
7523 break
7524 fi
7525 rm -f conftest.err conftest.i conftest.$ac_ext
7526
7527 done
7528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7529 rm -f conftest.i conftest.err conftest.$ac_ext
7530 if $ac_preproc_ok; then :
7531   break
7532 fi
7533
7534     done
7535     ac_cv_prog_CPP=$CPP
7536
7537 fi
7538   CPP=$ac_cv_prog_CPP
7539 else
7540   ac_cv_prog_CPP=$CPP
7541 fi
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7543 $as_echo "$CPP" >&6; }
7544 ac_preproc_ok=false
7545 for ac_c_preproc_warn_flag in '' yes
7546 do
7547   # Use a header file that comes with gcc, so configuring glibc
7548   # with a fresh cross-compiler works.
7549   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7550   # <limits.h> exists even on freestanding compilers.
7551   # On the NeXT, cc -E runs the code through the compiler's parser,
7552   # not just through cpp. "Syntax error" is here to catch this case.
7553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h.  */
7555 #ifdef __STDC__
7556 # include <limits.h>
7557 #else
7558 # include <assert.h>
7559 #endif
7560                      Syntax error
7561 _ACEOF
7562 if ac_fn_c_try_cpp "$LINENO"; then :
7563
7564 else
7565   # Broken: fails on valid input.
7566 continue
7567 fi
7568 rm -f conftest.err conftest.i conftest.$ac_ext
7569
7570   # OK, works on sane cases.  Now check whether nonexistent headers
7571   # can be detected and how.
7572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7573 /* end confdefs.h.  */
7574 #include <ac_nonexistent.h>
7575 _ACEOF
7576 if ac_fn_c_try_cpp "$LINENO"; then :
7577   # Broken: success on invalid input.
7578 continue
7579 else
7580   # Passes both tests.
7581 ac_preproc_ok=:
7582 break
7583 fi
7584 rm -f conftest.err conftest.i conftest.$ac_ext
7585
7586 done
7587 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7588 rm -f conftest.i conftest.err conftest.$ac_ext
7589 if $ac_preproc_ok; then :
7590
7591 else
7592   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7594 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7595 See \`config.log' for more details" "$LINENO" 5; }
7596 fi
7597
7598 ac_ext=c
7599 ac_cpp='$CPP $CPPFLAGS'
7600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7603
7604
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7606 $as_echo_n "checking for ANSI C header files... " >&6; }
7607 if ${ac_cv_header_stdc+:} false; then :
7608   $as_echo_n "(cached) " >&6
7609 else
7610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h.  */
7612 #include <stdlib.h>
7613 #include <stdarg.h>
7614 #include <string.h>
7615 #include <float.h>
7616
7617 int
7618 main ()
7619 {
7620
7621   ;
7622   return 0;
7623 }
7624 _ACEOF
7625 if ac_fn_c_try_compile "$LINENO"; then :
7626   ac_cv_header_stdc=yes
7627 else
7628   ac_cv_header_stdc=no
7629 fi
7630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7631
7632 if test $ac_cv_header_stdc = yes; then
7633   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7635 /* end confdefs.h.  */
7636 #include <string.h>
7637
7638 _ACEOF
7639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7640   $EGREP "memchr" >/dev/null 2>&1; then :
7641
7642 else
7643   ac_cv_header_stdc=no
7644 fi
7645 rm -f conftest*
7646
7647 fi
7648
7649 if test $ac_cv_header_stdc = yes; then
7650   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h.  */
7653 #include <stdlib.h>
7654
7655 _ACEOF
7656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7657   $EGREP "free" >/dev/null 2>&1; then :
7658
7659 else
7660   ac_cv_header_stdc=no
7661 fi
7662 rm -f conftest*
7663
7664 fi
7665
7666 if test $ac_cv_header_stdc = yes; then
7667   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7668   if test "$cross_compiling" = yes; then :
7669   :
7670 else
7671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h.  */
7673 #include <ctype.h>
7674 #include <stdlib.h>
7675 #if ((' ' & 0x0FF) == 0x020)
7676 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7677 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7678 #else
7679 # define ISLOWER(c) \
7680                    (('a' <= (c) && (c) <= 'i') \
7681                      || ('j' <= (c) && (c) <= 'r') \
7682                      || ('s' <= (c) && (c) <= 'z'))
7683 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7684 #endif
7685
7686 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7687 int
7688 main ()
7689 {
7690   int i;
7691   for (i = 0; i < 256; i++)
7692     if (XOR (islower (i), ISLOWER (i))
7693         || toupper (i) != TOUPPER (i))
7694       return 2;
7695   return 0;
7696 }
7697 _ACEOF
7698 if ac_fn_c_try_run "$LINENO"; then :
7699
7700 else
7701   ac_cv_header_stdc=no
7702 fi
7703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7704   conftest.$ac_objext conftest.beam conftest.$ac_ext
7705 fi
7706
7707 fi
7708 fi
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7710 $as_echo "$ac_cv_header_stdc" >&6; }
7711 if test $ac_cv_header_stdc = yes; then
7712
7713 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7714
7715 fi
7716
7717 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7718 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7719                   inttypes.h stdint.h unistd.h
7720 do :
7721   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7722 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7723 "
7724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7725   cat >>confdefs.h <<_ACEOF
7726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7727 _ACEOF
7728
7729 fi
7730
7731 done
7732
7733
7734 for ac_header in dlfcn.h
7735 do :
7736   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7737 "
7738 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7739   cat >>confdefs.h <<_ACEOF
7740 #define HAVE_DLFCN_H 1
7741 _ACEOF
7742
7743 fi
7744
7745 done
7746
7747
7748
7749
7750 func_stripname_cnf ()
7751 {
7752   case ${2} in
7753   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7754   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7755   esac
7756 } # func_stripname_cnf
7757
7758
7759
7760
7761
7762 # Set options
7763
7764
7765
7766         enable_dlopen=no
7767
7768
7769   enable_win32_dll=no
7770
7771
7772             # Check whether --enable-shared was given.
7773 if test "${enable_shared+set}" = set; then :
7774   enableval=$enable_shared; p=${PACKAGE-default}
7775     case $enableval in
7776     yes) enable_shared=yes ;;
7777     no) enable_shared=no ;;
7778     *)
7779       enable_shared=no
7780       # Look at the argument we got.  We use all the common list separators.
7781       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7782       for pkg in $enableval; do
7783         IFS="$lt_save_ifs"
7784         if test "X$pkg" = "X$p"; then
7785           enable_shared=yes
7786         fi
7787       done
7788       IFS="$lt_save_ifs"
7789       ;;
7790     esac
7791 else
7792   enable_shared=yes
7793 fi
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803   # Check whether --enable-static was given.
7804 if test "${enable_static+set}" = set; then :
7805   enableval=$enable_static; p=${PACKAGE-default}
7806     case $enableval in
7807     yes) enable_static=yes ;;
7808     no) enable_static=no ;;
7809     *)
7810      enable_static=no
7811       # Look at the argument we got.  We use all the common list separators.
7812       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7813       for pkg in $enableval; do
7814         IFS="$lt_save_ifs"
7815         if test "X$pkg" = "X$p"; then
7816           enable_static=yes
7817         fi
7818       done
7819       IFS="$lt_save_ifs"
7820       ;;
7821     esac
7822 else
7823   enable_static=yes
7824 fi
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835 # Check whether --with-pic was given.
7836 if test "${with_pic+set}" = set; then :
7837   withval=$with_pic; lt_p=${PACKAGE-default}
7838     case $withval in
7839     yes|no) pic_mode=$withval ;;
7840     *)
7841       pic_mode=default
7842       # Look at the argument we got.  We use all the common list separators.
7843       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7844       for lt_pkg in $withval; do
7845         IFS="$lt_save_ifs"
7846         if test "X$lt_pkg" = "X$lt_p"; then
7847           pic_mode=yes
7848         fi
7849       done
7850       IFS="$lt_save_ifs"
7851       ;;
7852     esac
7853 else
7854   pic_mode=default
7855 fi
7856
7857
7858 test -z "$pic_mode" && pic_mode=default
7859
7860
7861
7862
7863
7864
7865
7866   # Check whether --enable-fast-install was given.
7867 if test "${enable_fast_install+set}" = set; then :
7868   enableval=$enable_fast_install; p=${PACKAGE-default}
7869     case $enableval in
7870     yes) enable_fast_install=yes ;;
7871     no) enable_fast_install=no ;;
7872     *)
7873       enable_fast_install=no
7874       # Look at the argument we got.  We use all the common list separators.
7875       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7876       for pkg in $enableval; do
7877         IFS="$lt_save_ifs"
7878         if test "X$pkg" = "X$p"; then
7879           enable_fast_install=yes
7880         fi
7881       done
7882       IFS="$lt_save_ifs"
7883       ;;
7884     esac
7885 else
7886   enable_fast_install=yes
7887 fi
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899 # This can be used to rebuild libtool when needed
7900 LIBTOOL_DEPS="$ltmain"
7901
7902 # Always use our own libtool.
7903 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7904
7905
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
7934 test -z "$LN_S" && LN_S="ln -s"
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949 if test -n "${ZSH_VERSION+set}" ; then
7950    setopt NO_GLOB_SUBST
7951 fi
7952
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7954 $as_echo_n "checking for objdir... " >&6; }
7955 if ${lt_cv_objdir+:} false; then :
7956   $as_echo_n "(cached) " >&6
7957 else
7958   rm -f .libs 2>/dev/null
7959 mkdir .libs 2>/dev/null
7960 if test -d .libs; then
7961   lt_cv_objdir=.libs
7962 else
7963   # MS-DOS does not allow filenames that begin with a dot.
7964   lt_cv_objdir=_libs
7965 fi
7966 rmdir .libs 2>/dev/null
7967 fi
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7969 $as_echo "$lt_cv_objdir" >&6; }
7970 objdir=$lt_cv_objdir
7971
7972
7973
7974
7975
7976 cat >>confdefs.h <<_ACEOF
7977 #define LT_OBJDIR "$lt_cv_objdir/"
7978 _ACEOF
7979
7980
7981
7982
7983 case $host_os in
7984 aix3*)
7985   # AIX sometimes has problems with the GCC collect2 program.  For some
7986   # reason, if we set the COLLECT_NAMES environment variable, the problems
7987   # vanish in a puff of smoke.
7988   if test "X${COLLECT_NAMES+set}" != Xset; then
7989     COLLECT_NAMES=
7990     export COLLECT_NAMES
7991   fi
7992   ;;
7993 esac
7994
7995 # Global variables:
7996 ofile=libtool
7997 can_build_shared=yes
7998
7999 # All known linkers require a `.a' archive for static linking (except MSVC,
8000 # which needs '.lib').
8001 libext=a
8002
8003 with_gnu_ld="$lt_cv_prog_gnu_ld"
8004
8005 old_CC="$CC"
8006 old_CFLAGS="$CFLAGS"
8007
8008 # Set sane defaults for various variables
8009 test -z "$CC" && CC=cc
8010 test -z "$LTCC" && LTCC=$CC
8011 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8012 test -z "$LD" && LD=ld
8013 test -z "$ac_objext" && ac_objext=o
8014
8015 for cc_temp in $compiler""; do
8016   case $cc_temp in
8017     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8018     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8019     \-*) ;;
8020     *) break;;
8021   esac
8022 done
8023 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8024
8025
8026 # Only perform the check for file, if the check method requires it
8027 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8028 case $deplibs_check_method in
8029 file_magic*)
8030   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8031     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8032 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8033 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8034   $as_echo_n "(cached) " >&6
8035 else
8036   case $MAGIC_CMD in
8037 [\\/*] |  ?:[\\/]*)
8038   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8039   ;;
8040 *)
8041   lt_save_MAGIC_CMD="$MAGIC_CMD"
8042   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8043   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8044   for ac_dir in $ac_dummy; do
8045     IFS="$lt_save_ifs"
8046     test -z "$ac_dir" && ac_dir=.
8047     if test -f $ac_dir/${ac_tool_prefix}file; then
8048       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8049       if test -n "$file_magic_test_file"; then
8050         case $deplibs_check_method in
8051         "file_magic "*)
8052           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8053           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8054           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8055             $EGREP "$file_magic_regex" > /dev/null; then
8056             :
8057           else
8058             cat <<_LT_EOF 1>&2
8059
8060 *** Warning: the command libtool uses to detect shared libraries,
8061 *** $file_magic_cmd, produces output that libtool cannot recognize.
8062 *** The result is that libtool may fail to recognize shared libraries
8063 *** as such.  This will affect the creation of libtool libraries that
8064 *** depend on shared libraries, but programs linked with such libtool
8065 *** libraries will work regardless of this problem.  Nevertheless, you
8066 *** may want to report the problem to your system manager and/or to
8067 *** bug-libtool@gnu.org
8068
8069 _LT_EOF
8070           fi ;;
8071         esac
8072       fi
8073       break
8074     fi
8075   done
8076   IFS="$lt_save_ifs"
8077   MAGIC_CMD="$lt_save_MAGIC_CMD"
8078   ;;
8079 esac
8080 fi
8081
8082 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8083 if test -n "$MAGIC_CMD"; then
8084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8085 $as_echo "$MAGIC_CMD" >&6; }
8086 else
8087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8089 fi
8090
8091
8092
8093
8094
8095 if test -z "$lt_cv_path_MAGIC_CMD"; then
8096   if test -n "$ac_tool_prefix"; then
8097     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8098 $as_echo_n "checking for file... " >&6; }
8099 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8100   $as_echo_n "(cached) " >&6
8101 else
8102   case $MAGIC_CMD in
8103 [\\/*] |  ?:[\\/]*)
8104   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8105   ;;
8106 *)
8107   lt_save_MAGIC_CMD="$MAGIC_CMD"
8108   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8109   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8110   for ac_dir in $ac_dummy; do
8111     IFS="$lt_save_ifs"
8112     test -z "$ac_dir" && ac_dir=.
8113     if test -f $ac_dir/file; then
8114       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8115       if test -n "$file_magic_test_file"; then
8116         case $deplibs_check_method in
8117         "file_magic "*)
8118           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8119           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8120           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8121             $EGREP "$file_magic_regex" > /dev/null; then
8122             :
8123           else
8124             cat <<_LT_EOF 1>&2
8125
8126 *** Warning: the command libtool uses to detect shared libraries,
8127 *** $file_magic_cmd, produces output that libtool cannot recognize.
8128 *** The result is that libtool may fail to recognize shared libraries
8129 *** as such.  This will affect the creation of libtool libraries that
8130 *** depend on shared libraries, but programs linked with such libtool
8131 *** libraries will work regardless of this problem.  Nevertheless, you
8132 *** may want to report the problem to your system manager and/or to
8133 *** bug-libtool@gnu.org
8134
8135 _LT_EOF
8136           fi ;;
8137         esac
8138       fi
8139       break
8140     fi
8141   done
8142   IFS="$lt_save_ifs"
8143   MAGIC_CMD="$lt_save_MAGIC_CMD"
8144   ;;
8145 esac
8146 fi
8147
8148 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8149 if test -n "$MAGIC_CMD"; then
8150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8151 $as_echo "$MAGIC_CMD" >&6; }
8152 else
8153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8155 fi
8156
8157
8158   else
8159     MAGIC_CMD=:
8160   fi
8161 fi
8162
8163   fi
8164   ;;
8165 esac
8166
8167 # Use C for the default configuration in the libtool script
8168
8169 lt_save_CC="$CC"
8170 ac_ext=c
8171 ac_cpp='$CPP $CPPFLAGS'
8172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8175
8176
8177 # Source file extension for C test sources.
8178 ac_ext=c
8179
8180 # Object file extension for compiled C test sources.
8181 objext=o
8182 objext=$objext
8183
8184 # Code to be used in simple compile tests
8185 lt_simple_compile_test_code="int some_variable = 0;"
8186
8187 # Code to be used in simple link tests
8188 lt_simple_link_test_code='int main(){return(0);}'
8189
8190
8191
8192
8193
8194
8195
8196 # If no C compiler was specified, use CC.
8197 LTCC=${LTCC-"$CC"}
8198
8199 # If no C compiler flags were specified, use CFLAGS.
8200 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8201
8202 # Allow CC to be a program name with arguments.
8203 compiler=$CC
8204
8205 # Save the default compiler, since it gets overwritten when the other
8206 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8207 compiler_DEFAULT=$CC
8208
8209 # save warnings/boilerplate of simple test code
8210 ac_outfile=conftest.$ac_objext
8211 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8212 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8213 _lt_compiler_boilerplate=`cat conftest.err`
8214 $RM conftest*
8215
8216 ac_outfile=conftest.$ac_objext
8217 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8218 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8219 _lt_linker_boilerplate=`cat conftest.err`
8220 $RM -r conftest*
8221
8222
8223 ## CAVEAT EMPTOR:
8224 ## There is no encapsulation within the following macros, do not change
8225 ## the running order or otherwise move them around unless you know exactly
8226 ## what you are doing...
8227 if test -n "$compiler"; then
8228
8229 lt_prog_compiler_no_builtin_flag=
8230
8231 if test "$GCC" = yes; then
8232   case $cc_basename in
8233   nvcc*)
8234     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8235   *)
8236     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8237   esac
8238
8239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8240 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8241 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8242   $as_echo_n "(cached) " >&6
8243 else
8244   lt_cv_prog_compiler_rtti_exceptions=no
8245    ac_outfile=conftest.$ac_objext
8246    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8247    lt_compiler_flag="-fno-rtti -fno-exceptions"
8248    # Insert the option either (1) after the last *FLAGS variable, or
8249    # (2) before a word containing "conftest.", or (3) at the end.
8250    # Note that $ac_compile itself does not contain backslashes and begins
8251    # with a dollar sign (not a hyphen), so the echo should work correctly.
8252    # The option is referenced via a variable to avoid confusing sed.
8253    lt_compile=`echo "$ac_compile" | $SED \
8254    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8255    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8256    -e 's:$: $lt_compiler_flag:'`
8257    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8258    (eval "$lt_compile" 2>conftest.err)
8259    ac_status=$?
8260    cat conftest.err >&5
8261    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262    if (exit $ac_status) && test -s "$ac_outfile"; then
8263      # The compiler can only warn and ignore the option if not recognized
8264      # So say no if there are warnings other than the usual output.
8265      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8266      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8267      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8268        lt_cv_prog_compiler_rtti_exceptions=yes
8269      fi
8270    fi
8271    $RM conftest*
8272
8273 fi
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8275 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8276
8277 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8278     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8279 else
8280     :
8281 fi
8282
8283 fi
8284
8285
8286
8287
8288
8289
8290   lt_prog_compiler_wl=
8291 lt_prog_compiler_pic=
8292 lt_prog_compiler_static=
8293
8294
8295   if test "$GCC" = yes; then
8296     lt_prog_compiler_wl='-Wl,'
8297     lt_prog_compiler_static='-static'
8298
8299     case $host_os in
8300       aix*)
8301       # All AIX code is PIC.
8302       if test "$host_cpu" = ia64; then
8303         # AIX 5 now supports IA64 processor
8304         lt_prog_compiler_static='-Bstatic'
8305       fi
8306       ;;
8307
8308     amigaos*)
8309       case $host_cpu in
8310       powerpc)
8311             # see comment about AmigaOS4 .so support
8312             lt_prog_compiler_pic='-fPIC'
8313         ;;
8314       m68k)
8315             # FIXME: we need at least 68020 code to build shared libraries, but
8316             # adding the `-m68020' flag to GCC prevents building anything better,
8317             # like `-m68040'.
8318             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8319         ;;
8320       esac
8321       ;;
8322
8323     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8324       # PIC is the default for these OSes.
8325       ;;
8326
8327     mingw* | cygwin* | pw32* | os2* | cegcc*)
8328       # This hack is so that the source file can tell whether it is being
8329       # built for inclusion in a dll (and should export symbols for example).
8330       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8331       # (--disable-auto-import) libraries
8332       lt_prog_compiler_pic='-DDLL_EXPORT'
8333       ;;
8334
8335     darwin* | rhapsody*)
8336       # PIC is the default on this platform
8337       # Common symbols not allowed in MH_DYLIB files
8338       lt_prog_compiler_pic='-fno-common'
8339       ;;
8340
8341     haiku*)
8342       # PIC is the default for Haiku.
8343       # The "-static" flag exists, but is broken.
8344       lt_prog_compiler_static=
8345       ;;
8346
8347     hpux*)
8348       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8349       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8350       # sets the default TLS model and affects inlining.
8351       case $host_cpu in
8352       hppa*64*)
8353         # +Z the default
8354         ;;
8355       *)
8356         lt_prog_compiler_pic='-fPIC'
8357         ;;
8358       esac
8359       ;;
8360
8361     interix[3-9]*)
8362       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8363       # Instead, we relocate shared libraries at runtime.
8364       ;;
8365
8366     msdosdjgpp*)
8367       # Just because we use GCC doesn't mean we suddenly get shared libraries
8368       # on systems that don't support them.
8369       lt_prog_compiler_can_build_shared=no
8370       enable_shared=no
8371       ;;
8372
8373     *nto* | *qnx*)
8374       # QNX uses GNU C++, but need to define -shared option too, otherwise
8375       # it will coredump.
8376       lt_prog_compiler_pic='-fPIC -shared'
8377       ;;
8378
8379     sysv4*MP*)
8380       if test -d /usr/nec; then
8381         lt_prog_compiler_pic=-Kconform_pic
8382       fi
8383       ;;
8384
8385     *)
8386       lt_prog_compiler_pic='-fPIC'
8387       ;;
8388     esac
8389
8390     case $cc_basename in
8391     nvcc*) # Cuda Compiler Driver 2.2
8392       lt_prog_compiler_wl='-Xlinker '
8393       if test -n "$lt_prog_compiler_pic"; then
8394         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8395       fi
8396       ;;
8397     esac
8398   else
8399     # PORTME Check for flag to pass linker flags through the system compiler.
8400     case $host_os in
8401     aix*)
8402       lt_prog_compiler_wl='-Wl,'
8403       if test "$host_cpu" = ia64; then
8404         # AIX 5 now supports IA64 processor
8405         lt_prog_compiler_static='-Bstatic'
8406       else
8407         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8408       fi
8409       ;;
8410
8411     mingw* | cygwin* | pw32* | os2* | cegcc*)
8412       # This hack is so that the source file can tell whether it is being
8413       # built for inclusion in a dll (and should export symbols for example).
8414       lt_prog_compiler_pic='-DDLL_EXPORT'
8415       ;;
8416
8417     hpux9* | hpux10* | hpux11*)
8418       lt_prog_compiler_wl='-Wl,'
8419       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8420       # not for PA HP-UX.
8421       case $host_cpu in
8422       hppa*64*|ia64*)
8423         # +Z the default
8424         ;;
8425       *)
8426         lt_prog_compiler_pic='+Z'
8427         ;;
8428       esac
8429       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8430       lt_prog_compiler_static='${wl}-a ${wl}archive'
8431       ;;
8432
8433     irix5* | irix6* | nonstopux*)
8434       lt_prog_compiler_wl='-Wl,'
8435       # PIC (with -KPIC) is the default.
8436       lt_prog_compiler_static='-non_shared'
8437       ;;
8438
8439     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8440       case $cc_basename in
8441       # old Intel for x86_64 which still supported -KPIC.
8442       ecc*)
8443         lt_prog_compiler_wl='-Wl,'
8444         lt_prog_compiler_pic='-KPIC'
8445         lt_prog_compiler_static='-static'
8446         ;;
8447       # icc used to be incompatible with GCC.
8448       # ICC 10 doesn't accept -KPIC any more.
8449       icc* | ifort*)
8450         lt_prog_compiler_wl='-Wl,'
8451         lt_prog_compiler_pic='-fPIC'
8452         lt_prog_compiler_static='-static'
8453         ;;
8454       # Lahey Fortran 8.1.
8455       lf95*)
8456         lt_prog_compiler_wl='-Wl,'
8457         lt_prog_compiler_pic='--shared'
8458         lt_prog_compiler_static='--static'
8459         ;;
8460       nagfor*)
8461         # NAG Fortran compiler
8462         lt_prog_compiler_wl='-Wl,-Wl,,'
8463         lt_prog_compiler_pic='-PIC'
8464         lt_prog_compiler_static='-Bstatic'
8465         ;;
8466       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8467         # Portland Group compilers (*not* the Pentium gcc compiler,
8468         # which looks to be a dead project)
8469         lt_prog_compiler_wl='-Wl,'
8470         lt_prog_compiler_pic='-fpic'
8471         lt_prog_compiler_static='-Bstatic'
8472         ;;
8473       ccc*)
8474         lt_prog_compiler_wl='-Wl,'
8475         # All Alpha code is PIC.
8476         lt_prog_compiler_static='-non_shared'
8477         ;;
8478       xl* | bgxl* | bgf* | mpixl*)
8479         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8480         lt_prog_compiler_wl='-Wl,'
8481         lt_prog_compiler_pic='-qpic'
8482         lt_prog_compiler_static='-qstaticlink'
8483         ;;
8484       *)
8485         case `$CC -V 2>&1 | sed 5q` in
8486         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8487           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8488           lt_prog_compiler_pic='-KPIC'
8489           lt_prog_compiler_static='-Bstatic'
8490           lt_prog_compiler_wl=''
8491           ;;
8492         *Sun\ F* | *Sun*Fortran*)
8493           lt_prog_compiler_pic='-KPIC'
8494           lt_prog_compiler_static='-Bstatic'
8495           lt_prog_compiler_wl='-Qoption ld '
8496           ;;
8497         *Sun\ C*)
8498           # Sun C 5.9
8499           lt_prog_compiler_pic='-KPIC'
8500           lt_prog_compiler_static='-Bstatic'
8501           lt_prog_compiler_wl='-Wl,'
8502           ;;
8503         *Intel*\ [CF]*Compiler*)
8504           lt_prog_compiler_wl='-Wl,'
8505           lt_prog_compiler_pic='-fPIC'
8506           lt_prog_compiler_static='-static'
8507           ;;
8508         *Portland\ Group*)
8509           lt_prog_compiler_wl='-Wl,'
8510           lt_prog_compiler_pic='-fpic'
8511           lt_prog_compiler_static='-Bstatic'
8512           ;;
8513         esac
8514         ;;
8515       esac
8516       ;;
8517
8518     newsos6)
8519       lt_prog_compiler_pic='-KPIC'
8520       lt_prog_compiler_static='-Bstatic'
8521       ;;
8522
8523     *nto* | *qnx*)
8524       # QNX uses GNU C++, but need to define -shared option too, otherwise
8525       # it will coredump.
8526       lt_prog_compiler_pic='-fPIC -shared'
8527       ;;
8528
8529     osf3* | osf4* | osf5*)
8530       lt_prog_compiler_wl='-Wl,'
8531       # All OSF/1 code is PIC.
8532       lt_prog_compiler_static='-non_shared'
8533       ;;
8534
8535     rdos*)
8536       lt_prog_compiler_static='-non_shared'
8537       ;;
8538
8539     solaris*)
8540       lt_prog_compiler_pic='-KPIC'
8541       lt_prog_compiler_static='-Bstatic'
8542       case $cc_basename in
8543       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8544         lt_prog_compiler_wl='-Qoption ld ';;
8545       *)
8546         lt_prog_compiler_wl='-Wl,';;
8547       esac
8548       ;;
8549
8550     sunos4*)
8551       lt_prog_compiler_wl='-Qoption ld '
8552       lt_prog_compiler_pic='-PIC'
8553       lt_prog_compiler_static='-Bstatic'
8554       ;;
8555
8556     sysv4 | sysv4.2uw2* | sysv4.3*)
8557       lt_prog_compiler_wl='-Wl,'
8558       lt_prog_compiler_pic='-KPIC'
8559       lt_prog_compiler_static='-Bstatic'
8560       ;;
8561
8562     sysv4*MP*)
8563       if test -d /usr/nec ;then
8564         lt_prog_compiler_pic='-Kconform_pic'
8565         lt_prog_compiler_static='-Bstatic'
8566       fi
8567       ;;
8568
8569     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8570       lt_prog_compiler_wl='-Wl,'
8571       lt_prog_compiler_pic='-KPIC'
8572       lt_prog_compiler_static='-Bstatic'
8573       ;;
8574
8575     unicos*)
8576       lt_prog_compiler_wl='-Wl,'
8577       lt_prog_compiler_can_build_shared=no
8578       ;;
8579
8580     uts4*)
8581       lt_prog_compiler_pic='-pic'
8582       lt_prog_compiler_static='-Bstatic'
8583       ;;
8584
8585     *)
8586       lt_prog_compiler_can_build_shared=no
8587       ;;
8588     esac
8589   fi
8590
8591 case $host_os in
8592   # For platforms which do not support PIC, -DPIC is meaningless:
8593   *djgpp*)
8594     lt_prog_compiler_pic=
8595     ;;
8596   *)
8597     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8598     ;;
8599 esac
8600
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8602 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8603 if ${lt_cv_prog_compiler_pic+:} false; then :
8604   $as_echo_n "(cached) " >&6
8605 else
8606   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8607 fi
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8609 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8610 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8611
8612 #
8613 # Check to make sure the PIC flag actually works.
8614 #
8615 if test -n "$lt_prog_compiler_pic"; then
8616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8617 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8618 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8619   $as_echo_n "(cached) " >&6
8620 else
8621   lt_cv_prog_compiler_pic_works=no
8622    ac_outfile=conftest.$ac_objext
8623    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8624    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8625    # Insert the option either (1) after the last *FLAGS variable, or
8626    # (2) before a word containing "conftest.", or (3) at the end.
8627    # Note that $ac_compile itself does not contain backslashes and begins
8628    # with a dollar sign (not a hyphen), so the echo should work correctly.
8629    # The option is referenced via a variable to avoid confusing sed.
8630    lt_compile=`echo "$ac_compile" | $SED \
8631    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8632    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8633    -e 's:$: $lt_compiler_flag:'`
8634    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8635    (eval "$lt_compile" 2>conftest.err)
8636    ac_status=$?
8637    cat conftest.err >&5
8638    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639    if (exit $ac_status) && test -s "$ac_outfile"; then
8640      # The compiler can only warn and ignore the option if not recognized
8641      # So say no if there are warnings other than the usual output.
8642      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8643      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8644      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8645        lt_cv_prog_compiler_pic_works=yes
8646      fi
8647    fi
8648    $RM conftest*
8649
8650 fi
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8652 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8653
8654 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8655     case $lt_prog_compiler_pic in
8656      "" | " "*) ;;
8657      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8658      esac
8659 else
8660     lt_prog_compiler_pic=
8661      lt_prog_compiler_can_build_shared=no
8662 fi
8663
8664 fi
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676 #
8677 # Check to make sure the static flag actually works.
8678 #
8679 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8681 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8682 if ${lt_cv_prog_compiler_static_works+:} false; then :
8683   $as_echo_n "(cached) " >&6
8684 else
8685   lt_cv_prog_compiler_static_works=no
8686    save_LDFLAGS="$LDFLAGS"
8687    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8688    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8689    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8690      # The linker can only warn and ignore the option if not recognized
8691      # So say no if there are warnings
8692      if test -s conftest.err; then
8693        # Append any errors to the config.log.
8694        cat conftest.err 1>&5
8695        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8696        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8697        if diff conftest.exp conftest.er2 >/dev/null; then
8698          lt_cv_prog_compiler_static_works=yes
8699        fi
8700      else
8701        lt_cv_prog_compiler_static_works=yes
8702      fi
8703    fi
8704    $RM -r conftest*
8705    LDFLAGS="$save_LDFLAGS"
8706
8707 fi
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8709 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8710
8711 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8712     :
8713 else
8714     lt_prog_compiler_static=
8715 fi
8716
8717
8718
8719
8720
8721
8722
8723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8724 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8725 if ${lt_cv_prog_compiler_c_o+:} false; then :
8726   $as_echo_n "(cached) " >&6
8727 else
8728   lt_cv_prog_compiler_c_o=no
8729    $RM -r conftest 2>/dev/null
8730    mkdir conftest
8731    cd conftest
8732    mkdir out
8733    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8734
8735    lt_compiler_flag="-o out/conftest2.$ac_objext"
8736    # Insert the option either (1) after the last *FLAGS variable, or
8737    # (2) before a word containing "conftest.", or (3) at the end.
8738    # Note that $ac_compile itself does not contain backslashes and begins
8739    # with a dollar sign (not a hyphen), so the echo should work correctly.
8740    lt_compile=`echo "$ac_compile" | $SED \
8741    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8742    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8743    -e 's:$: $lt_compiler_flag:'`
8744    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8745    (eval "$lt_compile" 2>out/conftest.err)
8746    ac_status=$?
8747    cat out/conftest.err >&5
8748    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8750    then
8751      # The compiler can only warn and ignore the option if not recognized
8752      # So say no if there are warnings
8753      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8754      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8755      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8756        lt_cv_prog_compiler_c_o=yes
8757      fi
8758    fi
8759    chmod u+w . 2>&5
8760    $RM conftest*
8761    # SGI C++ compiler will create directory out/ii_files/ for
8762    # template instantiation
8763    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8764    $RM out/* && rmdir out
8765    cd ..
8766    $RM -r conftest
8767    $RM conftest*
8768
8769 fi
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8771 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8772
8773
8774
8775
8776
8777
8778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8779 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8780 if ${lt_cv_prog_compiler_c_o+:} false; then :
8781   $as_echo_n "(cached) " >&6
8782 else
8783   lt_cv_prog_compiler_c_o=no
8784    $RM -r conftest 2>/dev/null
8785    mkdir conftest
8786    cd conftest
8787    mkdir out
8788    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8789
8790    lt_compiler_flag="-o out/conftest2.$ac_objext"
8791    # Insert the option either (1) after the last *FLAGS variable, or
8792    # (2) before a word containing "conftest.", or (3) at the end.
8793    # Note that $ac_compile itself does not contain backslashes and begins
8794    # with a dollar sign (not a hyphen), so the echo should work correctly.
8795    lt_compile=`echo "$ac_compile" | $SED \
8796    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8797    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8798    -e 's:$: $lt_compiler_flag:'`
8799    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8800    (eval "$lt_compile" 2>out/conftest.err)
8801    ac_status=$?
8802    cat out/conftest.err >&5
8803    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8805    then
8806      # The compiler can only warn and ignore the option if not recognized
8807      # So say no if there are warnings
8808      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8809      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8810      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8811        lt_cv_prog_compiler_c_o=yes
8812      fi
8813    fi
8814    chmod u+w . 2>&5
8815    $RM conftest*
8816    # SGI C++ compiler will create directory out/ii_files/ for
8817    # template instantiation
8818    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8819    $RM out/* && rmdir out
8820    cd ..
8821    $RM -r conftest
8822    $RM conftest*
8823
8824 fi
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8826 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8827
8828
8829
8830
8831 hard_links="nottested"
8832 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8833   # do not overwrite the value of need_locks provided by the user
8834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8835 $as_echo_n "checking if we can lock with hard links... " >&6; }
8836   hard_links=yes
8837   $RM conftest*
8838   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8839   touch conftest.a
8840   ln conftest.a conftest.b 2>&5 || hard_links=no
8841   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8843 $as_echo "$hard_links" >&6; }
8844   if test "$hard_links" = no; then
8845     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8846 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8847     need_locks=warn
8848   fi
8849 else
8850   need_locks=no
8851 fi
8852
8853
8854
8855
8856
8857
8858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8859 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8860
8861   runpath_var=
8862   allow_undefined_flag=
8863   always_export_symbols=no
8864   archive_cmds=
8865   archive_expsym_cmds=
8866   compiler_needs_object=no
8867   enable_shared_with_static_runtimes=no
8868   export_dynamic_flag_spec=
8869   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8870   hardcode_automatic=no
8871   hardcode_direct=no
8872   hardcode_direct_absolute=no
8873   hardcode_libdir_flag_spec=
8874   hardcode_libdir_separator=
8875   hardcode_minus_L=no
8876   hardcode_shlibpath_var=unsupported
8877   inherit_rpath=no
8878   link_all_deplibs=unknown
8879   module_cmds=
8880   module_expsym_cmds=
8881   old_archive_from_new_cmds=
8882   old_archive_from_expsyms_cmds=
8883   thread_safe_flag_spec=
8884   whole_archive_flag_spec=
8885   # include_expsyms should be a list of space-separated symbols to be *always*
8886   # included in the symbol list
8887   include_expsyms=
8888   # exclude_expsyms can be an extended regexp of symbols to exclude
8889   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8890   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8891   # as well as any symbol that contains `d'.
8892   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8893   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8894   # platforms (ab)use it in PIC code, but their linkers get confused if
8895   # the symbol is explicitly referenced.  Since portable code cannot
8896   # rely on this symbol name, it's probably fine to never include it in
8897   # preloaded symbol tables.
8898   # Exclude shared library initialization/finalization symbols.
8899   extract_expsyms_cmds=
8900
8901   case $host_os in
8902   cygwin* | mingw* | pw32* | cegcc*)
8903     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8904     # When not using gcc, we currently assume that we are using
8905     # Microsoft Visual C++.
8906     if test "$GCC" != yes; then
8907       with_gnu_ld=no
8908     fi
8909     ;;
8910   interix*)
8911     # we just hope/assume this is gcc and not c89 (= MSVC++)
8912     with_gnu_ld=yes
8913     ;;
8914   openbsd*)
8915     with_gnu_ld=no
8916     ;;
8917   esac
8918
8919   ld_shlibs=yes
8920
8921   # On some targets, GNU ld is compatible enough with the native linker
8922   # that we're better off using the native interface for both.
8923   lt_use_gnu_ld_interface=no
8924   if test "$with_gnu_ld" = yes; then
8925     case $host_os in
8926       aix*)
8927         # The AIX port of GNU ld has always aspired to compatibility
8928         # with the native linker.  However, as the warning in the GNU ld
8929         # block says, versions before 2.19.5* couldn't really create working
8930         # shared libraries, regardless of the interface used.
8931         case `$LD -v 2>&1` in
8932           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8933           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8934           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8935           *)
8936             lt_use_gnu_ld_interface=yes
8937             ;;
8938         esac
8939         ;;
8940       *)
8941         lt_use_gnu_ld_interface=yes
8942         ;;
8943     esac
8944   fi
8945
8946   if test "$lt_use_gnu_ld_interface" = yes; then
8947     # If archive_cmds runs LD, not CC, wlarc should be empty
8948     wlarc='${wl}'
8949
8950     # Set some defaults for GNU ld with shared library support. These
8951     # are reset later if shared libraries are not supported. Putting them
8952     # here allows them to be overridden if necessary.
8953     runpath_var=LD_RUN_PATH
8954     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8955     export_dynamic_flag_spec='${wl}--export-dynamic'
8956     # ancient GNU ld didn't support --whole-archive et. al.
8957     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8958       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8959     else
8960       whole_archive_flag_spec=
8961     fi
8962     supports_anon_versioning=no
8963     case `$LD -v 2>&1` in
8964       *GNU\ gold*) supports_anon_versioning=yes ;;
8965       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8966       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8967       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8968       *\ 2.11.*) ;; # other 2.11 versions
8969       *) supports_anon_versioning=yes ;;
8970     esac
8971
8972     # See if GNU ld supports shared libraries.
8973     case $host_os in
8974     aix[3-9]*)
8975       # On AIX/PPC, the GNU linker is very broken
8976       if test "$host_cpu" != ia64; then
8977         ld_shlibs=no
8978         cat <<_LT_EOF 1>&2
8979
8980 *** Warning: the GNU linker, at least up to release 2.19, is reported
8981 *** to be unable to reliably create shared libraries on AIX.
8982 *** Therefore, libtool is disabling shared libraries support.  If you
8983 *** really care for shared libraries, you may want to install binutils
8984 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8985 *** You will then need to restart the configuration process.
8986
8987 _LT_EOF
8988       fi
8989       ;;
8990
8991     amigaos*)
8992       case $host_cpu in
8993       powerpc)
8994             # see comment about AmigaOS4 .so support
8995             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8996             archive_expsym_cmds=''
8997         ;;
8998       m68k)
8999             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)'
9000             hardcode_libdir_flag_spec='-L$libdir'
9001             hardcode_minus_L=yes
9002         ;;
9003       esac
9004       ;;
9005
9006     beos*)
9007       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9008         allow_undefined_flag=unsupported
9009         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9010         # support --undefined.  This deserves some investigation.  FIXME
9011         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9012       else
9013         ld_shlibs=no
9014       fi
9015       ;;
9016
9017     cygwin* | mingw* | pw32* | cegcc*)
9018       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9019       # as there is no search path for DLLs.
9020       hardcode_libdir_flag_spec='-L$libdir'
9021       export_dynamic_flag_spec='${wl}--export-all-symbols'
9022       allow_undefined_flag=unsupported
9023       always_export_symbols=no
9024       enable_shared_with_static_runtimes=yes
9025       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'
9026       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9027
9028       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9029         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9030         # If the export-symbols file already is a .def file (1st line
9031         # is EXPORTS), use it as is; otherwise, prepend...
9032         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9033           cp $export_symbols $output_objdir/$soname.def;
9034         else
9035           echo EXPORTS > $output_objdir/$soname.def;
9036           cat $export_symbols >> $output_objdir/$soname.def;
9037         fi~
9038         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9039       else
9040         ld_shlibs=no
9041       fi
9042       ;;
9043
9044     haiku*)
9045       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9046       link_all_deplibs=yes
9047       ;;
9048
9049     interix[3-9]*)
9050       hardcode_direct=no
9051       hardcode_shlibpath_var=no
9052       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9053       export_dynamic_flag_spec='${wl}-E'
9054       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9055       # Instead, shared libraries are loaded at an image base (0x10000000 by
9056       # default) and relocated if they conflict, which is a slow very memory
9057       # consuming and fragmenting process.  To avoid this, we pick a random,
9058       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9059       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9060       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9061       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'
9062       ;;
9063
9064     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9065       tmp_diet=no
9066       if test "$host_os" = linux-dietlibc; then
9067         case $cc_basename in
9068           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9069         esac
9070       fi
9071       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9072          && test "$tmp_diet" = no
9073       then
9074         tmp_addflag=' $pic_flag'
9075         tmp_sharedflag='-shared'
9076         case $cc_basename,$host_cpu in
9077         pgcc*)                          # Portland Group C compiler
9078           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'
9079           tmp_addflag=' $pic_flag'
9080           ;;
9081         pgf77* | pgf90* | pgf95* | pgfortran*)
9082                                         # Portland Group f77 and f90 compilers
9083           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'
9084           tmp_addflag=' $pic_flag -Mnomain' ;;
9085         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9086           tmp_addflag=' -i_dynamic' ;;
9087         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9088           tmp_addflag=' -i_dynamic -nofor_main' ;;
9089         ifc* | ifort*)                  # Intel Fortran compiler
9090           tmp_addflag=' -nofor_main' ;;
9091         lf95*)                          # Lahey Fortran 8.1
9092           whole_archive_flag_spec=
9093           tmp_sharedflag='--shared' ;;
9094         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9095           tmp_sharedflag='-qmkshrobj'
9096           tmp_addflag= ;;
9097         nvcc*)  # Cuda Compiler Driver 2.2
9098           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'
9099           compiler_needs_object=yes
9100           ;;
9101         esac
9102         case `$CC -V 2>&1 | sed 5q` in
9103         *Sun\ C*)                       # Sun C 5.9
9104           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'
9105           compiler_needs_object=yes
9106           tmp_sharedflag='-G' ;;
9107         *Sun\ F*)                       # Sun Fortran 8.3
9108           tmp_sharedflag='-G' ;;
9109         esac
9110         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9111
9112         if test "x$supports_anon_versioning" = xyes; then
9113           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9114             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9115             echo "local: *; };" >> $output_objdir/$libname.ver~
9116             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9117         fi
9118
9119         case $cc_basename in
9120         xlf* | bgf* | bgxlf* | mpixlf*)
9121           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9122           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9123           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9124           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9125           if test "x$supports_anon_versioning" = xyes; then
9126             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9127               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9128               echo "local: *; };" >> $output_objdir/$libname.ver~
9129               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9130           fi
9131           ;;
9132         esac
9133       else
9134         ld_shlibs=no
9135       fi
9136       ;;
9137
9138     netbsd*)
9139       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9140         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9141         wlarc=
9142       else
9143         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9144         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9145       fi
9146       ;;
9147
9148     solaris*)
9149       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9150         ld_shlibs=no
9151         cat <<_LT_EOF 1>&2
9152
9153 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9154 *** create shared libraries on Solaris systems.  Therefore, libtool
9155 *** is disabling shared libraries support.  We urge you to upgrade GNU
9156 *** binutils to release 2.9.1 or newer.  Another option is to modify
9157 *** your PATH or compiler configuration so that the native linker is
9158 *** used, and then restart.
9159
9160 _LT_EOF
9161       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9162         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9164       else
9165         ld_shlibs=no
9166       fi
9167       ;;
9168
9169     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9170       case `$LD -v 2>&1` in
9171         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9172         ld_shlibs=no
9173         cat <<_LT_EOF 1>&2
9174
9175 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9176 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9177 *** is disabling shared libraries support.  We urge you to upgrade GNU
9178 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9179 *** your PATH or compiler configuration so that the native linker is
9180 *** used, and then restart.
9181
9182 _LT_EOF
9183         ;;
9184         *)
9185           # For security reasons, it is highly recommended that you always
9186           # use absolute paths for naming shared libraries, and exclude the
9187           # DT_RUNPATH tag from executables and libraries.  But doing so
9188           # requires that you compile everything twice, which is a pain.
9189           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9190             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9191             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9193           else
9194             ld_shlibs=no
9195           fi
9196         ;;
9197       esac
9198       ;;
9199
9200     sunos4*)
9201       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9202       wlarc=
9203       hardcode_direct=yes
9204       hardcode_shlibpath_var=no
9205       ;;
9206
9207     *)
9208       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9209         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9210         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9211       else
9212         ld_shlibs=no
9213       fi
9214       ;;
9215     esac
9216
9217     if test "$ld_shlibs" = no; then
9218       runpath_var=
9219       hardcode_libdir_flag_spec=
9220       export_dynamic_flag_spec=
9221       whole_archive_flag_spec=
9222     fi
9223   else
9224     # PORTME fill in a description of your system's linker (not GNU ld)
9225     case $host_os in
9226     aix3*)
9227       allow_undefined_flag=unsupported
9228       always_export_symbols=yes
9229       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'
9230       # Note: this linker hardcodes the directories in LIBPATH if there
9231       # are no directories specified by -L.
9232       hardcode_minus_L=yes
9233       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9234         # Neither direct hardcoding nor static linking is supported with a
9235         # broken collect2.
9236         hardcode_direct=unsupported
9237       fi
9238       ;;
9239
9240     aix[4-9]*)
9241       if test "$host_cpu" = ia64; then
9242         # On IA64, the linker does run time linking by default, so we don't
9243         # have to do anything special.
9244         aix_use_runtimelinking=no
9245         exp_sym_flag='-Bexport'
9246         no_entry_flag=""
9247       else
9248         # If we're using GNU nm, then we don't want the "-C" option.
9249         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9250         # Also, AIX nm treats weak defined symbols like other global
9251         # defined symbols, whereas GNU nm marks them as "W".
9252         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9253           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'
9254         else
9255           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'
9256         fi
9257         aix_use_runtimelinking=no
9258
9259         # Test if we are trying to use run time linking or normal
9260         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9261         # need to do runtime linking.
9262         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9263           for ld_flag in $LDFLAGS; do
9264           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9265             aix_use_runtimelinking=yes
9266             break
9267           fi
9268           done
9269           ;;
9270         esac
9271
9272         exp_sym_flag='-bexport'
9273         no_entry_flag='-bnoentry'
9274       fi
9275
9276       # When large executables or shared objects are built, AIX ld can
9277       # have problems creating the table of contents.  If linking a library
9278       # or program results in "error TOC overflow" add -mminimal-toc to
9279       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9280       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9281
9282       archive_cmds=''
9283       hardcode_direct=yes
9284       hardcode_direct_absolute=yes
9285       hardcode_libdir_separator=':'
9286       link_all_deplibs=yes
9287       file_list_spec='${wl}-f,'
9288
9289       if test "$GCC" = yes; then
9290         case $host_os in aix4.[012]|aix4.[012].*)
9291         # We only want to do this on AIX 4.2 and lower, the check
9292         # below for broken collect2 doesn't work under 4.3+
9293           collect2name=`${CC} -print-prog-name=collect2`
9294           if test -f "$collect2name" &&
9295            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9296           then
9297           # We have reworked collect2
9298           :
9299           else
9300           # We have old collect2
9301           hardcode_direct=unsupported
9302           # It fails to find uninstalled libraries when the uninstalled
9303           # path is not listed in the libpath.  Setting hardcode_minus_L
9304           # to unsupported forces relinking
9305           hardcode_minus_L=yes
9306           hardcode_libdir_flag_spec='-L$libdir'
9307           hardcode_libdir_separator=
9308           fi
9309           ;;
9310         esac
9311         shared_flag='-shared'
9312         if test "$aix_use_runtimelinking" = yes; then
9313           shared_flag="$shared_flag "'${wl}-G'
9314         fi
9315       else
9316         # not using gcc
9317         if test "$host_cpu" = ia64; then
9318         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9319         # chokes on -Wl,-G. The following line is correct:
9320           shared_flag='-G'
9321         else
9322           if test "$aix_use_runtimelinking" = yes; then
9323             shared_flag='${wl}-G'
9324           else
9325             shared_flag='${wl}-bM:SRE'
9326           fi
9327         fi
9328       fi
9329
9330       export_dynamic_flag_spec='${wl}-bexpall'
9331       # It seems that -bexpall does not export symbols beginning with
9332       # underscore (_), so it is better to generate a list of symbols to export.
9333       always_export_symbols=yes
9334       if test "$aix_use_runtimelinking" = yes; then
9335         # Warning - without using the other runtime loading flags (-brtl),
9336         # -berok will link without error, but may produce a broken library.
9337         allow_undefined_flag='-berok'
9338         # Determine the default libpath from the value encoded in an
9339         # empty executable.
9340         if test "${lt_cv_aix_libpath+set}" = set; then
9341   aix_libpath=$lt_cv_aix_libpath
9342 else
9343   if ${lt_cv_aix_libpath_+:} false; then :
9344   $as_echo_n "(cached) " >&6
9345 else
9346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h.  */
9348
9349 int
9350 main ()
9351 {
9352
9353   ;
9354   return 0;
9355 }
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358
9359   lt_aix_libpath_sed='
9360       /Import File Strings/,/^$/ {
9361           /^0/ {
9362               s/^0  *\([^ ]*\) *$/\1/
9363               p
9364           }
9365       }'
9366   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9367   # Check for a 64-bit object if we didn't find anything.
9368   if test -z "$lt_cv_aix_libpath_"; then
9369     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9370   fi
9371 fi
9372 rm -f core conftest.err conftest.$ac_objext \
9373     conftest$ac_exeext conftest.$ac_ext
9374   if test -z "$lt_cv_aix_libpath_"; then
9375     lt_cv_aix_libpath_="/usr/lib:/lib"
9376   fi
9377
9378 fi
9379
9380   aix_libpath=$lt_cv_aix_libpath_
9381 fi
9382
9383         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9384         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"
9385       else
9386         if test "$host_cpu" = ia64; then
9387           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9388           allow_undefined_flag="-z nodefs"
9389           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"
9390         else
9391          # Determine the default libpath from the value encoded in an
9392          # empty executable.
9393          if test "${lt_cv_aix_libpath+set}" = set; then
9394   aix_libpath=$lt_cv_aix_libpath
9395 else
9396   if ${lt_cv_aix_libpath_+:} false; then :
9397   $as_echo_n "(cached) " >&6
9398 else
9399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h.  */
9401
9402 int
9403 main ()
9404 {
9405
9406   ;
9407   return 0;
9408 }
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411
9412   lt_aix_libpath_sed='
9413       /Import File Strings/,/^$/ {
9414           /^0/ {
9415               s/^0  *\([^ ]*\) *$/\1/
9416               p
9417           }
9418       }'
9419   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9420   # Check for a 64-bit object if we didn't find anything.
9421   if test -z "$lt_cv_aix_libpath_"; then
9422     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9423   fi
9424 fi
9425 rm -f core conftest.err conftest.$ac_objext \
9426     conftest$ac_exeext conftest.$ac_ext
9427   if test -z "$lt_cv_aix_libpath_"; then
9428     lt_cv_aix_libpath_="/usr/lib:/lib"
9429   fi
9430
9431 fi
9432
9433   aix_libpath=$lt_cv_aix_libpath_
9434 fi
9435
9436          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9437           # Warning - without using the other run time loading flags,
9438           # -berok will link without error, but may produce a broken library.
9439           no_undefined_flag=' ${wl}-bernotok'
9440           allow_undefined_flag=' ${wl}-berok'
9441           if test "$with_gnu_ld" = yes; then
9442             # We only use this code for GNU lds that support --whole-archive.
9443             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9444           else
9445             # Exported symbols can be pulled into shared objects from archives
9446             whole_archive_flag_spec='$convenience'
9447           fi
9448           archive_cmds_need_lc=yes
9449           # This is similar to how AIX traditionally builds its shared libraries.
9450           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'
9451         fi
9452       fi
9453       ;;
9454
9455     amigaos*)
9456       case $host_cpu in
9457       powerpc)
9458             # see comment about AmigaOS4 .so support
9459             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9460             archive_expsym_cmds=''
9461         ;;
9462       m68k)
9463             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)'
9464             hardcode_libdir_flag_spec='-L$libdir'
9465             hardcode_minus_L=yes
9466         ;;
9467       esac
9468       ;;
9469
9470     bsdi[45]*)
9471       export_dynamic_flag_spec=-rdynamic
9472       ;;
9473
9474     cygwin* | mingw* | pw32* | cegcc*)
9475       # When not using gcc, we currently assume that we are using
9476       # Microsoft Visual C++.
9477       # hardcode_libdir_flag_spec is actually meaningless, as there is
9478       # no search path for DLLs.
9479       case $cc_basename in
9480       cl*)
9481         # Native MSVC
9482         hardcode_libdir_flag_spec=' '
9483         allow_undefined_flag=unsupported
9484         always_export_symbols=yes
9485         file_list_spec='@'
9486         # Tell ltmain to make .lib files, not .a files.
9487         libext=lib
9488         # Tell ltmain to make .dll files, not .so files.
9489         shrext_cmds=".dll"
9490         # FIXME: Setting linknames here is a bad hack.
9491         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9492         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9493             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9494           else
9495             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9496           fi~
9497           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9498           linknames='
9499         # The linker will not automatically build a static lib if we build a DLL.
9500         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9501         enable_shared_with_static_runtimes=yes
9502         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9503         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9504         # Don't use ranlib
9505         old_postinstall_cmds='chmod 644 $oldlib'
9506         postlink_cmds='lt_outputfile="@OUTPUT@"~
9507           lt_tool_outputfile="@TOOL_OUTPUT@"~
9508           case $lt_outputfile in
9509             *.exe|*.EXE) ;;
9510             *)
9511               lt_outputfile="$lt_outputfile.exe"
9512               lt_tool_outputfile="$lt_tool_outputfile.exe"
9513               ;;
9514           esac~
9515           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9516             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9517             $RM "$lt_outputfile.manifest";
9518           fi'
9519         ;;
9520       *)
9521         # Assume MSVC wrapper
9522         hardcode_libdir_flag_spec=' '
9523         allow_undefined_flag=unsupported
9524         # Tell ltmain to make .lib files, not .a files.
9525         libext=lib
9526         # Tell ltmain to make .dll files, not .so files.
9527         shrext_cmds=".dll"
9528         # FIXME: Setting linknames here is a bad hack.
9529         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9530         # The linker will automatically build a .lib file if we build a DLL.
9531         old_archive_from_new_cmds='true'
9532         # FIXME: Should let the user specify the lib program.
9533         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9534         enable_shared_with_static_runtimes=yes
9535         ;;
9536       esac
9537       ;;
9538
9539     darwin* | rhapsody*)
9540
9541
9542   archive_cmds_need_lc=no
9543   hardcode_direct=no
9544   hardcode_automatic=yes
9545   hardcode_shlibpath_var=unsupported
9546   if test "$lt_cv_ld_force_load" = "yes"; then
9547     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\"`'
9548
9549   else
9550     whole_archive_flag_spec=''
9551   fi
9552   link_all_deplibs=yes
9553   allow_undefined_flag="$_lt_dar_allow_undefined"
9554   case $cc_basename in
9555      ifort*) _lt_dar_can_shared=yes ;;
9556      *) _lt_dar_can_shared=$GCC ;;
9557   esac
9558   if test "$_lt_dar_can_shared" = "yes"; then
9559     output_verbose_link_cmd=func_echo_all
9560     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9561     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9562     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}"
9563     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}"
9564
9565   else
9566   ld_shlibs=no
9567   fi
9568
9569       ;;
9570
9571     dgux*)
9572       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9573       hardcode_libdir_flag_spec='-L$libdir'
9574       hardcode_shlibpath_var=no
9575       ;;
9576
9577     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9578     # support.  Future versions do this automatically, but an explicit c++rt0.o
9579     # does not break anything, and helps significantly (at the cost of a little
9580     # extra space).
9581     freebsd2.2*)
9582       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9583       hardcode_libdir_flag_spec='-R$libdir'
9584       hardcode_direct=yes
9585       hardcode_shlibpath_var=no
9586       ;;
9587
9588     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9589     freebsd2.*)
9590       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9591       hardcode_direct=yes
9592       hardcode_minus_L=yes
9593       hardcode_shlibpath_var=no
9594       ;;
9595
9596     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9597     freebsd* | dragonfly*)
9598       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9599       hardcode_libdir_flag_spec='-R$libdir'
9600       hardcode_direct=yes
9601       hardcode_shlibpath_var=no
9602       ;;
9603
9604     hpux9*)
9605       if test "$GCC" = yes; then
9606         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'
9607       else
9608         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'
9609       fi
9610       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9611       hardcode_libdir_separator=:
9612       hardcode_direct=yes
9613
9614       # hardcode_minus_L: Not really in the search PATH,
9615       # but as the default location of the library.
9616       hardcode_minus_L=yes
9617       export_dynamic_flag_spec='${wl}-E'
9618       ;;
9619
9620     hpux10*)
9621       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9622         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9623       else
9624         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9625       fi
9626       if test "$with_gnu_ld" = no; then
9627         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9628         hardcode_libdir_separator=:
9629         hardcode_direct=yes
9630         hardcode_direct_absolute=yes
9631         export_dynamic_flag_spec='${wl}-E'
9632         # hardcode_minus_L: Not really in the search PATH,
9633         # but as the default location of the library.
9634         hardcode_minus_L=yes
9635       fi
9636       ;;
9637
9638     hpux11*)
9639       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9640         case $host_cpu in
9641         hppa*64*)
9642           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9643           ;;
9644         ia64*)
9645           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9646           ;;
9647         *)
9648           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9649           ;;
9650         esac
9651       else
9652         case $host_cpu in
9653         hppa*64*)
9654           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9655           ;;
9656         ia64*)
9657           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9658           ;;
9659         *)
9660
9661           # Older versions of the 11.00 compiler do not understand -b yet
9662           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9663           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9664 $as_echo_n "checking if $CC understands -b... " >&6; }
9665 if ${lt_cv_prog_compiler__b+:} false; then :
9666   $as_echo_n "(cached) " >&6
9667 else
9668   lt_cv_prog_compiler__b=no
9669    save_LDFLAGS="$LDFLAGS"
9670    LDFLAGS="$LDFLAGS -b"
9671    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9672    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9673      # The linker can only warn and ignore the option if not recognized
9674      # So say no if there are warnings
9675      if test -s conftest.err; then
9676        # Append any errors to the config.log.
9677        cat conftest.err 1>&5
9678        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9679        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9680        if diff conftest.exp conftest.er2 >/dev/null; then
9681          lt_cv_prog_compiler__b=yes
9682        fi
9683      else
9684        lt_cv_prog_compiler__b=yes
9685      fi
9686    fi
9687    $RM -r conftest*
9688    LDFLAGS="$save_LDFLAGS"
9689
9690 fi
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9692 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9693
9694 if test x"$lt_cv_prog_compiler__b" = xyes; then
9695     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9696 else
9697     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9698 fi
9699
9700           ;;
9701         esac
9702       fi
9703       if test "$with_gnu_ld" = no; then
9704         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9705         hardcode_libdir_separator=:
9706
9707         case $host_cpu in
9708         hppa*64*|ia64*)
9709           hardcode_direct=no
9710           hardcode_shlibpath_var=no
9711           ;;
9712         *)
9713           hardcode_direct=yes
9714           hardcode_direct_absolute=yes
9715           export_dynamic_flag_spec='${wl}-E'
9716
9717           # hardcode_minus_L: Not really in the search PATH,
9718           # but as the default location of the library.
9719           hardcode_minus_L=yes
9720           ;;
9721         esac
9722       fi
9723       ;;
9724
9725     irix5* | irix6* | nonstopux*)
9726       if test "$GCC" = yes; then
9727         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'
9728         # Try to use the -exported_symbol ld option, if it does not
9729         # work, assume that -exports_file does not work either and
9730         # implicitly export all symbols.
9731         # This should be the same for all languages, so no per-tag cache variable.
9732         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9733 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9734 if ${lt_cv_irix_exported_symbol+:} false; then :
9735   $as_echo_n "(cached) " >&6
9736 else
9737   save_LDFLAGS="$LDFLAGS"
9738            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9739            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h.  */
9741 int foo (void) { return 0; }
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744   lt_cv_irix_exported_symbol=yes
9745 else
9746   lt_cv_irix_exported_symbol=no
9747 fi
9748 rm -f core conftest.err conftest.$ac_objext \
9749     conftest$ac_exeext conftest.$ac_ext
9750            LDFLAGS="$save_LDFLAGS"
9751 fi
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9753 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9754         if test "$lt_cv_irix_exported_symbol" = yes; then
9755           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'
9756         fi
9757       else
9758         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'
9759         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'
9760       fi
9761       archive_cmds_need_lc='no'
9762       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9763       hardcode_libdir_separator=:
9764       inherit_rpath=yes
9765       link_all_deplibs=yes
9766       ;;
9767
9768     netbsd*)
9769       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9770         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9771       else
9772         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9773       fi
9774       hardcode_libdir_flag_spec='-R$libdir'
9775       hardcode_direct=yes
9776       hardcode_shlibpath_var=no
9777       ;;
9778
9779     newsos6)
9780       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9781       hardcode_direct=yes
9782       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9783       hardcode_libdir_separator=:
9784       hardcode_shlibpath_var=no
9785       ;;
9786
9787     *nto* | *qnx*)
9788       ;;
9789
9790     openbsd*)
9791       if test -f /usr/libexec/ld.so; then
9792         hardcode_direct=yes
9793         hardcode_shlibpath_var=no
9794         hardcode_direct_absolute=yes
9795         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9796           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9797           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9798           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9799           export_dynamic_flag_spec='${wl}-E'
9800         else
9801           case $host_os in
9802            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9803              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9804              hardcode_libdir_flag_spec='-R$libdir'
9805              ;;
9806            *)
9807              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9808              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9809              ;;
9810           esac
9811         fi
9812       else
9813         ld_shlibs=no
9814       fi
9815       ;;
9816
9817     os2*)
9818       hardcode_libdir_flag_spec='-L$libdir'
9819       hardcode_minus_L=yes
9820       allow_undefined_flag=unsupported
9821       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'
9822       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9823       ;;
9824
9825     osf3*)
9826       if test "$GCC" = yes; then
9827         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9828         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'
9829       else
9830         allow_undefined_flag=' -expect_unresolved \*'
9831         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'
9832       fi
9833       archive_cmds_need_lc='no'
9834       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9835       hardcode_libdir_separator=:
9836       ;;
9837
9838     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9839       if test "$GCC" = yes; then
9840         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9841         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'
9842         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9843       else
9844         allow_undefined_flag=' -expect_unresolved \*'
9845         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'
9846         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~
9847         $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'
9848
9849         # Both c and cxx compiler support -rpath directly
9850         hardcode_libdir_flag_spec='-rpath $libdir'
9851       fi
9852       archive_cmds_need_lc='no'
9853       hardcode_libdir_separator=:
9854       ;;
9855
9856     solaris*)
9857       no_undefined_flag=' -z defs'
9858       if test "$GCC" = yes; then
9859         wlarc='${wl}'
9860         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9861         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9862           $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'
9863       else
9864         case `$CC -V 2>&1` in
9865         *"Compilers 5.0"*)
9866           wlarc=''
9867           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9868           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9869           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9870           ;;
9871         *)
9872           wlarc='${wl}'
9873           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9874           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9875           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9876           ;;
9877         esac
9878       fi
9879       hardcode_libdir_flag_spec='-R$libdir'
9880       hardcode_shlibpath_var=no
9881       case $host_os in
9882       solaris2.[0-5] | solaris2.[0-5].*) ;;
9883       *)
9884         # The compiler driver will combine and reorder linker options,
9885         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9886         # but is careful enough not to reorder.
9887         # Supported since Solaris 2.6 (maybe 2.5.1?)
9888         if test "$GCC" = yes; then
9889           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9890         else
9891           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9892         fi
9893         ;;
9894       esac
9895       link_all_deplibs=yes
9896       ;;
9897
9898     sunos4*)
9899       if test "x$host_vendor" = xsequent; then
9900         # Use $CC to link under sequent, because it throws in some extra .o
9901         # files that make .init and .fini sections work.
9902         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9903       else
9904         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9905       fi
9906       hardcode_libdir_flag_spec='-L$libdir'
9907       hardcode_direct=yes
9908       hardcode_minus_L=yes
9909       hardcode_shlibpath_var=no
9910       ;;
9911
9912     sysv4)
9913       case $host_vendor in
9914         sni)
9915           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916           hardcode_direct=yes # is this really true???
9917         ;;
9918         siemens)
9919           ## LD is ld it makes a PLAMLIB
9920           ## CC just makes a GrossModule.
9921           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9922           reload_cmds='$CC -r -o $output$reload_objs'
9923           hardcode_direct=no
9924         ;;
9925         motorola)
9926           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9927           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9928         ;;
9929       esac
9930       runpath_var='LD_RUN_PATH'
9931       hardcode_shlibpath_var=no
9932       ;;
9933
9934     sysv4.3*)
9935       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9936       hardcode_shlibpath_var=no
9937       export_dynamic_flag_spec='-Bexport'
9938       ;;
9939
9940     sysv4*MP*)
9941       if test -d /usr/nec; then
9942         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943         hardcode_shlibpath_var=no
9944         runpath_var=LD_RUN_PATH
9945         hardcode_runpath_var=yes
9946         ld_shlibs=yes
9947       fi
9948       ;;
9949
9950     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9951       no_undefined_flag='${wl}-z,text'
9952       archive_cmds_need_lc=no
9953       hardcode_shlibpath_var=no
9954       runpath_var='LD_RUN_PATH'
9955
9956       if test "$GCC" = yes; then
9957         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9958         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9959       else
9960         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9961         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9962       fi
9963       ;;
9964
9965     sysv5* | sco3.2v5* | sco5v6*)
9966       # Note: We can NOT use -z defs as we might desire, because we do not
9967       # link with -lc, and that would cause any symbols used from libc to
9968       # always be unresolved, which means just about no library would
9969       # ever link correctly.  If we're not using GNU ld we use -z text
9970       # though, which does catch some bad symbols but isn't as heavy-handed
9971       # as -z defs.
9972       no_undefined_flag='${wl}-z,text'
9973       allow_undefined_flag='${wl}-z,nodefs'
9974       archive_cmds_need_lc=no
9975       hardcode_shlibpath_var=no
9976       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9977       hardcode_libdir_separator=':'
9978       link_all_deplibs=yes
9979       export_dynamic_flag_spec='${wl}-Bexport'
9980       runpath_var='LD_RUN_PATH'
9981
9982       if test "$GCC" = yes; then
9983         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9984         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9985       else
9986         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9987         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9988       fi
9989       ;;
9990
9991     uts4*)
9992       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9993       hardcode_libdir_flag_spec='-L$libdir'
9994       hardcode_shlibpath_var=no
9995       ;;
9996
9997     *)
9998       ld_shlibs=no
9999       ;;
10000     esac
10001
10002     if test x$host_vendor = xsni; then
10003       case $host in
10004       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10005         export_dynamic_flag_spec='${wl}-Blargedynsym'
10006         ;;
10007       esac
10008     fi
10009   fi
10010
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10012 $as_echo "$ld_shlibs" >&6; }
10013 test "$ld_shlibs" = no && can_build_shared=no
10014
10015 with_gnu_ld=$with_gnu_ld
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031 #
10032 # Do we need to explicitly link libc?
10033 #
10034 case "x$archive_cmds_need_lc" in
10035 x|xyes)
10036   # Assume -lc should be added
10037   archive_cmds_need_lc=yes
10038
10039   if test "$enable_shared" = yes && test "$GCC" = yes; then
10040     case $archive_cmds in
10041     *'~'*)
10042       # FIXME: we may have to deal with multi-command sequences.
10043       ;;
10044     '$CC '*)
10045       # Test whether the compiler implicitly links with -lc since on some
10046       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10047       # to ld, don't add -lc before -lgcc.
10048       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10049 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10050 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10051   $as_echo_n "(cached) " >&6
10052 else
10053   $RM conftest*
10054         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10055
10056         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10057   (eval $ac_compile) 2>&5
10058   ac_status=$?
10059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10060   test $ac_status = 0; } 2>conftest.err; then
10061           soname=conftest
10062           lib=conftest
10063           libobjs=conftest.$ac_objext
10064           deplibs=
10065           wl=$lt_prog_compiler_wl
10066           pic_flag=$lt_prog_compiler_pic
10067           compiler_flags=-v
10068           linker_flags=-v
10069           verstring=
10070           output_objdir=.
10071           libname=conftest
10072           lt_save_allow_undefined_flag=$allow_undefined_flag
10073           allow_undefined_flag=
10074           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10075   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10076   ac_status=$?
10077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10078   test $ac_status = 0; }
10079           then
10080             lt_cv_archive_cmds_need_lc=no
10081           else
10082             lt_cv_archive_cmds_need_lc=yes
10083           fi
10084           allow_undefined_flag=$lt_save_allow_undefined_flag
10085         else
10086           cat conftest.err 1>&5
10087         fi
10088         $RM conftest*
10089
10090 fi
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10092 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10093       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10094       ;;
10095     esac
10096   fi
10097   ;;
10098 esac
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10252 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10253
10254 if test "$GCC" = yes; then
10255   case $host_os in
10256     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10257     *) lt_awk_arg="/^libraries:/" ;;
10258   esac
10259   case $host_os in
10260     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10261     *) lt_sed_strip_eq="s,=/,/,g" ;;
10262   esac
10263   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10264   case $lt_search_path_spec in
10265   *\;*)
10266     # if the path contains ";" then we assume it to be the separator
10267     # otherwise default to the standard path separator (i.e. ":") - it is
10268     # assumed that no part of a normal pathname contains ";" but that should
10269     # okay in the real world where ";" in dirpaths is itself problematic.
10270     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10271     ;;
10272   *)
10273     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10274     ;;
10275   esac
10276   # Ok, now we have the path, separated by spaces, we can step through it
10277   # and add multilib dir if necessary.
10278   lt_tmp_lt_search_path_spec=
10279   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10280   for lt_sys_path in $lt_search_path_spec; do
10281     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10282       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10283     else
10284       test -d "$lt_sys_path" && \
10285         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10286     fi
10287   done
10288   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10289 BEGIN {RS=" "; FS="/|\n";} {
10290   lt_foo="";
10291   lt_count=0;
10292   for (lt_i = NF; lt_i > 0; lt_i--) {
10293     if ($lt_i != "" && $lt_i != ".") {
10294       if ($lt_i == "..") {
10295         lt_count++;
10296       } else {
10297         if (lt_count == 0) {
10298           lt_foo="/" $lt_i lt_foo;
10299         } else {
10300           lt_count--;
10301         }
10302       }
10303     }
10304   }
10305   if (lt_foo != "") { lt_freq[lt_foo]++; }
10306   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10307 }'`
10308   # AWK program above erroneously prepends '/' to C:/dos/paths
10309   # for these hosts.
10310   case $host_os in
10311     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10312       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10313   esac
10314   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10315 else
10316   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10317 fi
10318 library_names_spec=
10319 libname_spec='lib$name'
10320 soname_spec=
10321 shrext_cmds=".so"
10322 postinstall_cmds=
10323 postuninstall_cmds=
10324 finish_cmds=
10325 finish_eval=
10326 shlibpath_var=
10327 shlibpath_overrides_runpath=unknown
10328 version_type=none
10329 dynamic_linker="$host_os ld.so"
10330 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10331 need_lib_prefix=unknown
10332 hardcode_into_libs=no
10333
10334 # when you set need_version to no, make sure it does not cause -set_version
10335 # flags to be left without arguments
10336 need_version=unknown
10337
10338 case $host_os in
10339 aix3*)
10340   version_type=linux # correct to gnu/linux during the next big refactor
10341   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10342   shlibpath_var=LIBPATH
10343
10344   # AIX 3 has no versioning support, so we append a major version to the name.
10345   soname_spec='${libname}${release}${shared_ext}$major'
10346   ;;
10347
10348 aix[4-9]*)
10349   version_type=linux # correct to gnu/linux during the next big refactor
10350   need_lib_prefix=no
10351   need_version=no
10352   hardcode_into_libs=yes
10353   if test "$host_cpu" = ia64; then
10354     # AIX 5 supports IA64
10355     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10356     shlibpath_var=LD_LIBRARY_PATH
10357   else
10358     # With GCC up to 2.95.x, collect2 would create an import file
10359     # for dependence libraries.  The import file would start with
10360     # the line `#! .'.  This would cause the generated library to
10361     # depend on `.', always an invalid library.  This was fixed in
10362     # development snapshots of GCC prior to 3.0.
10363     case $host_os in
10364       aix4 | aix4.[01] | aix4.[01].*)
10365       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10366            echo ' yes '
10367            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10368         :
10369       else
10370         can_build_shared=no
10371       fi
10372       ;;
10373     esac
10374     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10375     # soname into executable. Probably we can add versioning support to
10376     # collect2, so additional links can be useful in future.
10377     if test "$aix_use_runtimelinking" = yes; then
10378       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10379       # instead of lib<name>.a to let people know that these are not
10380       # typical AIX shared libraries.
10381       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10382     else
10383       # We preserve .a as extension for shared libraries through AIX4.2
10384       # and later when we are not doing run time linking.
10385       library_names_spec='${libname}${release}.a $libname.a'
10386       soname_spec='${libname}${release}${shared_ext}$major'
10387     fi
10388     shlibpath_var=LIBPATH
10389   fi
10390   ;;
10391
10392 amigaos*)
10393   case $host_cpu in
10394   powerpc)
10395     # Since July 2007 AmigaOS4 officially supports .so libraries.
10396     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10398     ;;
10399   m68k)
10400     library_names_spec='$libname.ixlibrary $libname.a'
10401     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10402     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'
10403     ;;
10404   esac
10405   ;;
10406
10407 beos*)
10408   library_names_spec='${libname}${shared_ext}'
10409   dynamic_linker="$host_os ld.so"
10410   shlibpath_var=LIBRARY_PATH
10411   ;;
10412
10413 bsdi[45]*)
10414   version_type=linux # correct to gnu/linux during the next big refactor
10415   need_version=no
10416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10417   soname_spec='${libname}${release}${shared_ext}$major'
10418   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10419   shlibpath_var=LD_LIBRARY_PATH
10420   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10421   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10422   # the default ld.so.conf also contains /usr/contrib/lib and
10423   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10424   # libtool to hard-code these into programs
10425   ;;
10426
10427 cygwin* | mingw* | pw32* | cegcc*)
10428   version_type=windows
10429   shrext_cmds=".dll"
10430   need_version=no
10431   need_lib_prefix=no
10432
10433   case $GCC,$cc_basename in
10434   yes,*)
10435     # gcc
10436     library_names_spec='$libname.dll.a'
10437     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10438     postinstall_cmds='base_file=`basename \${file}`~
10439       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10440       dldir=$destdir/`dirname \$dlpath`~
10441       test -d \$dldir || mkdir -p \$dldir~
10442       $install_prog $dir/$dlname \$dldir/$dlname~
10443       chmod a+x \$dldir/$dlname~
10444       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10445         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10446       fi'
10447     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10448       dlpath=$dir/\$dldll~
10449        $RM \$dlpath'
10450     shlibpath_overrides_runpath=yes
10451
10452     case $host_os in
10453     cygwin*)
10454       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10455       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10456
10457       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10458       ;;
10459     mingw* | cegcc*)
10460       # MinGW DLLs use traditional 'lib' prefix
10461       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10462       ;;
10463     pw32*)
10464       # pw32 DLLs use 'pw' prefix rather than 'lib'
10465       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10466       ;;
10467     esac
10468     dynamic_linker='Win32 ld.exe'
10469     ;;
10470
10471   *,cl*)
10472     # Native MSVC
10473     libname_spec='$name'
10474     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10475     library_names_spec='${libname}.dll.lib'
10476
10477     case $build_os in
10478     mingw*)
10479       sys_lib_search_path_spec=
10480       lt_save_ifs=$IFS
10481       IFS=';'
10482       for lt_path in $LIB
10483       do
10484         IFS=$lt_save_ifs
10485         # Let DOS variable expansion print the short 8.3 style file name.
10486         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10487         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10488       done
10489       IFS=$lt_save_ifs
10490       # Convert to MSYS style.
10491       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10492       ;;
10493     cygwin*)
10494       # Convert to unix form, then to dos form, then back to unix form
10495       # but this time dos style (no spaces!) so that the unix form looks
10496       # like /cygdrive/c/PROGRA~1:/cygdr...
10497       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10498       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10499       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10500       ;;
10501     *)
10502       sys_lib_search_path_spec="$LIB"
10503       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10504         # It is most probably a Windows format PATH.
10505         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10506       else
10507         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10508       fi
10509       # FIXME: find the short name or the path components, as spaces are
10510       # common. (e.g. "Program Files" -> "PROGRA~1")
10511       ;;
10512     esac
10513
10514     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10515     postinstall_cmds='base_file=`basename \${file}`~
10516       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10517       dldir=$destdir/`dirname \$dlpath`~
10518       test -d \$dldir || mkdir -p \$dldir~
10519       $install_prog $dir/$dlname \$dldir/$dlname'
10520     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10521       dlpath=$dir/\$dldll~
10522        $RM \$dlpath'
10523     shlibpath_overrides_runpath=yes
10524     dynamic_linker='Win32 link.exe'
10525     ;;
10526
10527   *)
10528     # Assume MSVC wrapper
10529     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10530     dynamic_linker='Win32 ld.exe'
10531     ;;
10532   esac
10533   # FIXME: first we should search . and the directory the executable is in
10534   shlibpath_var=PATH
10535   ;;
10536
10537 darwin* | rhapsody*)
10538   dynamic_linker="$host_os dyld"
10539   version_type=darwin
10540   need_lib_prefix=no
10541   need_version=no
10542   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10543   soname_spec='${libname}${release}${major}$shared_ext'
10544   shlibpath_overrides_runpath=yes
10545   shlibpath_var=DYLD_LIBRARY_PATH
10546   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10547
10548   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10549   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10550   ;;
10551
10552 dgux*)
10553   version_type=linux # correct to gnu/linux during the next big refactor
10554   need_lib_prefix=no
10555   need_version=no
10556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10557   soname_spec='${libname}${release}${shared_ext}$major'
10558   shlibpath_var=LD_LIBRARY_PATH
10559   ;;
10560
10561 freebsd* | dragonfly*)
10562   # DragonFly does not have aout.  When/if they implement a new
10563   # versioning mechanism, adjust this.
10564   if test -x /usr/bin/objformat; then
10565     objformat=`/usr/bin/objformat`
10566   else
10567     case $host_os in
10568     freebsd[23].*) objformat=aout ;;
10569     *) objformat=elf ;;
10570     esac
10571   fi
10572   version_type=freebsd-$objformat
10573   case $version_type in
10574     freebsd-elf*)
10575       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10576       need_version=no
10577       need_lib_prefix=no
10578       ;;
10579     freebsd-*)
10580       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10581       need_version=yes
10582       ;;
10583   esac
10584   shlibpath_var=LD_LIBRARY_PATH
10585   case $host_os in
10586   freebsd2.*)
10587     shlibpath_overrides_runpath=yes
10588     ;;
10589   freebsd3.[01]* | freebsdelf3.[01]*)
10590     shlibpath_overrides_runpath=yes
10591     hardcode_into_libs=yes
10592     ;;
10593   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10594   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10595     shlibpath_overrides_runpath=no
10596     hardcode_into_libs=yes
10597     ;;
10598   *) # from 4.6 on, and DragonFly
10599     shlibpath_overrides_runpath=yes
10600     hardcode_into_libs=yes
10601     ;;
10602   esac
10603   ;;
10604
10605 gnu*)
10606   version_type=linux # correct to gnu/linux during the next big refactor
10607   need_lib_prefix=no
10608   need_version=no
10609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10610   soname_spec='${libname}${release}${shared_ext}$major'
10611   shlibpath_var=LD_LIBRARY_PATH
10612   shlibpath_overrides_runpath=no
10613   hardcode_into_libs=yes
10614   ;;
10615
10616 haiku*)
10617   version_type=linux # correct to gnu/linux during the next big refactor
10618   need_lib_prefix=no
10619   need_version=no
10620   dynamic_linker="$host_os runtime_loader"
10621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10622   soname_spec='${libname}${release}${shared_ext}$major'
10623   shlibpath_var=LIBRARY_PATH
10624   shlibpath_overrides_runpath=yes
10625   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10626   hardcode_into_libs=yes
10627   ;;
10628
10629 hpux9* | hpux10* | hpux11*)
10630   # Give a soname corresponding to the major version so that dld.sl refuses to
10631   # link against other versions.
10632   version_type=sunos
10633   need_lib_prefix=no
10634   need_version=no
10635   case $host_cpu in
10636   ia64*)
10637     shrext_cmds='.so'
10638     hardcode_into_libs=yes
10639     dynamic_linker="$host_os dld.so"
10640     shlibpath_var=LD_LIBRARY_PATH
10641     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10642     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10643     soname_spec='${libname}${release}${shared_ext}$major'
10644     if test "X$HPUX_IA64_MODE" = X32; then
10645       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10646     else
10647       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10648     fi
10649     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10650     ;;
10651   hppa*64*)
10652     shrext_cmds='.sl'
10653     hardcode_into_libs=yes
10654     dynamic_linker="$host_os dld.sl"
10655     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10656     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10657     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10658     soname_spec='${libname}${release}${shared_ext}$major'
10659     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10660     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10661     ;;
10662   *)
10663     shrext_cmds='.sl'
10664     dynamic_linker="$host_os dld.sl"
10665     shlibpath_var=SHLIB_PATH
10666     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10667     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10668     soname_spec='${libname}${release}${shared_ext}$major'
10669     ;;
10670   esac
10671   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10672   postinstall_cmds='chmod 555 $lib'
10673   # or fails outright, so override atomically:
10674   install_override_mode=555
10675   ;;
10676
10677 interix[3-9]*)
10678   version_type=linux # correct to gnu/linux during the next big refactor
10679   need_lib_prefix=no
10680   need_version=no
10681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10682   soname_spec='${libname}${release}${shared_ext}$major'
10683   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10684   shlibpath_var=LD_LIBRARY_PATH
10685   shlibpath_overrides_runpath=no
10686   hardcode_into_libs=yes
10687   ;;
10688
10689 irix5* | irix6* | nonstopux*)
10690   case $host_os in
10691     nonstopux*) version_type=nonstopux ;;
10692     *)
10693         if test "$lt_cv_prog_gnu_ld" = yes; then
10694                 version_type=linux # correct to gnu/linux during the next big refactor
10695         else
10696                 version_type=irix
10697         fi ;;
10698   esac
10699   need_lib_prefix=no
10700   need_version=no
10701   soname_spec='${libname}${release}${shared_ext}$major'
10702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10703   case $host_os in
10704   irix5* | nonstopux*)
10705     libsuff= shlibsuff=
10706     ;;
10707   *)
10708     case $LD in # libtool.m4 will add one of these switches to LD
10709     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10710       libsuff= shlibsuff= libmagic=32-bit;;
10711     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10712       libsuff=32 shlibsuff=N32 libmagic=N32;;
10713     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10714       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10715     *) libsuff= shlibsuff= libmagic=never-match;;
10716     esac
10717     ;;
10718   esac
10719   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10720   shlibpath_overrides_runpath=no
10721   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10722   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10723   hardcode_into_libs=yes
10724   ;;
10725
10726 # No shared lib support for Linux oldld, aout, or coff.
10727 linux*oldld* | linux*aout* | linux*coff*)
10728   dynamic_linker=no
10729   ;;
10730
10731 # This must be glibc/ELF.
10732 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10733   version_type=linux # correct to gnu/linux during the next big refactor
10734   need_lib_prefix=no
10735   need_version=no
10736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737   soname_spec='${libname}${release}${shared_ext}$major'
10738   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10739   shlibpath_var=LD_LIBRARY_PATH
10740   shlibpath_overrides_runpath=no
10741
10742   # Some binutils ld are patched to set DT_RUNPATH
10743   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10744   $as_echo_n "(cached) " >&6
10745 else
10746   lt_cv_shlibpath_overrides_runpath=no
10747     save_LDFLAGS=$LDFLAGS
10748     save_libdir=$libdir
10749     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10750          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10751     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10752 /* end confdefs.h.  */
10753
10754 int
10755 main ()
10756 {
10757
10758   ;
10759   return 0;
10760 }
10761 _ACEOF
10762 if ac_fn_c_try_link "$LINENO"; then :
10763   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10764   lt_cv_shlibpath_overrides_runpath=yes
10765 fi
10766 fi
10767 rm -f core conftest.err conftest.$ac_objext \
10768     conftest$ac_exeext conftest.$ac_ext
10769     LDFLAGS=$save_LDFLAGS
10770     libdir=$save_libdir
10771
10772 fi
10773
10774   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10775
10776   # This implies no fast_install, which is unacceptable.
10777   # Some rework will be needed to allow for fast_install
10778   # before this can be enabled.
10779   hardcode_into_libs=yes
10780
10781   # Append ld.so.conf contents to the search path
10782   if test -f /etc/ld.so.conf; then
10783     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' ' '`
10784     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10785   fi
10786
10787   # We used to test for /lib/ld.so.1 and disable shared libraries on
10788   # powerpc, because MkLinux only supported shared libraries with the
10789   # GNU dynamic linker.  Since this was broken with cross compilers,
10790   # most powerpc-linux boxes support dynamic linking these days and
10791   # people can always --disable-shared, the test was removed, and we
10792   # assume the GNU/Linux dynamic linker is in use.
10793   dynamic_linker='GNU/Linux ld.so'
10794   ;;
10795
10796 netbsd*)
10797   version_type=sunos
10798   need_lib_prefix=no
10799   need_version=no
10800   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10801     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10802     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10803     dynamic_linker='NetBSD (a.out) ld.so'
10804   else
10805     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10806     soname_spec='${libname}${release}${shared_ext}$major'
10807     dynamic_linker='NetBSD ld.elf_so'
10808   fi
10809   shlibpath_var=LD_LIBRARY_PATH
10810   shlibpath_overrides_runpath=yes
10811   hardcode_into_libs=yes
10812   ;;
10813
10814 newsos6)
10815   version_type=linux # correct to gnu/linux during the next big refactor
10816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10817   shlibpath_var=LD_LIBRARY_PATH
10818   shlibpath_overrides_runpath=yes
10819   ;;
10820
10821 *nto* | *qnx*)
10822   version_type=qnx
10823   need_lib_prefix=no
10824   need_version=no
10825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826   soname_spec='${libname}${release}${shared_ext}$major'
10827   shlibpath_var=LD_LIBRARY_PATH
10828   shlibpath_overrides_runpath=no
10829   hardcode_into_libs=yes
10830   dynamic_linker='ldqnx.so'
10831   ;;
10832
10833 openbsd*)
10834   version_type=sunos
10835   sys_lib_dlsearch_path_spec="/usr/lib"
10836   need_lib_prefix=no
10837   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10838   case $host_os in
10839     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10840     *)                          need_version=no  ;;
10841   esac
10842   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10843   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10844   shlibpath_var=LD_LIBRARY_PATH
10845   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10846     case $host_os in
10847       openbsd2.[89] | openbsd2.[89].*)
10848         shlibpath_overrides_runpath=no
10849         ;;
10850       *)
10851         shlibpath_overrides_runpath=yes
10852         ;;
10853       esac
10854   else
10855     shlibpath_overrides_runpath=yes
10856   fi
10857   ;;
10858
10859 os2*)
10860   libname_spec='$name'
10861   shrext_cmds=".dll"
10862   need_lib_prefix=no
10863   library_names_spec='$libname${shared_ext} $libname.a'
10864   dynamic_linker='OS/2 ld.exe'
10865   shlibpath_var=LIBPATH
10866   ;;
10867
10868 osf3* | osf4* | osf5*)
10869   version_type=osf
10870   need_lib_prefix=no
10871   need_version=no
10872   soname_spec='${libname}${release}${shared_ext}$major'
10873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874   shlibpath_var=LD_LIBRARY_PATH
10875   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10876   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10877   ;;
10878
10879 rdos*)
10880   dynamic_linker=no
10881   ;;
10882
10883 solaris*)
10884   version_type=linux # correct to gnu/linux during the next big refactor
10885   need_lib_prefix=no
10886   need_version=no
10887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10888   soname_spec='${libname}${release}${shared_ext}$major'
10889   shlibpath_var=LD_LIBRARY_PATH
10890   shlibpath_overrides_runpath=yes
10891   hardcode_into_libs=yes
10892   # ldd complains unless libraries are executable
10893   postinstall_cmds='chmod +x $lib'
10894   ;;
10895
10896 sunos4*)
10897   version_type=sunos
10898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10899   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10900   shlibpath_var=LD_LIBRARY_PATH
10901   shlibpath_overrides_runpath=yes
10902   if test "$with_gnu_ld" = yes; then
10903     need_lib_prefix=no
10904   fi
10905   need_version=yes
10906   ;;
10907
10908 sysv4 | sysv4.3*)
10909   version_type=linux # correct to gnu/linux during the next big refactor
10910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911   soname_spec='${libname}${release}${shared_ext}$major'
10912   shlibpath_var=LD_LIBRARY_PATH
10913   case $host_vendor in
10914     sni)
10915       shlibpath_overrides_runpath=no
10916       need_lib_prefix=no
10917       runpath_var=LD_RUN_PATH
10918       ;;
10919     siemens)
10920       need_lib_prefix=no
10921       ;;
10922     motorola)
10923       need_lib_prefix=no
10924       need_version=no
10925       shlibpath_overrides_runpath=no
10926       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10927       ;;
10928   esac
10929   ;;
10930
10931 sysv4*MP*)
10932   if test -d /usr/nec ;then
10933     version_type=linux # correct to gnu/linux during the next big refactor
10934     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10935     soname_spec='$libname${shared_ext}.$major'
10936     shlibpath_var=LD_LIBRARY_PATH
10937   fi
10938   ;;
10939
10940 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10941   version_type=freebsd-elf
10942   need_lib_prefix=no
10943   need_version=no
10944   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10945   soname_spec='${libname}${release}${shared_ext}$major'
10946   shlibpath_var=LD_LIBRARY_PATH
10947   shlibpath_overrides_runpath=yes
10948   hardcode_into_libs=yes
10949   if test "$with_gnu_ld" = yes; then
10950     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10951   else
10952     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10953     case $host_os in
10954       sco3.2v5*)
10955         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10956         ;;
10957     esac
10958   fi
10959   sys_lib_dlsearch_path_spec='/usr/lib'
10960   ;;
10961
10962 tpf*)
10963   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10964   version_type=linux # correct to gnu/linux during the next big refactor
10965   need_lib_prefix=no
10966   need_version=no
10967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968   shlibpath_var=LD_LIBRARY_PATH
10969   shlibpath_overrides_runpath=no
10970   hardcode_into_libs=yes
10971   ;;
10972
10973 uts4*)
10974   version_type=linux # correct to gnu/linux during the next big refactor
10975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10976   soname_spec='${libname}${release}${shared_ext}$major'
10977   shlibpath_var=LD_LIBRARY_PATH
10978   ;;
10979
10980 *)
10981   dynamic_linker=no
10982   ;;
10983 esac
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10985 $as_echo "$dynamic_linker" >&6; }
10986 test "$dynamic_linker" = no && can_build_shared=no
10987
10988 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10989 if test "$GCC" = yes; then
10990   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10991 fi
10992
10993 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10994   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10995 fi
10996 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10997   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10998 fi
10999
11000
11001
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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11092 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11093 hardcode_action=
11094 if test -n "$hardcode_libdir_flag_spec" ||
11095    test -n "$runpath_var" ||
11096    test "X$hardcode_automatic" = "Xyes" ; then
11097
11098   # We can hardcode non-existent directories.
11099   if test "$hardcode_direct" != no &&
11100      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11101      # have to relink, otherwise we might link with an installed library
11102      # when we should be linking with a yet-to-be-installed one
11103      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11104      test "$hardcode_minus_L" != no; then
11105     # Linking always hardcodes the temporary library directory.
11106     hardcode_action=relink
11107   else
11108     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11109     hardcode_action=immediate
11110   fi
11111 else
11112   # We cannot hardcode anything, or else we can only hardcode existing
11113   # directories.
11114   hardcode_action=unsupported
11115 fi
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11117 $as_echo "$hardcode_action" >&6; }
11118
11119 if test "$hardcode_action" = relink ||
11120    test "$inherit_rpath" = yes; then
11121   # Fast installation is not supported
11122   enable_fast_install=no
11123 elif test "$shlibpath_overrides_runpath" = yes ||
11124      test "$enable_shared" = no; then
11125   # Fast installation is not necessary
11126   enable_fast_install=needless
11127 fi
11128
11129
11130
11131
11132
11133
11134   if test "x$enable_dlopen" != xyes; then
11135   enable_dlopen=unknown
11136   enable_dlopen_self=unknown
11137   enable_dlopen_self_static=unknown
11138 else
11139   lt_cv_dlopen=no
11140   lt_cv_dlopen_libs=
11141
11142   case $host_os in
11143   beos*)
11144     lt_cv_dlopen="load_add_on"
11145     lt_cv_dlopen_libs=
11146     lt_cv_dlopen_self=yes
11147     ;;
11148
11149   mingw* | pw32* | cegcc*)
11150     lt_cv_dlopen="LoadLibrary"
11151     lt_cv_dlopen_libs=
11152     ;;
11153
11154   cygwin*)
11155     lt_cv_dlopen="dlopen"
11156     lt_cv_dlopen_libs=
11157     ;;
11158
11159   darwin*)
11160   # if libdl is installed we need to link against it
11161     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11162 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11163 if ${ac_cv_lib_dl_dlopen+:} false; then :
11164   $as_echo_n "(cached) " >&6
11165 else
11166   ac_check_lib_save_LIBS=$LIBS
11167 LIBS="-ldl  $LIBS"
11168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11169 /* end confdefs.h.  */
11170
11171 /* Override any GCC internal prototype to avoid an error.
11172    Use char because int might match the return type of a GCC
11173    builtin and then its argument prototype would still apply.  */
11174 #ifdef __cplusplus
11175 extern "C"
11176 #endif
11177 char dlopen ();
11178 int
11179 main ()
11180 {
11181 return dlopen ();
11182   ;
11183   return 0;
11184 }
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"; then :
11187   ac_cv_lib_dl_dlopen=yes
11188 else
11189   ac_cv_lib_dl_dlopen=no
11190 fi
11191 rm -f core conftest.err conftest.$ac_objext \
11192     conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11194 fi
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11196 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11197 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11198   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11199 else
11200
11201     lt_cv_dlopen="dyld"
11202     lt_cv_dlopen_libs=
11203     lt_cv_dlopen_self=yes
11204
11205 fi
11206
11207     ;;
11208
11209   *)
11210     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11211 if test "x$ac_cv_func_shl_load" = xyes; then :
11212   lt_cv_dlopen="shl_load"
11213 else
11214   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11215 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11216 if ${ac_cv_lib_dld_shl_load+:} false; then :
11217   $as_echo_n "(cached) " >&6
11218 else
11219   ac_check_lib_save_LIBS=$LIBS
11220 LIBS="-ldld  $LIBS"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h.  */
11223
11224 /* Override any GCC internal prototype to avoid an error.
11225    Use char because int might match the return type of a GCC
11226    builtin and then its argument prototype would still apply.  */
11227 #ifdef __cplusplus
11228 extern "C"
11229 #endif
11230 char shl_load ();
11231 int
11232 main ()
11233 {
11234 return shl_load ();
11235   ;
11236   return 0;
11237 }
11238 _ACEOF
11239 if ac_fn_c_try_link "$LINENO"; then :
11240   ac_cv_lib_dld_shl_load=yes
11241 else
11242   ac_cv_lib_dld_shl_load=no
11243 fi
11244 rm -f core conftest.err conftest.$ac_objext \
11245     conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11247 fi
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11249 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11250 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11251   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11252 else
11253   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11254 if test "x$ac_cv_func_dlopen" = xyes; then :
11255   lt_cv_dlopen="dlopen"
11256 else
11257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11258 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11259 if ${ac_cv_lib_dl_dlopen+:} false; then :
11260   $as_echo_n "(cached) " >&6
11261 else
11262   ac_check_lib_save_LIBS=$LIBS
11263 LIBS="-ldl  $LIBS"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h.  */
11266
11267 /* Override any GCC internal prototype to avoid an error.
11268    Use char because int might match the return type of a GCC
11269    builtin and then its argument prototype would still apply.  */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11274 int
11275 main ()
11276 {
11277 return dlopen ();
11278   ;
11279   return 0;
11280 }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283   ac_cv_lib_dl_dlopen=yes
11284 else
11285   ac_cv_lib_dl_dlopen=no
11286 fi
11287 rm -f core conftest.err conftest.$ac_objext \
11288     conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11290 fi
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11294   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11296   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11297 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11298 if ${ac_cv_lib_svld_dlopen+:} false; then :
11299   $as_echo_n "(cached) " >&6
11300 else
11301   ac_check_lib_save_LIBS=$LIBS
11302 LIBS="-lsvld  $LIBS"
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h.  */
11305
11306 /* Override any GCC internal prototype to avoid an error.
11307    Use char because int might match the return type of a GCC
11308    builtin and then its argument prototype would still apply.  */
11309 #ifdef __cplusplus
11310 extern "C"
11311 #endif
11312 char dlopen ();
11313 int
11314 main ()
11315 {
11316 return dlopen ();
11317   ;
11318   return 0;
11319 }
11320 _ACEOF
11321 if ac_fn_c_try_link "$LINENO"; then :
11322   ac_cv_lib_svld_dlopen=yes
11323 else
11324   ac_cv_lib_svld_dlopen=no
11325 fi
11326 rm -f core conftest.err conftest.$ac_objext \
11327     conftest$ac_exeext conftest.$ac_ext
11328 LIBS=$ac_check_lib_save_LIBS
11329 fi
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11331 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11332 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11333   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11334 else
11335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11336 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11337 if ${ac_cv_lib_dld_dld_link+:} false; then :
11338   $as_echo_n "(cached) " >&6
11339 else
11340   ac_check_lib_save_LIBS=$LIBS
11341 LIBS="-ldld  $LIBS"
11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h.  */
11344
11345 /* Override any GCC internal prototype to avoid an error.
11346    Use char because int might match the return type of a GCC
11347    builtin and then its argument prototype would still apply.  */
11348 #ifdef __cplusplus
11349 extern "C"
11350 #endif
11351 char dld_link ();
11352 int
11353 main ()
11354 {
11355 return dld_link ();
11356   ;
11357   return 0;
11358 }
11359 _ACEOF
11360 if ac_fn_c_try_link "$LINENO"; then :
11361   ac_cv_lib_dld_dld_link=yes
11362 else
11363   ac_cv_lib_dld_dld_link=no
11364 fi
11365 rm -f core conftest.err conftest.$ac_objext \
11366     conftest$ac_exeext conftest.$ac_ext
11367 LIBS=$ac_check_lib_save_LIBS
11368 fi
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11370 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11371 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11372   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11373 fi
11374
11375
11376 fi
11377
11378
11379 fi
11380
11381
11382 fi
11383
11384
11385 fi
11386
11387
11388 fi
11389
11390     ;;
11391   esac
11392
11393   if test "x$lt_cv_dlopen" != xno; then
11394     enable_dlopen=yes
11395   else
11396     enable_dlopen=no
11397   fi
11398
11399   case $lt_cv_dlopen in
11400   dlopen)
11401     save_CPPFLAGS="$CPPFLAGS"
11402     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11403
11404     save_LDFLAGS="$LDFLAGS"
11405     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11406
11407     save_LIBS="$LIBS"
11408     LIBS="$lt_cv_dlopen_libs $LIBS"
11409
11410     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11411 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11412 if ${lt_cv_dlopen_self+:} false; then :
11413   $as_echo_n "(cached) " >&6
11414 else
11415           if test "$cross_compiling" = yes; then :
11416   lt_cv_dlopen_self=cross
11417 else
11418   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11419   lt_status=$lt_dlunknown
11420   cat > conftest.$ac_ext <<_LT_EOF
11421 #line $LINENO "configure"
11422 #include "confdefs.h"
11423
11424 #if HAVE_DLFCN_H
11425 #include <dlfcn.h>
11426 #endif
11427
11428 #include <stdio.h>
11429
11430 #ifdef RTLD_GLOBAL
11431 #  define LT_DLGLOBAL           RTLD_GLOBAL
11432 #else
11433 #  ifdef DL_GLOBAL
11434 #    define LT_DLGLOBAL         DL_GLOBAL
11435 #  else
11436 #    define LT_DLGLOBAL         0
11437 #  endif
11438 #endif
11439
11440 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11441    find out it does not work in some platform. */
11442 #ifndef LT_DLLAZY_OR_NOW
11443 #  ifdef RTLD_LAZY
11444 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11445 #  else
11446 #    ifdef DL_LAZY
11447 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11448 #    else
11449 #      ifdef RTLD_NOW
11450 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11451 #      else
11452 #        ifdef DL_NOW
11453 #          define LT_DLLAZY_OR_NOW      DL_NOW
11454 #        else
11455 #          define LT_DLLAZY_OR_NOW      0
11456 #        endif
11457 #      endif
11458 #    endif
11459 #  endif
11460 #endif
11461
11462 /* When -fvisbility=hidden is used, assume the code has been annotated
11463    correspondingly for the symbols needed.  */
11464 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11465 int fnord () __attribute__((visibility("default")));
11466 #endif
11467
11468 int fnord () { return 42; }
11469 int main ()
11470 {
11471   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11472   int status = $lt_dlunknown;
11473
11474   if (self)
11475     {
11476       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11477       else
11478         {
11479           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11480           else puts (dlerror ());
11481         }
11482       /* dlclose (self); */
11483     }
11484   else
11485     puts (dlerror ());
11486
11487   return status;
11488 }
11489 _LT_EOF
11490   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11491   (eval $ac_link) 2>&5
11492   ac_status=$?
11493   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11494   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11495     (./conftest; exit; ) >&5 2>/dev/null
11496     lt_status=$?
11497     case x$lt_status in
11498       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11499       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11500       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11501     esac
11502   else :
11503     # compilation failed
11504     lt_cv_dlopen_self=no
11505   fi
11506 fi
11507 rm -fr conftest*
11508
11509
11510 fi
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11512 $as_echo "$lt_cv_dlopen_self" >&6; }
11513
11514     if test "x$lt_cv_dlopen_self" = xyes; then
11515       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11516       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11517 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11518 if ${lt_cv_dlopen_self_static+:} false; then :
11519   $as_echo_n "(cached) " >&6
11520 else
11521           if test "$cross_compiling" = yes; then :
11522   lt_cv_dlopen_self_static=cross
11523 else
11524   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11525   lt_status=$lt_dlunknown
11526   cat > conftest.$ac_ext <<_LT_EOF
11527 #line $LINENO "configure"
11528 #include "confdefs.h"
11529
11530 #if HAVE_DLFCN_H
11531 #include <dlfcn.h>
11532 #endif
11533
11534 #include <stdio.h>
11535
11536 #ifdef RTLD_GLOBAL
11537 #  define LT_DLGLOBAL           RTLD_GLOBAL
11538 #else
11539 #  ifdef DL_GLOBAL
11540 #    define LT_DLGLOBAL         DL_GLOBAL
11541 #  else
11542 #    define LT_DLGLOBAL         0
11543 #  endif
11544 #endif
11545
11546 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11547    find out it does not work in some platform. */
11548 #ifndef LT_DLLAZY_OR_NOW
11549 #  ifdef RTLD_LAZY
11550 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11551 #  else
11552 #    ifdef DL_LAZY
11553 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11554 #    else
11555 #      ifdef RTLD_NOW
11556 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11557 #      else
11558 #        ifdef DL_NOW
11559 #          define LT_DLLAZY_OR_NOW      DL_NOW
11560 #        else
11561 #          define LT_DLLAZY_OR_NOW      0
11562 #        endif
11563 #      endif
11564 #    endif
11565 #  endif
11566 #endif
11567
11568 /* When -fvisbility=hidden is used, assume the code has been annotated
11569    correspondingly for the symbols needed.  */
11570 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11571 int fnord () __attribute__((visibility("default")));
11572 #endif
11573
11574 int fnord () { return 42; }
11575 int main ()
11576 {
11577   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11578   int status = $lt_dlunknown;
11579
11580   if (self)
11581     {
11582       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11583       else
11584         {
11585           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11586           else puts (dlerror ());
11587         }
11588       /* dlclose (self); */
11589     }
11590   else
11591     puts (dlerror ());
11592
11593   return status;
11594 }
11595 _LT_EOF
11596   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11597   (eval $ac_link) 2>&5
11598   ac_status=$?
11599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11600   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11601     (./conftest; exit; ) >&5 2>/dev/null
11602     lt_status=$?
11603     case x$lt_status in
11604       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11605       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11606       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11607     esac
11608   else :
11609     # compilation failed
11610     lt_cv_dlopen_self_static=no
11611   fi
11612 fi
11613 rm -fr conftest*
11614
11615
11616 fi
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11618 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11619     fi
11620
11621     CPPFLAGS="$save_CPPFLAGS"
11622     LDFLAGS="$save_LDFLAGS"
11623     LIBS="$save_LIBS"
11624     ;;
11625   esac
11626
11627   case $lt_cv_dlopen_self in
11628   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11629   *) enable_dlopen_self=unknown ;;
11630   esac
11631
11632   case $lt_cv_dlopen_self_static in
11633   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11634   *) enable_dlopen_self_static=unknown ;;
11635   esac
11636 fi
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654 striplib=
11655 old_striplib=
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11657 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11658 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11659   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11660   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11662 $as_echo "yes" >&6; }
11663 else
11664 # FIXME - insert some real tests, host_os isn't really good enough
11665   case $host_os in
11666   darwin*)
11667     if test -n "$STRIP" ; then
11668       striplib="$STRIP -x"
11669       old_striplib="$STRIP -S"
11670       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11671 $as_echo "yes" >&6; }
11672     else
11673       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11674 $as_echo "no" >&6; }
11675     fi
11676     ;;
11677   *)
11678     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11679 $as_echo "no" >&6; }
11680     ;;
11681   esac
11682 fi
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695   # Report which library types will actually be built
11696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11697 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11699 $as_echo "$can_build_shared" >&6; }
11700
11701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11702 $as_echo_n "checking whether to build shared libraries... " >&6; }
11703   test "$can_build_shared" = "no" && enable_shared=no
11704
11705   # On AIX, shared libraries and static libraries use the same namespace, and
11706   # are all built from PIC.
11707   case $host_os in
11708   aix3*)
11709     test "$enable_shared" = yes && enable_static=no
11710     if test -n "$RANLIB"; then
11711       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11712       postinstall_cmds='$RANLIB $lib'
11713     fi
11714     ;;
11715
11716   aix[4-9]*)
11717     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11718       test "$enable_shared" = yes && enable_static=no
11719     fi
11720     ;;
11721   esac
11722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11723 $as_echo "$enable_shared" >&6; }
11724
11725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11726 $as_echo_n "checking whether to build static libraries... " >&6; }
11727   # Make sure either enable_shared or enable_static is yes.
11728   test "$enable_shared" = yes || enable_static=yes
11729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11730 $as_echo "$enable_static" >&6; }
11731
11732
11733
11734
11735 fi
11736 ac_ext=c
11737 ac_cpp='$CPP $CPPFLAGS'
11738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11741
11742 CC="$lt_save_CC"
11743
11744       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11745     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11746     (test "X$CXX" != "Xg++"))) ; then
11747   ac_ext=cpp
11748 ac_cpp='$CXXCPP $CPPFLAGS'
11749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11753 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11754 if test -z "$CXXCPP"; then
11755   if ${ac_cv_prog_CXXCPP+:} false; then :
11756   $as_echo_n "(cached) " >&6
11757 else
11758       # Double quotes because CXXCPP needs to be expanded
11759     for CXXCPP in "$CXX -E" "/lib/cpp"
11760     do
11761       ac_preproc_ok=false
11762 for ac_cxx_preproc_warn_flag in '' yes
11763 do
11764   # Use a header file that comes with gcc, so configuring glibc
11765   # with a fresh cross-compiler works.
11766   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11767   # <limits.h> exists even on freestanding compilers.
11768   # On the NeXT, cc -E runs the code through the compiler's parser,
11769   # not just through cpp. "Syntax error" is here to catch this case.
11770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h.  */
11772 #ifdef __STDC__
11773 # include <limits.h>
11774 #else
11775 # include <assert.h>
11776 #endif
11777                      Syntax error
11778 _ACEOF
11779 if ac_fn_cxx_try_cpp "$LINENO"; then :
11780
11781 else
11782   # Broken: fails on valid input.
11783 continue
11784 fi
11785 rm -f conftest.err conftest.i conftest.$ac_ext
11786
11787   # OK, works on sane cases.  Now check whether nonexistent headers
11788   # can be detected and how.
11789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h.  */
11791 #include <ac_nonexistent.h>
11792 _ACEOF
11793 if ac_fn_cxx_try_cpp "$LINENO"; then :
11794   # Broken: success on invalid input.
11795 continue
11796 else
11797   # Passes both tests.
11798 ac_preproc_ok=:
11799 break
11800 fi
11801 rm -f conftest.err conftest.i conftest.$ac_ext
11802
11803 done
11804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11805 rm -f conftest.i conftest.err conftest.$ac_ext
11806 if $ac_preproc_ok; then :
11807   break
11808 fi
11809
11810     done
11811     ac_cv_prog_CXXCPP=$CXXCPP
11812
11813 fi
11814   CXXCPP=$ac_cv_prog_CXXCPP
11815 else
11816   ac_cv_prog_CXXCPP=$CXXCPP
11817 fi
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11819 $as_echo "$CXXCPP" >&6; }
11820 ac_preproc_ok=false
11821 for ac_cxx_preproc_warn_flag in '' yes
11822 do
11823   # Use a header file that comes with gcc, so configuring glibc
11824   # with a fresh cross-compiler works.
11825   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11826   # <limits.h> exists even on freestanding compilers.
11827   # On the NeXT, cc -E runs the code through the compiler's parser,
11828   # not just through cpp. "Syntax error" is here to catch this case.
11829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h.  */
11831 #ifdef __STDC__
11832 # include <limits.h>
11833 #else
11834 # include <assert.h>
11835 #endif
11836                      Syntax error
11837 _ACEOF
11838 if ac_fn_cxx_try_cpp "$LINENO"; then :
11839
11840 else
11841   # Broken: fails on valid input.
11842 continue
11843 fi
11844 rm -f conftest.err conftest.i conftest.$ac_ext
11845
11846   # OK, works on sane cases.  Now check whether nonexistent headers
11847   # can be detected and how.
11848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h.  */
11850 #include <ac_nonexistent.h>
11851 _ACEOF
11852 if ac_fn_cxx_try_cpp "$LINENO"; then :
11853   # Broken: success on invalid input.
11854 continue
11855 else
11856   # Passes both tests.
11857 ac_preproc_ok=:
11858 break
11859 fi
11860 rm -f conftest.err conftest.i conftest.$ac_ext
11861
11862 done
11863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11864 rm -f conftest.i conftest.err conftest.$ac_ext
11865 if $ac_preproc_ok; then :
11866
11867 else
11868   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11870 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11871 See \`config.log' for more details" "$LINENO" 5; }
11872 fi
11873
11874 ac_ext=c
11875 ac_cpp='$CPP $CPPFLAGS'
11876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11879
11880 else
11881   _lt_caught_CXX_error=yes
11882 fi
11883
11884 ac_ext=cpp
11885 ac_cpp='$CXXCPP $CPPFLAGS'
11886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11889
11890 archive_cmds_need_lc_CXX=no
11891 allow_undefined_flag_CXX=
11892 always_export_symbols_CXX=no
11893 archive_expsym_cmds_CXX=
11894 compiler_needs_object_CXX=no
11895 export_dynamic_flag_spec_CXX=
11896 hardcode_direct_CXX=no
11897 hardcode_direct_absolute_CXX=no
11898 hardcode_libdir_flag_spec_CXX=
11899 hardcode_libdir_separator_CXX=
11900 hardcode_minus_L_CXX=no
11901 hardcode_shlibpath_var_CXX=unsupported
11902 hardcode_automatic_CXX=no
11903 inherit_rpath_CXX=no
11904 module_cmds_CXX=
11905 module_expsym_cmds_CXX=
11906 link_all_deplibs_CXX=unknown
11907 old_archive_cmds_CXX=$old_archive_cmds
11908 reload_flag_CXX=$reload_flag
11909 reload_cmds_CXX=$reload_cmds
11910 no_undefined_flag_CXX=
11911 whole_archive_flag_spec_CXX=
11912 enable_shared_with_static_runtimes_CXX=no
11913
11914 # Source file extension for C++ test sources.
11915 ac_ext=cpp
11916
11917 # Object file extension for compiled C++ test sources.
11918 objext=o
11919 objext_CXX=$objext
11920
11921 # No sense in running all these tests if we already determined that
11922 # the CXX compiler isn't working.  Some variables (like enable_shared)
11923 # are currently assumed to apply to all compilers on this platform,
11924 # and will be corrupted by setting them based on a non-working compiler.
11925 if test "$_lt_caught_CXX_error" != yes; then
11926   # Code to be used in simple compile tests
11927   lt_simple_compile_test_code="int some_variable = 0;"
11928
11929   # Code to be used in simple link tests
11930   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11931
11932   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11933
11934
11935
11936
11937
11938
11939 # If no C compiler was specified, use CC.
11940 LTCC=${LTCC-"$CC"}
11941
11942 # If no C compiler flags were specified, use CFLAGS.
11943 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11944
11945 # Allow CC to be a program name with arguments.
11946 compiler=$CC
11947
11948
11949   # save warnings/boilerplate of simple test code
11950   ac_outfile=conftest.$ac_objext
11951 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11952 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11953 _lt_compiler_boilerplate=`cat conftest.err`
11954 $RM conftest*
11955
11956   ac_outfile=conftest.$ac_objext
11957 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11958 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11959 _lt_linker_boilerplate=`cat conftest.err`
11960 $RM -r conftest*
11961
11962
11963   # Allow CC to be a program name with arguments.
11964   lt_save_CC=$CC
11965   lt_save_CFLAGS=$CFLAGS
11966   lt_save_LD=$LD
11967   lt_save_GCC=$GCC
11968   GCC=$GXX
11969   lt_save_with_gnu_ld=$with_gnu_ld
11970   lt_save_path_LD=$lt_cv_path_LD
11971   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11972     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11973   else
11974     $as_unset lt_cv_prog_gnu_ld
11975   fi
11976   if test -n "${lt_cv_path_LDCXX+set}"; then
11977     lt_cv_path_LD=$lt_cv_path_LDCXX
11978   else
11979     $as_unset lt_cv_path_LD
11980   fi
11981   test -z "${LDCXX+set}" || LD=$LDCXX
11982   CC=${CXX-"c++"}
11983   CFLAGS=$CXXFLAGS
11984   compiler=$CC
11985   compiler_CXX=$CC
11986   for cc_temp in $compiler""; do
11987   case $cc_temp in
11988     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11989     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11990     \-*) ;;
11991     *) break;;
11992   esac
11993 done
11994 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11995
11996
11997   if test -n "$compiler"; then
11998     # We don't want -fno-exception when compiling C++ code, so set the
11999     # no_builtin_flag separately
12000     if test "$GXX" = yes; then
12001       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12002     else
12003       lt_prog_compiler_no_builtin_flag_CXX=
12004     fi
12005
12006     if test "$GXX" = yes; then
12007       # Set up default GNU C++ configuration
12008
12009
12010
12011 # Check whether --with-gnu-ld was given.
12012 if test "${with_gnu_ld+set}" = set; then :
12013   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12014 else
12015   with_gnu_ld=no
12016 fi
12017
12018 ac_prog=ld
12019 if test "$GCC" = yes; then
12020   # Check if gcc -print-prog-name=ld gives a path.
12021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12022 $as_echo_n "checking for ld used by $CC... " >&6; }
12023   case $host in
12024   *-*-mingw*)
12025     # gcc leaves a trailing carriage return which upsets mingw
12026     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12027   *)
12028     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12029   esac
12030   case $ac_prog in
12031     # Accept absolute paths.
12032     [\\/]* | ?:[\\/]*)
12033       re_direlt='/[^/][^/]*/\.\./'
12034       # Canonicalize the pathname of ld
12035       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12036       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12037         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12038       done
12039       test -z "$LD" && LD="$ac_prog"
12040       ;;
12041   "")
12042     # If it fails, then pretend we aren't using GCC.
12043     ac_prog=ld
12044     ;;
12045   *)
12046     # If it is relative, then search for the first ld in PATH.
12047     with_gnu_ld=unknown
12048     ;;
12049   esac
12050 elif test "$with_gnu_ld" = yes; then
12051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12052 $as_echo_n "checking for GNU ld... " >&6; }
12053 else
12054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12055 $as_echo_n "checking for non-GNU ld... " >&6; }
12056 fi
12057 if ${lt_cv_path_LD+:} false; then :
12058   $as_echo_n "(cached) " >&6
12059 else
12060   if test -z "$LD"; then
12061   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12062   for ac_dir in $PATH; do
12063     IFS="$lt_save_ifs"
12064     test -z "$ac_dir" && ac_dir=.
12065     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12066       lt_cv_path_LD="$ac_dir/$ac_prog"
12067       # Check to see if the program is GNU ld.  I'd rather use --version,
12068       # but apparently some variants of GNU ld only accept -v.
12069       # Break only if it was the GNU/non-GNU ld that we prefer.
12070       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12071       *GNU* | *'with BFD'*)
12072         test "$with_gnu_ld" != no && break
12073         ;;
12074       *)
12075         test "$with_gnu_ld" != yes && break
12076         ;;
12077       esac
12078     fi
12079   done
12080   IFS="$lt_save_ifs"
12081 else
12082   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12083 fi
12084 fi
12085
12086 LD="$lt_cv_path_LD"
12087 if test -n "$LD"; then
12088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12089 $as_echo "$LD" >&6; }
12090 else
12091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12092 $as_echo "no" >&6; }
12093 fi
12094 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12096 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12097 if ${lt_cv_prog_gnu_ld+:} false; then :
12098   $as_echo_n "(cached) " >&6
12099 else
12100   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12101 case `$LD -v 2>&1 </dev/null` in
12102 *GNU* | *'with BFD'*)
12103   lt_cv_prog_gnu_ld=yes
12104   ;;
12105 *)
12106   lt_cv_prog_gnu_ld=no
12107   ;;
12108 esac
12109 fi
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12111 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12112 with_gnu_ld=$lt_cv_prog_gnu_ld
12113
12114
12115
12116
12117
12118
12119
12120       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12121       # archiving commands below assume that GNU ld is being used.
12122       if test "$with_gnu_ld" = yes; then
12123         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12124         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'
12125
12126         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12127         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12128
12129         # If archive_cmds runs LD, not CC, wlarc should be empty
12130         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12131         #     investigate it a little bit more. (MM)
12132         wlarc='${wl}'
12133
12134         # ancient GNU ld didn't support --whole-archive et. al.
12135         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12136           $GREP 'no-whole-archive' > /dev/null; then
12137           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12138         else
12139           whole_archive_flag_spec_CXX=
12140         fi
12141       else
12142         with_gnu_ld=no
12143         wlarc=
12144
12145         # A generic and very simple default shared library creation
12146         # command for GNU C++ for the case where it uses the native
12147         # linker, instead of GNU ld.  If possible, this setting should
12148         # overridden to take advantage of the native linker features on
12149         # the platform it is being used on.
12150         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12151       fi
12152
12153       # Commands to make compiler produce verbose output that lists
12154       # what "hidden" libraries, object files and flags are used when
12155       # linking a shared library.
12156       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12157
12158     else
12159       GXX=no
12160       with_gnu_ld=no
12161       wlarc=
12162     fi
12163
12164     # PORTME: fill in a description of your system's C++ link characteristics
12165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12166 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12167     ld_shlibs_CXX=yes
12168     case $host_os in
12169       aix3*)
12170         # FIXME: insert proper C++ library support
12171         ld_shlibs_CXX=no
12172         ;;
12173       aix[4-9]*)
12174         if test "$host_cpu" = ia64; then
12175           # On IA64, the linker does run time linking by default, so we don't
12176           # have to do anything special.
12177           aix_use_runtimelinking=no
12178           exp_sym_flag='-Bexport'
12179           no_entry_flag=""
12180         else
12181           aix_use_runtimelinking=no
12182
12183           # Test if we are trying to use run time linking or normal
12184           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12185           # need to do runtime linking.
12186           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12187             for ld_flag in $LDFLAGS; do
12188               case $ld_flag in
12189               *-brtl*)
12190                 aix_use_runtimelinking=yes
12191                 break
12192                 ;;
12193               esac
12194             done
12195             ;;
12196           esac
12197
12198           exp_sym_flag='-bexport'
12199           no_entry_flag='-bnoentry'
12200         fi
12201
12202         # When large executables or shared objects are built, AIX ld can
12203         # have problems creating the table of contents.  If linking a library
12204         # or program results in "error TOC overflow" add -mminimal-toc to
12205         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12206         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12207
12208         archive_cmds_CXX=''
12209         hardcode_direct_CXX=yes
12210         hardcode_direct_absolute_CXX=yes
12211         hardcode_libdir_separator_CXX=':'
12212         link_all_deplibs_CXX=yes
12213         file_list_spec_CXX='${wl}-f,'
12214
12215         if test "$GXX" = yes; then
12216           case $host_os in aix4.[012]|aix4.[012].*)
12217           # We only want to do this on AIX 4.2 and lower, the check
12218           # below for broken collect2 doesn't work under 4.3+
12219           collect2name=`${CC} -print-prog-name=collect2`
12220           if test -f "$collect2name" &&
12221              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12222           then
12223             # We have reworked collect2
12224             :
12225           else
12226             # We have old collect2
12227             hardcode_direct_CXX=unsupported
12228             # It fails to find uninstalled libraries when the uninstalled
12229             # path is not listed in the libpath.  Setting hardcode_minus_L
12230             # to unsupported forces relinking
12231             hardcode_minus_L_CXX=yes
12232             hardcode_libdir_flag_spec_CXX='-L$libdir'
12233             hardcode_libdir_separator_CXX=
12234           fi
12235           esac
12236           shared_flag='-shared'
12237           if test "$aix_use_runtimelinking" = yes; then
12238             shared_flag="$shared_flag "'${wl}-G'
12239           fi
12240         else
12241           # not using gcc
12242           if test "$host_cpu" = ia64; then
12243           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12244           # chokes on -Wl,-G. The following line is correct:
12245           shared_flag='-G'
12246           else
12247             if test "$aix_use_runtimelinking" = yes; then
12248               shared_flag='${wl}-G'
12249             else
12250               shared_flag='${wl}-bM:SRE'
12251             fi
12252           fi
12253         fi
12254
12255         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12256         # It seems that -bexpall does not export symbols beginning with
12257         # underscore (_), so it is better to generate a list of symbols to
12258         # export.
12259         always_export_symbols_CXX=yes
12260         if test "$aix_use_runtimelinking" = yes; then
12261           # Warning - without using the other runtime loading flags (-brtl),
12262           # -berok will link without error, but may produce a broken library.
12263           allow_undefined_flag_CXX='-berok'
12264           # Determine the default libpath from the value encoded in an empty
12265           # executable.
12266           if test "${lt_cv_aix_libpath+set}" = set; then
12267   aix_libpath=$lt_cv_aix_libpath
12268 else
12269   if ${lt_cv_aix_libpath__CXX+:} false; then :
12270   $as_echo_n "(cached) " >&6
12271 else
12272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12273 /* end confdefs.h.  */
12274
12275 int
12276 main ()
12277 {
12278
12279   ;
12280   return 0;
12281 }
12282 _ACEOF
12283 if ac_fn_cxx_try_link "$LINENO"; then :
12284
12285   lt_aix_libpath_sed='
12286       /Import File Strings/,/^$/ {
12287           /^0/ {
12288               s/^0  *\([^ ]*\) *$/\1/
12289               p
12290           }
12291       }'
12292   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12293   # Check for a 64-bit object if we didn't find anything.
12294   if test -z "$lt_cv_aix_libpath__CXX"; then
12295     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12296   fi
12297 fi
12298 rm -f core conftest.err conftest.$ac_objext \
12299     conftest$ac_exeext conftest.$ac_ext
12300   if test -z "$lt_cv_aix_libpath__CXX"; then
12301     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12302   fi
12303
12304 fi
12305
12306   aix_libpath=$lt_cv_aix_libpath__CXX
12307 fi
12308
12309           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12310
12311           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"
12312         else
12313           if test "$host_cpu" = ia64; then
12314             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12315             allow_undefined_flag_CXX="-z nodefs"
12316             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"
12317           else
12318             # Determine the default libpath from the value encoded in an
12319             # empty executable.
12320             if test "${lt_cv_aix_libpath+set}" = set; then
12321   aix_libpath=$lt_cv_aix_libpath
12322 else
12323   if ${lt_cv_aix_libpath__CXX+:} false; then :
12324   $as_echo_n "(cached) " >&6
12325 else
12326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327 /* end confdefs.h.  */
12328
12329 int
12330 main ()
12331 {
12332
12333   ;
12334   return 0;
12335 }
12336 _ACEOF
12337 if ac_fn_cxx_try_link "$LINENO"; then :
12338
12339   lt_aix_libpath_sed='
12340       /Import File Strings/,/^$/ {
12341           /^0/ {
12342               s/^0  *\([^ ]*\) *$/\1/
12343               p
12344           }
12345       }'
12346   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12347   # Check for a 64-bit object if we didn't find anything.
12348   if test -z "$lt_cv_aix_libpath__CXX"; then
12349     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12350   fi
12351 fi
12352 rm -f core conftest.err conftest.$ac_objext \
12353     conftest$ac_exeext conftest.$ac_ext
12354   if test -z "$lt_cv_aix_libpath__CXX"; then
12355     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12356   fi
12357
12358 fi
12359
12360   aix_libpath=$lt_cv_aix_libpath__CXX
12361 fi
12362
12363             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12364             # Warning - without using the other run time loading flags,
12365             # -berok will link without error, but may produce a broken library.
12366             no_undefined_flag_CXX=' ${wl}-bernotok'
12367             allow_undefined_flag_CXX=' ${wl}-berok'
12368             if test "$with_gnu_ld" = yes; then
12369               # We only use this code for GNU lds that support --whole-archive.
12370               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12371             else
12372               # Exported symbols can be pulled into shared objects from archives
12373               whole_archive_flag_spec_CXX='$convenience'
12374             fi
12375             archive_cmds_need_lc_CXX=yes
12376             # This is similar to how AIX traditionally builds its shared
12377             # libraries.
12378             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'
12379           fi
12380         fi
12381         ;;
12382
12383       beos*)
12384         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12385           allow_undefined_flag_CXX=unsupported
12386           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12387           # support --undefined.  This deserves some investigation.  FIXME
12388           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12389         else
12390           ld_shlibs_CXX=no
12391         fi
12392         ;;
12393
12394       chorus*)
12395         case $cc_basename in
12396           *)
12397           # FIXME: insert proper C++ library support
12398           ld_shlibs_CXX=no
12399           ;;
12400         esac
12401         ;;
12402
12403       cygwin* | mingw* | pw32* | cegcc*)
12404         case $GXX,$cc_basename in
12405         ,cl* | no,cl*)
12406           # Native MSVC
12407           # hardcode_libdir_flag_spec is actually meaningless, as there is
12408           # no search path for DLLs.
12409           hardcode_libdir_flag_spec_CXX=' '
12410           allow_undefined_flag_CXX=unsupported
12411           always_export_symbols_CXX=yes
12412           file_list_spec_CXX='@'
12413           # Tell ltmain to make .lib files, not .a files.
12414           libext=lib
12415           # Tell ltmain to make .dll files, not .so files.
12416           shrext_cmds=".dll"
12417           # FIXME: Setting linknames here is a bad hack.
12418           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12419           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12420               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12421             else
12422               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12423             fi~
12424             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12425             linknames='
12426           # The linker will not automatically build a static lib if we build a DLL.
12427           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12428           enable_shared_with_static_runtimes_CXX=yes
12429           # Don't use ranlib
12430           old_postinstall_cmds_CXX='chmod 644 $oldlib'
12431           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12432             lt_tool_outputfile="@TOOL_OUTPUT@"~
12433             case $lt_outputfile in
12434               *.exe|*.EXE) ;;
12435               *)
12436                 lt_outputfile="$lt_outputfile.exe"
12437                 lt_tool_outputfile="$lt_tool_outputfile.exe"
12438                 ;;
12439             esac~
12440             func_to_tool_file "$lt_outputfile"~
12441             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12442               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12443               $RM "$lt_outputfile.manifest";
12444             fi'
12445           ;;
12446         *)
12447           # g++
12448           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12449           # as there is no search path for DLLs.
12450           hardcode_libdir_flag_spec_CXX='-L$libdir'
12451           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12452           allow_undefined_flag_CXX=unsupported
12453           always_export_symbols_CXX=no
12454           enable_shared_with_static_runtimes_CXX=yes
12455
12456           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12457             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'
12458             # If the export-symbols file already is a .def file (1st line
12459             # is EXPORTS), use it as is; otherwise, prepend...
12460             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12461               cp $export_symbols $output_objdir/$soname.def;
12462             else
12463               echo EXPORTS > $output_objdir/$soname.def;
12464               cat $export_symbols >> $output_objdir/$soname.def;
12465             fi~
12466             $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'
12467           else
12468             ld_shlibs_CXX=no
12469           fi
12470           ;;
12471         esac
12472         ;;
12473       darwin* | rhapsody*)
12474
12475
12476   archive_cmds_need_lc_CXX=no
12477   hardcode_direct_CXX=no
12478   hardcode_automatic_CXX=yes
12479   hardcode_shlibpath_var_CXX=unsupported
12480   if test "$lt_cv_ld_force_load" = "yes"; then
12481     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\"`'
12482
12483   else
12484     whole_archive_flag_spec_CXX=''
12485   fi
12486   link_all_deplibs_CXX=yes
12487   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12488   case $cc_basename in
12489      ifort*) _lt_dar_can_shared=yes ;;
12490      *) _lt_dar_can_shared=$GCC ;;
12491   esac
12492   if test "$_lt_dar_can_shared" = "yes"; then
12493     output_verbose_link_cmd=func_echo_all
12494     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}"
12495     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12496     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}"
12497     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}"
12498        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12499       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}"
12500       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}"
12501     fi
12502
12503   else
12504   ld_shlibs_CXX=no
12505   fi
12506
12507         ;;
12508
12509       dgux*)
12510         case $cc_basename in
12511           ec++*)
12512             # FIXME: insert proper C++ library support
12513             ld_shlibs_CXX=no
12514             ;;
12515           ghcx*)
12516             # Green Hills C++ Compiler
12517             # FIXME: insert proper C++ library support
12518             ld_shlibs_CXX=no
12519             ;;
12520           *)
12521             # FIXME: insert proper C++ library support
12522             ld_shlibs_CXX=no
12523             ;;
12524         esac
12525         ;;
12526
12527       freebsd2.*)
12528         # C++ shared libraries reported to be fairly broken before
12529         # switch to ELF
12530         ld_shlibs_CXX=no
12531         ;;
12532
12533       freebsd-elf*)
12534         archive_cmds_need_lc_CXX=no
12535         ;;
12536
12537       freebsd* | dragonfly*)
12538         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12539         # conventions
12540         ld_shlibs_CXX=yes
12541         ;;
12542
12543       gnu*)
12544         ;;
12545
12546       haiku*)
12547         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12548         link_all_deplibs_CXX=yes
12549         ;;
12550
12551       hpux9*)
12552         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12553         hardcode_libdir_separator_CXX=:
12554         export_dynamic_flag_spec_CXX='${wl}-E'
12555         hardcode_direct_CXX=yes
12556         hardcode_minus_L_CXX=yes # Not in the search PATH,
12557                                              # but as the default
12558                                              # location of the library.
12559
12560         case $cc_basename in
12561           CC*)
12562             # FIXME: insert proper C++ library support
12563             ld_shlibs_CXX=no
12564             ;;
12565           aCC*)
12566             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'
12567             # Commands to make compiler produce verbose output that lists
12568             # what "hidden" libraries, object files and flags are used when
12569             # linking a shared library.
12570             #
12571             # There doesn't appear to be a way to prevent this compiler from
12572             # explicitly linking system object files so we need to strip them
12573             # from the output so that they don't get included in the library
12574             # dependencies.
12575             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"'
12576             ;;
12577           *)
12578             if test "$GXX" = yes; then
12579               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'
12580             else
12581               # FIXME: insert proper C++ library support
12582               ld_shlibs_CXX=no
12583             fi
12584             ;;
12585         esac
12586         ;;
12587
12588       hpux10*|hpux11*)
12589         if test $with_gnu_ld = no; then
12590           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12591           hardcode_libdir_separator_CXX=:
12592
12593           case $host_cpu in
12594             hppa*64*|ia64*)
12595               ;;
12596             *)
12597               export_dynamic_flag_spec_CXX='${wl}-E'
12598               ;;
12599           esac
12600         fi
12601         case $host_cpu in
12602           hppa*64*|ia64*)
12603             hardcode_direct_CXX=no
12604             hardcode_shlibpath_var_CXX=no
12605             ;;
12606           *)
12607             hardcode_direct_CXX=yes
12608             hardcode_direct_absolute_CXX=yes
12609             hardcode_minus_L_CXX=yes # Not in the search PATH,
12610                                                  # but as the default
12611                                                  # location of the library.
12612             ;;
12613         esac
12614
12615         case $cc_basename in
12616           CC*)
12617             # FIXME: insert proper C++ library support
12618             ld_shlibs_CXX=no
12619             ;;
12620           aCC*)
12621             case $host_cpu in
12622               hppa*64*)
12623                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12624                 ;;
12625               ia64*)
12626                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627                 ;;
12628               *)
12629                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12630                 ;;
12631             esac
12632             # Commands to make compiler produce verbose output that lists
12633             # what "hidden" libraries, object files and flags are used when
12634             # linking a shared library.
12635             #
12636             # There doesn't appear to be a way to prevent this compiler from
12637             # explicitly linking system object files so we need to strip them
12638             # from the output so that they don't get included in the library
12639             # dependencies.
12640             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"'
12641             ;;
12642           *)
12643             if test "$GXX" = yes; then
12644               if test $with_gnu_ld = no; then
12645                 case $host_cpu in
12646                   hppa*64*)
12647                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12648                     ;;
12649                   ia64*)
12650                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651                     ;;
12652                   *)
12653                     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'
12654                     ;;
12655                 esac
12656               fi
12657             else
12658               # FIXME: insert proper C++ library support
12659               ld_shlibs_CXX=no
12660             fi
12661             ;;
12662         esac
12663         ;;
12664
12665       interix[3-9]*)
12666         hardcode_direct_CXX=no
12667         hardcode_shlibpath_var_CXX=no
12668         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12669         export_dynamic_flag_spec_CXX='${wl}-E'
12670         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12671         # Instead, shared libraries are loaded at an image base (0x10000000 by
12672         # default) and relocated if they conflict, which is a slow very memory
12673         # consuming and fragmenting process.  To avoid this, we pick a random,
12674         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12675         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12676         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'
12677         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'
12678         ;;
12679       irix5* | irix6*)
12680         case $cc_basename in
12681           CC*)
12682             # SGI C++
12683             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'
12684
12685             # Archives containing C++ object files must be created using
12686             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12687             # necessary to make sure instantiated templates are included
12688             # in the archive.
12689             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12690             ;;
12691           *)
12692             if test "$GXX" = yes; then
12693               if test "$with_gnu_ld" = no; then
12694                 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'
12695               else
12696                 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'
12697               fi
12698             fi
12699             link_all_deplibs_CXX=yes
12700             ;;
12701         esac
12702         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12703         hardcode_libdir_separator_CXX=:
12704         inherit_rpath_CXX=yes
12705         ;;
12706
12707       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12708         case $cc_basename in
12709           KCC*)
12710             # Kuck and Associates, Inc. (KAI) C++ Compiler
12711
12712             # KCC will only create a shared library if the output file
12713             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12714             # to its proper name (with version) after linking.
12715             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'
12716             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'
12717             # Commands to make compiler produce verbose output that lists
12718             # what "hidden" libraries, object files and flags are used when
12719             # linking a shared library.
12720             #
12721             # There doesn't appear to be a way to prevent this compiler from
12722             # explicitly linking system object files so we need to strip them
12723             # from the output so that they don't get included in the library
12724             # dependencies.
12725             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"'
12726
12727             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12728             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12729
12730             # Archives containing C++ object files must be created using
12731             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12732             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12733             ;;
12734           icpc* | ecpc* )
12735             # Intel C++
12736             with_gnu_ld=yes
12737             # version 8.0 and above of icpc choke on multiply defined symbols
12738             # if we add $predep_objects and $postdep_objects, however 7.1 and
12739             # earlier do not add the objects themselves.
12740             case `$CC -V 2>&1` in
12741               *"Version 7."*)
12742                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12743                 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'
12744                 ;;
12745               *)  # Version 8.0 or newer
12746                 tmp_idyn=
12747                 case $host_cpu in
12748                   ia64*) tmp_idyn=' -i_dynamic';;
12749                 esac
12750                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12751                 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'
12752                 ;;
12753             esac
12754             archive_cmds_need_lc_CXX=no
12755             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12756             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12758             ;;
12759           pgCC* | pgcpp*)
12760             # Portland Group C++ compiler
12761             case `$CC -V` in
12762             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12763               prelink_cmds_CXX='tpldir=Template.dir~
12764                 rm -rf $tpldir~
12765                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12766                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12767               old_archive_cmds_CXX='tpldir=Template.dir~
12768                 rm -rf $tpldir~
12769                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12770                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12771                 $RANLIB $oldlib'
12772               archive_cmds_CXX='tpldir=Template.dir~
12773                 rm -rf $tpldir~
12774                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12775                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12776               archive_expsym_cmds_CXX='tpldir=Template.dir~
12777                 rm -rf $tpldir~
12778                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12779                 $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'
12780               ;;
12781             *) # Version 6 and above use weak symbols
12782               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12783               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'
12784               ;;
12785             esac
12786
12787             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12788             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12789             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'
12790             ;;
12791           cxx*)
12792             # Compaq C++
12793             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12794             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'
12795
12796             runpath_var=LD_RUN_PATH
12797             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12798             hardcode_libdir_separator_CXX=:
12799
12800             # Commands to make compiler produce verbose output that lists
12801             # what "hidden" libraries, object files and flags are used when
12802             # linking a shared library.
12803             #
12804             # There doesn't appear to be a way to prevent this compiler from
12805             # explicitly linking system object files so we need to strip them
12806             # from the output so that they don't get included in the library
12807             # dependencies.
12808             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'
12809             ;;
12810           xl* | mpixl* | bgxl*)
12811             # IBM XL 8.0 on PPC, with GNU ld
12812             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12814             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12815             if test "x$supports_anon_versioning" = xyes; then
12816               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12817                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12818                 echo "local: *; };" >> $output_objdir/$libname.ver~
12819                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12820             fi
12821             ;;
12822           *)
12823             case `$CC -V 2>&1 | sed 5q` in
12824             *Sun\ C*)
12825               # Sun C++ 5.9
12826               no_undefined_flag_CXX=' -zdefs'
12827               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12828               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'
12829               hardcode_libdir_flag_spec_CXX='-R$libdir'
12830               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'
12831               compiler_needs_object_CXX=yes
12832
12833               # Not sure whether something based on
12834               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12835               # would be better.
12836               output_verbose_link_cmd='func_echo_all'
12837
12838               # Archives containing C++ object files must be created using
12839               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12840               # necessary to make sure instantiated templates are included
12841               # in the archive.
12842               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12843               ;;
12844             esac
12845             ;;
12846         esac
12847         ;;
12848
12849       lynxos*)
12850         # FIXME: insert proper C++ library support
12851         ld_shlibs_CXX=no
12852         ;;
12853
12854       m88k*)
12855         # FIXME: insert proper C++ library support
12856         ld_shlibs_CXX=no
12857         ;;
12858
12859       mvs*)
12860         case $cc_basename in
12861           cxx*)
12862             # FIXME: insert proper C++ library support
12863             ld_shlibs_CXX=no
12864             ;;
12865           *)
12866             # FIXME: insert proper C++ library support
12867             ld_shlibs_CXX=no
12868             ;;
12869         esac
12870         ;;
12871
12872       netbsd*)
12873         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12874           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12875           wlarc=
12876           hardcode_libdir_flag_spec_CXX='-R$libdir'
12877           hardcode_direct_CXX=yes
12878           hardcode_shlibpath_var_CXX=no
12879         fi
12880         # Workaround some broken pre-1.5 toolchains
12881         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12882         ;;
12883
12884       *nto* | *qnx*)
12885         ld_shlibs_CXX=yes
12886         ;;
12887
12888       openbsd2*)
12889         # C++ shared libraries are fairly broken
12890         ld_shlibs_CXX=no
12891         ;;
12892
12893       openbsd*)
12894         if test -f /usr/libexec/ld.so; then
12895           hardcode_direct_CXX=yes
12896           hardcode_shlibpath_var_CXX=no
12897           hardcode_direct_absolute_CXX=yes
12898           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12899           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12900           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12901             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12902             export_dynamic_flag_spec_CXX='${wl}-E'
12903             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12904           fi
12905           output_verbose_link_cmd=func_echo_all
12906         else
12907           ld_shlibs_CXX=no
12908         fi
12909         ;;
12910
12911       osf3* | osf4* | osf5*)
12912         case $cc_basename in
12913           KCC*)
12914             # Kuck and Associates, Inc. (KAI) C++ Compiler
12915
12916             # KCC will only create a shared library if the output file
12917             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12918             # to its proper name (with version) after linking.
12919             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'
12920
12921             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12922             hardcode_libdir_separator_CXX=:
12923
12924             # Archives containing C++ object files must be created using
12925             # the KAI C++ compiler.
12926             case $host in
12927               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12928               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12929             esac
12930             ;;
12931           RCC*)
12932             # Rational C++ 2.4.1
12933             # FIXME: insert proper C++ library support
12934             ld_shlibs_CXX=no
12935             ;;
12936           cxx*)
12937             case $host in
12938               osf3*)
12939                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12940                 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'
12941                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12942                 ;;
12943               *)
12944                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12945                 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'
12946                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12947                   echo "-hidden">> $lib.exp~
12948                   $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~
12949                   $RM $lib.exp'
12950                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12951                 ;;
12952             esac
12953
12954             hardcode_libdir_separator_CXX=:
12955
12956             # Commands to make compiler produce verbose output that lists
12957             # what "hidden" libraries, object files and flags are used when
12958             # linking a shared library.
12959             #
12960             # There doesn't appear to be a way to prevent this compiler from
12961             # explicitly linking system object files so we need to strip them
12962             # from the output so that they don't get included in the library
12963             # dependencies.
12964             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"'
12965             ;;
12966           *)
12967             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12968               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12969               case $host in
12970                 osf3*)
12971                   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'
12972                   ;;
12973                 *)
12974                   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'
12975                   ;;
12976               esac
12977
12978               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12979               hardcode_libdir_separator_CXX=:
12980
12981               # Commands to make compiler produce verbose output that lists
12982               # what "hidden" libraries, object files and flags are used when
12983               # linking a shared library.
12984               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12985
12986             else
12987               # FIXME: insert proper C++ library support
12988               ld_shlibs_CXX=no
12989             fi
12990             ;;
12991         esac
12992         ;;
12993
12994       psos*)
12995         # FIXME: insert proper C++ library support
12996         ld_shlibs_CXX=no
12997         ;;
12998
12999       sunos4*)
13000         case $cc_basename in
13001           CC*)
13002             # Sun C++ 4.x
13003             # FIXME: insert proper C++ library support
13004             ld_shlibs_CXX=no
13005             ;;
13006           lcc*)
13007             # Lucid
13008             # FIXME: insert proper C++ library support
13009             ld_shlibs_CXX=no
13010             ;;
13011           *)
13012             # FIXME: insert proper C++ library support
13013             ld_shlibs_CXX=no
13014             ;;
13015         esac
13016         ;;
13017
13018       solaris*)
13019         case $cc_basename in
13020           CC* | sunCC*)
13021             # Sun C++ 4.2, 5.x and Centerline C++
13022             archive_cmds_need_lc_CXX=yes
13023             no_undefined_flag_CXX=' -zdefs'
13024             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13025             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13026               $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'
13027
13028             hardcode_libdir_flag_spec_CXX='-R$libdir'
13029             hardcode_shlibpath_var_CXX=no
13030             case $host_os in
13031               solaris2.[0-5] | solaris2.[0-5].*) ;;
13032               *)
13033                 # The compiler driver will combine and reorder linker options,
13034                 # but understands `-z linker_flag'.
13035                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13036                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13037                 ;;
13038             esac
13039             link_all_deplibs_CXX=yes
13040
13041             output_verbose_link_cmd='func_echo_all'
13042
13043             # Archives containing C++ object files must be created using
13044             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13045             # necessary to make sure instantiated templates are included
13046             # in the archive.
13047             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13048             ;;
13049           gcx*)
13050             # Green Hills C++ Compiler
13051             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13052
13053             # The C++ compiler must be used to create the archive.
13054             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13055             ;;
13056           *)
13057             # GNU C++ compiler with Solaris linker
13058             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13059               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13060               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13061                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13062                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13063                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13064
13065                 # Commands to make compiler produce verbose output that lists
13066                 # what "hidden" libraries, object files and flags are used when
13067                 # linking a shared library.
13068                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13069               else
13070                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13071                 # platform.
13072                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13073                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13074                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13075
13076                 # Commands to make compiler produce verbose output that lists
13077                 # what "hidden" libraries, object files and flags are used when
13078                 # linking a shared library.
13079                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13080               fi
13081
13082               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13083               case $host_os in
13084                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13085                 *)
13086                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13087                   ;;
13088               esac
13089             fi
13090             ;;
13091         esac
13092         ;;
13093
13094     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13095       no_undefined_flag_CXX='${wl}-z,text'
13096       archive_cmds_need_lc_CXX=no
13097       hardcode_shlibpath_var_CXX=no
13098       runpath_var='LD_RUN_PATH'
13099
13100       case $cc_basename in
13101         CC*)
13102           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13104           ;;
13105         *)
13106           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108           ;;
13109       esac
13110       ;;
13111
13112       sysv5* | sco3.2v5* | sco5v6*)
13113         # Note: We can NOT use -z defs as we might desire, because we do not
13114         # link with -lc, and that would cause any symbols used from libc to
13115         # always be unresolved, which means just about no library would
13116         # ever link correctly.  If we're not using GNU ld we use -z text
13117         # though, which does catch some bad symbols but isn't as heavy-handed
13118         # as -z defs.
13119         no_undefined_flag_CXX='${wl}-z,text'
13120         allow_undefined_flag_CXX='${wl}-z,nodefs'
13121         archive_cmds_need_lc_CXX=no
13122         hardcode_shlibpath_var_CXX=no
13123         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13124         hardcode_libdir_separator_CXX=':'
13125         link_all_deplibs_CXX=yes
13126         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13127         runpath_var='LD_RUN_PATH'
13128
13129         case $cc_basename in
13130           CC*)
13131             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13134               '"$old_archive_cmds_CXX"
13135             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13136               '"$reload_cmds_CXX"
13137             ;;
13138           *)
13139             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141             ;;
13142         esac
13143       ;;
13144
13145       tandem*)
13146         case $cc_basename in
13147           NCC*)
13148             # NonStop-UX NCC 3.20
13149             # FIXME: insert proper C++ library support
13150             ld_shlibs_CXX=no
13151             ;;
13152           *)
13153             # FIXME: insert proper C++ library support
13154             ld_shlibs_CXX=no
13155             ;;
13156         esac
13157         ;;
13158
13159       vxworks*)
13160         # FIXME: insert proper C++ library support
13161         ld_shlibs_CXX=no
13162         ;;
13163
13164       *)
13165         # FIXME: insert proper C++ library support
13166         ld_shlibs_CXX=no
13167         ;;
13168     esac
13169
13170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13171 $as_echo "$ld_shlibs_CXX" >&6; }
13172     test "$ld_shlibs_CXX" = no && can_build_shared=no
13173
13174     GCC_CXX="$GXX"
13175     LD_CXX="$LD"
13176
13177     ## CAVEAT EMPTOR:
13178     ## There is no encapsulation within the following macros, do not change
13179     ## the running order or otherwise move them around unless you know exactly
13180     ## what you are doing...
13181     # Dependencies to place before and after the object being linked:
13182 predep_objects_CXX=
13183 postdep_objects_CXX=
13184 predeps_CXX=
13185 postdeps_CXX=
13186 compiler_lib_search_path_CXX=
13187
13188 cat > conftest.$ac_ext <<_LT_EOF
13189 class Foo
13190 {
13191 public:
13192   Foo (void) { a = 0; }
13193 private:
13194   int a;
13195 };
13196 _LT_EOF
13197
13198
13199 _lt_libdeps_save_CFLAGS=$CFLAGS
13200 case "$CC $CFLAGS " in #(
13201 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13202 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13203 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13204 esac
13205
13206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13207   (eval $ac_compile) 2>&5
13208   ac_status=$?
13209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13210   test $ac_status = 0; }; then
13211   # Parse the compiler output and extract the necessary
13212   # objects, libraries and library flags.
13213
13214   # Sentinel used to keep track of whether or not we are before
13215   # the conftest object file.
13216   pre_test_object_deps_done=no
13217
13218   for p in `eval "$output_verbose_link_cmd"`; do
13219     case ${prev}${p} in
13220
13221     -L* | -R* | -l*)
13222        # Some compilers place space between "-{L,R}" and the path.
13223        # Remove the space.
13224        if test $p = "-L" ||
13225           test $p = "-R"; then
13226          prev=$p
13227          continue
13228        fi
13229
13230        # Expand the sysroot to ease extracting the directories later.
13231        if test -z "$prev"; then
13232          case $p in
13233          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13234          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13235          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13236          esac
13237        fi
13238        case $p in
13239        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13240        esac
13241        if test "$pre_test_object_deps_done" = no; then
13242          case ${prev} in
13243          -L | -R)
13244            # Internal compiler library paths should come after those
13245            # provided the user.  The postdeps already come after the
13246            # user supplied libs so there is no need to process them.
13247            if test -z "$compiler_lib_search_path_CXX"; then
13248              compiler_lib_search_path_CXX="${prev}${p}"
13249            else
13250              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13251            fi
13252            ;;
13253          # The "-l" case would never come before the object being
13254          # linked, so don't bother handling this case.
13255          esac
13256        else
13257          if test -z "$postdeps_CXX"; then
13258            postdeps_CXX="${prev}${p}"
13259          else
13260            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13261          fi
13262        fi
13263        prev=
13264        ;;
13265
13266     *.lto.$objext) ;; # Ignore GCC LTO objects
13267     *.$objext)
13268        # This assumes that the test object file only shows up
13269        # once in the compiler output.
13270        if test "$p" = "conftest.$objext"; then
13271          pre_test_object_deps_done=yes
13272          continue
13273        fi
13274
13275        if test "$pre_test_object_deps_done" = no; then
13276          if test -z "$predep_objects_CXX"; then
13277            predep_objects_CXX="$p"
13278          else
13279            predep_objects_CXX="$predep_objects_CXX $p"
13280          fi
13281        else
13282          if test -z "$postdep_objects_CXX"; then
13283            postdep_objects_CXX="$p"
13284          else
13285            postdep_objects_CXX="$postdep_objects_CXX $p"
13286          fi
13287        fi
13288        ;;
13289
13290     *) ;; # Ignore the rest.
13291
13292     esac
13293   done
13294
13295   # Clean up.
13296   rm -f a.out a.exe
13297 else
13298   echo "libtool.m4: error: problem compiling CXX test program"
13299 fi
13300
13301 $RM -f confest.$objext
13302 CFLAGS=$_lt_libdeps_save_CFLAGS
13303
13304 # PORTME: override above test on systems where it is broken
13305 case $host_os in
13306 interix[3-9]*)
13307   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13308   # hack all around it, let's just trust "g++" to DTRT.
13309   predep_objects_CXX=
13310   postdep_objects_CXX=
13311   postdeps_CXX=
13312   ;;
13313
13314 linux*)
13315   case `$CC -V 2>&1 | sed 5q` in
13316   *Sun\ C*)
13317     # Sun C++ 5.9
13318
13319     # The more standards-conforming stlport4 library is
13320     # incompatible with the Cstd library. Avoid specifying
13321     # it if it's in CXXFLAGS. Ignore libCrun as
13322     # -library=stlport4 depends on it.
13323     case " $CXX $CXXFLAGS " in
13324     *" -library=stlport4 "*)
13325       solaris_use_stlport4=yes
13326       ;;
13327     esac
13328
13329     if test "$solaris_use_stlport4" != yes; then
13330       postdeps_CXX='-library=Cstd -library=Crun'
13331     fi
13332     ;;
13333   esac
13334   ;;
13335
13336 solaris*)
13337   case $cc_basename in
13338   CC* | sunCC*)
13339     # The more standards-conforming stlport4 library is
13340     # incompatible with the Cstd library. Avoid specifying
13341     # it if it's in CXXFLAGS. Ignore libCrun as
13342     # -library=stlport4 depends on it.
13343     case " $CXX $CXXFLAGS " in
13344     *" -library=stlport4 "*)
13345       solaris_use_stlport4=yes
13346       ;;
13347     esac
13348
13349     # Adding this requires a known-good setup of shared libraries for
13350     # Sun compiler versions before 5.6, else PIC objects from an old
13351     # archive will be linked into the output, leading to subtle bugs.
13352     if test "$solaris_use_stlport4" != yes; then
13353       postdeps_CXX='-library=Cstd -library=Crun'
13354     fi
13355     ;;
13356   esac
13357   ;;
13358 esac
13359
13360
13361 case " $postdeps_CXX " in
13362 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13363 esac
13364  compiler_lib_search_dirs_CXX=
13365 if test -n "${compiler_lib_search_path_CXX}"; then
13366  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13367 fi
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399     lt_prog_compiler_wl_CXX=
13400 lt_prog_compiler_pic_CXX=
13401 lt_prog_compiler_static_CXX=
13402
13403
13404   # C++ specific cases for pic, static, wl, etc.
13405   if test "$GXX" = yes; then
13406     lt_prog_compiler_wl_CXX='-Wl,'
13407     lt_prog_compiler_static_CXX='-static'
13408
13409     case $host_os in
13410     aix*)
13411       # All AIX code is PIC.
13412       if test "$host_cpu" = ia64; then
13413         # AIX 5 now supports IA64 processor
13414         lt_prog_compiler_static_CXX='-Bstatic'
13415       fi
13416       ;;
13417
13418     amigaos*)
13419       case $host_cpu in
13420       powerpc)
13421             # see comment about AmigaOS4 .so support
13422             lt_prog_compiler_pic_CXX='-fPIC'
13423         ;;
13424       m68k)
13425             # FIXME: we need at least 68020 code to build shared libraries, but
13426             # adding the `-m68020' flag to GCC prevents building anything better,
13427             # like `-m68040'.
13428             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13429         ;;
13430       esac
13431       ;;
13432
13433     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13434       # PIC is the default for these OSes.
13435       ;;
13436     mingw* | cygwin* | os2* | pw32* | cegcc*)
13437       # This hack is so that the source file can tell whether it is being
13438       # built for inclusion in a dll (and should export symbols for example).
13439       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13440       # (--disable-auto-import) libraries
13441       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13442       ;;
13443     darwin* | rhapsody*)
13444       # PIC is the default on this platform
13445       # Common symbols not allowed in MH_DYLIB files
13446       lt_prog_compiler_pic_CXX='-fno-common'
13447       ;;
13448     *djgpp*)
13449       # DJGPP does not support shared libraries at all
13450       lt_prog_compiler_pic_CXX=
13451       ;;
13452     haiku*)
13453       # PIC is the default for Haiku.
13454       # The "-static" flag exists, but is broken.
13455       lt_prog_compiler_static_CXX=
13456       ;;
13457     interix[3-9]*)
13458       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13459       # Instead, we relocate shared libraries at runtime.
13460       ;;
13461     sysv4*MP*)
13462       if test -d /usr/nec; then
13463         lt_prog_compiler_pic_CXX=-Kconform_pic
13464       fi
13465       ;;
13466     hpux*)
13467       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13468       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13469       # sets the default TLS model and affects inlining.
13470       case $host_cpu in
13471       hppa*64*)
13472         ;;
13473       *)
13474         lt_prog_compiler_pic_CXX='-fPIC'
13475         ;;
13476       esac
13477       ;;
13478     *qnx* | *nto*)
13479       # QNX uses GNU C++, but need to define -shared option too, otherwise
13480       # it will coredump.
13481       lt_prog_compiler_pic_CXX='-fPIC -shared'
13482       ;;
13483     *)
13484       lt_prog_compiler_pic_CXX='-fPIC'
13485       ;;
13486     esac
13487   else
13488     case $host_os in
13489       aix[4-9]*)
13490         # All AIX code is PIC.
13491         if test "$host_cpu" = ia64; then
13492           # AIX 5 now supports IA64 processor
13493           lt_prog_compiler_static_CXX='-Bstatic'
13494         else
13495           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13496         fi
13497         ;;
13498       chorus*)
13499         case $cc_basename in
13500         cxch68*)
13501           # Green Hills C++ Compiler
13502           # _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"
13503           ;;
13504         esac
13505         ;;
13506       mingw* | cygwin* | os2* | pw32* | cegcc*)
13507         # This hack is so that the source file can tell whether it is being
13508         # built for inclusion in a dll (and should export symbols for example).
13509         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13510         ;;
13511       dgux*)
13512         case $cc_basename in
13513           ec++*)
13514             lt_prog_compiler_pic_CXX='-KPIC'
13515             ;;
13516           ghcx*)
13517             # Green Hills C++ Compiler
13518             lt_prog_compiler_pic_CXX='-pic'
13519             ;;
13520           *)
13521             ;;
13522         esac
13523         ;;
13524       freebsd* | dragonfly*)
13525         # FreeBSD uses GNU C++
13526         ;;
13527       hpux9* | hpux10* | hpux11*)
13528         case $cc_basename in
13529           CC*)
13530             lt_prog_compiler_wl_CXX='-Wl,'
13531             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13532             if test "$host_cpu" != ia64; then
13533               lt_prog_compiler_pic_CXX='+Z'
13534             fi
13535             ;;
13536           aCC*)
13537             lt_prog_compiler_wl_CXX='-Wl,'
13538             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13539             case $host_cpu in
13540             hppa*64*|ia64*)
13541               # +Z the default
13542               ;;
13543             *)
13544               lt_prog_compiler_pic_CXX='+Z'
13545               ;;
13546             esac
13547             ;;
13548           *)
13549             ;;
13550         esac
13551         ;;
13552       interix*)
13553         # This is c89, which is MS Visual C++ (no shared libs)
13554         # Anyone wants to do a port?
13555         ;;
13556       irix5* | irix6* | nonstopux*)
13557         case $cc_basename in
13558           CC*)
13559             lt_prog_compiler_wl_CXX='-Wl,'
13560             lt_prog_compiler_static_CXX='-non_shared'
13561             # CC pic flag -KPIC is the default.
13562             ;;
13563           *)
13564             ;;
13565         esac
13566         ;;
13567       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13568         case $cc_basename in
13569           KCC*)
13570             # KAI C++ Compiler
13571             lt_prog_compiler_wl_CXX='--backend -Wl,'
13572             lt_prog_compiler_pic_CXX='-fPIC'
13573             ;;
13574           ecpc* )
13575             # old Intel C++ for x86_64 which still supported -KPIC.
13576             lt_prog_compiler_wl_CXX='-Wl,'
13577             lt_prog_compiler_pic_CXX='-KPIC'
13578             lt_prog_compiler_static_CXX='-static'
13579             ;;
13580           icpc* )
13581             # Intel C++, used to be incompatible with GCC.
13582             # ICC 10 doesn't accept -KPIC any more.
13583             lt_prog_compiler_wl_CXX='-Wl,'
13584             lt_prog_compiler_pic_CXX='-fPIC'
13585             lt_prog_compiler_static_CXX='-static'
13586             ;;
13587           pgCC* | pgcpp*)
13588             # Portland Group C++ compiler
13589             lt_prog_compiler_wl_CXX='-Wl,'
13590             lt_prog_compiler_pic_CXX='-fpic'
13591             lt_prog_compiler_static_CXX='-Bstatic'
13592             ;;
13593           cxx*)
13594             # Compaq C++
13595             # Make sure the PIC flag is empty.  It appears that all Alpha
13596             # Linux and Compaq Tru64 Unix objects are PIC.
13597             lt_prog_compiler_pic_CXX=
13598             lt_prog_compiler_static_CXX='-non_shared'
13599             ;;
13600           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13601             # IBM XL 8.0, 9.0 on PPC and BlueGene
13602             lt_prog_compiler_wl_CXX='-Wl,'
13603             lt_prog_compiler_pic_CXX='-qpic'
13604             lt_prog_compiler_static_CXX='-qstaticlink'
13605             ;;
13606           *)
13607             case `$CC -V 2>&1 | sed 5q` in
13608             *Sun\ C*)
13609               # Sun C++ 5.9
13610               lt_prog_compiler_pic_CXX='-KPIC'
13611               lt_prog_compiler_static_CXX='-Bstatic'
13612               lt_prog_compiler_wl_CXX='-Qoption ld '
13613               ;;
13614             esac
13615             ;;
13616         esac
13617         ;;
13618       lynxos*)
13619         ;;
13620       m88k*)
13621         ;;
13622       mvs*)
13623         case $cc_basename in
13624           cxx*)
13625             lt_prog_compiler_pic_CXX='-W c,exportall'
13626             ;;
13627           *)
13628             ;;
13629         esac
13630         ;;
13631       netbsd*)
13632         ;;
13633       *qnx* | *nto*)
13634         # QNX uses GNU C++, but need to define -shared option too, otherwise
13635         # it will coredump.
13636         lt_prog_compiler_pic_CXX='-fPIC -shared'
13637         ;;
13638       osf3* | osf4* | osf5*)
13639         case $cc_basename in
13640           KCC*)
13641             lt_prog_compiler_wl_CXX='--backend -Wl,'
13642             ;;
13643           RCC*)
13644             # Rational C++ 2.4.1
13645             lt_prog_compiler_pic_CXX='-pic'
13646             ;;
13647           cxx*)
13648             # Digital/Compaq C++
13649             lt_prog_compiler_wl_CXX='-Wl,'
13650             # Make sure the PIC flag is empty.  It appears that all Alpha
13651             # Linux and Compaq Tru64 Unix objects are PIC.
13652             lt_prog_compiler_pic_CXX=
13653             lt_prog_compiler_static_CXX='-non_shared'
13654             ;;
13655           *)
13656             ;;
13657         esac
13658         ;;
13659       psos*)
13660         ;;
13661       solaris*)
13662         case $cc_basename in
13663           CC* | sunCC*)
13664             # Sun C++ 4.2, 5.x and Centerline C++
13665             lt_prog_compiler_pic_CXX='-KPIC'
13666             lt_prog_compiler_static_CXX='-Bstatic'
13667             lt_prog_compiler_wl_CXX='-Qoption ld '
13668             ;;
13669           gcx*)
13670             # Green Hills C++ Compiler
13671             lt_prog_compiler_pic_CXX='-PIC'
13672             ;;
13673           *)
13674             ;;
13675         esac
13676         ;;
13677       sunos4*)
13678         case $cc_basename in
13679           CC*)
13680             # Sun C++ 4.x
13681             lt_prog_compiler_pic_CXX='-pic'
13682             lt_prog_compiler_static_CXX='-Bstatic'
13683             ;;
13684           lcc*)
13685             # Lucid
13686             lt_prog_compiler_pic_CXX='-pic'
13687             ;;
13688           *)
13689             ;;
13690         esac
13691         ;;
13692       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13693         case $cc_basename in
13694           CC*)
13695             lt_prog_compiler_wl_CXX='-Wl,'
13696             lt_prog_compiler_pic_CXX='-KPIC'
13697             lt_prog_compiler_static_CXX='-Bstatic'
13698             ;;
13699         esac
13700         ;;
13701       tandem*)
13702         case $cc_basename in
13703           NCC*)
13704             # NonStop-UX NCC 3.20
13705             lt_prog_compiler_pic_CXX='-KPIC'
13706             ;;
13707           *)
13708             ;;
13709         esac
13710         ;;
13711       vxworks*)
13712         ;;
13713       *)
13714         lt_prog_compiler_can_build_shared_CXX=no
13715         ;;
13716     esac
13717   fi
13718
13719 case $host_os in
13720   # For platforms which do not support PIC, -DPIC is meaningless:
13721   *djgpp*)
13722     lt_prog_compiler_pic_CXX=
13723     ;;
13724   *)
13725     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13726     ;;
13727 esac
13728
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13730 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13731 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13732   $as_echo_n "(cached) " >&6
13733 else
13734   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13735 fi
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13737 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13738 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13739
13740 #
13741 # Check to make sure the PIC flag actually works.
13742 #
13743 if test -n "$lt_prog_compiler_pic_CXX"; then
13744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13745 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13746 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13747   $as_echo_n "(cached) " >&6
13748 else
13749   lt_cv_prog_compiler_pic_works_CXX=no
13750    ac_outfile=conftest.$ac_objext
13751    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13752    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13753    # Insert the option either (1) after the last *FLAGS variable, or
13754    # (2) before a word containing "conftest.", or (3) at the end.
13755    # Note that $ac_compile itself does not contain backslashes and begins
13756    # with a dollar sign (not a hyphen), so the echo should work correctly.
13757    # The option is referenced via a variable to avoid confusing sed.
13758    lt_compile=`echo "$ac_compile" | $SED \
13759    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13760    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13761    -e 's:$: $lt_compiler_flag:'`
13762    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13763    (eval "$lt_compile" 2>conftest.err)
13764    ac_status=$?
13765    cat conftest.err >&5
13766    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767    if (exit $ac_status) && test -s "$ac_outfile"; then
13768      # The compiler can only warn and ignore the option if not recognized
13769      # So say no if there are warnings other than the usual output.
13770      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13771      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13772      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13773        lt_cv_prog_compiler_pic_works_CXX=yes
13774      fi
13775    fi
13776    $RM conftest*
13777
13778 fi
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13780 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13781
13782 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13783     case $lt_prog_compiler_pic_CXX in
13784      "" | " "*) ;;
13785      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13786      esac
13787 else
13788     lt_prog_compiler_pic_CXX=
13789      lt_prog_compiler_can_build_shared_CXX=no
13790 fi
13791
13792 fi
13793
13794
13795
13796
13797
13798 #
13799 # Check to make sure the static flag actually works.
13800 #
13801 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13803 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13804 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13805   $as_echo_n "(cached) " >&6
13806 else
13807   lt_cv_prog_compiler_static_works_CXX=no
13808    save_LDFLAGS="$LDFLAGS"
13809    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13810    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13811    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13812      # The linker can only warn and ignore the option if not recognized
13813      # So say no if there are warnings
13814      if test -s conftest.err; then
13815        # Append any errors to the config.log.
13816        cat conftest.err 1>&5
13817        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13818        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13819        if diff conftest.exp conftest.er2 >/dev/null; then
13820          lt_cv_prog_compiler_static_works_CXX=yes
13821        fi
13822      else
13823        lt_cv_prog_compiler_static_works_CXX=yes
13824      fi
13825    fi
13826    $RM -r conftest*
13827    LDFLAGS="$save_LDFLAGS"
13828
13829 fi
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13831 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13832
13833 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13834     :
13835 else
13836     lt_prog_compiler_static_CXX=
13837 fi
13838
13839
13840
13841
13842     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13843 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13844 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13845   $as_echo_n "(cached) " >&6
13846 else
13847   lt_cv_prog_compiler_c_o_CXX=no
13848    $RM -r conftest 2>/dev/null
13849    mkdir conftest
13850    cd conftest
13851    mkdir out
13852    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13853
13854    lt_compiler_flag="-o out/conftest2.$ac_objext"
13855    # Insert the option either (1) after the last *FLAGS variable, or
13856    # (2) before a word containing "conftest.", or (3) at the end.
13857    # Note that $ac_compile itself does not contain backslashes and begins
13858    # with a dollar sign (not a hyphen), so the echo should work correctly.
13859    lt_compile=`echo "$ac_compile" | $SED \
13860    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13861    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13862    -e 's:$: $lt_compiler_flag:'`
13863    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13864    (eval "$lt_compile" 2>out/conftest.err)
13865    ac_status=$?
13866    cat out/conftest.err >&5
13867    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13869    then
13870      # The compiler can only warn and ignore the option if not recognized
13871      # So say no if there are warnings
13872      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13873      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13874      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13875        lt_cv_prog_compiler_c_o_CXX=yes
13876      fi
13877    fi
13878    chmod u+w . 2>&5
13879    $RM conftest*
13880    # SGI C++ compiler will create directory out/ii_files/ for
13881    # template instantiation
13882    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13883    $RM out/* && rmdir out
13884    cd ..
13885    $RM -r conftest
13886    $RM conftest*
13887
13888 fi
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13890 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13891
13892
13893
13894     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13895 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13896 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13897   $as_echo_n "(cached) " >&6
13898 else
13899   lt_cv_prog_compiler_c_o_CXX=no
13900    $RM -r conftest 2>/dev/null
13901    mkdir conftest
13902    cd conftest
13903    mkdir out
13904    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13905
13906    lt_compiler_flag="-o out/conftest2.$ac_objext"
13907    # Insert the option either (1) after the last *FLAGS variable, or
13908    # (2) before a word containing "conftest.", or (3) at the end.
13909    # Note that $ac_compile itself does not contain backslashes and begins
13910    # with a dollar sign (not a hyphen), so the echo should work correctly.
13911    lt_compile=`echo "$ac_compile" | $SED \
13912    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13913    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13914    -e 's:$: $lt_compiler_flag:'`
13915    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13916    (eval "$lt_compile" 2>out/conftest.err)
13917    ac_status=$?
13918    cat out/conftest.err >&5
13919    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13921    then
13922      # The compiler can only warn and ignore the option if not recognized
13923      # So say no if there are warnings
13924      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13925      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13926      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13927        lt_cv_prog_compiler_c_o_CXX=yes
13928      fi
13929    fi
13930    chmod u+w . 2>&5
13931    $RM conftest*
13932    # SGI C++ compiler will create directory out/ii_files/ for
13933    # template instantiation
13934    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13935    $RM out/* && rmdir out
13936    cd ..
13937    $RM -r conftest
13938    $RM conftest*
13939
13940 fi
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13942 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13943
13944
13945
13946
13947 hard_links="nottested"
13948 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13949   # do not overwrite the value of need_locks provided by the user
13950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13951 $as_echo_n "checking if we can lock with hard links... " >&6; }
13952   hard_links=yes
13953   $RM conftest*
13954   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13955   touch conftest.a
13956   ln conftest.a conftest.b 2>&5 || hard_links=no
13957   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13959 $as_echo "$hard_links" >&6; }
13960   if test "$hard_links" = no; then
13961     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13962 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13963     need_locks=warn
13964   fi
13965 else
13966   need_locks=no
13967 fi
13968
13969
13970
13971     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13972 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13973
13974   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13975   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13976   case $host_os in
13977   aix[4-9]*)
13978     # If we're using GNU nm, then we don't want the "-C" option.
13979     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13980     # Also, AIX nm treats weak defined symbols like other global defined
13981     # symbols, whereas GNU nm marks them as "W".
13982     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13983       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'
13984     else
13985       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'
13986     fi
13987     ;;
13988   pw32*)
13989     export_symbols_cmds_CXX="$ltdll_cmds"
13990     ;;
13991   cygwin* | mingw* | cegcc*)
13992     case $cc_basename in
13993     cl*)
13994       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13995       ;;
13996     *)
13997       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'
13998       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13999       ;;
14000     esac
14001     ;;
14002   *)
14003     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14004     ;;
14005   esac
14006
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14008 $as_echo "$ld_shlibs_CXX" >&6; }
14009 test "$ld_shlibs_CXX" = no && can_build_shared=no
14010
14011 with_gnu_ld_CXX=$with_gnu_ld
14012
14013
14014
14015
14016
14017
14018 #
14019 # Do we need to explicitly link libc?
14020 #
14021 case "x$archive_cmds_need_lc_CXX" in
14022 x|xyes)
14023   # Assume -lc should be added
14024   archive_cmds_need_lc_CXX=yes
14025
14026   if test "$enable_shared" = yes && test "$GCC" = yes; then
14027     case $archive_cmds_CXX in
14028     *'~'*)
14029       # FIXME: we may have to deal with multi-command sequences.
14030       ;;
14031     '$CC '*)
14032       # Test whether the compiler implicitly links with -lc since on some
14033       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14034       # to ld, don't add -lc before -lgcc.
14035       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14036 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14037 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14038   $as_echo_n "(cached) " >&6
14039 else
14040   $RM conftest*
14041         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14042
14043         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14044   (eval $ac_compile) 2>&5
14045   ac_status=$?
14046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14047   test $ac_status = 0; } 2>conftest.err; then
14048           soname=conftest
14049           lib=conftest
14050           libobjs=conftest.$ac_objext
14051           deplibs=
14052           wl=$lt_prog_compiler_wl_CXX
14053           pic_flag=$lt_prog_compiler_pic_CXX
14054           compiler_flags=-v
14055           linker_flags=-v
14056           verstring=
14057           output_objdir=.
14058           libname=conftest
14059           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14060           allow_undefined_flag_CXX=
14061           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14062   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14063   ac_status=$?
14064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14065   test $ac_status = 0; }
14066           then
14067             lt_cv_archive_cmds_need_lc_CXX=no
14068           else
14069             lt_cv_archive_cmds_need_lc_CXX=yes
14070           fi
14071           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14072         else
14073           cat conftest.err 1>&5
14074         fi
14075         $RM conftest*
14076
14077 fi
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14079 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14080       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14081       ;;
14082     esac
14083   fi
14084   ;;
14085 esac
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14149 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14150
14151 library_names_spec=
14152 libname_spec='lib$name'
14153 soname_spec=
14154 shrext_cmds=".so"
14155 postinstall_cmds=
14156 postuninstall_cmds=
14157 finish_cmds=
14158 finish_eval=
14159 shlibpath_var=
14160 shlibpath_overrides_runpath=unknown
14161 version_type=none
14162 dynamic_linker="$host_os ld.so"
14163 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14164 need_lib_prefix=unknown
14165 hardcode_into_libs=no
14166
14167 # when you set need_version to no, make sure it does not cause -set_version
14168 # flags to be left without arguments
14169 need_version=unknown
14170
14171 case $host_os in
14172 aix3*)
14173   version_type=linux # correct to gnu/linux during the next big refactor
14174   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14175   shlibpath_var=LIBPATH
14176
14177   # AIX 3 has no versioning support, so we append a major version to the name.
14178   soname_spec='${libname}${release}${shared_ext}$major'
14179   ;;
14180
14181 aix[4-9]*)
14182   version_type=linux # correct to gnu/linux during the next big refactor
14183   need_lib_prefix=no
14184   need_version=no
14185   hardcode_into_libs=yes
14186   if test "$host_cpu" = ia64; then
14187     # AIX 5 supports IA64
14188     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14189     shlibpath_var=LD_LIBRARY_PATH
14190   else
14191     # With GCC up to 2.95.x, collect2 would create an import file
14192     # for dependence libraries.  The import file would start with
14193     # the line `#! .'.  This would cause the generated library to
14194     # depend on `.', always an invalid library.  This was fixed in
14195     # development snapshots of GCC prior to 3.0.
14196     case $host_os in
14197       aix4 | aix4.[01] | aix4.[01].*)
14198       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14199            echo ' yes '
14200            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14201         :
14202       else
14203         can_build_shared=no
14204       fi
14205       ;;
14206     esac
14207     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14208     # soname into executable. Probably we can add versioning support to
14209     # collect2, so additional links can be useful in future.
14210     if test "$aix_use_runtimelinking" = yes; then
14211       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14212       # instead of lib<name>.a to let people know that these are not
14213       # typical AIX shared libraries.
14214       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14215     else
14216       # We preserve .a as extension for shared libraries through AIX4.2
14217       # and later when we are not doing run time linking.
14218       library_names_spec='${libname}${release}.a $libname.a'
14219       soname_spec='${libname}${release}${shared_ext}$major'
14220     fi
14221     shlibpath_var=LIBPATH
14222   fi
14223   ;;
14224
14225 amigaos*)
14226   case $host_cpu in
14227   powerpc)
14228     # Since July 2007 AmigaOS4 officially supports .so libraries.
14229     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14230     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14231     ;;
14232   m68k)
14233     library_names_spec='$libname.ixlibrary $libname.a'
14234     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14235     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'
14236     ;;
14237   esac
14238   ;;
14239
14240 beos*)
14241   library_names_spec='${libname}${shared_ext}'
14242   dynamic_linker="$host_os ld.so"
14243   shlibpath_var=LIBRARY_PATH
14244   ;;
14245
14246 bsdi[45]*)
14247   version_type=linux # correct to gnu/linux during the next big refactor
14248   need_version=no
14249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14250   soname_spec='${libname}${release}${shared_ext}$major'
14251   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14252   shlibpath_var=LD_LIBRARY_PATH
14253   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14254   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14255   # the default ld.so.conf also contains /usr/contrib/lib and
14256   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14257   # libtool to hard-code these into programs
14258   ;;
14259
14260 cygwin* | mingw* | pw32* | cegcc*)
14261   version_type=windows
14262   shrext_cmds=".dll"
14263   need_version=no
14264   need_lib_prefix=no
14265
14266   case $GCC,$cc_basename in
14267   yes,*)
14268     # gcc
14269     library_names_spec='$libname.dll.a'
14270     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14271     postinstall_cmds='base_file=`basename \${file}`~
14272       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14273       dldir=$destdir/`dirname \$dlpath`~
14274       test -d \$dldir || mkdir -p \$dldir~
14275       $install_prog $dir/$dlname \$dldir/$dlname~
14276       chmod a+x \$dldir/$dlname~
14277       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14278         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14279       fi'
14280     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14281       dlpath=$dir/\$dldll~
14282        $RM \$dlpath'
14283     shlibpath_overrides_runpath=yes
14284
14285     case $host_os in
14286     cygwin*)
14287       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14288       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14289
14290       ;;
14291     mingw* | cegcc*)
14292       # MinGW DLLs use traditional 'lib' prefix
14293       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14294       ;;
14295     pw32*)
14296       # pw32 DLLs use 'pw' prefix rather than 'lib'
14297       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14298       ;;
14299     esac
14300     dynamic_linker='Win32 ld.exe'
14301     ;;
14302
14303   *,cl*)
14304     # Native MSVC
14305     libname_spec='$name'
14306     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14307     library_names_spec='${libname}.dll.lib'
14308
14309     case $build_os in
14310     mingw*)
14311       sys_lib_search_path_spec=
14312       lt_save_ifs=$IFS
14313       IFS=';'
14314       for lt_path in $LIB
14315       do
14316         IFS=$lt_save_ifs
14317         # Let DOS variable expansion print the short 8.3 style file name.
14318         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14319         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14320       done
14321       IFS=$lt_save_ifs
14322       # Convert to MSYS style.
14323       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14324       ;;
14325     cygwin*)
14326       # Convert to unix form, then to dos form, then back to unix form
14327       # but this time dos style (no spaces!) so that the unix form looks
14328       # like /cygdrive/c/PROGRA~1:/cygdr...
14329       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14330       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14331       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14332       ;;
14333     *)
14334       sys_lib_search_path_spec="$LIB"
14335       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14336         # It is most probably a Windows format PATH.
14337         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14338       else
14339         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14340       fi
14341       # FIXME: find the short name or the path components, as spaces are
14342       # common. (e.g. "Program Files" -> "PROGRA~1")
14343       ;;
14344     esac
14345
14346     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14347     postinstall_cmds='base_file=`basename \${file}`~
14348       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14349       dldir=$destdir/`dirname \$dlpath`~
14350       test -d \$dldir || mkdir -p \$dldir~
14351       $install_prog $dir/$dlname \$dldir/$dlname'
14352     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14353       dlpath=$dir/\$dldll~
14354        $RM \$dlpath'
14355     shlibpath_overrides_runpath=yes
14356     dynamic_linker='Win32 link.exe'
14357     ;;
14358
14359   *)
14360     # Assume MSVC wrapper
14361     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14362     dynamic_linker='Win32 ld.exe'
14363     ;;
14364   esac
14365   # FIXME: first we should search . and the directory the executable is in
14366   shlibpath_var=PATH
14367   ;;
14368
14369 darwin* | rhapsody*)
14370   dynamic_linker="$host_os dyld"
14371   version_type=darwin
14372   need_lib_prefix=no
14373   need_version=no
14374   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14375   soname_spec='${libname}${release}${major}$shared_ext'
14376   shlibpath_overrides_runpath=yes
14377   shlibpath_var=DYLD_LIBRARY_PATH
14378   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14379
14380   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14381   ;;
14382
14383 dgux*)
14384   version_type=linux # correct to gnu/linux during the next big refactor
14385   need_lib_prefix=no
14386   need_version=no
14387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14388   soname_spec='${libname}${release}${shared_ext}$major'
14389   shlibpath_var=LD_LIBRARY_PATH
14390   ;;
14391
14392 freebsd* | dragonfly*)
14393   # DragonFly does not have aout.  When/if they implement a new
14394   # versioning mechanism, adjust this.
14395   if test -x /usr/bin/objformat; then
14396     objformat=`/usr/bin/objformat`
14397   else
14398     case $host_os in
14399     freebsd[23].*) objformat=aout ;;
14400     *) objformat=elf ;;
14401     esac
14402   fi
14403   version_type=freebsd-$objformat
14404   case $version_type in
14405     freebsd-elf*)
14406       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14407       need_version=no
14408       need_lib_prefix=no
14409       ;;
14410     freebsd-*)
14411       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14412       need_version=yes
14413       ;;
14414   esac
14415   shlibpath_var=LD_LIBRARY_PATH
14416   case $host_os in
14417   freebsd2.*)
14418     shlibpath_overrides_runpath=yes
14419     ;;
14420   freebsd3.[01]* | freebsdelf3.[01]*)
14421     shlibpath_overrides_runpath=yes
14422     hardcode_into_libs=yes
14423     ;;
14424   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14425   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14426     shlibpath_overrides_runpath=no
14427     hardcode_into_libs=yes
14428     ;;
14429   *) # from 4.6 on, and DragonFly
14430     shlibpath_overrides_runpath=yes
14431     hardcode_into_libs=yes
14432     ;;
14433   esac
14434   ;;
14435
14436 gnu*)
14437   version_type=linux # correct to gnu/linux during the next big refactor
14438   need_lib_prefix=no
14439   need_version=no
14440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14441   soname_spec='${libname}${release}${shared_ext}$major'
14442   shlibpath_var=LD_LIBRARY_PATH
14443   shlibpath_overrides_runpath=no
14444   hardcode_into_libs=yes
14445   ;;
14446
14447 haiku*)
14448   version_type=linux # correct to gnu/linux during the next big refactor
14449   need_lib_prefix=no
14450   need_version=no
14451   dynamic_linker="$host_os runtime_loader"
14452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453   soname_spec='${libname}${release}${shared_ext}$major'
14454   shlibpath_var=LIBRARY_PATH
14455   shlibpath_overrides_runpath=yes
14456   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14457   hardcode_into_libs=yes
14458   ;;
14459
14460 hpux9* | hpux10* | hpux11*)
14461   # Give a soname corresponding to the major version so that dld.sl refuses to
14462   # link against other versions.
14463   version_type=sunos
14464   need_lib_prefix=no
14465   need_version=no
14466   case $host_cpu in
14467   ia64*)
14468     shrext_cmds='.so'
14469     hardcode_into_libs=yes
14470     dynamic_linker="$host_os dld.so"
14471     shlibpath_var=LD_LIBRARY_PATH
14472     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14474     soname_spec='${libname}${release}${shared_ext}$major'
14475     if test "X$HPUX_IA64_MODE" = X32; then
14476       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14477     else
14478       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14479     fi
14480     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14481     ;;
14482   hppa*64*)
14483     shrext_cmds='.sl'
14484     hardcode_into_libs=yes
14485     dynamic_linker="$host_os dld.sl"
14486     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14487     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14488     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14489     soname_spec='${libname}${release}${shared_ext}$major'
14490     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14491     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14492     ;;
14493   *)
14494     shrext_cmds='.sl'
14495     dynamic_linker="$host_os dld.sl"
14496     shlibpath_var=SHLIB_PATH
14497     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14498     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499     soname_spec='${libname}${release}${shared_ext}$major'
14500     ;;
14501   esac
14502   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14503   postinstall_cmds='chmod 555 $lib'
14504   # or fails outright, so override atomically:
14505   install_override_mode=555
14506   ;;
14507
14508 interix[3-9]*)
14509   version_type=linux # correct to gnu/linux during the next big refactor
14510   need_lib_prefix=no
14511   need_version=no
14512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14513   soname_spec='${libname}${release}${shared_ext}$major'
14514   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14515   shlibpath_var=LD_LIBRARY_PATH
14516   shlibpath_overrides_runpath=no
14517   hardcode_into_libs=yes
14518   ;;
14519
14520 irix5* | irix6* | nonstopux*)
14521   case $host_os in
14522     nonstopux*) version_type=nonstopux ;;
14523     *)
14524         if test "$lt_cv_prog_gnu_ld" = yes; then
14525                 version_type=linux # correct to gnu/linux during the next big refactor
14526         else
14527                 version_type=irix
14528         fi ;;
14529   esac
14530   need_lib_prefix=no
14531   need_version=no
14532   soname_spec='${libname}${release}${shared_ext}$major'
14533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14534   case $host_os in
14535   irix5* | nonstopux*)
14536     libsuff= shlibsuff=
14537     ;;
14538   *)
14539     case $LD in # libtool.m4 will add one of these switches to LD
14540     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14541       libsuff= shlibsuff= libmagic=32-bit;;
14542     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14543       libsuff=32 shlibsuff=N32 libmagic=N32;;
14544     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14545       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14546     *) libsuff= shlibsuff= libmagic=never-match;;
14547     esac
14548     ;;
14549   esac
14550   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14551   shlibpath_overrides_runpath=no
14552   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14553   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14554   hardcode_into_libs=yes
14555   ;;
14556
14557 # No shared lib support for Linux oldld, aout, or coff.
14558 linux*oldld* | linux*aout* | linux*coff*)
14559   dynamic_linker=no
14560   ;;
14561
14562 # This must be glibc/ELF.
14563 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14564   version_type=linux # correct to gnu/linux during the next big refactor
14565   need_lib_prefix=no
14566   need_version=no
14567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14568   soname_spec='${libname}${release}${shared_ext}$major'
14569   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14570   shlibpath_var=LD_LIBRARY_PATH
14571   shlibpath_overrides_runpath=no
14572
14573   # Some binutils ld are patched to set DT_RUNPATH
14574   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14575   $as_echo_n "(cached) " >&6
14576 else
14577   lt_cv_shlibpath_overrides_runpath=no
14578     save_LDFLAGS=$LDFLAGS
14579     save_libdir=$libdir
14580     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14581          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14582     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h.  */
14584
14585 int
14586 main ()
14587 {
14588
14589   ;
14590   return 0;
14591 }
14592 _ACEOF
14593 if ac_fn_cxx_try_link "$LINENO"; then :
14594   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14595   lt_cv_shlibpath_overrides_runpath=yes
14596 fi
14597 fi
14598 rm -f core conftest.err conftest.$ac_objext \
14599     conftest$ac_exeext conftest.$ac_ext
14600     LDFLAGS=$save_LDFLAGS
14601     libdir=$save_libdir
14602
14603 fi
14604
14605   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14606
14607   # This implies no fast_install, which is unacceptable.
14608   # Some rework will be needed to allow for fast_install
14609   # before this can be enabled.
14610   hardcode_into_libs=yes
14611
14612   # Append ld.so.conf contents to the search path
14613   if test -f /etc/ld.so.conf; then
14614     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' ' '`
14615     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14616   fi
14617
14618   # We used to test for /lib/ld.so.1 and disable shared libraries on
14619   # powerpc, because MkLinux only supported shared libraries with the
14620   # GNU dynamic linker.  Since this was broken with cross compilers,
14621   # most powerpc-linux boxes support dynamic linking these days and
14622   # people can always --disable-shared, the test was removed, and we
14623   # assume the GNU/Linux dynamic linker is in use.
14624   dynamic_linker='GNU/Linux ld.so'
14625   ;;
14626
14627 netbsd*)
14628   version_type=sunos
14629   need_lib_prefix=no
14630   need_version=no
14631   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14632     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14633     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14634     dynamic_linker='NetBSD (a.out) ld.so'
14635   else
14636     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14637     soname_spec='${libname}${release}${shared_ext}$major'
14638     dynamic_linker='NetBSD ld.elf_so'
14639   fi
14640   shlibpath_var=LD_LIBRARY_PATH
14641   shlibpath_overrides_runpath=yes
14642   hardcode_into_libs=yes
14643   ;;
14644
14645 newsos6)
14646   version_type=linux # correct to gnu/linux during the next big refactor
14647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14648   shlibpath_var=LD_LIBRARY_PATH
14649   shlibpath_overrides_runpath=yes
14650   ;;
14651
14652 *nto* | *qnx*)
14653   version_type=qnx
14654   need_lib_prefix=no
14655   need_version=no
14656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14657   soname_spec='${libname}${release}${shared_ext}$major'
14658   shlibpath_var=LD_LIBRARY_PATH
14659   shlibpath_overrides_runpath=no
14660   hardcode_into_libs=yes
14661   dynamic_linker='ldqnx.so'
14662   ;;
14663
14664 openbsd*)
14665   version_type=sunos
14666   sys_lib_dlsearch_path_spec="/usr/lib"
14667   need_lib_prefix=no
14668   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14669   case $host_os in
14670     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14671     *)                          need_version=no  ;;
14672   esac
14673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14674   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14675   shlibpath_var=LD_LIBRARY_PATH
14676   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14677     case $host_os in
14678       openbsd2.[89] | openbsd2.[89].*)
14679         shlibpath_overrides_runpath=no
14680         ;;
14681       *)
14682         shlibpath_overrides_runpath=yes
14683         ;;
14684       esac
14685   else
14686     shlibpath_overrides_runpath=yes
14687   fi
14688   ;;
14689
14690 os2*)
14691   libname_spec='$name'
14692   shrext_cmds=".dll"
14693   need_lib_prefix=no
14694   library_names_spec='$libname${shared_ext} $libname.a'
14695   dynamic_linker='OS/2 ld.exe'
14696   shlibpath_var=LIBPATH
14697   ;;
14698
14699 osf3* | osf4* | osf5*)
14700   version_type=osf
14701   need_lib_prefix=no
14702   need_version=no
14703   soname_spec='${libname}${release}${shared_ext}$major'
14704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14705   shlibpath_var=LD_LIBRARY_PATH
14706   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14707   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14708   ;;
14709
14710 rdos*)
14711   dynamic_linker=no
14712   ;;
14713
14714 solaris*)
14715   version_type=linux # correct to gnu/linux during the next big refactor
14716   need_lib_prefix=no
14717   need_version=no
14718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719   soname_spec='${libname}${release}${shared_ext}$major'
14720   shlibpath_var=LD_LIBRARY_PATH
14721   shlibpath_overrides_runpath=yes
14722   hardcode_into_libs=yes
14723   # ldd complains unless libraries are executable
14724   postinstall_cmds='chmod +x $lib'
14725   ;;
14726
14727 sunos4*)
14728   version_type=sunos
14729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14730   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14731   shlibpath_var=LD_LIBRARY_PATH
14732   shlibpath_overrides_runpath=yes
14733   if test "$with_gnu_ld" = yes; then
14734     need_lib_prefix=no
14735   fi
14736   need_version=yes
14737   ;;
14738
14739 sysv4 | sysv4.3*)
14740   version_type=linux # correct to gnu/linux during the next big refactor
14741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14742   soname_spec='${libname}${release}${shared_ext}$major'
14743   shlibpath_var=LD_LIBRARY_PATH
14744   case $host_vendor in
14745     sni)
14746       shlibpath_overrides_runpath=no
14747       need_lib_prefix=no
14748       runpath_var=LD_RUN_PATH
14749       ;;
14750     siemens)
14751       need_lib_prefix=no
14752       ;;
14753     motorola)
14754       need_lib_prefix=no
14755       need_version=no
14756       shlibpath_overrides_runpath=no
14757       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14758       ;;
14759   esac
14760   ;;
14761
14762 sysv4*MP*)
14763   if test -d /usr/nec ;then
14764     version_type=linux # correct to gnu/linux during the next big refactor
14765     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14766     soname_spec='$libname${shared_ext}.$major'
14767     shlibpath_var=LD_LIBRARY_PATH
14768   fi
14769   ;;
14770
14771 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14772   version_type=freebsd-elf
14773   need_lib_prefix=no
14774   need_version=no
14775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14776   soname_spec='${libname}${release}${shared_ext}$major'
14777   shlibpath_var=LD_LIBRARY_PATH
14778   shlibpath_overrides_runpath=yes
14779   hardcode_into_libs=yes
14780   if test "$with_gnu_ld" = yes; then
14781     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14782   else
14783     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14784     case $host_os in
14785       sco3.2v5*)
14786         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14787         ;;
14788     esac
14789   fi
14790   sys_lib_dlsearch_path_spec='/usr/lib'
14791   ;;
14792
14793 tpf*)
14794   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14795   version_type=linux # correct to gnu/linux during the next big refactor
14796   need_lib_prefix=no
14797   need_version=no
14798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14799   shlibpath_var=LD_LIBRARY_PATH
14800   shlibpath_overrides_runpath=no
14801   hardcode_into_libs=yes
14802   ;;
14803
14804 uts4*)
14805   version_type=linux # correct to gnu/linux during the next big refactor
14806   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14807   soname_spec='${libname}${release}${shared_ext}$major'
14808   shlibpath_var=LD_LIBRARY_PATH
14809   ;;
14810
14811 *)
14812   dynamic_linker=no
14813   ;;
14814 esac
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14816 $as_echo "$dynamic_linker" >&6; }
14817 test "$dynamic_linker" = no && can_build_shared=no
14818
14819 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14820 if test "$GCC" = yes; then
14821   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14822 fi
14823
14824 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14825   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14826 fi
14827 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14828   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14829 fi
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14869 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14870 hardcode_action_CXX=
14871 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14872    test -n "$runpath_var_CXX" ||
14873    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14874
14875   # We can hardcode non-existent directories.
14876   if test "$hardcode_direct_CXX" != no &&
14877      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14878      # have to relink, otherwise we might link with an installed library
14879      # when we should be linking with a yet-to-be-installed one
14880      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14881      test "$hardcode_minus_L_CXX" != no; then
14882     # Linking always hardcodes the temporary library directory.
14883     hardcode_action_CXX=relink
14884   else
14885     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14886     hardcode_action_CXX=immediate
14887   fi
14888 else
14889   # We cannot hardcode anything, or else we can only hardcode existing
14890   # directories.
14891   hardcode_action_CXX=unsupported
14892 fi
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14894 $as_echo "$hardcode_action_CXX" >&6; }
14895
14896 if test "$hardcode_action_CXX" = relink ||
14897    test "$inherit_rpath_CXX" = yes; then
14898   # Fast installation is not supported
14899   enable_fast_install=no
14900 elif test "$shlibpath_overrides_runpath" = yes ||
14901      test "$enable_shared" = no; then
14902   # Fast installation is not necessary
14903   enable_fast_install=needless
14904 fi
14905
14906
14907
14908
14909
14910
14911
14912   fi # test -n "$compiler"
14913
14914   CC=$lt_save_CC
14915   CFLAGS=$lt_save_CFLAGS
14916   LDCXX=$LD
14917   LD=$lt_save_LD
14918   GCC=$lt_save_GCC
14919   with_gnu_ld=$lt_save_with_gnu_ld
14920   lt_cv_path_LDCXX=$lt_cv_path_LD
14921   lt_cv_path_LD=$lt_save_path_LD
14922   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14923   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14924 fi # test "$_lt_caught_CXX_error" != yes
14925
14926 ac_ext=c
14927 ac_cpp='$CPP $CPPFLAGS'
14928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946         ac_config_commands="$ac_config_commands libtool"
14947
14948
14949
14950
14951 # Only expand once:
14952
14953
14954
14955 if test -n "$ac_tool_prefix"; then
14956   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14959 $as_echo_n "checking for $ac_word... " >&6; }
14960 if ${ac_cv_prog_RANLIB+:} false; then :
14961   $as_echo_n "(cached) " >&6
14962 else
14963   if test -n "$RANLIB"; then
14964   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14965 else
14966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14967 for as_dir in $PATH
14968 do
14969   IFS=$as_save_IFS
14970   test -z "$as_dir" && as_dir=.
14971     for ac_exec_ext in '' $ac_executable_extensions; do
14972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14973     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14975     break 2
14976   fi
14977 done
14978   done
14979 IFS=$as_save_IFS
14980
14981 fi
14982 fi
14983 RANLIB=$ac_cv_prog_RANLIB
14984 if test -n "$RANLIB"; then
14985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
14986 $as_echo "$RANLIB" >&6; }
14987 else
14988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14989 $as_echo "no" >&6; }
14990 fi
14991
14992
14993 fi
14994 if test -z "$ac_cv_prog_RANLIB"; then
14995   ac_ct_RANLIB=$RANLIB
14996   # Extract the first word of "ranlib", so it can be a program name with args.
14997 set dummy ranlib; ac_word=$2
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14999 $as_echo_n "checking for $ac_word... " >&6; }
15000 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
15001   $as_echo_n "(cached) " >&6
15002 else
15003   if test -n "$ac_ct_RANLIB"; then
15004   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15005 else
15006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15007 for as_dir in $PATH
15008 do
15009   IFS=$as_save_IFS
15010   test -z "$as_dir" && as_dir=.
15011     for ac_exec_ext in '' $ac_executable_extensions; do
15012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15013     ac_cv_prog_ac_ct_RANLIB="ranlib"
15014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15015     break 2
15016   fi
15017 done
15018   done
15019 IFS=$as_save_IFS
15020
15021 fi
15022 fi
15023 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15024 if test -n "$ac_ct_RANLIB"; then
15025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
15026 $as_echo "$ac_ct_RANLIB" >&6; }
15027 else
15028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029 $as_echo "no" >&6; }
15030 fi
15031
15032   if test "x$ac_ct_RANLIB" = x; then
15033     RANLIB=":"
15034   else
15035     case $cross_compiling:$ac_tool_warned in
15036 yes:)
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15039 ac_tool_warned=yes ;;
15040 esac
15041     RANLIB=$ac_ct_RANLIB
15042   fi
15043 else
15044   RANLIB="$ac_cv_prog_RANLIB"
15045 fi
15046
15047
15048 # Check whether --enable-largefile was given.
15049 if test "${enable_largefile+set}" = set; then :
15050   enableval=$enable_largefile;
15051 fi
15052
15053 if test "$enable_largefile" != no; then
15054
15055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15056 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15057 if ${ac_cv_sys_largefile_CC+:} false; then :
15058   $as_echo_n "(cached) " >&6
15059 else
15060   ac_cv_sys_largefile_CC=no
15061      if test "$GCC" != yes; then
15062        ac_save_CC=$CC
15063        while :; do
15064          # IRIX 6.2 and later do not support large files by default,
15065          # so use the C compiler's -n32 option if that helps.
15066          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h.  */
15068 #include <sys/types.h>
15069  /* Check that off_t can represent 2**63 - 1 correctly.
15070     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15071     since some C++ compilers masquerading as C compilers
15072     incorrectly reject 9223372036854775807.  */
15073 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15074   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15075                        && LARGE_OFF_T % 2147483647 == 1)
15076                       ? 1 : -1];
15077 int
15078 main ()
15079 {
15080
15081   ;
15082   return 0;
15083 }
15084 _ACEOF
15085          if ac_fn_c_try_compile "$LINENO"; then :
15086   break
15087 fi
15088 rm -f core conftest.err conftest.$ac_objext
15089          CC="$CC -n32"
15090          if ac_fn_c_try_compile "$LINENO"; then :
15091   ac_cv_sys_largefile_CC=' -n32'; break
15092 fi
15093 rm -f core conftest.err conftest.$ac_objext
15094          break
15095        done
15096        CC=$ac_save_CC
15097        rm -f conftest.$ac_ext
15098     fi
15099 fi
15100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15101 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15102   if test "$ac_cv_sys_largefile_CC" != no; then
15103     CC=$CC$ac_cv_sys_largefile_CC
15104   fi
15105
15106   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15107 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15108 if ${ac_cv_sys_file_offset_bits+:} false; then :
15109   $as_echo_n "(cached) " >&6
15110 else
15111   while :; do
15112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h.  */
15114 #include <sys/types.h>
15115  /* Check that off_t can represent 2**63 - 1 correctly.
15116     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15117     since some C++ compilers masquerading as C compilers
15118     incorrectly reject 9223372036854775807.  */
15119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15120   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15121                        && LARGE_OFF_T % 2147483647 == 1)
15122                       ? 1 : -1];
15123 int
15124 main ()
15125 {
15126
15127   ;
15128   return 0;
15129 }
15130 _ACEOF
15131 if ac_fn_c_try_compile "$LINENO"; then :
15132   ac_cv_sys_file_offset_bits=no; break
15133 fi
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h.  */
15137 #define _FILE_OFFSET_BITS 64
15138 #include <sys/types.h>
15139  /* Check that off_t can represent 2**63 - 1 correctly.
15140     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15141     since some C++ compilers masquerading as C compilers
15142     incorrectly reject 9223372036854775807.  */
15143 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15144   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15145                        && LARGE_OFF_T % 2147483647 == 1)
15146                       ? 1 : -1];
15147 int
15148 main ()
15149 {
15150
15151   ;
15152   return 0;
15153 }
15154 _ACEOF
15155 if ac_fn_c_try_compile "$LINENO"; then :
15156   ac_cv_sys_file_offset_bits=64; break
15157 fi
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159   ac_cv_sys_file_offset_bits=unknown
15160   break
15161 done
15162 fi
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15164 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15165 case $ac_cv_sys_file_offset_bits in #(
15166   no | unknown) ;;
15167   *)
15168 cat >>confdefs.h <<_ACEOF
15169 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15170 _ACEOF
15171 ;;
15172 esac
15173 rm -rf conftest*
15174   if test $ac_cv_sys_file_offset_bits = unknown; then
15175     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15176 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15177 if ${ac_cv_sys_large_files+:} false; then :
15178   $as_echo_n "(cached) " >&6
15179 else
15180   while :; do
15181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h.  */
15183 #include <sys/types.h>
15184  /* Check that off_t can represent 2**63 - 1 correctly.
15185     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15186     since some C++ compilers masquerading as C compilers
15187     incorrectly reject 9223372036854775807.  */
15188 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15189   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15190                        && LARGE_OFF_T % 2147483647 == 1)
15191                       ? 1 : -1];
15192 int
15193 main ()
15194 {
15195
15196   ;
15197   return 0;
15198 }
15199 _ACEOF
15200 if ac_fn_c_try_compile "$LINENO"; then :
15201   ac_cv_sys_large_files=no; break
15202 fi
15203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15205 /* end confdefs.h.  */
15206 #define _LARGE_FILES 1
15207 #include <sys/types.h>
15208  /* Check that off_t can represent 2**63 - 1 correctly.
15209     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15210     since some C++ compilers masquerading as C compilers
15211     incorrectly reject 9223372036854775807.  */
15212 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15213   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15214                        && LARGE_OFF_T % 2147483647 == 1)
15215                       ? 1 : -1];
15216 int
15217 main ()
15218 {
15219
15220   ;
15221   return 0;
15222 }
15223 _ACEOF
15224 if ac_fn_c_try_compile "$LINENO"; then :
15225   ac_cv_sys_large_files=1; break
15226 fi
15227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15228   ac_cv_sys_large_files=unknown
15229   break
15230 done
15231 fi
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15233 $as_echo "$ac_cv_sys_large_files" >&6; }
15234 case $ac_cv_sys_large_files in #(
15235   no | unknown) ;;
15236   *)
15237 cat >>confdefs.h <<_ACEOF
15238 #define _LARGE_FILES $ac_cv_sys_large_files
15239 _ACEOF
15240 ;;
15241 esac
15242 rm -rf conftest*
15243   fi
15244 fi
15245
15246 if test "$ac_cv_sys_largefile_CC" != no; then
15247    CXX=$CXX$ac_cv_sys_largefile_CC
15248 fi
15249
15250
15251
15252 # Check whether --with-openssl was given.
15253 if test "${with_openssl+set}" = set; then :
15254   withval=$with_openssl;
15255         if test "$withval" = "yes"; then
15256             if test -d /var/local/ssl/include ; then
15257                 openssl_prefix=/var/local/ssl
15258             elif test -d /var/local/include/openssl ; then
15259                 openssl_prefix=/var/local
15260             elif test -d /usr/local/ssl/include ; then
15261                 openssl_prefix=/usr/local/ssl
15262             elif test -d /usr/lib/ssl/include ; then
15263                 openssl_prefix=/usr/lib/ssl
15264             elif test -d /usr/include/openssl ; then
15265                 openssl_prefix=/usr
15266             else
15267                 openssl_prefix=""
15268             fi
15269             openssl_requested="yes"
15270         elif test -d "$withval"; then
15271             openssl_prefix="$withval"
15272             openssl_requested="yes"
15273         else
15274             openssl_prefix=""
15275             openssl_requested="no"
15276         fi
15277
15278 else
15279
15280                 if test -d /var/local/ssl/include ; then
15281             openssl_prefix=/var/local/ssl
15282         elif test -d /var/local/include/openssl ; then
15283             openssl_prefix=/var/local
15284         elif test -d /usr/local/ssl/include ; then
15285             openssl_prefix=/usr/local/ssl
15286         elif test -d /usr/lib/ssl/include ; then
15287             openssl_prefix=/usr/lib/ssl
15288         elif test -d /usr/include/openssl ; then
15289             openssl_prefix=/usr
15290         else
15291             openssl_prefix=""
15292         fi
15293
15294
15295 fi
15296
15297
15298     OPENSSL_CPPFLAGS=""
15299     OPENSSL_LDFLAGS=""
15300     OPENSSL_VERSION=""
15301
15302                 run_openssl_test="no"
15303
15304     if test -n "$openssl_prefix"; then
15305         openssl_include_dir="$openssl_prefix/include"
15306         openssl_ldflags="-L$openssl_prefix/lib64 -L$openssl_prefix/lib"
15307         run_openssl_test="yes"
15308     elif test "$openssl_requested" = "yes"; then
15309         if test -n "$openssl_include_dir" -a -n "$openssl_lib_flags"; then
15310             run_openssl_test="yes"
15311         fi
15312     else
15313         run_openssl_test="no"
15314     fi
15315
15316     openssl_libs="-lssl -lcrypto"
15317
15318                 if test "$run_openssl_test" = "yes"; then
15319
15320         saved_CPPFLAGS="$CPPFLAGS"
15321         CPPFLAGS="$CPPFLAGS -I$openssl_include_dir"
15322
15323         saved_LDFLAGS="$LDFLAGS"
15324         LDFLAGS="$LDFLAGS $openssl_ldflags"
15325
15326         saved_LIBS="$LIBS"
15327         LIBS="$openssl_libs $LIBS"
15328
15329                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL headers in $openssl_include_dir" >&5
15330 $as_echo_n "checking for OpenSSL headers in $openssl_include_dir... " >&6; }
15331
15332         ac_ext=c
15333 ac_cpp='$CPP $CPPFLAGS'
15334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15337
15338         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15339 /* end confdefs.h.  */
15340
15341
15342 #include <openssl/opensslv.h>
15343 #include <openssl/ssl.h>
15344 #include <openssl/crypto.h>
15345
15346 int
15347 main ()
15348 {
15349
15350
15351   ;
15352   return 0;
15353 }
15354 _ACEOF
15355 if ac_fn_c_try_compile "$LINENO"; then :
15356
15357             OPENSSL_CPPFLAGS="-I$openssl_include_dir"
15358             openssl_header_found="yes"
15359             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15360 $as_echo "found" >&6; }
15361
15362 else
15363
15364             openssl_header_found="no"
15365             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15366 $as_echo "not found" >&6; }
15367
15368
15369 fi
15370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371         ac_ext=c
15372 ac_cpp='$CPP $CPPFLAGS'
15373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15376
15377
15378                                 if test "$openssl_header_found" = "yes"; then
15379
15380             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL libraries" >&5
15381 $as_echo_n "checking for OpenSSL libraries... " >&6; }
15382
15383             ac_ext=c
15384 ac_cpp='$CPP $CPPFLAGS'
15385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15388
15389             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15390 /* end confdefs.h.  */
15391
15392
15393 #include <openssl/opensslv.h>
15394 #include <openssl/ssl.h>
15395 #include <openssl/crypto.h>
15396 #if (OPENSSL_VERSION_NUMBER < 0x0090700f)
15397 #endif
15398
15399 int
15400 main ()
15401 {
15402
15403 SSL_library_init();
15404 SSLeay();
15405
15406
15407   ;
15408   return 0;
15409 }
15410 _ACEOF
15411 if ac_fn_c_try_link "$LINENO"; then :
15412
15413                 OPENSSL_LDFLAGS="$openssl_ldflags"
15414                 OPENSSL_LIBS="$openssl_libs"
15415                 openssl_lib_found="yes"
15416                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15417 $as_echo "found" >&6; }
15418
15419 else
15420
15421                 openssl_lib_found="no"
15422                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15423 $as_echo "not found" >&6; }
15424
15425
15426 fi
15427 rm -f core conftest.err conftest.$ac_objext \
15428     conftest$ac_exeext conftest.$ac_ext
15429             ac_ext=c
15430 ac_cpp='$CPP $CPPFLAGS'
15431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15434
15435         fi
15436
15437         CPPFLAGS="$saved_CPPFLAGS"
15438         LDFLAGS="$saved_LDFLAGS"
15439         LIBS="$saved_LIBS"
15440     fi
15441
15442     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL" >&5
15443 $as_echo_n "checking for OpenSSL... " >&6; }
15444
15445     if test "$run_openssl_test" = "yes"; then
15446         if test "$openssl_header_found" = "yes" -a "$openssl_lib_found" = "yes"; then
15447
15448
15449
15450
15451
15452             HAVE_OPENSSL="yes"
15453         else
15454             HAVE_OPENSSL="no"
15455         fi
15456
15457         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15458 $as_echo "$HAVE_OPENSSL" >&6; }
15459
15460                                 if test "$HAVE_OPENSSL" = "yes"; then
15461
15462             openssl_version_req=0.9.7
15463
15464             if test  -n "$openssl_version_req"; then
15465
15466                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL version is >= $openssl_version_req" >&5
15467 $as_echo_n "checking if OpenSSL version is >= $openssl_version_req... " >&6; }
15468
15469                 if test -f "$openssl_include_dir/openssl/opensslv.h"; then
15470
15471                     OPENSSL_VERSION=`grep OPENSSL_VERSION_TEXT $openssl_include_dir/openssl/opensslv.h \
15472                                     | grep -v fips | grep -v PTEXT | cut -f 2 | tr -d \"`
15473
15474
15475                                         openssl_version_req_major=`expr $openssl_version_req : '\([0-9]*\)'`
15476                     openssl_version_req_minor=`expr $openssl_version_req : '[0-9]*\.\([0-9]*\)'`
15477                     openssl_version_req_revision=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15478                     openssl_version_req_patch=`expr $openssl_version_req : '[0-9]*\.[0-9]*\.[0-9]*\([a-z]*\)'`
15479                     if test "x$openssl_version_req_revision" = "x"; then
15480                         openssl_version_req_revision="0"
15481                     fi
15482                     if test "x$openssl_version_req_patch" = "x"; then
15483                         openssl_version_req_patch="\`"
15484                     fi
15485
15486                     openssl_version_req_number=`expr $openssl_version_req_major \* $((0x10000000)) \
15487                                                \+ $openssl_version_req_minor \* $((0x100000)) \
15488                                                \+ $openssl_version_req_revision \* $((0x1000)) \
15489                                                \+ $((1 + $(printf "%d" \'$openssl_version_req_patch) - $(printf "%d" \'a))) \* $((0x10)) \
15490                                                \+ $((0xf))`
15491
15492                                         openssl_version_number=`expr $(($(grep OPENSSL_VERSION_NUMBER $openssl_include_dir/openssl/opensslv.h | cut -f 2 | tr -d L)))`
15493
15494                     openssl_version_check=`expr $openssl_version_number \>\= $openssl_version_req_number`
15495                     if test "$openssl_version_check" = "1"; then
15496                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15497 $as_echo "yes" >&6; }
15498                     else
15499                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15500 $as_echo "no" >&6; }
15501                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&5
15502 $as_echo "$as_me: WARNING: Found $OPENSSL_VERSION, which is older than required. Possible compilation failure." >&2;}
15503                     fi
15504                 else
15505                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15506 $as_echo "no" >&6; }
15507                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&5
15508 $as_echo "$as_me: WARNING: Missing header openssl/opensslv.h. Unable to determine OpenSSL version." >&2;}
15509                 fi
15510             fi
15511         fi
15512
15513     else
15514         HAVE_OPENSSL="no"
15515         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_OPENSSL" >&5
15516 $as_echo "$HAVE_OPENSSL" >&6; }
15517
15518         if test "$openssl_requested" = "yes"; then
15519             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSL support requested but headers or library not found. Specify valid prefix of OpenSSL using --with-openssl=[DIR]" >&5
15520 $as_echo "$as_me: WARNING: OpenSSL support requested but headers or library not found. Specify valid prefix of OpenSSL using --with-openssl=[DIR]" >&2;}
15521         fi
15522     fi
15523     if test "$HAVE_OPENSSL" = "yes"; then
15524         CPPFLAGS="$CPPFLAGS $OPENSSL_CPPFLAGS -DHAVE_SSL=1"
15525         LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS $OPENSSL_LIBS"
15526     fi
15527
15528
15529
15530 # Check whether --with-expat was given.
15531 if test "${with_expat+set}" = set; then :
15532   withval=$with_expat;
15533         if test "$withval" = "yes"; then
15534             if test -f /usr/local/include/expat.h ; then
15535                 expat_prefix=/usr/local
15536             elif test -f /usr/include/expat.h ; then
15537                 expat_prefix=/usr
15538             else
15539                 expat_prefix=""
15540             fi
15541             expat_requested="yes"
15542         elif test -d "$withval"; then
15543             expat_prefix="$withval"
15544             expat_requested="yes"
15545         else
15546             expat_prefix=""
15547             expat_requested="no"
15548         fi
15549
15550 else
15551
15552 #        dnl Default behavior is implicit yes
15553 #        if test -f /usr/local/include/expat.h ; then
15554 #            expat_prefix=/usr/local
15555 #        elif test -f /usr/include/expat.h ; then
15556 #            expat_prefix=/usr
15557 #        else
15558 #            expat_prefix=""
15559 #        fi
15560                 expat_prefix=""
15561         expat_requested="no"
15562
15563
15564 fi
15565
15566
15567
15568 # Check whether --with-expat-inc was given.
15569 if test "${with_expat_inc+set}" = set; then :
15570   withval=$with_expat_inc; expat_include_dir="$withval"
15571 else
15572   expat_include_dir=""
15573
15574 fi
15575
15576
15577 # Check whether --with-expat-lib was given.
15578 if test "${with_expat_lib+set}" = set; then :
15579   withval=$with_expat_lib; expat_lib_flags="$withval"
15580 else
15581   expat_lib_flags=""
15582
15583 fi
15584
15585
15586     EXPAT_CFLAGS=""
15587     EXPAT_LDFLAGS=""
15588     EXPAT_VERSION=""
15589
15590                 run_expat_test="no"
15591
15592     if test -n "$expat_prefix"; then
15593         expat_include_dir="$expat_prefix/include"
15594         expat_lib_flags="-L$expat_prefix/lib64 -L$expat_prefix/lib -lexpat"
15595         run_expat_test="yes"
15596     elif test "$expat_requested" = "yes"; then
15597         if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
15598             run_expat_test="yes"
15599         fi
15600     else
15601         run_expat_test="no"
15602     fi
15603
15604                 if test "$run_expat_test" = "yes"; then
15605
15606         saved_CPPFLAGS="$CPPFLAGS"
15607         CPPFLAGS="$CPPFLAGS -I$expat_include_dir"
15608
15609         saved_LDFLAGS="$LDFLAGS"
15610         LDFLAGS="$LDFLAGS $expat_lib_flags"
15611
15612                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser headers in $expat_include_dir" >&5
15613 $as_echo_n "checking for Expat XML Parser headers in $expat_include_dir... " >&6; }
15614
15615         ac_ext=cpp
15616 ac_cpp='$CXXCPP $CPPFLAGS'
15617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15620
15621         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h.  */
15623
15624
15625 #include <expat.h>
15626
15627 int
15628 main ()
15629 {
15630
15631
15632   ;
15633   return 0;
15634 }
15635 _ACEOF
15636 if ac_fn_cxx_try_compile "$LINENO"; then :
15637
15638             EXPAT_CFLAGS="-I$expat_include_dir"
15639             expat_header_found="yes"
15640             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15641 $as_echo "found" >&6; }
15642
15643 else
15644
15645             expat_header_found="no"
15646             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15647 $as_echo "not found" >&6; }
15648
15649
15650 fi
15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15652         ac_ext=c
15653 ac_cpp='$CPP $CPPFLAGS'
15654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15657
15658
15659                                 if test "$expat_header_found" = "yes"; then
15660
15661             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser libraries" >&5
15662 $as_echo_n "checking for Expat XML Parser libraries... " >&6; }
15663
15664             ac_ext=cpp
15665 ac_cpp='$CXXCPP $CPPFLAGS'
15666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15669
15670             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15671 /* end confdefs.h.  */
15672
15673
15674 #include <expat.h>
15675
15676 int
15677 main ()
15678 {
15679
15680 XML_Parser p = XML_ParserCreate(NULL);
15681 XML_ParserFree(p);
15682 p = NULL;
15683
15684
15685   ;
15686   return 0;
15687 }
15688 _ACEOF
15689 if ac_fn_cxx_try_link "$LINENO"; then :
15690
15691                 EXPAT_LDFLAGS="$expat_lib_flags"
15692                 expat_lib_found="yes"
15693                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15694 $as_echo "found" >&6; }
15695
15696 else
15697
15698                 expat_lib_found="no"
15699                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15700 $as_echo "not found" >&6; }
15701
15702
15703 fi
15704 rm -f core conftest.err conftest.$ac_objext \
15705     conftest$ac_exeext conftest.$ac_ext
15706             ac_ext=c
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15711
15712         fi
15713
15714         CPPFLAGS="$saved_CPPFLAGS"
15715         LDFLAGS="$saved_LDFLAGS"
15716     fi
15717
15718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser" >&5
15719 $as_echo_n "checking for Expat XML Parser... " >&6; }
15720
15721     if test "$run_expat_test" = "yes"; then
15722         if test "$expat_header_found" = "yes" -a "$expat_lib_found" = "yes"; then
15723
15724
15725
15726
15727             HAVE_EXPAT="yes"
15728         else
15729             HAVE_EXPAT="no"
15730         fi
15731
15732         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15733 $as_echo "$HAVE_EXPAT" >&6; }
15734
15735                                 if test "$HAVE_EXPAT" = "yes"; then
15736
15737             expat_version_req=
15738
15739             if test  -n "$expat_version_req"; then
15740
15741                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Expat XML Parser version is >= $expat_version_req" >&5
15742 $as_echo_n "checking if Expat XML Parser version is >= $expat_version_req... " >&6; }
15743
15744                 if test -f "$expat_include_dir/expat.h"; then
15745
15746                     expat_major=`cat $expat_include_dir/expat.h | \
15747                                     grep '^#define.*XML_MAJOR_VERSION.*[0-9]$' | \
15748                                     sed -e 's/#define XML_MAJOR_VERSION.//'`
15749
15750                     expat_minor=`cat $expat_include_dir/expat.h | \
15751                                     grep '^#define.*XML_MINOR_VERSION.*[0-9]$' | \
15752                                     sed -e 's/#define XML_MINOR_VERSION.//'`
15753
15754                     expat_revision=`cat $expat_include_dir/expat.h | \
15755                                     grep '^#define.*XML_MICRO_VERSION.*[0-9]$' | \
15756                                     sed -e 's/#define XML_MICRO_VERSION.//'`
15757
15758                     EXPAT_VERSION="$expat_major.$expat_minor.$expat_revision"
15759
15760
15761                                         expat_version_req_major=`expr $expat_version_req : '\([0-9]*\)'`
15762                     expat_version_req_minor=`expr $expat_version_req : '[0-9]*\.\([0-9]*\)'`
15763                     expat_version_req_revision=`expr $expat_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
15764                     if test "x$expat_version_req_revision" = "x"; then
15765                         expat_version_req_revision="0"
15766                     fi
15767
15768                     expat_version_req_number=`expr $expat_version_req_major \* 10000 \
15769                                                \+ $expat_version_req_minor \* 100 \
15770                                                \+ $expat_version_req_revision`
15771
15772                                         expat_version_number=`expr $expat_major \* 10000 \
15773                                           \+ $expat_minor \* 100 \
15774                                            \+ $expat_revision`
15775
15776                     expat_version_check=`expr $expat_version_number \>\= $expat_version_req_number`
15777                     if test "$expat_version_check" = "1"; then
15778                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15779 $as_echo "yes" >&6; }
15780                     else
15781                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15782 $as_echo "no" >&6; }
15783                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&5
15784 $as_echo "$as_me: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&2;}
15785                     fi
15786                 else
15787                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15788 $as_echo "no" >&6; }
15789                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing expat.h header. Unable to determine Expat version." >&5
15790 $as_echo "$as_me: WARNING: Missing expat.h header. Unable to determine Expat version." >&2;}
15791                 fi
15792             fi
15793         fi
15794
15795     else
15796         HAVE_EXPAT="no"
15797         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
15798 $as_echo "$HAVE_EXPAT" >&6; }
15799
15800         if test "$expat_requested" = "yes"; then
15801             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&5
15802 $as_echo "$as_me: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&2;}
15803         fi
15804     fi
15805     if test "$HAVE_EXPAT" = "yes"; then
15806         CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS -DHAVE_EXPAT=1"
15807         LDFLAGS="$LDFLAGS $EXPAT_LDFLAGS"
15808     fi
15809
15810
15811 #    AC_REQUIRE([ACX_PTHREAD])
15812
15813
15814 # Check whether --with-xerces was given.
15815 if test "${with_xerces+set}" = set; then :
15816   withval=$with_xerces;
15817         if test "$withval" = "yes"; then
15818             if test -d /usr/local/include/xercesc ; then
15819                 xerces_prefix=/usr/local
15820             elif test -d /usr/include/xercesc ; then
15821                 xerces_prefix=/usr
15822             else
15823                 xerces_prefix=""
15824             fi
15825             xerces_requested="yes"
15826         elif test -d "$withval"; then
15827             xerces_prefix="$withval"
15828             xerces_requested="yes"
15829         else
15830             xerces_prefix=""
15831             xerces_requested="no"
15832         fi
15833
15834 else
15835
15836 #        dnl Default behavior is implicit yes
15837 #        if test -d /usr/local/include/xercesc ; then
15838 #            xerces_prefix=/usr/local
15839 #        elif test -d /usr/include/xercesc ; then
15840 #            xerces_prefix=/usr
15841 #        else
15842 #            xerces_prefix=""
15843 #        fi
15844                 xerces_prefix=""
15845         xerces_requested="no"
15846
15847
15848 fi
15849
15850
15851
15852 # Check whether --with-xerces-inc was given.
15853 if test "${with_xerces_inc+set}" = set; then :
15854   withval=$with_xerces_inc; xerces_include_dir="$withval"
15855 else
15856   xerces_include_dir=""
15857
15858 fi
15859
15860
15861 # Check whether --with-xerces-lib was given.
15862 if test "${with_xerces_lib+set}" = set; then :
15863   withval=$with_xerces_lib; xerces_ldflags="$withval"
15864 else
15865   xerces_ldflags=""
15866
15867 fi
15868
15869
15870     XERCES_CPPFLAGS=""
15871     XERCES_LDFLAGS=""
15872     XERCES_VERSION=""
15873
15874                 run_xerces_test="no"
15875
15876     if test -n "$xerces_prefix"; then
15877         xerces_include_dir="$xerces_prefix/include"
15878         xerces_include_dir2="$xerces_prefix/include/xercesc"
15879         xerces_ldflags="-L$xerces_prefix/lib"
15880         run_xerces_test="yes"
15881     elif test "$xerces_requested" = "yes"; then
15882         if test -n "$xerces_include_dir" -a -n "$xerces_lib_flags"; then
15883             xerces_include_dir2="$xerces_include_dir/xercesc"
15884             run_xerces_test="yes"
15885         fi
15886     else
15887         run_xerces_test="no"
15888     fi
15889
15890     xerces_libs="-lxerces-c"
15891
15892                 if test "$run_xerces_test" = "yes"; then
15893
15894         saved_CPPFLAGS="$CPPFLAGS"
15895         CPPFLAGS="$CPPFLAGS -I$xerces_include_dir -I$xerces_include_dir2"
15896
15897         saved_LDFLAGS="$LDFLAGS"
15898         LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS $LDFLAGS"
15899
15900         saved_LIBS="$LIBS"
15901         LIBS="$xerces_libs $PTHREAD_LIBS $LIBS"
15902
15903                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2" >&5
15904 $as_echo_n "checking for Xerces C++ Parser headers in $xerces_include_dir and $xerces_include_dir2... " >&6; }
15905
15906         ac_ext=cpp
15907 ac_cpp='$CXXCPP $CPPFLAGS'
15908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15911
15912         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h.  */
15914
15915
15916 #include <xercesc/util/XercesDefs.hpp>
15917 #include <xercesc/util/PlatformUtils.hpp>
15918
15919 int
15920 main ()
15921 {
15922
15923
15924   ;
15925   return 0;
15926 }
15927 _ACEOF
15928 if ac_fn_cxx_try_compile "$LINENO"; then :
15929
15930             XERCES_CPPFLAGS="-I$xerces_include_dir -I$xerces_include_dir2"
15931             xerces_header_found="yes"
15932             { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15933 $as_echo "found" >&6; }
15934
15935 else
15936
15937             xerces_header_found="no"
15938             { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15939 $as_echo "not found" >&6; }
15940
15941
15942 fi
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944         ac_ext=c
15945 ac_cpp='$CPP $CPPFLAGS'
15946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15949
15950
15951                                 if test "$xerces_header_found" = "yes"; then
15952
15953             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser libraries" >&5
15954 $as_echo_n "checking for Xerces C++ Parser libraries... " >&6; }
15955
15956             ac_ext=cpp
15957 ac_cpp='$CXXCPP $CPPFLAGS'
15958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15961
15962             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h.  */
15964
15965
15966 #include <xercesc/util/XercesDefs.hpp>
15967 #include <xercesc/util/PlatformUtils.hpp>
15968 #if (_XERCES_VERSION >= 20200)
15969 XERCES_CPP_NAMESPACE_USE
15970 #endif
15971
15972 int
15973 main ()
15974 {
15975
15976 XMLPlatformUtils::Initialize();
15977
15978
15979   ;
15980   return 0;
15981 }
15982 _ACEOF
15983 if ac_fn_cxx_try_link "$LINENO"; then :
15984
15985                 XERCES_LDFLAGS="$xerces_ldflags $PTHREAD_LDFLAGS"
15986                 XERCES_LIBS="$xerces_libs $PTHREAD_LIBS"
15987                 xerces_lib_found="yes"
15988                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15989 $as_echo "found" >&6; }
15990
15991 else
15992
15993                 xerces_lib_found="no"
15994                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15995 $as_echo "not found" >&6; }
15996
15997
15998 fi
15999 rm -f core conftest.err conftest.$ac_objext \
16000     conftest$ac_exeext conftest.$ac_ext
16001             ac_ext=c
16002 ac_cpp='$CPP $CPPFLAGS'
16003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16006
16007         fi
16008
16009         CPPFLAGS="$saved_CPPFLAGS"
16010         LDFLAGS="$saved_LDFLAGS"
16011         LIBS="$saved_LIBS"
16012     fi
16013
16014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xerces C++ Parser" >&5
16015 $as_echo_n "checking for Xerces C++ Parser... " >&6; }
16016
16017     if test "$run_xerces_test" = "yes"; then
16018         if test "$xerces_header_found" = "yes" -a "$xerces_lib_found" = "yes"; then
16019
16020
16021
16022
16023
16024             HAVE_XERCES="yes"
16025         else
16026             HAVE_XERCES="no"
16027         fi
16028
16029         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16030 $as_echo "$HAVE_XERCES" >&6; }
16031
16032                                 if test "$HAVE_XERCES" = "yes"; then
16033
16034             xerces_version_req=
16035
16036             if test  -n "$xerces_version_req"; then
16037
16038                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xerces C++ Parser version is >= $xerces_version_req" >&5
16039 $as_echo_n "checking if Xerces C++ Parser version is >= $xerces_version_req... " >&6; }
16040
16041                 if test -f "$xerces_include_dir2/util/XercesVersion.hpp"; then
16042
16043                     xerces_major=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16044                                     grep '^#define.*XERCES_VERSION_MAJOR.*[0-9]$' | \
16045                                     sed -e 's/#define XERCES_VERSION_MAJOR.//'`
16046
16047                     xerces_minor=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16048                                     grep '^#define.*XERCES_VERSION_MINOR.*[0-9]$' | \
16049                                     sed -e 's/#define XERCES_VERSION_MINOR.//'`
16050
16051                     xerces_revision=`cat $xerces_include_dir2/util/XercesVersion.hpp | \
16052                                     grep '^#define.*XERCES_VERSION_REVISION.*[0-9]$' | \
16053                                     sed -e 's/#define XERCES_VERSION_REVISION.//'`
16054
16055                     XERCES_VERSION="$xerces_major.$xerces_minor.$xerces_revision"
16056
16057
16058                                         xerces_version_req_major=`expr $xerces_version_req : '\([0-9]*\)'`
16059                     xerces_version_req_minor=`expr $xerces_version_req : '[0-9]*\.\([0-9]*\)'`
16060                     xerces_version_req_revision=`expr $xerces_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
16061                     if test "x$xerces_version_req_revision" = "x"; then
16062                         xerces_version_req_revision="0"
16063                     fi
16064
16065                     xerces_version_req_number=`expr $xerces_version_req_major \* 10000 \
16066                                                \+ $xerces_version_req_minor \* 100 \
16067                                                \+ $xerces_version_req_revision`
16068
16069                                         xerces_version_number=`expr $xerces_major \* 10000 \
16070                                           \+ $xerces_minor \* 100 \
16071                                            \+ $xerces_revision`
16072
16073                     xerces_version_check=`expr $xerces_version_number \>\= $xerces_version_req_number`
16074                     if test "$xerces_version_check" = "1"; then
16075                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16076 $as_echo "yes" >&6; }
16077                     else
16078                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16079 $as_echo "no" >&6; }
16080                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&5
16081 $as_echo "$as_me: WARNING: Found Xerces C++ Parser $XERCES_VERSION, which is older than required. Possible compilation failure." >&2;}
16082                     fi
16083                 else
16084                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16085 $as_echo "no" >&6; }
16086                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&5
16087 $as_echo "$as_me: WARNING: Missing header XercesVersion.hpp. Unable to determine Xerces version." >&2;}
16088                 fi
16089             fi
16090         fi
16091
16092     else
16093         HAVE_XERCES="no"
16094         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XERCES" >&5
16095 $as_echo "$HAVE_XERCES" >&6; }
16096
16097         if test "$xerces_requested" = "yes"; then
16098             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xerces C++ Parser support requested but headers or library not found. Specify valid prefix of Xerces C++ using --with-xerces=[DIR] or provide include directory and linker flags using --with-xerces-inc and --with-xerces-lib" >&5
16099 $as_echo "$as_me: WARNING: Xerces C++ Parser support requested but headers or library not found. Specify valid prefix of Xerces C++ using --with-xerces=[DIR] or provide include directory and linker flags using --with-xerces-inc and --with-xerces-lib" >&2;}
16100         fi
16101     fi
16102     if test "$HAVE_XERCES" = "yes"; then
16103         CPPFLAGS="$CPPFLAGS $XERCES_CPPFLAGS -DHAVE_XERCES_C=1"
16104         LDFLAGS="$LDFLAGS $XERCES_LDFLAGS $XERCES_LIBS"
16105     fi
16106
16107 #AM_PATH_PYTHON([2.3], , [:])
16108
16109     az_python_use=false
16110      if test x"$az_python_use" = x"true"; then
16111   PYTHON_USE_TRUE=
16112   PYTHON_USE_FALSE='#'
16113 else
16114   PYTHON_USE_TRUE='#'
16115   PYTHON_USE_FALSE=
16116 fi
16117
16118
16119
16120
16121
16122     # unless PYTHON was supplied to us (as a precious variable),
16123     # see if --with-python[=PythonExecutablePath], --with-python,
16124     # --without-python or --with-python=no was given.
16125     if test -z "$PYTHON"
16126     then
16127         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-python" >&5
16128 $as_echo_n "checking for --with-python... " >&6; }
16129
16130 # Check whether --with-python was given.
16131 if test "${with_python+set}" = set; then :
16132   withval=$with_python;
16133                 if test "$withval" = "yes"
16134                 then
16135                     # "yes" was specified, but we don't have a path
16136                     # for the executable.
16137                     # So, let's searth the PATH Environment Variable.
16138                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16139 $as_echo "yes" >&6; }
16140                     # Extract the first word of "python", so it can be a program name with args.
16141 set dummy python; ac_word=$2
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16143 $as_echo_n "checking for $ac_word... " >&6; }
16144 if ${ac_cv_path_PYTHON+:} false; then :
16145   $as_echo_n "(cached) " >&6
16146 else
16147   case $PYTHON in
16148   [\\/]* | ?:[\\/]*)
16149   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
16150   ;;
16151   *)
16152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16153 for as_dir in $PATH
16154 do
16155   IFS=$as_save_IFS
16156   test -z "$as_dir" && as_dir=.
16157     for ac_exec_ext in '' $ac_executable_extensions; do
16158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16159     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
16160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16161     break 2
16162   fi
16163 done
16164   done
16165 IFS=$as_save_IFS
16166
16167   ;;
16168 esac
16169 fi
16170 PYTHON=$ac_cv_path_PYTHON
16171 if test -n "$PYTHON"; then
16172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
16173 $as_echo "$PYTHON" >&6; }
16174 else
16175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16176 $as_echo "no" >&6; }
16177 fi
16178
16179
16180                     if test -z "$PYTHON"
16181                     then
16182                         as_fn_error $? "no path to python found" "$LINENO" 5
16183                     fi
16184                     az_python_use=true
16185                      if test x"$az_python_use" = x"true"; then
16186   PYTHON_USE_TRUE=
16187   PYTHON_USE_FALSE='#'
16188 else
16189   PYTHON_USE_TRUE='#'
16190   PYTHON_USE_FALSE=
16191 fi
16192
16193
16194
16195     if test -n "$PYTHON"
16196     then
16197         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16198 $as_echo_n "checking for python include directory... " >&6; }
16199         az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16200         if test -z "$az_python_prefix"
16201         then
16202             as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16203         fi
16204         python_path=
16205         az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16206         az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16207         az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16208         if test x"$python_prefix" != x"$python_execprefix"; then
16209             az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16210             az_python_includespec="${az_python_includespec} $az_python_execspec"
16211         fi
16212         az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16213         az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16214         PYTHON_CSPEC=${az_python_cspec}
16215
16216         PYTHON_CPPFLAGS=${az_python_includespec}
16217
16218         PYTHON_SHORTVERSION="${az_python_version}"
16219
16220         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16221 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16222     fi
16223
16224
16225
16226     if test -n "$PYTHON"
16227     then
16228         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16229 $as_echo_n "checking for python linker flags... " >&6; }
16230
16231
16232     if test -z "$PYTHON"
16233     then
16234         as_fn_error $? "Python Executable not found" "$LINENO" 5
16235     else
16236         cat >conftest.py <<_ACEOF
16237
16238 import sys
16239 import distutils.sysconfig
16240 strUseFrameWork = "--enable-framework"
16241 dictConfig = distutils.sysconfig.get_config_vars( )
16242 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16243 strLinkSpec =  dictConfig.get('LDFLAGS')
16244 if -1 ==  strConfigArgs.find(strUseFrameWork):
16245     strLibPL = dictConfig.get("LIBPL")
16246     if strLibPL and (strLibPL != ""):
16247         strLinkSpec += " -L%s" % (strLibPL)
16248     strSys = dictConfig.get("SYSLIBS")
16249     if strSys and (strSys != ""):
16250         strLinkSpec += " %s" % (strSys)
16251     strSHL = dictConfig.get("SHLIBS")
16252     if strSHL and (strSHL != ""):
16253         strLinkSpec += " %s" % (strSHL)
16254     # Construct the Python Library Name.
16255     strTmplte = " -lpython%d.%d"
16256     if (sys.platform == "win32") or (sys.platform == "os2emx"):
16257         strTmplte = " -lpython%d%d"
16258     strWrk = strTmplte % ( (sys.hexversion >> 24),
16259                             ((sys.hexversion >> 16) & 0xff))
16260     strLinkSpec += strWrk
16261 else:
16262     # This is not ideal since it changes the search path
16263     # for Frameworks which could have side-effects on
16264     # other included Frameworks.  However, it is necessary
16265     # where someone has installed more than one frameworked
16266     # Python.  Frameworks are really only used in MacOSX.
16267     strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16268     if strLibFW and (strLibFW != ""):
16269         strLinkSpec += " -F%s" % (strLibFW)
16270 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16271 print strLinkSpec
16272
16273 _ACEOF
16274         az_python_output=`$PYTHON conftest.py`
16275         az_python_cc=$?
16276         rm conftest.py
16277         if test -f "conftest.pyc"
16278         then
16279             rm conftest.pyc
16280         fi
16281     fi
16282
16283         PYTHON_LSPEC=${az_python_output}
16284
16285         az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16286                 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16287                 distutils.sysconfig.get_config_var('VERSION');"`
16288         PYTHON_LDFLAGS=${az_python_ldflags}
16289
16290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16291 $as_echo "$PYTHON_LDFLAGS" >&6; }
16292     fi
16293
16294
16295     if test -z "$PYTHON"
16296     then
16297         as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16298     fi
16299     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16300 $as_echo_n "checking for python extension install directory... " >&6; }
16301     ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16302     ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16303     PYTHON_PREFIX="${ax_python_prefix}"
16304
16305     PYTHON_EXECPREFIX="${ax_python_execprefix}"
16306
16307     PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16308                 print distutils.sysconfig.get_python_lib();"`
16309
16310     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16311 $as_echo "$PYTHON_EXECDIR" >&6; }
16312
16313                 elif test "$withval" = "no"
16314                 then
16315                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16316 $as_echo "no" >&6; }
16317                     az_python_use=false
16318                      if test x"$az_python_use" = x"true"; then
16319   PYTHON_USE_TRUE=
16320   PYTHON_USE_FALSE='#'
16321 else
16322   PYTHON_USE_TRUE='#'
16323   PYTHON_USE_FALSE=
16324 fi
16325
16326                 else
16327                     # $withval must be the executable path then.
16328                     PYTHON="${withval}"
16329
16330                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $withval" >&5
16331 $as_echo "$withval" >&6; }
16332                     az_python_use=true
16333                      if test x"$az_python_use" = x"true"; then
16334   PYTHON_USE_TRUE=
16335   PYTHON_USE_FALSE='#'
16336 else
16337   PYTHON_USE_TRUE='#'
16338   PYTHON_USE_FALSE=
16339 fi
16340
16341
16342
16343     if test -n "$PYTHON"
16344     then
16345         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python include directory" >&5
16346 $as_echo_n "checking for python include directory... " >&6; }
16347         az_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16348         if test -z "$az_python_prefix"
16349         then
16350             as_fn_error $? "Python Prefix is not known" "$LINENO" 5
16351         fi
16352         python_path=
16353         az_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16354         az_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
16355         az_python_includespec="-I`$PYTHON -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_inc();'`"
16356         if test x"$python_prefix" != x"$python_execprefix"; then
16357             az_python_execspec="-I${az_python_execprefix}/include/python${az_python_version}"
16358             az_python_includespec="${az_python_includespec} $az_python_execspec"
16359         fi
16360         az_python_ccshared=`${PYTHON} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('CFLAGSFORSHARED')"`
16361         az_python_cspec="${az_python_ccshared} ${az_python_includespec}"
16362         PYTHON_CSPEC=${az_python_cspec}
16363
16364         PYTHON_CPPFLAGS=${az_python_includespec}
16365
16366         PYTHON_SHORTVERSION="${az_python_version}"
16367
16368         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CPPFLAGS" >&5
16369 $as_echo "$PYTHON_CPPFLAGS" >&6; }
16370     fi
16371
16372
16373
16374     if test -n "$PYTHON"
16375     then
16376         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python linker flags" >&5
16377 $as_echo_n "checking for python linker flags... " >&6; }
16378
16379
16380     if test -z "$PYTHON"
16381     then
16382         as_fn_error $? "Python Executable not found" "$LINENO" 5
16383     else
16384         cat >conftest.py <<_ACEOF
16385
16386 import sys
16387 import distutils.sysconfig
16388 strUseFrameWork = "--enable-framework"
16389 dictConfig = distutils.sysconfig.get_config_vars( )
16390 strConfigArgs = dictConfig.get("CONFIG_ARGS")
16391 strLinkSpec =  dictConfig.get('LDFLAGS')
16392 if -1 ==  strConfigArgs.find(strUseFrameWork):
16393     strLibPL = dictConfig.get("LIBPL")
16394     if strLibPL and (strLibPL != ""):
16395         strLinkSpec += " -L%s" % (strLibPL)
16396     strSys = dictConfig.get("SYSLIBS")
16397     if strSys and (strSys != ""):
16398         strLinkSpec += " %s" % (strSys)
16399     strSHL = dictConfig.get("SHLIBS")
16400     if strSHL and (strSHL != ""):
16401         strLinkSpec += " %s" % (strSHL)
16402     # Construct the Python Library Name.
16403     strTmplte = " -lpython%d.%d"
16404     if (sys.platform == "win32") or (sys.platform == "os2emx"):
16405         strTmplte = " -lpython%d%d"
16406     strWrk = strTmplte % ( (sys.hexversion >> 24),
16407                             ((sys.hexversion >> 16) & 0xff))
16408     strLinkSpec += strWrk
16409 else:
16410     # This is not ideal since it changes the search path
16411     # for Frameworks which could have side-effects on
16412     # other included Frameworks.  However, it is necessary
16413     # where someone has installed more than one frameworked
16414     # Python.  Frameworks are really only used in MacOSX.
16415     strLibFW = dictConfig.get("PYTHONFRAMEWORKPREFIX")
16416     if strLibFW and (strLibFW != ""):
16417         strLinkSpec += " -F%s" % (strLibFW)
16418 strLinkSpec += " %s" % (dictConfig.get('LINKFORSHARED'))
16419 print strLinkSpec
16420
16421 _ACEOF
16422         az_python_output=`$PYTHON conftest.py`
16423         az_python_cc=$?
16424         rm conftest.py
16425         if test -f "conftest.pyc"
16426         then
16427             rm conftest.pyc
16428         fi
16429     fi
16430
16431         PYTHON_LSPEC=${az_python_output}
16432
16433         az_python_ldflags=`${PYTHON} -c "import distutils.sysconfig; \
16434                 print '-L' + distutils.sysconfig.get_python_lib(), '-lpython' + \
16435                 distutils.sysconfig.get_config_var('VERSION');"`
16436         PYTHON_LDFLAGS=${az_python_ldflags}
16437
16438         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5
16439 $as_echo "$PYTHON_LDFLAGS" >&6; }
16440     fi
16441
16442
16443     if test -z "$PYTHON"
16444     then
16445         as_fn_error $? "Python Executable Path is not known" "$LINENO" 5
16446     fi
16447     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python extension install directory" >&5
16448 $as_echo_n "checking for python extension install directory... " >&6; }
16449     ax_python_prefix=`${PYTHON} -c "import sys; print sys.prefix"`
16450     ax_python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"`
16451     PYTHON_PREFIX="${ax_python_prefix}"
16452
16453     PYTHON_EXECPREFIX="${ax_python_execprefix}"
16454
16455     PYTHON_EXECDIR=`$PYTHON -c "import distutils.sysconfig; \
16456                 print distutils.sysconfig.get_python_lib();"`
16457
16458     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_EXECDIR" >&5
16459 $as_echo "$PYTHON_EXECDIR" >&6; }
16460
16461                 fi
16462
16463 else
16464
16465                 # --with-python was not specified.
16466                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16467 $as_echo "no" >&6; }
16468                 az_python_use=false
16469                  if test x"$az_python_use" = x"true"; then
16470   PYTHON_USE_TRUE=
16471   PYTHON_USE_FALSE='#'
16472 else
16473   PYTHON_USE_TRUE='#'
16474   PYTHON_USE_FALSE=
16475 fi
16476
16477
16478
16479 fi
16480
16481     fi
16482
16483
16484  if test "$PYTHON" != :; then
16485   HAVE_PYTHON_TRUE=
16486   HAVE_PYTHON_FALSE='#'
16487 else
16488   HAVE_PYTHON_TRUE='#'
16489   HAVE_PYTHON_FALSE=
16490 fi
16491
16492 # Check whether --enable-freedist was given.
16493 if test "${enable_freedist+set}" = set; then :
16494   enableval=$enable_freedist; case "${enableval}" in
16495        yes) freedist=true ;;
16496        no)  freedist=false ;;
16497        *) as_fn_error $? "bad value ${enableval} for --enable-freedist" "$LINENO" 5 ;;
16498      esac
16499 else
16500   freedist=false
16501 fi
16502
16503       if test x$freedist = xtrue; then
16504   FREEDIST_TRUE=
16505   FREEDIST_FALSE='#'
16506 else
16507   FREEDIST_TRUE='#'
16508   FREEDIST_FALSE=
16509 fi
16510
16511 # Check whether --enable-dev-headers was given.
16512 if test "${enable_dev_headers+set}" = set; then :
16513   enableval=$enable_dev_headers; case "${enableval}" in
16514        yes) dev_headers=true ;;
16515        no)  dev_headers=false ;;
16516        *) as_fn_error $? "bad value ${enableval} for --enable-dev-headers" "$LINENO" 5 ;;
16517      esac
16518 else
16519   dev_headers=false
16520 fi
16521
16522       if test x$dev_headers = xtrue; then
16523   DEV_HEADERS_TRUE=
16524   DEV_HEADERS_FALSE='#'
16525 else
16526   DEV_HEADERS_TRUE='#'
16527   DEV_HEADERS_FALSE=
16528 fi
16529
16530 # Check whether --enable-random-case-UUID was given.
16531 if test "${enable_random_case_UUID+set}" = set; then :
16532   enableval=$enable_random_case_UUID; case "${enableval}" in
16533        yes) random_case_UUID=true ;;
16534        no)  random_case_UUID=false ;;
16535        *) as_fn_error $? "bad value ${enableval} for --enable-random-case-UUID" "$LINENO" 5 ;;
16536      esac
16537 else
16538   random_case_UUID=false
16539 fi
16540
16541       if test x$random_case_UUID = xtrue; then
16542   ENABLE_RANDOM_UUID_TRUE=
16543   ENABLE_RANDOM_UUID_FALSE='#'
16544 else
16545   ENABLE_RANDOM_UUID_TRUE='#'
16546   ENABLE_RANDOM_UUID_FALSE=
16547 fi
16548
16549
16550 # Checks for libraries.
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
16552 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
16553 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
16554   $as_echo_n "(cached) " >&6
16555 else
16556   ac_check_lib_save_LIBS=$LIBS
16557 LIBS="-lpthread  $LIBS"
16558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h.  */
16560
16561 /* Override any GCC internal prototype to avoid an error.
16562    Use char because int might match the return type of a GCC
16563    builtin and then its argument prototype would still apply.  */
16564 #ifdef __cplusplus
16565 extern "C"
16566 #endif
16567 char pthread_create ();
16568 int
16569 main ()
16570 {
16571 return pthread_create ();
16572   ;
16573   return 0;
16574 }
16575 _ACEOF
16576 if ac_fn_c_try_link "$LINENO"; then :
16577   ac_cv_lib_pthread_pthread_create=yes
16578 else
16579   ac_cv_lib_pthread_pthread_create=no
16580 fi
16581 rm -f core conftest.err conftest.$ac_objext \
16582     conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_lib_save_LIBS
16584 fi
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
16586 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
16587 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
16588   cat >>confdefs.h <<_ACEOF
16589 #define HAVE_LIBPTHREAD 1
16590 _ACEOF
16591
16592   LIBS="-lpthread $LIBS"
16593
16594 fi
16595
16596
16597 # Checks for header files.
16598 #AC_HEADER_DIRENT
16599 #AC_HEADER_STDC
16600 #AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netinet/in.h stdlib.h string.h sys/socket.h unistd.h wchar.h])
16601
16602 # Checks for typedefs, structures, and compiler characteristics.
16603 #AC_C_CONST
16604 #AC_C_INLINE
16605 #AC_TYPE_OFF_T
16606 #AC_TYPE_SIZE_T
16607 #AC_STRUCT_TM
16608
16609 # Checks for library functions.
16610 #AC_FUNC_CLOSEDIR_VOID
16611 #AC_FUNC_MALLOC
16612 #AC_FUNC_MEMCMP
16613 #AC_FUNC_STAT
16614 #AC_CHECK_FUNCS([getcwd memset regcomp strchr strerror strrchr strstr strtol])
16615
16616 ac_config_files="$ac_config_files Makefile src/Makefile win32/Makefile win32/Makefile.mak:win32/Makefile.wmk"
16617
16618 cat >confcache <<\_ACEOF
16619 # This file is a shell script that caches the results of configure
16620 # tests run on this system so they can be shared between configure
16621 # scripts and configure runs, see configure's option --config-cache.
16622 # It is not useful on other systems.  If it contains results you don't
16623 # want to keep, you may remove or edit it.
16624 #
16625 # config.status only pays attention to the cache file if you give it
16626 # the --recheck option to rerun configure.
16627 #
16628 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16629 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16630 # following values.
16631
16632 _ACEOF
16633
16634 # The following way of writing the cache mishandles newlines in values,
16635 # but we know of no workaround that is simple, portable, and efficient.
16636 # So, we kill variables containing newlines.
16637 # Ultrix sh set writes to stderr and can't be redirected directly,
16638 # and sets the high bit in the cache file unless we assign to the vars.
16639 (
16640   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16641     eval ac_val=\$$ac_var
16642     case $ac_val in #(
16643     *${as_nl}*)
16644       case $ac_var in #(
16645       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16647       esac
16648       case $ac_var in #(
16649       _ | IFS | as_nl) ;; #(
16650       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16651       *) { eval $ac_var=; unset $ac_var;} ;;
16652       esac ;;
16653     esac
16654   done
16655
16656   (set) 2>&1 |
16657     case $as_nl`(ac_space=' '; set) 2>&1` in #(
16658     *${as_nl}ac_space=\ *)
16659       # `set' does not quote correctly, so add quotes: double-quote
16660       # substitution turns \\\\ into \\, and sed turns \\ into \.
16661       sed -n \
16662         "s/'/'\\\\''/g;
16663           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16664       ;; #(
16665     *)
16666       # `set' quotes correctly as required by POSIX, so do not add quotes.
16667       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16668       ;;
16669     esac |
16670     sort
16671 ) |
16672   sed '
16673      /^ac_cv_env_/b end
16674      t clear
16675      :clear
16676      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16677      t end
16678      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16679      :end' >>confcache
16680 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16681   if test -w "$cache_file"; then
16682     if test "x$cache_file" != "x/dev/null"; then
16683       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16684 $as_echo "$as_me: updating cache $cache_file" >&6;}
16685       if test ! -f "$cache_file" || test -h "$cache_file"; then
16686         cat confcache >"$cache_file"
16687       else
16688         case $cache_file in #(
16689         */* | ?:*)
16690           mv -f confcache "$cache_file"$$ &&
16691           mv -f "$cache_file"$$ "$cache_file" ;; #(
16692         *)
16693           mv -f confcache "$cache_file" ;;
16694         esac
16695       fi
16696     fi
16697   else
16698     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16699 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16700   fi
16701 fi
16702 rm -f confcache
16703
16704 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16705 # Let make expand exec_prefix.
16706 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16707
16708 # Transform confdefs.h into DEFS.
16709 # Protect against shell expansion while executing Makefile rules.
16710 # Protect against Makefile macro expansion.
16711 #
16712 # If the first sed substitution is executed (which looks for macros that
16713 # take arguments), then branch to the quote section.  Otherwise,
16714 # look for a macro that doesn't take arguments.
16715 ac_script='
16716 :mline
16717 /\\$/{
16718  N
16719  s,\\\n,,
16720  b mline
16721 }
16722 t clear
16723 :clear
16724 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
16725 t quote
16726 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
16727 t quote
16728 b any
16729 :quote
16730 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
16731 s/\[/\\&/g
16732 s/\]/\\&/g
16733 s/\$/$$/g
16734 H
16735 :any
16736 ${
16737         g
16738         s/^\n//
16739         s/\n/ /g
16740         p
16741 }
16742 '
16743 DEFS=`sed -n "$ac_script" confdefs.h`
16744
16745
16746 ac_libobjs=
16747 ac_ltlibobjs=
16748 U=
16749 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16750   # 1. Remove the extension, and $U if already installed.
16751   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16752   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16753   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16754   #    will be set to the directory where LIBOBJS objects are built.
16755   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16756   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16757 done
16758 LIBOBJS=$ac_libobjs
16759
16760 LTLIBOBJS=$ac_ltlibobjs
16761
16762
16763  if test -n "$EXEEXT"; then
16764   am__EXEEXT_TRUE=
16765   am__EXEEXT_FALSE='#'
16766 else
16767   am__EXEEXT_TRUE='#'
16768   am__EXEEXT_FALSE=
16769 fi
16770
16771 if test -z "${OPENBSD_HOST_TRUE}" && test -z "${OPENBSD_HOST_FALSE}"; then
16772   as_fn_error $? "conditional \"OPENBSD_HOST\" was never defined.
16773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16774 fi
16775 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16776   as_fn_error $? "conditional \"AMDEP\" was never defined.
16777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16778 fi
16779 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16780   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16782 fi
16783 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16784   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16786 fi
16787 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16788   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16790 fi
16791 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16792   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16794 fi
16795 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16796   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16798 fi
16799 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16800   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16802 fi
16803 if test -z "${PYTHON_USE_TRUE}" && test -z "${PYTHON_USE_FALSE}"; then
16804   as_fn_error $? "conditional \"PYTHON_USE\" was never defined.
16805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16806 fi
16807 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
16808   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
16809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16810 fi
16811 if test -z "${FREEDIST_TRUE}" && test -z "${FREEDIST_FALSE}"; then
16812   as_fn_error $? "conditional \"FREEDIST\" was never defined.
16813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16814 fi
16815 if test -z "${DEV_HEADERS_TRUE}" && test -z "${DEV_HEADERS_FALSE}"; then
16816   as_fn_error $? "conditional \"DEV_HEADERS\" was never defined.
16817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16818 fi
16819 if test -z "${ENABLE_RANDOM_UUID_TRUE}" && test -z "${ENABLE_RANDOM_UUID_FALSE}"; then
16820   as_fn_error $? "conditional \"ENABLE_RANDOM_UUID\" was never defined.
16821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16822 fi
16823
16824 : "${CONFIG_STATUS=./config.status}"
16825 ac_write_fail=0
16826 ac_clean_files_save=$ac_clean_files
16827 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16829 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16830 as_write_fail=0
16831 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16832 #! $SHELL
16833 # Generated by $as_me.
16834 # Run this file to recreate the current configuration.
16835 # Compiler output produced by configure, useful for debugging
16836 # configure, is in config.log if it exists.
16837
16838 debug=false
16839 ac_cs_recheck=false
16840 ac_cs_silent=false
16841
16842 SHELL=\${CONFIG_SHELL-$SHELL}
16843 export SHELL
16844 _ASEOF
16845 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16846 ## -------------------- ##
16847 ## M4sh Initialization. ##
16848 ## -------------------- ##
16849
16850 # Be more Bourne compatible
16851 DUALCASE=1; export DUALCASE # for MKS sh
16852 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16853   emulate sh
16854   NULLCMD=:
16855   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16856   # is contrary to our usage.  Disable this feature.
16857   alias -g '${1+"$@"}'='"$@"'
16858   setopt NO_GLOB_SUBST
16859 else
16860   case `(set -o) 2>/dev/null` in #(
16861   *posix*) :
16862     set -o posix ;; #(
16863   *) :
16864      ;;
16865 esac
16866 fi
16867
16868
16869 as_nl='
16870 '
16871 export as_nl
16872 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16873 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16875 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16876 # Prefer a ksh shell builtin over an external printf program on Solaris,
16877 # but without wasting forks for bash or zsh.
16878 if test -z "$BASH_VERSION$ZSH_VERSION" \
16879     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16880   as_echo='print -r --'
16881   as_echo_n='print -rn --'
16882 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16883   as_echo='printf %s\n'
16884   as_echo_n='printf %s'
16885 else
16886   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16887     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16888     as_echo_n='/usr/ucb/echo -n'
16889   else
16890     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16891     as_echo_n_body='eval
16892       arg=$1;
16893       case $arg in #(
16894       *"$as_nl"*)
16895         expr "X$arg" : "X\\(.*\\)$as_nl";
16896         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16897       esac;
16898       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16899     '
16900     export as_echo_n_body
16901     as_echo_n='sh -c $as_echo_n_body as_echo'
16902   fi
16903   export as_echo_body
16904   as_echo='sh -c $as_echo_body as_echo'
16905 fi
16906
16907 # The user is always right.
16908 if test "${PATH_SEPARATOR+set}" != set; then
16909   PATH_SEPARATOR=:
16910   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16911     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16912       PATH_SEPARATOR=';'
16913   }
16914 fi
16915
16916
16917 # IFS
16918 # We need space, tab and new line, in precisely that order.  Quoting is
16919 # there to prevent editors from complaining about space-tab.
16920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16921 # splitting by setting IFS to empty value.)
16922 IFS=" ""        $as_nl"
16923
16924 # Find who we are.  Look in the path if we contain no directory separator.
16925 as_myself=
16926 case $0 in #((
16927   *[\\/]* ) as_myself=$0 ;;
16928   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16929 for as_dir in $PATH
16930 do
16931   IFS=$as_save_IFS
16932   test -z "$as_dir" && as_dir=.
16933     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16934   done
16935 IFS=$as_save_IFS
16936
16937      ;;
16938 esac
16939 # We did not find ourselves, most probably we were run as `sh COMMAND'
16940 # in which case we are not to be found in the path.
16941 if test "x$as_myself" = x; then
16942   as_myself=$0
16943 fi
16944 if test ! -f "$as_myself"; then
16945   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16946   exit 1
16947 fi
16948
16949 # Unset variables that we do not need and which cause bugs (e.g. in
16950 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16951 # suppresses any "Segmentation fault" message there.  '((' could
16952 # trigger a bug in pdksh 5.2.14.
16953 for as_var in BASH_ENV ENV MAIL MAILPATH
16954 do eval test x\${$as_var+set} = xset \
16955   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16956 done
16957 PS1='$ '
16958 PS2='> '
16959 PS4='+ '
16960
16961 # NLS nuisances.
16962 LC_ALL=C
16963 export LC_ALL
16964 LANGUAGE=C
16965 export LANGUAGE
16966
16967 # CDPATH.
16968 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16969
16970
16971 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16972 # ----------------------------------------
16973 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16974 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16975 # script with STATUS, using 1 if that was 0.
16976 as_fn_error ()
16977 {
16978   as_status=$1; test $as_status -eq 0 && as_status=1
16979   if test "$4"; then
16980     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16981     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16982   fi
16983   $as_echo "$as_me: error: $2" >&2
16984   as_fn_exit $as_status
16985 } # as_fn_error
16986
16987
16988 # as_fn_set_status STATUS
16989 # -----------------------
16990 # Set $? to STATUS, without forking.
16991 as_fn_set_status ()
16992 {
16993   return $1
16994 } # as_fn_set_status
16995
16996 # as_fn_exit STATUS
16997 # -----------------
16998 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16999 as_fn_exit ()
17000 {
17001   set +e
17002   as_fn_set_status $1
17003   exit $1
17004 } # as_fn_exit
17005
17006 # as_fn_unset VAR
17007 # ---------------
17008 # Portably unset VAR.
17009 as_fn_unset ()
17010 {
17011   { eval $1=; unset $1;}
17012 }
17013 as_unset=as_fn_unset
17014 # as_fn_append VAR VALUE
17015 # ----------------------
17016 # Append the text in VALUE to the end of the definition contained in VAR. Take
17017 # advantage of any shell optimizations that allow amortized linear growth over
17018 # repeated appends, instead of the typical quadratic growth present in naive
17019 # implementations.
17020 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17021   eval 'as_fn_append ()
17022   {
17023     eval $1+=\$2
17024   }'
17025 else
17026   as_fn_append ()
17027   {
17028     eval $1=\$$1\$2
17029   }
17030 fi # as_fn_append
17031
17032 # as_fn_arith ARG...
17033 # ------------------
17034 # Perform arithmetic evaluation on the ARGs, and store the result in the
17035 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17036 # must be portable across $(()) and expr.
17037 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17038   eval 'as_fn_arith ()
17039   {
17040     as_val=$(( $* ))
17041   }'
17042 else
17043   as_fn_arith ()
17044   {
17045     as_val=`expr "$@" || test $? -eq 1`
17046   }
17047 fi # as_fn_arith
17048
17049
17050 if expr a : '\(a\)' >/dev/null 2>&1 &&
17051    test "X`expr 00001 : '.*\(...\)'`" = X001; then
17052   as_expr=expr
17053 else
17054   as_expr=false
17055 fi
17056
17057 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17058   as_basename=basename
17059 else
17060   as_basename=false
17061 fi
17062
17063 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17064   as_dirname=dirname
17065 else
17066   as_dirname=false
17067 fi
17068
17069 as_me=`$as_basename -- "$0" ||
17070 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17071          X"$0" : 'X\(//\)$' \| \
17072          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17073 $as_echo X/"$0" |
17074     sed '/^.*\/\([^/][^/]*\)\/*$/{
17075             s//\1/
17076             q
17077           }
17078           /^X\/\(\/\/\)$/{
17079             s//\1/
17080             q
17081           }
17082           /^X\/\(\/\).*/{
17083             s//\1/
17084             q
17085           }
17086           s/.*/./; q'`
17087
17088 # Avoid depending upon Character Ranges.
17089 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17090 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17091 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17092 as_cr_digits='0123456789'
17093 as_cr_alnum=$as_cr_Letters$as_cr_digits
17094
17095 ECHO_C= ECHO_N= ECHO_T=
17096 case `echo -n x` in #(((((
17097 -n*)
17098   case `echo 'xy\c'` in
17099   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
17100   xy)  ECHO_C='\c';;
17101   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
17102        ECHO_T=' ';;
17103   esac;;
17104 *)
17105   ECHO_N='-n';;
17106 esac
17107
17108 rm -f conf$$ conf$$.exe conf$$.file
17109 if test -d conf$$.dir; then
17110   rm -f conf$$.dir/conf$$.file
17111 else
17112   rm -f conf$$.dir
17113   mkdir conf$$.dir 2>/dev/null
17114 fi
17115 if (echo >conf$$.file) 2>/dev/null; then
17116   if ln -s conf$$.file conf$$ 2>/dev/null; then
17117     as_ln_s='ln -s'
17118     # ... but there are two gotchas:
17119     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17120     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17121     # In both cases, we have to default to `cp -p'.
17122     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17123       as_ln_s='cp -p'
17124   elif ln conf$$.file conf$$ 2>/dev/null; then
17125     as_ln_s=ln
17126   else
17127     as_ln_s='cp -p'
17128   fi
17129 else
17130   as_ln_s='cp -p'
17131 fi
17132 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17133 rmdir conf$$.dir 2>/dev/null
17134
17135
17136 # as_fn_mkdir_p
17137 # -------------
17138 # Create "$as_dir" as a directory, including parents if necessary.
17139 as_fn_mkdir_p ()
17140 {
17141
17142   case $as_dir in #(
17143   -*) as_dir=./$as_dir;;
17144   esac
17145   test -d "$as_dir" || eval $as_mkdir_p || {
17146     as_dirs=
17147     while :; do
17148       case $as_dir in #(
17149       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17150       *) as_qdir=$as_dir;;
17151       esac
17152       as_dirs="'$as_qdir' $as_dirs"
17153       as_dir=`$as_dirname -- "$as_dir" ||
17154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17155          X"$as_dir" : 'X\(//\)[^/]' \| \
17156          X"$as_dir" : 'X\(//\)$' \| \
17157          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17158 $as_echo X"$as_dir" |
17159     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17160             s//\1/
17161             q
17162           }
17163           /^X\(\/\/\)[^/].*/{
17164             s//\1/
17165             q
17166           }
17167           /^X\(\/\/\)$/{
17168             s//\1/
17169             q
17170           }
17171           /^X\(\/\).*/{
17172             s//\1/
17173             q
17174           }
17175           s/.*/./; q'`
17176       test -d "$as_dir" && break
17177     done
17178     test -z "$as_dirs" || eval "mkdir $as_dirs"
17179   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17180
17181
17182 } # as_fn_mkdir_p
17183 if mkdir -p . 2>/dev/null; then
17184   as_mkdir_p='mkdir -p "$as_dir"'
17185 else
17186   test -d ./-p && rmdir ./-p
17187   as_mkdir_p=false
17188 fi
17189
17190 if test -x / >/dev/null 2>&1; then
17191   as_test_x='test -x'
17192 else
17193   if ls -dL / >/dev/null 2>&1; then
17194     as_ls_L_option=L
17195   else
17196     as_ls_L_option=
17197   fi
17198   as_test_x='
17199     eval sh -c '\''
17200       if test -d "$1"; then
17201         test -d "$1/.";
17202       else
17203         case $1 in #(
17204         -*)set "./$1";;
17205         esac;
17206         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17207         ???[sx]*):;;*)false;;esac;fi
17208     '\'' sh
17209   '
17210 fi
17211 as_executable_p=$as_test_x
17212
17213 # Sed expression to map a string onto a valid CPP name.
17214 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17215
17216 # Sed expression to map a string onto a valid variable name.
17217 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17218
17219
17220 exec 6>&1
17221 ## ----------------------------------- ##
17222 ## Main body of $CONFIG_STATUS script. ##
17223 ## ----------------------------------- ##
17224 _ASEOF
17225 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17226
17227 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17228 # Save the log message, to keep $0 and so on meaningful, and to
17229 # report actual input values of CONFIG_FILES etc. instead of their
17230 # values after options handling.
17231 ac_log="
17232 This file was extended by asdcplib $as_me 1.9.45, which was
17233 generated by GNU Autoconf 2.68.  Invocation command line was
17234
17235   CONFIG_FILES    = $CONFIG_FILES
17236   CONFIG_HEADERS  = $CONFIG_HEADERS
17237   CONFIG_LINKS    = $CONFIG_LINKS
17238   CONFIG_COMMANDS = $CONFIG_COMMANDS
17239   $ $0 $@
17240
17241 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17242 "
17243
17244 _ACEOF
17245
17246 case $ac_config_files in *"
17247 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17248 esac
17249
17250
17251
17252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17253 # Files that config.status was made for.
17254 config_files="$ac_config_files"
17255 config_commands="$ac_config_commands"
17256
17257 _ACEOF
17258
17259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17260 ac_cs_usage="\
17261 \`$as_me' instantiates files and other configuration actions
17262 from templates according to the current configuration.  Unless the files
17263 and actions are specified as TAGs, all are instantiated by default.
17264
17265 Usage: $0 [OPTION]... [TAG]...
17266
17267   -h, --help       print this help, then exit
17268   -V, --version    print version number and configuration settings, then exit
17269       --config     print configuration, then exit
17270   -q, --quiet, --silent
17271                    do not print progress messages
17272   -d, --debug      don't remove temporary files
17273       --recheck    update $as_me by reconfiguring in the same conditions
17274       --file=FILE[:TEMPLATE]
17275                    instantiate the configuration file FILE
17276
17277 Configuration files:
17278 $config_files
17279
17280 Configuration commands:
17281 $config_commands
17282
17283 Report bugs to <asdcplib@cinecert.com>."
17284
17285 _ACEOF
17286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17287 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17288 ac_cs_version="\\
17289 asdcplib config.status 1.9.45
17290 configured by $0, generated by GNU Autoconf 2.68,
17291   with options \\"\$ac_cs_config\\"
17292
17293 Copyright (C) 2010 Free Software Foundation, Inc.
17294 This config.status script is free software; the Free Software Foundation
17295 gives unlimited permission to copy, distribute and modify it."
17296
17297 ac_pwd='$ac_pwd'
17298 srcdir='$srcdir'
17299 INSTALL='$INSTALL'
17300 MKDIR_P='$MKDIR_P'
17301 AWK='$AWK'
17302 test -n "\$AWK" || AWK=awk
17303 _ACEOF
17304
17305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17306 # The default lists apply if the user does not specify any file.
17307 ac_need_defaults=:
17308 while test $# != 0
17309 do
17310   case $1 in
17311   --*=?*)
17312     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17313     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17314     ac_shift=:
17315     ;;
17316   --*=)
17317     ac_option=`expr "X$1" : 'X\([^=]*\)='`
17318     ac_optarg=
17319     ac_shift=:
17320     ;;
17321   *)
17322     ac_option=$1
17323     ac_optarg=$2
17324     ac_shift=shift
17325     ;;
17326   esac
17327
17328   case $ac_option in
17329   # Handling of the options.
17330   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17331     ac_cs_recheck=: ;;
17332   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17333     $as_echo "$ac_cs_version"; exit ;;
17334   --config | --confi | --conf | --con | --co | --c )
17335     $as_echo "$ac_cs_config"; exit ;;
17336   --debug | --debu | --deb | --de | --d | -d )
17337     debug=: ;;
17338   --file | --fil | --fi | --f )
17339     $ac_shift
17340     case $ac_optarg in
17341     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17342     '') as_fn_error $? "missing file argument" ;;
17343     esac
17344     as_fn_append CONFIG_FILES " '$ac_optarg'"
17345     ac_need_defaults=false;;
17346   --he | --h |  --help | --hel | -h )
17347     $as_echo "$ac_cs_usage"; exit ;;
17348   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17349   | -silent | --silent | --silen | --sile | --sil | --si | --s)
17350     ac_cs_silent=: ;;
17351
17352   # This is an error.
17353   -*) as_fn_error $? "unrecognized option: \`$1'
17354 Try \`$0 --help' for more information." ;;
17355
17356   *) as_fn_append ac_config_targets " $1"
17357      ac_need_defaults=false ;;
17358
17359   esac
17360   shift
17361 done
17362
17363 ac_configure_extra_args=
17364
17365 if $ac_cs_silent; then
17366   exec 6>/dev/null
17367   ac_configure_extra_args="$ac_configure_extra_args --silent"
17368 fi
17369
17370 _ACEOF
17371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17372 if \$ac_cs_recheck; then
17373   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17374   shift
17375   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17376   CONFIG_SHELL='$SHELL'
17377   export CONFIG_SHELL
17378   exec "\$@"
17379 fi
17380
17381 _ACEOF
17382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17383 exec 5>>config.log
17384 {
17385   echo
17386   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17387 ## Running $as_me. ##
17388 _ASBOX
17389   $as_echo "$ac_log"
17390 } >&5
17391
17392 _ACEOF
17393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17394 #
17395 # INIT-COMMANDS
17396 #
17397 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17398
17399
17400 # The HP-UX ksh and POSIX shell print the target directory to stdout
17401 # if CDPATH is set.
17402 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17403
17404 sed_quote_subst='$sed_quote_subst'
17405 double_quote_subst='$double_quote_subst'
17406 delay_variable_subst='$delay_variable_subst'
17407 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17408 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17409 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17410 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17411 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17412 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17413 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17414 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17415 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17416 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17417 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17418 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17419 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17420 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17421 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17422 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17423 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17424 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17425 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17426 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17427 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17428 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17429 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17430 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17431 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17432 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17433 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17434 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17435 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17436 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17437 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17438 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17439 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17440 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17441 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17442 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17443 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17444 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17445 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17446 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17447 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17448 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17449 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17450 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17451 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17452 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17453 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17454 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17455 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17456 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17457 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17458 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17459 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17460 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17461 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17462 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17463 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"`'
17464 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17465 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17466 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17467 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17468 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17469 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17470 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17471 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17472 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17473 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17474 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17475 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17476 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17477 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17478 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17479 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17480 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17481 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17482 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17483 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17484 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17485 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17486 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17487 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17488 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17489 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17490 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17491 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17492 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17493 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17494 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17495 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17496 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17497 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17498 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17499 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17500 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17501 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17502 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17503 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17504 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17505 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17506 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17507 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17508 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17509 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17510 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17511 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17512 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17513 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17514 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17515 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17516 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17517 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17518 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17519 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17520 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17521 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17522 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17523 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17524 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17525 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17526 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17527 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17528 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17529 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17530 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17531 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17532 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17533 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17534 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17535 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17536 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17537 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17538 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17539 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17540 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17541 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17542 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17543 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17544 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17545 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17546 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17547 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17548 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17549 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17550 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17551 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17552 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17553 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17554 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17555 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17556 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17557 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17558 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17559 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17560 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17561 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17562 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17563 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17564 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17565 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17566 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17567 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17568 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17569 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17570 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17571 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17572 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17573 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17574 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17575 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17576 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17577 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17578 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17579 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17580 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17581 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17582 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17583 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17584 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17585 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17586 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17587 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17588 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17589 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17590 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17591
17592 LTCC='$LTCC'
17593 LTCFLAGS='$LTCFLAGS'
17594 compiler='$compiler_DEFAULT'
17595
17596 # A function that is used when there is no print builtin or printf.
17597 func_fallback_echo ()
17598 {
17599   eval 'cat <<_LTECHO_EOF
17600 \$1
17601 _LTECHO_EOF'
17602 }
17603
17604 # Quote evaled strings.
17605 for var in SHELL \
17606 ECHO \
17607 PATH_SEPARATOR \
17608 SED \
17609 GREP \
17610 EGREP \
17611 FGREP \
17612 LD \
17613 NM \
17614 LN_S \
17615 lt_SP2NL \
17616 lt_NL2SP \
17617 reload_flag \
17618 OBJDUMP \
17619 deplibs_check_method \
17620 file_magic_cmd \
17621 file_magic_glob \
17622 want_nocaseglob \
17623 DLLTOOL \
17624 sharedlib_from_linklib_cmd \
17625 AR \
17626 AR_FLAGS \
17627 archiver_list_spec \
17628 STRIP \
17629 RANLIB \
17630 CC \
17631 CFLAGS \
17632 compiler \
17633 lt_cv_sys_global_symbol_pipe \
17634 lt_cv_sys_global_symbol_to_cdecl \
17635 lt_cv_sys_global_symbol_to_c_name_address \
17636 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17637 nm_file_list_spec \
17638 lt_prog_compiler_no_builtin_flag \
17639 lt_prog_compiler_pic \
17640 lt_prog_compiler_wl \
17641 lt_prog_compiler_static \
17642 lt_cv_prog_compiler_c_o \
17643 need_locks \
17644 MANIFEST_TOOL \
17645 DSYMUTIL \
17646 NMEDIT \
17647 LIPO \
17648 OTOOL \
17649 OTOOL64 \
17650 shrext_cmds \
17651 export_dynamic_flag_spec \
17652 whole_archive_flag_spec \
17653 compiler_needs_object \
17654 with_gnu_ld \
17655 allow_undefined_flag \
17656 no_undefined_flag \
17657 hardcode_libdir_flag_spec \
17658 hardcode_libdir_separator \
17659 exclude_expsyms \
17660 include_expsyms \
17661 file_list_spec \
17662 variables_saved_for_relink \
17663 libname_spec \
17664 library_names_spec \
17665 soname_spec \
17666 install_override_mode \
17667 finish_eval \
17668 old_striplib \
17669 striplib \
17670 compiler_lib_search_dirs \
17671 predep_objects \
17672 postdep_objects \
17673 predeps \
17674 postdeps \
17675 compiler_lib_search_path \
17676 LD_CXX \
17677 reload_flag_CXX \
17678 compiler_CXX \
17679 lt_prog_compiler_no_builtin_flag_CXX \
17680 lt_prog_compiler_pic_CXX \
17681 lt_prog_compiler_wl_CXX \
17682 lt_prog_compiler_static_CXX \
17683 lt_cv_prog_compiler_c_o_CXX \
17684 export_dynamic_flag_spec_CXX \
17685 whole_archive_flag_spec_CXX \
17686 compiler_needs_object_CXX \
17687 with_gnu_ld_CXX \
17688 allow_undefined_flag_CXX \
17689 no_undefined_flag_CXX \
17690 hardcode_libdir_flag_spec_CXX \
17691 hardcode_libdir_separator_CXX \
17692 exclude_expsyms_CXX \
17693 include_expsyms_CXX \
17694 file_list_spec_CXX \
17695 compiler_lib_search_dirs_CXX \
17696 predep_objects_CXX \
17697 postdep_objects_CXX \
17698 predeps_CXX \
17699 postdeps_CXX \
17700 compiler_lib_search_path_CXX; do
17701     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17702     *[\\\\\\\`\\"\\\$]*)
17703       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17704       ;;
17705     *)
17706       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17707       ;;
17708     esac
17709 done
17710
17711 # Double-quote double-evaled strings.
17712 for var in reload_cmds \
17713 old_postinstall_cmds \
17714 old_postuninstall_cmds \
17715 old_archive_cmds \
17716 extract_expsyms_cmds \
17717 old_archive_from_new_cmds \
17718 old_archive_from_expsyms_cmds \
17719 archive_cmds \
17720 archive_expsym_cmds \
17721 module_cmds \
17722 module_expsym_cmds \
17723 export_symbols_cmds \
17724 prelink_cmds \
17725 postlink_cmds \
17726 postinstall_cmds \
17727 postuninstall_cmds \
17728 finish_cmds \
17729 sys_lib_search_path_spec \
17730 sys_lib_dlsearch_path_spec \
17731 reload_cmds_CXX \
17732 old_archive_cmds_CXX \
17733 old_archive_from_new_cmds_CXX \
17734 old_archive_from_expsyms_cmds_CXX \
17735 archive_cmds_CXX \
17736 archive_expsym_cmds_CXX \
17737 module_cmds_CXX \
17738 module_expsym_cmds_CXX \
17739 export_symbols_cmds_CXX \
17740 prelink_cmds_CXX \
17741 postlink_cmds_CXX; do
17742     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17743     *[\\\\\\\`\\"\\\$]*)
17744       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17745       ;;
17746     *)
17747       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17748       ;;
17749     esac
17750 done
17751
17752 ac_aux_dir='$ac_aux_dir'
17753 xsi_shell='$xsi_shell'
17754 lt_shell_append='$lt_shell_append'
17755
17756 # See if we are running on zsh, and set the options which allow our
17757 # commands through without removal of \ escapes INIT.
17758 if test -n "\${ZSH_VERSION+set}" ; then
17759    setopt NO_GLOB_SUBST
17760 fi
17761
17762
17763     PACKAGE='$PACKAGE'
17764     VERSION='$VERSION'
17765     TIMESTAMP='$TIMESTAMP'
17766     RM='$RM'
17767     ofile='$ofile'
17768
17769
17770
17771
17772
17773
17774 _ACEOF
17775
17776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17777
17778 # Handling of arguments.
17779 for ac_config_target in $ac_config_targets
17780 do
17781   case $ac_config_target in
17782     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17783     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17784     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17785     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17786     "win32/Makefile") CONFIG_FILES="$CONFIG_FILES win32/Makefile" ;;
17787     "win32/Makefile.mak") CONFIG_FILES="$CONFIG_FILES win32/Makefile.mak:win32/Makefile.wmk" ;;
17788
17789   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17790   esac
17791 done
17792
17793
17794 # If the user did not use the arguments to specify the items to instantiate,
17795 # then the envvar interface is used.  Set only those that are not.
17796 # We use the long form for the default assignment because of an extremely
17797 # bizarre bug on SunOS 4.1.3.
17798 if $ac_need_defaults; then
17799   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17800   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17801 fi
17802
17803 # Have a temporary directory for convenience.  Make it in the build tree
17804 # simply because there is no reason against having it here, and in addition,
17805 # creating and moving files from /tmp can sometimes cause problems.
17806 # Hook for its removal unless debugging.
17807 # Note that there is a small window in which the directory will not be cleaned:
17808 # after its creation but before its name has been assigned to `$tmp'.
17809 $debug ||
17810 {
17811   tmp= ac_tmp=
17812   trap 'exit_status=$?
17813   : "${ac_tmp:=$tmp}"
17814   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17815 ' 0
17816   trap 'as_fn_exit 1' 1 2 13 15
17817 }
17818 # Create a (secure) tmp directory for tmp files.
17819
17820 {
17821   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17822   test -d "$tmp"
17823 }  ||
17824 {
17825   tmp=./conf$$-$RANDOM
17826   (umask 077 && mkdir "$tmp")
17827 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17828 ac_tmp=$tmp
17829
17830 # Set up the scripts for CONFIG_FILES section.
17831 # No need to generate them if there are no CONFIG_FILES.
17832 # This happens for instance with `./config.status config.h'.
17833 if test -n "$CONFIG_FILES"; then
17834
17835
17836 ac_cr=`echo X | tr X '\015'`
17837 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17838 # But we know of no other shell where ac_cr would be empty at this
17839 # point, so we can use a bashism as a fallback.
17840 if test "x$ac_cr" = x; then
17841   eval ac_cr=\$\'\\r\'
17842 fi
17843 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17844 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17845   ac_cs_awk_cr='\\r'
17846 else
17847   ac_cs_awk_cr=$ac_cr
17848 fi
17849
17850 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17851 _ACEOF
17852
17853
17854 {
17855   echo "cat >conf$$subs.awk <<_ACEOF" &&
17856   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17857   echo "_ACEOF"
17858 } >conf$$subs.sh ||
17859   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17860 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17861 ac_delim='%!_!# '
17862 for ac_last_try in false false false false false :; do
17863   . ./conf$$subs.sh ||
17864     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17865
17866   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17867   if test $ac_delim_n = $ac_delim_num; then
17868     break
17869   elif $ac_last_try; then
17870     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17871   else
17872     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17873   fi
17874 done
17875 rm -f conf$$subs.sh
17876
17877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17878 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17879 _ACEOF
17880 sed -n '
17881 h
17882 s/^/S["/; s/!.*/"]=/
17883 p
17884 g
17885 s/^[^!]*!//
17886 :repl
17887 t repl
17888 s/'"$ac_delim"'$//
17889 t delim
17890 :nl
17891 h
17892 s/\(.\{148\}\)..*/\1/
17893 t more1
17894 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17895 p
17896 n
17897 b repl
17898 :more1
17899 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17900 p
17901 g
17902 s/.\{148\}//
17903 t nl
17904 :delim
17905 h
17906 s/\(.\{148\}\)..*/\1/
17907 t more2
17908 s/["\\]/\\&/g; s/^/"/; s/$/"/
17909 p
17910 b
17911 :more2
17912 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17913 p
17914 g
17915 s/.\{148\}//
17916 t delim
17917 ' <conf$$subs.awk | sed '
17918 /^[^""]/{
17919   N
17920   s/\n//
17921 }
17922 ' >>$CONFIG_STATUS || ac_write_fail=1
17923 rm -f conf$$subs.awk
17924 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17925 _ACAWK
17926 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17927   for (key in S) S_is_set[key] = 1
17928   FS = "\a"
17929
17930 }
17931 {
17932   line = $ 0
17933   nfields = split(line, field, "@")
17934   substed = 0
17935   len = length(field[1])
17936   for (i = 2; i < nfields; i++) {
17937     key = field[i]
17938     keylen = length(key)
17939     if (S_is_set[key]) {
17940       value = S[key]
17941       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17942       len += length(value) + length(field[++i])
17943       substed = 1
17944     } else
17945       len += 1 + keylen
17946   }
17947
17948   print line
17949 }
17950
17951 _ACAWK
17952 _ACEOF
17953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17954 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17955   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17956 else
17957   cat
17958 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17959   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17960 _ACEOF
17961
17962 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17963 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17964 # trailing colons and then remove the whole line if VPATH becomes empty
17965 # (actually we leave an empty line to preserve line numbers).
17966 if test "x$srcdir" = x.; then
17967   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
17968 h
17969 s///
17970 s/^/:/
17971 s/[      ]*$/:/
17972 s/:\$(srcdir):/:/g
17973 s/:\${srcdir}:/:/g
17974 s/:@srcdir@:/:/g
17975 s/^:*//
17976 s/:*$//
17977 x
17978 s/\(=[   ]*\).*/\1/
17979 G
17980 s/\n//
17981 s/^[^=]*=[       ]*$//
17982 }'
17983 fi
17984
17985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17986 fi # test -n "$CONFIG_FILES"
17987
17988
17989 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
17990 shift
17991 for ac_tag
17992 do
17993   case $ac_tag in
17994   :[FHLC]) ac_mode=$ac_tag; continue;;
17995   esac
17996   case $ac_mode$ac_tag in
17997   :[FHL]*:*);;
17998   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17999   :[FH]-) ac_tag=-:-;;
18000   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18001   esac
18002   ac_save_IFS=$IFS
18003   IFS=:
18004   set x $ac_tag
18005   IFS=$ac_save_IFS
18006   shift
18007   ac_file=$1
18008   shift
18009
18010   case $ac_mode in
18011   :L) ac_source=$1;;
18012   :[FH])
18013     ac_file_inputs=
18014     for ac_f
18015     do
18016       case $ac_f in
18017       -) ac_f="$ac_tmp/stdin";;
18018       *) # Look for the file first in the build tree, then in the source tree
18019          # (if the path is not absolute).  The absolute path cannot be DOS-style,
18020          # because $ac_f cannot contain `:'.
18021          test -f "$ac_f" ||
18022            case $ac_f in
18023            [\\/$]*) false;;
18024            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18025            esac ||
18026            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18027       esac
18028       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18029       as_fn_append ac_file_inputs " '$ac_f'"
18030     done
18031
18032     # Let's still pretend it is `configure' which instantiates (i.e., don't
18033     # use $as_me), people would be surprised to read:
18034     #    /* config.h.  Generated by config.status.  */
18035     configure_input='Generated from '`
18036           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18037         `' by configure.'
18038     if test x"$ac_file" != x-; then
18039       configure_input="$ac_file.  $configure_input"
18040       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18041 $as_echo "$as_me: creating $ac_file" >&6;}
18042     fi
18043     # Neutralize special characters interpreted by sed in replacement strings.
18044     case $configure_input in #(
18045     *\&* | *\|* | *\\* )
18046        ac_sed_conf_input=`$as_echo "$configure_input" |
18047        sed 's/[\\\\&|]/\\\\&/g'`;; #(
18048     *) ac_sed_conf_input=$configure_input;;
18049     esac
18050
18051     case $ac_tag in
18052     *:-:* | *:-) cat >"$ac_tmp/stdin" \
18053       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18054     esac
18055     ;;
18056   esac
18057
18058   ac_dir=`$as_dirname -- "$ac_file" ||
18059 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18060          X"$ac_file" : 'X\(//\)[^/]' \| \
18061          X"$ac_file" : 'X\(//\)$' \| \
18062          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18063 $as_echo X"$ac_file" |
18064     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18065             s//\1/
18066             q
18067           }
18068           /^X\(\/\/\)[^/].*/{
18069             s//\1/
18070             q
18071           }
18072           /^X\(\/\/\)$/{
18073             s//\1/
18074             q
18075           }
18076           /^X\(\/\).*/{
18077             s//\1/
18078             q
18079           }
18080           s/.*/./; q'`
18081   as_dir="$ac_dir"; as_fn_mkdir_p
18082   ac_builddir=.
18083
18084 case "$ac_dir" in
18085 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18086 *)
18087   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18088   # A ".." for each directory in $ac_dir_suffix.
18089   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18090   case $ac_top_builddir_sub in
18091   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18092   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18093   esac ;;
18094 esac
18095 ac_abs_top_builddir=$ac_pwd
18096 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18097 # for backward compatibility:
18098 ac_top_builddir=$ac_top_build_prefix
18099
18100 case $srcdir in
18101   .)  # We are building in place.
18102     ac_srcdir=.
18103     ac_top_srcdir=$ac_top_builddir_sub
18104     ac_abs_top_srcdir=$ac_pwd ;;
18105   [\\/]* | ?:[\\/]* )  # Absolute name.
18106     ac_srcdir=$srcdir$ac_dir_suffix;
18107     ac_top_srcdir=$srcdir
18108     ac_abs_top_srcdir=$srcdir ;;
18109   *) # Relative name.
18110     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18111     ac_top_srcdir=$ac_top_build_prefix$srcdir
18112     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18113 esac
18114 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18115
18116
18117   case $ac_mode in
18118   :F)
18119   #
18120   # CONFIG_FILE
18121   #
18122
18123   case $INSTALL in
18124   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18125   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18126   esac
18127   ac_MKDIR_P=$MKDIR_P
18128   case $MKDIR_P in
18129   [\\/$]* | ?:[\\/]* ) ;;
18130   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18131   esac
18132 _ACEOF
18133
18134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18135 # If the template does not know about datarootdir, expand it.
18136 # FIXME: This hack should be removed a few years after 2.60.
18137 ac_datarootdir_hack=; ac_datarootdir_seen=
18138 ac_sed_dataroot='
18139 /datarootdir/ {
18140   p
18141   q
18142 }
18143 /@datadir@/p
18144 /@docdir@/p
18145 /@infodir@/p
18146 /@localedir@/p
18147 /@mandir@/p'
18148 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18149 *datarootdir*) ac_datarootdir_seen=yes;;
18150 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18151   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18152 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18153 _ACEOF
18154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18155   ac_datarootdir_hack='
18156   s&@datadir@&$datadir&g
18157   s&@docdir@&$docdir&g
18158   s&@infodir@&$infodir&g
18159   s&@localedir@&$localedir&g
18160   s&@mandir@&$mandir&g
18161   s&\\\${datarootdir}&$datarootdir&g' ;;
18162 esac
18163 _ACEOF
18164
18165 # Neutralize VPATH when `$srcdir' = `.'.
18166 # Shell code in configure.ac might set extrasub.
18167 # FIXME: do we really want to maintain this feature?
18168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18169 ac_sed_extra="$ac_vpsub
18170 $extrasub
18171 _ACEOF
18172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18173 :t
18174 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18175 s|@configure_input@|$ac_sed_conf_input|;t t
18176 s&@top_builddir@&$ac_top_builddir_sub&;t t
18177 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18178 s&@srcdir@&$ac_srcdir&;t t
18179 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18180 s&@top_srcdir@&$ac_top_srcdir&;t t
18181 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18182 s&@builddir@&$ac_builddir&;t t
18183 s&@abs_builddir@&$ac_abs_builddir&;t t
18184 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18185 s&@INSTALL@&$ac_INSTALL&;t t
18186 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18187 $ac_datarootdir_hack
18188 "
18189 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18190   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18191
18192 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18193   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18194   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
18195       "$ac_tmp/out"`; test -z "$ac_out"; } &&
18196   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18197 which seems to be undefined.  Please make sure it is defined" >&5
18198 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18199 which seems to be undefined.  Please make sure it is defined" >&2;}
18200
18201   rm -f "$ac_tmp/stdin"
18202   case $ac_file in
18203   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18204   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18205   esac \
18206   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18207  ;;
18208
18209
18210   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18211 $as_echo "$as_me: executing $ac_file commands" >&6;}
18212  ;;
18213   esac
18214
18215
18216   case $ac_file$ac_mode in
18217     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18218   # Autoconf 2.62 quotes --file arguments for eval, but not when files
18219   # are listed without --file.  Let's play safe and only enable the eval
18220   # if we detect the quoting.
18221   case $CONFIG_FILES in
18222   *\'*) eval set x "$CONFIG_FILES" ;;
18223   *)   set x $CONFIG_FILES ;;
18224   esac
18225   shift
18226   for mf
18227   do
18228     # Strip MF so we end up with the name of the file.
18229     mf=`echo "$mf" | sed -e 's/:.*$//'`
18230     # Check whether this is an Automake generated Makefile or not.
18231     # We used to match only the files named `Makefile.in', but
18232     # some people rename them; so instead we look at the file content.
18233     # Grep'ing the first line is not enough: some people post-process
18234     # each Makefile.in and add a new line on top of each file to say so.
18235     # Grep'ing the whole file is not good either: AIX grep has a line
18236     # limit of 2048, but all sed's we know have understand at least 4000.
18237     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18238       dirpart=`$as_dirname -- "$mf" ||
18239 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18240          X"$mf" : 'X\(//\)[^/]' \| \
18241          X"$mf" : 'X\(//\)$' \| \
18242          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18243 $as_echo X"$mf" |
18244     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18245             s//\1/
18246             q
18247           }
18248           /^X\(\/\/\)[^/].*/{
18249             s//\1/
18250             q
18251           }
18252           /^X\(\/\/\)$/{
18253             s//\1/
18254             q
18255           }
18256           /^X\(\/\).*/{
18257             s//\1/
18258             q
18259           }
18260           s/.*/./; q'`
18261     else
18262       continue
18263     fi
18264     # Extract the definition of DEPDIR, am__include, and am__quote
18265     # from the Makefile without running `make'.
18266     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18267     test -z "$DEPDIR" && continue
18268     am__include=`sed -n 's/^am__include = //p' < "$mf"`
18269     test -z "am__include" && continue
18270     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18271     # When using ansi2knr, U may be empty or an underscore; expand it
18272     U=`sed -n 's/^U = //p' < "$mf"`
18273     # Find all dependency output files, they are included files with
18274     # $(DEPDIR) in their names.  We invoke sed twice because it is the
18275     # simplest approach to changing $(DEPDIR) to its actual value in the
18276     # expansion.
18277     for file in `sed -n "
18278       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18279          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18280       # Make sure the directory exists.
18281       test -f "$dirpart/$file" && continue
18282       fdir=`$as_dirname -- "$file" ||
18283 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18284          X"$file" : 'X\(//\)[^/]' \| \
18285          X"$file" : 'X\(//\)$' \| \
18286          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18287 $as_echo X"$file" |
18288     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18289             s//\1/
18290             q
18291           }
18292           /^X\(\/\/\)[^/].*/{
18293             s//\1/
18294             q
18295           }
18296           /^X\(\/\/\)$/{
18297             s//\1/
18298             q
18299           }
18300           /^X\(\/\).*/{
18301             s//\1/
18302             q
18303           }
18304           s/.*/./; q'`
18305       as_dir=$dirpart/$fdir; as_fn_mkdir_p
18306       # echo "creating $dirpart/$file"
18307       echo '# dummy' > "$dirpart/$file"
18308     done
18309   done
18310 }
18311  ;;
18312     "libtool":C)
18313
18314     # See if we are running on zsh, and set the options which allow our
18315     # commands through without removal of \ escapes.
18316     if test -n "${ZSH_VERSION+set}" ; then
18317       setopt NO_GLOB_SUBST
18318     fi
18319
18320     cfgfile="${ofile}T"
18321     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18322     $RM "$cfgfile"
18323
18324     cat <<_LT_EOF >> "$cfgfile"
18325 #! $SHELL
18326
18327 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18328 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18329 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18330 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18331 #
18332 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18333 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18334 #                 Foundation, Inc.
18335 #   Written by Gordon Matzigkeit, 1996
18336 #
18337 #   This file is part of GNU Libtool.
18338 #
18339 # GNU Libtool is free software; you can redistribute it and/or
18340 # modify it under the terms of the GNU General Public License as
18341 # published by the Free Software Foundation; either version 2 of
18342 # the License, or (at your option) any later version.
18343 #
18344 # As a special exception to the GNU General Public License,
18345 # if you distribute this file as part of a program or library that
18346 # is built using GNU Libtool, you may include this file under the
18347 # same distribution terms that you use for the rest of that program.
18348 #
18349 # GNU Libtool is distributed in the hope that it will be useful,
18350 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18351 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18352 # GNU General Public License for more details.
18353 #
18354 # You should have received a copy of the GNU General Public License
18355 # along with GNU Libtool; see the file COPYING.  If not, a copy
18356 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18357 # obtained by writing to the Free Software Foundation, Inc.,
18358 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18359
18360
18361 # The names of the tagged configurations supported by this script.
18362 available_tags="CXX "
18363
18364 # ### BEGIN LIBTOOL CONFIG
18365
18366 # Which release of libtool.m4 was used?
18367 macro_version=$macro_version
18368 macro_revision=$macro_revision
18369
18370 # Whether or not to build shared libraries.
18371 build_libtool_libs=$enable_shared
18372
18373 # Whether or not to build static libraries.
18374 build_old_libs=$enable_static
18375
18376 # What type of objects to build.
18377 pic_mode=$pic_mode
18378
18379 # Whether or not to optimize for fast installation.
18380 fast_install=$enable_fast_install
18381
18382 # Shell to use when invoking shell scripts.
18383 SHELL=$lt_SHELL
18384
18385 # An echo program that protects backslashes.
18386 ECHO=$lt_ECHO
18387
18388 # The PATH separator for the build system.
18389 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18390
18391 # The host system.
18392 host_alias=$host_alias
18393 host=$host
18394 host_os=$host_os
18395
18396 # The build system.
18397 build_alias=$build_alias
18398 build=$build
18399 build_os=$build_os
18400
18401 # A sed program that does not truncate output.
18402 SED=$lt_SED
18403
18404 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18405 Xsed="\$SED -e 1s/^X//"
18406
18407 # A grep program that handles long lines.
18408 GREP=$lt_GREP
18409
18410 # An ERE matcher.
18411 EGREP=$lt_EGREP
18412
18413 # A literal string matcher.
18414 FGREP=$lt_FGREP
18415
18416 # A BSD- or MS-compatible name lister.
18417 NM=$lt_NM
18418
18419 # Whether we need soft or hard links.
18420 LN_S=$lt_LN_S
18421
18422 # What is the maximum length of a command?
18423 max_cmd_len=$max_cmd_len
18424
18425 # Object file suffix (normally "o").
18426 objext=$ac_objext
18427
18428 # Executable file suffix (normally "").
18429 exeext=$exeext
18430
18431 # whether the shell understands "unset".
18432 lt_unset=$lt_unset
18433
18434 # turn spaces into newlines.
18435 SP2NL=$lt_lt_SP2NL
18436
18437 # turn newlines into spaces.
18438 NL2SP=$lt_lt_NL2SP
18439
18440 # convert \$build file names to \$host format.
18441 to_host_file_cmd=$lt_cv_to_host_file_cmd
18442
18443 # convert \$build files to toolchain format.
18444 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18445
18446 # An object symbol dumper.
18447 OBJDUMP=$lt_OBJDUMP
18448
18449 # Method to check whether dependent libraries are shared objects.
18450 deplibs_check_method=$lt_deplibs_check_method
18451
18452 # Command to use when deplibs_check_method = "file_magic".
18453 file_magic_cmd=$lt_file_magic_cmd
18454
18455 # How to find potential files when deplibs_check_method = "file_magic".
18456 file_magic_glob=$lt_file_magic_glob
18457
18458 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18459 want_nocaseglob=$lt_want_nocaseglob
18460
18461 # DLL creation program.
18462 DLLTOOL=$lt_DLLTOOL
18463
18464 # Command to associate shared and link libraries.
18465 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18466
18467 # The archiver.
18468 AR=$lt_AR
18469
18470 # Flags to create an archive.
18471 AR_FLAGS=$lt_AR_FLAGS
18472
18473 # How to feed a file listing to the archiver.
18474 archiver_list_spec=$lt_archiver_list_spec
18475
18476 # A symbol stripping program.
18477 STRIP=$lt_STRIP
18478
18479 # Commands used to install an old-style archive.
18480 RANLIB=$lt_RANLIB
18481 old_postinstall_cmds=$lt_old_postinstall_cmds
18482 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18483
18484 # Whether to use a lock for old archive extraction.
18485 lock_old_archive_extraction=$lock_old_archive_extraction
18486
18487 # A C compiler.
18488 LTCC=$lt_CC
18489
18490 # LTCC compiler flags.
18491 LTCFLAGS=$lt_CFLAGS
18492
18493 # Take the output of nm and produce a listing of raw symbols and C names.
18494 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18495
18496 # Transform the output of nm in a proper C declaration.
18497 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18498
18499 # Transform the output of nm in a C name address pair.
18500 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18501
18502 # Transform the output of nm in a C name address pair when lib prefix is needed.
18503 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18504
18505 # Specify filename containing input files for \$NM.
18506 nm_file_list_spec=$lt_nm_file_list_spec
18507
18508 # The root where to search for dependent libraries,and in which our libraries should be installed.
18509 lt_sysroot=$lt_sysroot
18510
18511 # The name of the directory that contains temporary libtool files.
18512 objdir=$objdir
18513
18514 # Used to examine libraries when file_magic_cmd begins with "file".
18515 MAGIC_CMD=$MAGIC_CMD
18516
18517 # Must we lock files when doing compilation?
18518 need_locks=$lt_need_locks
18519
18520 # Manifest tool.
18521 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18522
18523 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18524 DSYMUTIL=$lt_DSYMUTIL
18525
18526 # Tool to change global to local symbols on Mac OS X.
18527 NMEDIT=$lt_NMEDIT
18528
18529 # Tool to manipulate fat objects and archives on Mac OS X.
18530 LIPO=$lt_LIPO
18531
18532 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18533 OTOOL=$lt_OTOOL
18534
18535 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18536 OTOOL64=$lt_OTOOL64
18537
18538 # Old archive suffix (normally "a").
18539 libext=$libext
18540
18541 # Shared library suffix (normally ".so").
18542 shrext_cmds=$lt_shrext_cmds
18543
18544 # The commands to extract the exported symbol list from a shared archive.
18545 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18546
18547 # Variables whose values should be saved in libtool wrapper scripts and
18548 # restored at link time.
18549 variables_saved_for_relink=$lt_variables_saved_for_relink
18550
18551 # Do we need the "lib" prefix for modules?
18552 need_lib_prefix=$need_lib_prefix
18553
18554 # Do we need a version for libraries?
18555 need_version=$need_version
18556
18557 # Library versioning type.
18558 version_type=$version_type
18559
18560 # Shared library runtime path variable.
18561 runpath_var=$runpath_var
18562
18563 # Shared library path variable.
18564 shlibpath_var=$shlibpath_var
18565
18566 # Is shlibpath searched before the hard-coded library search path?
18567 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18568
18569 # Format of library name prefix.
18570 libname_spec=$lt_libname_spec
18571
18572 # List of archive names.  First name is the real one, the rest are links.
18573 # The last name is the one that the linker finds with -lNAME
18574 library_names_spec=$lt_library_names_spec
18575
18576 # The coded name of the library, if different from the real name.
18577 soname_spec=$lt_soname_spec
18578
18579 # Permission mode override for installation of shared libraries.
18580 install_override_mode=$lt_install_override_mode
18581
18582 # Command to use after installation of a shared archive.
18583 postinstall_cmds=$lt_postinstall_cmds
18584
18585 # Command to use after uninstallation of a shared archive.
18586 postuninstall_cmds=$lt_postuninstall_cmds
18587
18588 # Commands used to finish a libtool library installation in a directory.
18589 finish_cmds=$lt_finish_cmds
18590
18591 # As "finish_cmds", except a single script fragment to be evaled but
18592 # not shown.
18593 finish_eval=$lt_finish_eval
18594
18595 # Whether we should hardcode library paths into libraries.
18596 hardcode_into_libs=$hardcode_into_libs
18597
18598 # Compile-time system search path for libraries.
18599 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18600
18601 # Run-time system search path for libraries.
18602 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18603
18604 # Whether dlopen is supported.
18605 dlopen_support=$enable_dlopen
18606
18607 # Whether dlopen of programs is supported.
18608 dlopen_self=$enable_dlopen_self
18609
18610 # Whether dlopen of statically linked programs is supported.
18611 dlopen_self_static=$enable_dlopen_self_static
18612
18613 # Commands to strip libraries.
18614 old_striplib=$lt_old_striplib
18615 striplib=$lt_striplib
18616
18617
18618 # The linker used to build libraries.
18619 LD=$lt_LD
18620
18621 # How to create reloadable object files.
18622 reload_flag=$lt_reload_flag
18623 reload_cmds=$lt_reload_cmds
18624
18625 # Commands used to build an old-style archive.
18626 old_archive_cmds=$lt_old_archive_cmds
18627
18628 # A language specific compiler.
18629 CC=$lt_compiler
18630
18631 # Is the compiler the GNU compiler?
18632 with_gcc=$GCC
18633
18634 # Compiler flag to turn off builtin functions.
18635 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18636
18637 # Additional compiler flags for building library objects.
18638 pic_flag=$lt_lt_prog_compiler_pic
18639
18640 # How to pass a linker flag through the compiler.
18641 wl=$lt_lt_prog_compiler_wl
18642
18643 # Compiler flag to prevent dynamic linking.
18644 link_static_flag=$lt_lt_prog_compiler_static
18645
18646 # Does compiler simultaneously support -c and -o options?
18647 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18648
18649 # Whether or not to add -lc for building shared libraries.
18650 build_libtool_need_lc=$archive_cmds_need_lc
18651
18652 # Whether or not to disallow shared libs when runtime libs are static.
18653 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18654
18655 # Compiler flag to allow reflexive dlopens.
18656 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18657
18658 # Compiler flag to generate shared objects directly from archives.
18659 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18660
18661 # Whether the compiler copes with passing no objects directly.
18662 compiler_needs_object=$lt_compiler_needs_object
18663
18664 # Create an old-style archive from a shared archive.
18665 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18666
18667 # Create a temporary old-style archive to link instead of a shared archive.
18668 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18669
18670 # Commands used to build a shared archive.
18671 archive_cmds=$lt_archive_cmds
18672 archive_expsym_cmds=$lt_archive_expsym_cmds
18673
18674 # Commands used to build a loadable module if different from building
18675 # a shared archive.
18676 module_cmds=$lt_module_cmds
18677 module_expsym_cmds=$lt_module_expsym_cmds
18678
18679 # Whether we are building with GNU ld or not.
18680 with_gnu_ld=$lt_with_gnu_ld
18681
18682 # Flag that allows shared libraries with undefined symbols to be built.
18683 allow_undefined_flag=$lt_allow_undefined_flag
18684
18685 # Flag that enforces no undefined symbols.
18686 no_undefined_flag=$lt_no_undefined_flag
18687
18688 # Flag to hardcode \$libdir into a binary during linking.
18689 # This must work even if \$libdir does not exist
18690 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18691
18692 # Whether we need a single "-rpath" flag with a separated argument.
18693 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18694
18695 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18696 # DIR into the resulting binary.
18697 hardcode_direct=$hardcode_direct
18698
18699 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18700 # DIR into the resulting binary and the resulting library dependency is
18701 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18702 # library is relocated.
18703 hardcode_direct_absolute=$hardcode_direct_absolute
18704
18705 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18706 # into the resulting binary.
18707 hardcode_minus_L=$hardcode_minus_L
18708
18709 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18710 # into the resulting binary.
18711 hardcode_shlibpath_var=$hardcode_shlibpath_var
18712
18713 # Set to "yes" if building a shared library automatically hardcodes DIR
18714 # into the library and all subsequent libraries and executables linked
18715 # against it.
18716 hardcode_automatic=$hardcode_automatic
18717
18718 # Set to yes if linker adds runtime paths of dependent libraries
18719 # to runtime path list.
18720 inherit_rpath=$inherit_rpath
18721
18722 # Whether libtool must link a program against all its dependency libraries.
18723 link_all_deplibs=$link_all_deplibs
18724
18725 # Set to "yes" if exported symbols are required.
18726 always_export_symbols=$always_export_symbols
18727
18728 # The commands to list exported symbols.
18729 export_symbols_cmds=$lt_export_symbols_cmds
18730
18731 # Symbols that should not be listed in the preloaded symbols.
18732 exclude_expsyms=$lt_exclude_expsyms
18733
18734 # Symbols that must always be exported.
18735 include_expsyms=$lt_include_expsyms
18736
18737 # Commands necessary for linking programs (against libraries) with templates.
18738 prelink_cmds=$lt_prelink_cmds
18739
18740 # Commands necessary for finishing linking programs.
18741 postlink_cmds=$lt_postlink_cmds
18742
18743 # Specify filename containing input files.
18744 file_list_spec=$lt_file_list_spec
18745
18746 # How to hardcode a shared library path into an executable.
18747 hardcode_action=$hardcode_action
18748
18749 # The directories searched by this compiler when creating a shared library.
18750 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18751
18752 # Dependencies to place before and after the objects being linked to
18753 # create a shared library.
18754 predep_objects=$lt_predep_objects
18755 postdep_objects=$lt_postdep_objects
18756 predeps=$lt_predeps
18757 postdeps=$lt_postdeps
18758
18759 # The library search path used internally by the compiler when linking
18760 # a shared library.
18761 compiler_lib_search_path=$lt_compiler_lib_search_path
18762
18763 # ### END LIBTOOL CONFIG
18764
18765 _LT_EOF
18766
18767   case $host_os in
18768   aix3*)
18769     cat <<\_LT_EOF >> "$cfgfile"
18770 # AIX sometimes has problems with the GCC collect2 program.  For some
18771 # reason, if we set the COLLECT_NAMES environment variable, the problems
18772 # vanish in a puff of smoke.
18773 if test "X${COLLECT_NAMES+set}" != Xset; then
18774   COLLECT_NAMES=
18775   export COLLECT_NAMES
18776 fi
18777 _LT_EOF
18778     ;;
18779   esac
18780
18781
18782 ltmain="$ac_aux_dir/ltmain.sh"
18783
18784
18785   # We use sed instead of cat because bash on DJGPP gets confused if
18786   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18787   # text mode, it properly converts lines to CR/LF.  This bash problem
18788   # is reportedly fixed, but why not run on old versions too?
18789   sed '$q' "$ltmain" >> "$cfgfile" \
18790      || (rm -f "$cfgfile"; exit 1)
18791
18792   if test x"$xsi_shell" = xyes; then
18793   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18794 func_dirname ()\
18795 {\
18796 \    case ${1} in\
18797 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18798 \      *  ) func_dirname_result="${3}" ;;\
18799 \    esac\
18800 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18801   && mv -f "$cfgfile.tmp" "$cfgfile" \
18802     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18803 test 0 -eq $? || _lt_function_replace_fail=:
18804
18805
18806   sed -e '/^func_basename ()$/,/^} # func_basename /c\
18807 func_basename ()\
18808 {\
18809 \    func_basename_result="${1##*/}"\
18810 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18811   && mv -f "$cfgfile.tmp" "$cfgfile" \
18812     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18813 test 0 -eq $? || _lt_function_replace_fail=:
18814
18815
18816   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18817 func_dirname_and_basename ()\
18818 {\
18819 \    case ${1} in\
18820 \      */*) func_dirname_result="${1%/*}${2}" ;;\
18821 \      *  ) func_dirname_result="${3}" ;;\
18822 \    esac\
18823 \    func_basename_result="${1##*/}"\
18824 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18825   && mv -f "$cfgfile.tmp" "$cfgfile" \
18826     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18827 test 0 -eq $? || _lt_function_replace_fail=:
18828
18829
18830   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18831 func_stripname ()\
18832 {\
18833 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18834 \    # positional parameters, so assign one to ordinary parameter first.\
18835 \    func_stripname_result=${3}\
18836 \    func_stripname_result=${func_stripname_result#"${1}"}\
18837 \    func_stripname_result=${func_stripname_result%"${2}"}\
18838 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18839   && mv -f "$cfgfile.tmp" "$cfgfile" \
18840     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18841 test 0 -eq $? || _lt_function_replace_fail=:
18842
18843
18844   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18845 func_split_long_opt ()\
18846 {\
18847 \    func_split_long_opt_name=${1%%=*}\
18848 \    func_split_long_opt_arg=${1#*=}\
18849 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18850   && mv -f "$cfgfile.tmp" "$cfgfile" \
18851     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18852 test 0 -eq $? || _lt_function_replace_fail=:
18853
18854
18855   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18856 func_split_short_opt ()\
18857 {\
18858 \    func_split_short_opt_arg=${1#??}\
18859 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18860 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18861   && mv -f "$cfgfile.tmp" "$cfgfile" \
18862     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18863 test 0 -eq $? || _lt_function_replace_fail=:
18864
18865
18866   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18867 func_lo2o ()\
18868 {\
18869 \    case ${1} in\
18870 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18871 \      *)    func_lo2o_result=${1} ;;\
18872 \    esac\
18873 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18874   && mv -f "$cfgfile.tmp" "$cfgfile" \
18875     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18876 test 0 -eq $? || _lt_function_replace_fail=:
18877
18878
18879   sed -e '/^func_xform ()$/,/^} # func_xform /c\
18880 func_xform ()\
18881 {\
18882     func_xform_result=${1%.*}.lo\
18883 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18884   && mv -f "$cfgfile.tmp" "$cfgfile" \
18885     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18886 test 0 -eq $? || _lt_function_replace_fail=:
18887
18888
18889   sed -e '/^func_arith ()$/,/^} # func_arith /c\
18890 func_arith ()\
18891 {\
18892     func_arith_result=$(( $* ))\
18893 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18894   && mv -f "$cfgfile.tmp" "$cfgfile" \
18895     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18896 test 0 -eq $? || _lt_function_replace_fail=:
18897
18898
18899   sed -e '/^func_len ()$/,/^} # func_len /c\
18900 func_len ()\
18901 {\
18902     func_len_result=${#1}\
18903 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18904   && mv -f "$cfgfile.tmp" "$cfgfile" \
18905     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18906 test 0 -eq $? || _lt_function_replace_fail=:
18907
18908 fi
18909
18910 if test x"$lt_shell_append" = xyes; then
18911   sed -e '/^func_append ()$/,/^} # func_append /c\
18912 func_append ()\
18913 {\
18914     eval "${1}+=\\${2}"\
18915 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18916   && mv -f "$cfgfile.tmp" "$cfgfile" \
18917     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18918 test 0 -eq $? || _lt_function_replace_fail=:
18919
18920
18921   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18922 func_append_quoted ()\
18923 {\
18924 \    func_quote_for_eval "${2}"\
18925 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18926 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18927   && mv -f "$cfgfile.tmp" "$cfgfile" \
18928     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18929 test 0 -eq $? || _lt_function_replace_fail=:
18930
18931
18932   # Save a `func_append' function call where possible by direct use of '+='
18933   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18934     && mv -f "$cfgfile.tmp" "$cfgfile" \
18935       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18936   test 0 -eq $? || _lt_function_replace_fail=:
18937 else
18938   # Save a `func_append' function call even when '+=' is not available
18939   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18940     && mv -f "$cfgfile.tmp" "$cfgfile" \
18941       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18942   test 0 -eq $? || _lt_function_replace_fail=:
18943 fi
18944
18945 if test x"$_lt_function_replace_fail" = x":"; then
18946   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18947 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18948 fi
18949
18950
18951    mv -f "$cfgfile" "$ofile" ||
18952     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18953   chmod +x "$ofile"
18954
18955
18956     cat <<_LT_EOF >> "$ofile"
18957
18958 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18959
18960 # The linker used to build libraries.
18961 LD=$lt_LD_CXX
18962
18963 # How to create reloadable object files.
18964 reload_flag=$lt_reload_flag_CXX
18965 reload_cmds=$lt_reload_cmds_CXX
18966
18967 # Commands used to build an old-style archive.
18968 old_archive_cmds=$lt_old_archive_cmds_CXX
18969
18970 # A language specific compiler.
18971 CC=$lt_compiler_CXX
18972
18973 # Is the compiler the GNU compiler?
18974 with_gcc=$GCC_CXX
18975
18976 # Compiler flag to turn off builtin functions.
18977 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18978
18979 # Additional compiler flags for building library objects.
18980 pic_flag=$lt_lt_prog_compiler_pic_CXX
18981
18982 # How to pass a linker flag through the compiler.
18983 wl=$lt_lt_prog_compiler_wl_CXX
18984
18985 # Compiler flag to prevent dynamic linking.
18986 link_static_flag=$lt_lt_prog_compiler_static_CXX
18987
18988 # Does compiler simultaneously support -c and -o options?
18989 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18990
18991 # Whether or not to add -lc for building shared libraries.
18992 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18993
18994 # Whether or not to disallow shared libs when runtime libs are static.
18995 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18996
18997 # Compiler flag to allow reflexive dlopens.
18998 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18999
19000 # Compiler flag to generate shared objects directly from archives.
19001 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19002
19003 # Whether the compiler copes with passing no objects directly.
19004 compiler_needs_object=$lt_compiler_needs_object_CXX
19005
19006 # Create an old-style archive from a shared archive.
19007 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19008
19009 # Create a temporary old-style archive to link instead of a shared archive.
19010 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19011
19012 # Commands used to build a shared archive.
19013 archive_cmds=$lt_archive_cmds_CXX
19014 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19015
19016 # Commands used to build a loadable module if different from building
19017 # a shared archive.
19018 module_cmds=$lt_module_cmds_CXX
19019 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19020
19021 # Whether we are building with GNU ld or not.
19022 with_gnu_ld=$lt_with_gnu_ld_CXX
19023
19024 # Flag that allows shared libraries with undefined symbols to be built.
19025 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19026
19027 # Flag that enforces no undefined symbols.
19028 no_undefined_flag=$lt_no_undefined_flag_CXX
19029
19030 # Flag to hardcode \$libdir into a binary during linking.
19031 # This must work even if \$libdir does not exist
19032 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19033
19034 # Whether we need a single "-rpath" flag with a separated argument.
19035 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19036
19037 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19038 # DIR into the resulting binary.
19039 hardcode_direct=$hardcode_direct_CXX
19040
19041 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19042 # DIR into the resulting binary and the resulting library dependency is
19043 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19044 # library is relocated.
19045 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19046
19047 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19048 # into the resulting binary.
19049 hardcode_minus_L=$hardcode_minus_L_CXX
19050
19051 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19052 # into the resulting binary.
19053 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19054
19055 # Set to "yes" if building a shared library automatically hardcodes DIR
19056 # into the library and all subsequent libraries and executables linked
19057 # against it.
19058 hardcode_automatic=$hardcode_automatic_CXX
19059
19060 # Set to yes if linker adds runtime paths of dependent libraries
19061 # to runtime path list.
19062 inherit_rpath=$inherit_rpath_CXX
19063
19064 # Whether libtool must link a program against all its dependency libraries.
19065 link_all_deplibs=$link_all_deplibs_CXX
19066
19067 # Set to "yes" if exported symbols are required.
19068 always_export_symbols=$always_export_symbols_CXX
19069
19070 # The commands to list exported symbols.
19071 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19072
19073 # Symbols that should not be listed in the preloaded symbols.
19074 exclude_expsyms=$lt_exclude_expsyms_CXX
19075
19076 # Symbols that must always be exported.
19077 include_expsyms=$lt_include_expsyms_CXX
19078
19079 # Commands necessary for linking programs (against libraries) with templates.
19080 prelink_cmds=$lt_prelink_cmds_CXX
19081
19082 # Commands necessary for finishing linking programs.
19083 postlink_cmds=$lt_postlink_cmds_CXX
19084
19085 # Specify filename containing input files.
19086 file_list_spec=$lt_file_list_spec_CXX
19087
19088 # How to hardcode a shared library path into an executable.
19089 hardcode_action=$hardcode_action_CXX
19090
19091 # The directories searched by this compiler when creating a shared library.
19092 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19093
19094 # Dependencies to place before and after the objects being linked to
19095 # create a shared library.
19096 predep_objects=$lt_predep_objects_CXX
19097 postdep_objects=$lt_postdep_objects_CXX
19098 predeps=$lt_predeps_CXX
19099 postdeps=$lt_postdeps_CXX
19100
19101 # The library search path used internally by the compiler when linking
19102 # a shared library.
19103 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19104
19105 # ### END LIBTOOL TAG CONFIG: CXX
19106 _LT_EOF
19107
19108  ;;
19109
19110   esac
19111 done # for ac_tag
19112
19113
19114 as_fn_exit 0
19115 _ACEOF
19116 ac_clean_files=$ac_clean_files_save
19117
19118 test $ac_write_fail = 0 ||
19119   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19120
19121
19122 # configure is writing to config.log, and then calls config.status.
19123 # config.status does its own redirection, appending to config.log.
19124 # Unfortunately, on DOS this fails, as config.log is still kept open
19125 # by configure, so config.status won't be able to write to it; its
19126 # output is simply discarded.  So we exec the FD to /dev/null,
19127 # effectively closing config.log, so it can be properly (re)opened and
19128 # appended to by config.status.  When coming back to configure, we
19129 # need to make the FD available again.
19130 if test "$no_create" != yes; then
19131   ac_cs_success=:
19132   ac_config_status_args=
19133   test "$silent" = yes &&
19134     ac_config_status_args="$ac_config_status_args --quiet"
19135   exec 5>/dev/null
19136   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19137   exec 5>>config.log
19138   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19139   # would make configure fail if this is the last instruction.
19140   $ac_cs_success || as_fn_exit 1
19141 fi
19142 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19143   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19144 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19145 fi
19146