25cc96f4a49c7d541ea8148b9c66456a7d9ab66c
[sockstream.git] / autom4te.cache / output.3
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68 for libsockstream 0.1.
4 @%:@
5 @%:@ Report bugs to <arjen@andromeda.nl>.
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 arjen@andromeda.nl
250 $0: about your system, including any error possibly output
251 $0: before this message. Then install a modern shell, or
252 $0: manually run the script under such a shell if you do
253 $0: 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 @S|@? 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 "@S|@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 @S|@as_val. Take advantage of shells that can avoid forks. The arguments
364 @%:@ must be portable across @S|@(()) 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 @S|@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 LIB@&t@OBJS=
565 cross_compiling=no
566 subdirs=
567 MFLAGS=
568 MAKEFLAGS=
569
570 # Identity of this package.
571 PACKAGE_NAME='libsockstream'
572 PACKAGE_TARNAME='libsockstream'
573 PACKAGE_VERSION='0.1'
574 PACKAGE_STRING='libsockstream 0.1'
575 PACKAGE_BUGREPORT='arjen@andromeda.nl'
576 PACKAGE_URL=''
577
578 ac_unique_file="src/socket.cpp"
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 LIB@&t@OBJS
619 CXXCPP
620 CPP
621 OTOOL64
622 OTOOL
623 LIPO
624 NMEDIT
625 DSYMUTIL
626 MANIFEST_TOOL
627 RANLIB
628 ac_ct_AR
629 AR
630 DLLTOOL
631 OBJDUMP
632 LN_S
633 NM
634 ac_ct_DUMPBIN
635 DUMPBIN
636 LD
637 FGREP
638 EGREP
639 GREP
640 SED
641 host_os
642 host_vendor
643 host_cpu
644 host
645 build_os
646 build_vendor
647 build_cpu
648 build
649 LIBTOOL
650 am__fastdepCC_FALSE
651 am__fastdepCC_TRUE
652 CCDEPMODE
653 ac_ct_CC
654 CFLAGS
655 CC
656 am__fastdepCXX_FALSE
657 am__fastdepCXX_TRUE
658 CXXDEPMODE
659 AMDEPBACKSLASH
660 AMDEP_FALSE
661 AMDEP_TRUE
662 am__quote
663 am__include
664 DEPDIR
665 OBJEXT
666 EXEEXT
667 ac_ct_CXX
668 CPPFLAGS
669 LDFLAGS
670 CXXFLAGS
671 CXX
672 am__untar
673 am__tar
674 AMTAR
675 am__leading_dot
676 SET_MAKE
677 AWK
678 mkdir_p
679 MKDIR_P
680 INSTALL_STRIP_PROGRAM
681 STRIP
682 install_sh
683 MAKEINFO
684 AUTOHEADER
685 AUTOMAKE
686 AUTOCONF
687 ACLOCAL
688 VERSION
689 PACKAGE
690 CYGPATH_W
691 am__isrc
692 INSTALL_DATA
693 INSTALL_SCRIPT
694 INSTALL_PROGRAM
695 target_alias
696 host_alias
697 build_alias
698 LIBS
699 ECHO_T
700 ECHO_N
701 ECHO_C
702 DEFS
703 mandir
704 localedir
705 libdir
706 psdir
707 pdfdir
708 dvidir
709 htmldir
710 infodir
711 docdir
712 oldincludedir
713 includedir
714 localstatedir
715 sharedstatedir
716 sysconfdir
717 datadir
718 datarootdir
719 libexecdir
720 sbindir
721 bindir
722 program_transform_name
723 prefix
724 exec_prefix
725 PACKAGE_URL
726 PACKAGE_BUGREPORT
727 PACKAGE_STRING
728 PACKAGE_VERSION
729 PACKAGE_TARNAME
730 PACKAGE_NAME
731 PATH_SEPARATOR
732 SHELL'
733 ac_subst_files=''
734 ac_user_opts='
735 enable_option_checking
736 enable_dependency_tracking
737 enable_shared
738 enable_static
739 with_pic
740 enable_fast_install
741 with_gnu_ld
742 with_sysroot
743 enable_libtool_lock
744 '
745       ac_precious_vars='build_alias
746 host_alias
747 target_alias
748 CXX
749 CXXFLAGS
750 LDFLAGS
751 LIBS
752 CPPFLAGS
753 CCC
754 CC
755 CFLAGS
756 CPP
757 CXXCPP'
758
759
760 # Initialize some variables set by options.
761 ac_init_help=
762 ac_init_version=false
763 ac_unrecognized_opts=
764 ac_unrecognized_sep=
765 # The variables have the same names as the options, with
766 # dashes changed to underlines.
767 cache_file=/dev/null
768 exec_prefix=NONE
769 no_create=
770 no_recursion=
771 prefix=NONE
772 program_prefix=NONE
773 program_suffix=NONE
774 program_transform_name=s,x,x,
775 silent=
776 site=
777 srcdir=
778 verbose=
779 x_includes=NONE
780 x_libraries=NONE
781
782 # Installation directory options.
783 # These are left unexpanded so users can "make install exec_prefix=/foo"
784 # and all the variables that are supposed to be based on exec_prefix
785 # by default will actually change.
786 # Use braces instead of parens because sh, perl, etc. also accept them.
787 # (The list follows the same order as the GNU Coding Standards.)
788 bindir='${exec_prefix}/bin'
789 sbindir='${exec_prefix}/sbin'
790 libexecdir='${exec_prefix}/libexec'
791 datarootdir='${prefix}/share'
792 datadir='${datarootdir}'
793 sysconfdir='${prefix}/etc'
794 sharedstatedir='${prefix}/com'
795 localstatedir='${prefix}/var'
796 includedir='${prefix}/include'
797 oldincludedir='/usr/include'
798 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
799 infodir='${datarootdir}/info'
800 htmldir='${docdir}'
801 dvidir='${docdir}'
802 pdfdir='${docdir}'
803 psdir='${docdir}'
804 libdir='${exec_prefix}/lib'
805 localedir='${datarootdir}/locale'
806 mandir='${datarootdir}/man'
807
808 ac_prev=
809 ac_dashdash=
810 for ac_option
811 do
812   # If the previous option needs an argument, assign it.
813   if test -n "$ac_prev"; then
814     eval $ac_prev=\$ac_option
815     ac_prev=
816     continue
817   fi
818
819   case $ac_option in
820   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
821   *=)   ac_optarg= ;;
822   *)    ac_optarg=yes ;;
823   esac
824
825   # Accept the important Cygnus configure options, so we can diagnose typos.
826
827   case $ac_dashdash$ac_option in
828   --)
829     ac_dashdash=yes ;;
830
831   -bindir | --bindir | --bindi | --bind | --bin | --bi)
832     ac_prev=bindir ;;
833   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
834     bindir=$ac_optarg ;;
835
836   -build | --build | --buil | --bui | --bu)
837     ac_prev=build_alias ;;
838   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
839     build_alias=$ac_optarg ;;
840
841   -cache-file | --cache-file | --cache-fil | --cache-fi \
842   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
843     ac_prev=cache_file ;;
844   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
845   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
846     cache_file=$ac_optarg ;;
847
848   --config-cache | -C)
849     cache_file=config.cache ;;
850
851   -datadir | --datadir | --datadi | --datad)
852     ac_prev=datadir ;;
853   -datadir=* | --datadir=* | --datadi=* | --datad=*)
854     datadir=$ac_optarg ;;
855
856   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
857   | --dataroo | --dataro | --datar)
858     ac_prev=datarootdir ;;
859   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
860   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
861     datarootdir=$ac_optarg ;;
862
863   -disable-* | --disable-*)
864     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865     # Reject names that are not valid shell variable names.
866     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
867       as_fn_error $? "invalid feature name: $ac_useropt"
868     ac_useropt_orig=$ac_useropt
869     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
870     case $ac_user_opts in
871       *"
872 "enable_$ac_useropt"
873 "*) ;;
874       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
875          ac_unrecognized_sep=', ';;
876     esac
877     eval enable_$ac_useropt=no ;;
878
879   -docdir | --docdir | --docdi | --doc | --do)
880     ac_prev=docdir ;;
881   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
882     docdir=$ac_optarg ;;
883
884   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
885     ac_prev=dvidir ;;
886   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
887     dvidir=$ac_optarg ;;
888
889   -enable-* | --enable-*)
890     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
891     # Reject names that are not valid shell variable names.
892     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893       as_fn_error $? "invalid feature name: $ac_useropt"
894     ac_useropt_orig=$ac_useropt
895     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896     case $ac_user_opts in
897       *"
898 "enable_$ac_useropt"
899 "*) ;;
900       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
901          ac_unrecognized_sep=', ';;
902     esac
903     eval enable_$ac_useropt=\$ac_optarg ;;
904
905   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
906   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
907   | --exec | --exe | --ex)
908     ac_prev=exec_prefix ;;
909   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
910   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
911   | --exec=* | --exe=* | --ex=*)
912     exec_prefix=$ac_optarg ;;
913
914   -gas | --gas | --ga | --g)
915     # Obsolete; use --with-gas.
916     with_gas=yes ;;
917
918   -help | --help | --hel | --he | -h)
919     ac_init_help=long ;;
920   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
921     ac_init_help=recursive ;;
922   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
923     ac_init_help=short ;;
924
925   -host | --host | --hos | --ho)
926     ac_prev=host_alias ;;
927   -host=* | --host=* | --hos=* | --ho=*)
928     host_alias=$ac_optarg ;;
929
930   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
931     ac_prev=htmldir ;;
932   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
933   | --ht=*)
934     htmldir=$ac_optarg ;;
935
936   -includedir | --includedir | --includedi | --included | --include \
937   | --includ | --inclu | --incl | --inc)
938     ac_prev=includedir ;;
939   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
940   | --includ=* | --inclu=* | --incl=* | --inc=*)
941     includedir=$ac_optarg ;;
942
943   -infodir | --infodir | --infodi | --infod | --info | --inf)
944     ac_prev=infodir ;;
945   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
946     infodir=$ac_optarg ;;
947
948   -libdir | --libdir | --libdi | --libd)
949     ac_prev=libdir ;;
950   -libdir=* | --libdir=* | --libdi=* | --libd=*)
951     libdir=$ac_optarg ;;
952
953   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
954   | --libexe | --libex | --libe)
955     ac_prev=libexecdir ;;
956   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
957   | --libexe=* | --libex=* | --libe=*)
958     libexecdir=$ac_optarg ;;
959
960   -localedir | --localedir | --localedi | --localed | --locale)
961     ac_prev=localedir ;;
962   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
963     localedir=$ac_optarg ;;
964
965   -localstatedir | --localstatedir | --localstatedi | --localstated \
966   | --localstate | --localstat | --localsta | --localst | --locals)
967     ac_prev=localstatedir ;;
968   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
969   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
970     localstatedir=$ac_optarg ;;
971
972   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
973     ac_prev=mandir ;;
974   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
975     mandir=$ac_optarg ;;
976
977   -nfp | --nfp | --nf)
978     # Obsolete; use --without-fp.
979     with_fp=no ;;
980
981   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
982   | --no-cr | --no-c | -n)
983     no_create=yes ;;
984
985   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
986   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
987     no_recursion=yes ;;
988
989   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
990   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
991   | --oldin | --oldi | --old | --ol | --o)
992     ac_prev=oldincludedir ;;
993   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
994   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
995   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
996     oldincludedir=$ac_optarg ;;
997
998   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
999     ac_prev=prefix ;;
1000   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1001     prefix=$ac_optarg ;;
1002
1003   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1004   | --program-pre | --program-pr | --program-p)
1005     ac_prev=program_prefix ;;
1006   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1007   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1008     program_prefix=$ac_optarg ;;
1009
1010   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1011   | --program-suf | --program-su | --program-s)
1012     ac_prev=program_suffix ;;
1013   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1014   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1015     program_suffix=$ac_optarg ;;
1016
1017   -program-transform-name | --program-transform-name \
1018   | --program-transform-nam | --program-transform-na \
1019   | --program-transform-n | --program-transform- \
1020   | --program-transform | --program-transfor \
1021   | --program-transfo | --program-transf \
1022   | --program-trans | --program-tran \
1023   | --progr-tra | --program-tr | --program-t)
1024     ac_prev=program_transform_name ;;
1025   -program-transform-name=* | --program-transform-name=* \
1026   | --program-transform-nam=* | --program-transform-na=* \
1027   | --program-transform-n=* | --program-transform-=* \
1028   | --program-transform=* | --program-transfor=* \
1029   | --program-transfo=* | --program-transf=* \
1030   | --program-trans=* | --program-tran=* \
1031   | --progr-tra=* | --program-tr=* | --program-t=*)
1032     program_transform_name=$ac_optarg ;;
1033
1034   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1035     ac_prev=pdfdir ;;
1036   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1037     pdfdir=$ac_optarg ;;
1038
1039   -psdir | --psdir | --psdi | --psd | --ps)
1040     ac_prev=psdir ;;
1041   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1042     psdir=$ac_optarg ;;
1043
1044   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1045   | -silent | --silent | --silen | --sile | --sil)
1046     silent=yes ;;
1047
1048   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1049     ac_prev=sbindir ;;
1050   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1051   | --sbi=* | --sb=*)
1052     sbindir=$ac_optarg ;;
1053
1054   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1055   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1056   | --sharedst | --shareds | --shared | --share | --shar \
1057   | --sha | --sh)
1058     ac_prev=sharedstatedir ;;
1059   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1060   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1061   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1062   | --sha=* | --sh=*)
1063     sharedstatedir=$ac_optarg ;;
1064
1065   -site | --site | --sit)
1066     ac_prev=site ;;
1067   -site=* | --site=* | --sit=*)
1068     site=$ac_optarg ;;
1069
1070   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1071     ac_prev=srcdir ;;
1072   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1073     srcdir=$ac_optarg ;;
1074
1075   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1076   | --syscon | --sysco | --sysc | --sys | --sy)
1077     ac_prev=sysconfdir ;;
1078   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1079   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1080     sysconfdir=$ac_optarg ;;
1081
1082   -target | --target | --targe | --targ | --tar | --ta | --t)
1083     ac_prev=target_alias ;;
1084   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1085     target_alias=$ac_optarg ;;
1086
1087   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1088     verbose=yes ;;
1089
1090   -version | --version | --versio | --versi | --vers | -V)
1091     ac_init_version=: ;;
1092
1093   -with-* | --with-*)
1094     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1095     # Reject names that are not valid shell variable names.
1096     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097       as_fn_error $? "invalid package name: $ac_useropt"
1098     ac_useropt_orig=$ac_useropt
1099     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100     case $ac_user_opts in
1101       *"
1102 "with_$ac_useropt"
1103 "*) ;;
1104       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1105          ac_unrecognized_sep=', ';;
1106     esac
1107     eval with_$ac_useropt=\$ac_optarg ;;
1108
1109   -without-* | --without-*)
1110     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1111     # Reject names that are not valid shell variable names.
1112     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1113       as_fn_error $? "invalid package name: $ac_useropt"
1114     ac_useropt_orig=$ac_useropt
1115     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116     case $ac_user_opts in
1117       *"
1118 "with_$ac_useropt"
1119 "*) ;;
1120       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1121          ac_unrecognized_sep=', ';;
1122     esac
1123     eval with_$ac_useropt=no ;;
1124
1125   --x)
1126     # Obsolete; use --with-x.
1127     with_x=yes ;;
1128
1129   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130   | --x-incl | --x-inc | --x-in | --x-i)
1131     ac_prev=x_includes ;;
1132   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134     x_includes=$ac_optarg ;;
1135
1136   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138     ac_prev=x_libraries ;;
1139   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141     x_libraries=$ac_optarg ;;
1142
1143   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1144 Try \`$0 --help' for more information"
1145     ;;
1146
1147   *=*)
1148     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1149     # Reject names that are not valid shell variable names.
1150     case $ac_envvar in #(
1151       '' | [0-9]* | *[!_$as_cr_alnum]* )
1152       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1153     esac
1154     eval $ac_envvar=\$ac_optarg
1155     export $ac_envvar ;;
1156
1157   *)
1158     # FIXME: should be removed in autoconf 3.0.
1159     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1163     ;;
1164
1165   esac
1166 done
1167
1168 if test -n "$ac_prev"; then
1169   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170   as_fn_error $? "missing argument to $ac_option"
1171 fi
1172
1173 if test -n "$ac_unrecognized_opts"; then
1174   case $enable_option_checking in
1175     no) ;;
1176     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1177     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1178   esac
1179 fi
1180
1181 # Check all directory arguments for consistency.
1182 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183                 datadir sysconfdir sharedstatedir localstatedir includedir \
1184                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185                 libdir localedir mandir
1186 do
1187   eval ac_val=\$$ac_var
1188   # Remove trailing slashes.
1189   case $ac_val in
1190     */ )
1191       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1192       eval $ac_var=\$ac_val;;
1193   esac
1194   # Be sure to have absolute directory names.
1195   case $ac_val in
1196     [\\/$]* | ?:[\\/]* )  continue;;
1197     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198   esac
1199   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1200 done
1201
1202 # There might be people who depend on the old broken behavior: `$host'
1203 # used to hold the argument of --host etc.
1204 # FIXME: To remove some day.
1205 build=$build_alias
1206 host=$host_alias
1207 target=$target_alias
1208
1209 # FIXME: To remove some day.
1210 if test "x$host_alias" != x; then
1211   if test "x$build_alias" = x; then
1212     cross_compiling=maybe
1213     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1214     If a cross compiler is detected then cross compile mode will be used" >&2
1215   elif test "x$build_alias" != "x$host_alias"; then
1216     cross_compiling=yes
1217   fi
1218 fi
1219
1220 ac_tool_prefix=
1221 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1222
1223 test "$silent" = yes && exec 6>/dev/null
1224
1225
1226 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1227 ac_ls_di=`ls -di .` &&
1228 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1229   as_fn_error $? "working directory cannot be determined"
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231   as_fn_error $? "pwd does not report name of working directory"
1232
1233
1234 # Find the source files, if location was not specified.
1235 if test -z "$srcdir"; then
1236   ac_srcdir_defaulted=yes
1237   # Try the directory containing this script, then the parent directory.
1238   ac_confdir=`$as_dirname -- "$as_myself" ||
1239 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1240          X"$as_myself" : 'X\(//\)[^/]' \| \
1241          X"$as_myself" : 'X\(//\)$' \| \
1242          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1243 $as_echo X"$as_myself" |
1244     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1245             s//\1/
1246             q
1247           }
1248           /^X\(\/\/\)[^/].*/{
1249             s//\1/
1250             q
1251           }
1252           /^X\(\/\/\)$/{
1253             s//\1/
1254             q
1255           }
1256           /^X\(\/\).*/{
1257             s//\1/
1258             q
1259           }
1260           s/.*/./; q'`
1261   srcdir=$ac_confdir
1262   if test ! -r "$srcdir/$ac_unique_file"; then
1263     srcdir=..
1264   fi
1265 else
1266   ac_srcdir_defaulted=no
1267 fi
1268 if test ! -r "$srcdir/$ac_unique_file"; then
1269   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1270   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1271 fi
1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 ac_abs_confdir=`(
1274         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1275         pwd)`
1276 # When building in place, set srcdir=.
1277 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278   srcdir=.
1279 fi
1280 # Remove unnecessary trailing slashes from srcdir.
1281 # Double slashes in file names in object file debugging info
1282 # mess up M-x gdb in Emacs.
1283 case $srcdir in
1284 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1285 esac
1286 for ac_var in $ac_precious_vars; do
1287   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1288   eval ac_env_${ac_var}_value=\$${ac_var}
1289   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1290   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1291 done
1292
1293 #
1294 # Report the --help message.
1295 #
1296 if test "$ac_init_help" = "long"; then
1297   # Omit some internal or obsolete options to make the list less imposing.
1298   # This message is too long to be a string in the A/UX 3.1 sh.
1299   cat <<_ACEOF
1300 \`configure' configures libsockstream 0.1 to adapt to many kinds of systems.
1301
1302 Usage: $0 [OPTION]... [VAR=VALUE]...
1303
1304 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1305 VAR=VALUE.  See below for descriptions of some of the useful variables.
1306
1307 Defaults for the options are specified in brackets.
1308
1309 Configuration:
1310   -h, --help              display this help and exit
1311       --help=short        display options specific to this package
1312       --help=recursive    display the short help of all the included packages
1313   -V, --version           display version information and exit
1314   -q, --quiet, --silent   do not print \`checking ...' messages
1315       --cache-file=FILE   cache test results in FILE [disabled]
1316   -C, --config-cache      alias for \`--cache-file=config.cache'
1317   -n, --no-create         do not create output files
1318       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1319
1320 Installation directories:
1321   --prefix=PREFIX         install architecture-independent files in PREFIX
1322                           @<:@@S|@ac_default_prefix@:>@
1323   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1324                           @<:@PREFIX@:>@
1325
1326 By default, \`make install' will install all the files in
1327 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1328 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1329 for instance \`--prefix=\$HOME'.
1330
1331 For better control, use the options below.
1332
1333 Fine tuning of the installation directories:
1334   --bindir=DIR            user executables [EPREFIX/bin]
1335   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1336   --libexecdir=DIR        program executables [EPREFIX/libexec]
1337   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1338   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1339   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1340   --libdir=DIR            object code libraries [EPREFIX/lib]
1341   --includedir=DIR        C header files [PREFIX/include]
1342   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1343   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1344   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1345   --infodir=DIR           info documentation [DATAROOTDIR/info]
1346   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1347   --mandir=DIR            man documentation [DATAROOTDIR/man]
1348   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/libsockstream@:>@
1349   --htmldir=DIR           html documentation [DOCDIR]
1350   --dvidir=DIR            dvi documentation [DOCDIR]
1351   --pdfdir=DIR            pdf documentation [DOCDIR]
1352   --psdir=DIR             ps documentation [DOCDIR]
1353 _ACEOF
1354
1355   cat <<\_ACEOF
1356
1357 Program names:
1358   --program-prefix=PREFIX            prepend PREFIX to installed program names
1359   --program-suffix=SUFFIX            append SUFFIX to installed program names
1360   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1361
1362 System types:
1363   --build=BUILD     configure for building on BUILD [guessed]
1364   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1365 _ACEOF
1366 fi
1367
1368 if test -n "$ac_init_help"; then
1369   case $ac_init_help in
1370      short | recursive ) echo "Configuration of libsockstream 0.1:";;
1371    esac
1372   cat <<\_ACEOF
1373
1374 Optional Features:
1375   --disable-option-checking  ignore unrecognized --enable/--with options
1376   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1377   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1378   --disable-dependency-tracking  speeds up one-time build
1379   --enable-dependency-tracking   do not reject slow dependency extractors
1380   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1381   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
1382   --enable-fast-install@<:@=PKGS@:>@ 
1383                           optimize for fast installation @<:@default=yes@:>@
1384   --disable-libtool-lock  avoid locking (might break parallel builds)
1385
1386 Optional Packages:
1387   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1388   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1389   --with-pic              try to use only PIC/non-PIC objects @<:@default=use
1390                           both@:>@
1391   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1392   --with-sysroot=DIR Search for dependent libraries within DIR
1393                         (or the compiler's sysroot if not specified).
1394
1395 Some influential environment variables:
1396   CXX         C++ compiler command
1397   CXXFLAGS    C++ compiler flags
1398   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1399               nonstandard directory <lib dir>
1400   LIBS        libraries to pass to the linker, e.g. -l<library>
1401   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1402               you have headers in a nonstandard directory <include dir>
1403   CC          C compiler command
1404   CFLAGS      C compiler flags
1405   CPP         C preprocessor
1406   CXXCPP      C++ preprocessor
1407
1408 Use these variables to override the choices made by `configure' or to help
1409 it to find libraries and programs with nonstandard names/locations.
1410
1411 Report bugs to <arjen@andromeda.nl>.
1412 _ACEOF
1413 ac_status=$?
1414 fi
1415
1416 if test "$ac_init_help" = "recursive"; then
1417   # If there are subdirs, report their specific --help.
1418   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1419     test -d "$ac_dir" ||
1420       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1421       continue
1422     ac_builddir=.
1423
1424 case "$ac_dir" in
1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426 *)
1427   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1428   # A ".." for each directory in $ac_dir_suffix.
1429   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1430   case $ac_top_builddir_sub in
1431   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1432   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1433   esac ;;
1434 esac
1435 ac_abs_top_builddir=$ac_pwd
1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1437 # for backward compatibility:
1438 ac_top_builddir=$ac_top_build_prefix
1439
1440 case $srcdir in
1441   .)  # We are building in place.
1442     ac_srcdir=.
1443     ac_top_srcdir=$ac_top_builddir_sub
1444     ac_abs_top_srcdir=$ac_pwd ;;
1445   [\\/]* | ?:[\\/]* )  # Absolute name.
1446     ac_srcdir=$srcdir$ac_dir_suffix;
1447     ac_top_srcdir=$srcdir
1448     ac_abs_top_srcdir=$srcdir ;;
1449   *) # Relative name.
1450     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1451     ac_top_srcdir=$ac_top_build_prefix$srcdir
1452     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1453 esac
1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1455
1456     cd "$ac_dir" || { ac_status=$?; continue; }
1457     # Check for guested configure.
1458     if test -f "$ac_srcdir/configure.gnu"; then
1459       echo &&
1460       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1461     elif test -f "$ac_srcdir/configure"; then
1462       echo &&
1463       $SHELL "$ac_srcdir/configure" --help=recursive
1464     else
1465       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1466     fi || ac_status=$?
1467     cd "$ac_pwd" || { ac_status=$?; break; }
1468   done
1469 fi
1470
1471 test -n "$ac_init_help" && exit $ac_status
1472 if $ac_init_version; then
1473   cat <<\_ACEOF
1474 libsockstream configure 0.1
1475 generated by GNU Autoconf 2.68
1476
1477 Copyright (C) 2010 Free Software Foundation, Inc.
1478 This configure script is free software; the Free Software Foundation
1479 gives unlimited permission to copy, distribute and modify it.
1480 _ACEOF
1481   exit
1482 fi
1483
1484 ## ------------------------ ##
1485 ## Autoconf initialization. ##
1486 ## ------------------------ ##
1487
1488 @%:@ ac_fn_cxx_try_compile LINENO
1489 @%:@ ----------------------------
1490 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1491 ac_fn_cxx_try_compile ()
1492 {
1493   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1494   rm -f conftest.$ac_objext
1495   if { { ac_try="$ac_compile"
1496 case "(($ac_try" in
1497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1498   *) ac_try_echo=$ac_try;;
1499 esac
1500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1501 $as_echo "$ac_try_echo"; } >&5
1502   (eval "$ac_compile") 2>conftest.err
1503   ac_status=$?
1504   if test -s conftest.err; then
1505     grep -v '^ *+' conftest.err >conftest.er1
1506     cat conftest.er1 >&5
1507     mv -f conftest.er1 conftest.err
1508   fi
1509   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510   test $ac_status = 0; } && {
1511          test -z "$ac_cxx_werror_flag" ||
1512          test ! -s conftest.err
1513        } && test -s conftest.$ac_objext; then :
1514   ac_retval=0
1515 else
1516   $as_echo "$as_me: failed program was:" >&5
1517 sed 's/^/| /' conftest.$ac_ext >&5
1518
1519         ac_retval=1
1520 fi
1521   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1522   as_fn_set_status $ac_retval
1523
1524 } @%:@ ac_fn_cxx_try_compile
1525
1526 @%:@ ac_fn_c_try_compile LINENO
1527 @%:@ --------------------------
1528 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1529 ac_fn_c_try_compile ()
1530 {
1531   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1532   rm -f conftest.$ac_objext
1533   if { { ac_try="$ac_compile"
1534 case "(($ac_try" in
1535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1536   *) ac_try_echo=$ac_try;;
1537 esac
1538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1539 $as_echo "$ac_try_echo"; } >&5
1540   (eval "$ac_compile") 2>conftest.err
1541   ac_status=$?
1542   if test -s conftest.err; then
1543     grep -v '^ *+' conftest.err >conftest.er1
1544     cat conftest.er1 >&5
1545     mv -f conftest.er1 conftest.err
1546   fi
1547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1548   test $ac_status = 0; } && {
1549          test -z "$ac_c_werror_flag" ||
1550          test ! -s conftest.err
1551        } && test -s conftest.$ac_objext; then :
1552   ac_retval=0
1553 else
1554   $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1556
1557         ac_retval=1
1558 fi
1559   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1560   as_fn_set_status $ac_retval
1561
1562 } @%:@ ac_fn_c_try_compile
1563
1564 @%:@ ac_fn_c_try_link LINENO
1565 @%:@ -----------------------
1566 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1567 ac_fn_c_try_link ()
1568 {
1569   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1570   rm -f conftest.$ac_objext conftest$ac_exeext
1571   if { { ac_try="$ac_link"
1572 case "(($ac_try" in
1573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574   *) ac_try_echo=$ac_try;;
1575 esac
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578   (eval "$ac_link") 2>conftest.err
1579   ac_status=$?
1580   if test -s conftest.err; then
1581     grep -v '^ *+' conftest.err >conftest.er1
1582     cat conftest.er1 >&5
1583     mv -f conftest.er1 conftest.err
1584   fi
1585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586   test $ac_status = 0; } && {
1587          test -z "$ac_c_werror_flag" ||
1588          test ! -s conftest.err
1589        } && test -s conftest$ac_exeext && {
1590          test "$cross_compiling" = yes ||
1591          $as_test_x conftest$ac_exeext
1592        }; then :
1593   ac_retval=0
1594 else
1595   $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1597
1598         ac_retval=1
1599 fi
1600   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1601   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1602   # interfere with the next link command; also delete a directory that is
1603   # left behind by Apple's compiler.  We do this before executing the actions.
1604   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1605   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1606   as_fn_set_status $ac_retval
1607
1608 } @%:@ ac_fn_c_try_link
1609
1610 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1611 @%:@ -------------------------------------------------------
1612 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1613 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1614 ac_fn_c_check_header_compile ()
1615 {
1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618 $as_echo_n "checking for $2... " >&6; }
1619 if eval \${$3+:} false; then :
1620   $as_echo_n "(cached) " >&6
1621 else
1622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1623 /* end confdefs.h.  */
1624 $4
1625 @%:@include <$2>
1626 _ACEOF
1627 if ac_fn_c_try_compile "$LINENO"; then :
1628   eval "$3=yes"
1629 else
1630   eval "$3=no"
1631 fi
1632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1633 fi
1634 eval ac_res=\$$3
1635                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1636 $as_echo "$ac_res" >&6; }
1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638
1639 } @%:@ ac_fn_c_check_header_compile
1640
1641 @%:@ ac_fn_c_try_cpp LINENO
1642 @%:@ ----------------------
1643 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_cpp ()
1645 {
1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647   if { { ac_try="$ac_cpp conftest.$ac_ext"
1648 case "(($ac_try" in
1649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650   *) ac_try_echo=$ac_try;;
1651 esac
1652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653 $as_echo "$ac_try_echo"; } >&5
1654   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1655   ac_status=$?
1656   if test -s conftest.err; then
1657     grep -v '^ *+' conftest.err >conftest.er1
1658     cat conftest.er1 >&5
1659     mv -f conftest.er1 conftest.err
1660   fi
1661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662   test $ac_status = 0; } > conftest.i && {
1663          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1664          test ! -s conftest.err
1665        }; then :
1666   ac_retval=0
1667 else
1668   $as_echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.$ac_ext >&5
1670
1671     ac_retval=1
1672 fi
1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674   as_fn_set_status $ac_retval
1675
1676 } @%:@ ac_fn_c_try_cpp
1677
1678 @%:@ ac_fn_c_try_run LINENO
1679 @%:@ ----------------------
1680 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1681 @%:@ that executables *can* be run.
1682 ac_fn_c_try_run ()
1683 {
1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685   if { { ac_try="$ac_link"
1686 case "(($ac_try" in
1687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688   *) ac_try_echo=$ac_try;;
1689 esac
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692   (eval "$ac_link") 2>&5
1693   ac_status=$?
1694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1696   { { case "(($ac_try" in
1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698   *) ac_try_echo=$ac_try;;
1699 esac
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702   (eval "$ac_try") 2>&5
1703   ac_status=$?
1704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705   test $ac_status = 0; }; }; then :
1706   ac_retval=0
1707 else
1708   $as_echo "$as_me: program exited with status $ac_status" >&5
1709        $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1711
1712        ac_retval=$ac_status
1713 fi
1714   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1715   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716   as_fn_set_status $ac_retval
1717
1718 } @%:@ ac_fn_c_try_run
1719
1720 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1721 @%:@ ----------------------------------
1722 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1723 ac_fn_c_check_func ()
1724 {
1725   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if eval \${$3+:} false; then :
1729   $as_echo_n "(cached) " >&6
1730 else
1731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1732 /* end confdefs.h.  */
1733 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1734    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1735 #define $2 innocuous_$2
1736
1737 /* System header to define __stub macros and hopefully few prototypes,
1738     which can conflict with char $2 (); below.
1739     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1740     <limits.h> exists even on freestanding compilers.  */
1741
1742 #ifdef __STDC__
1743 # include <limits.h>
1744 #else
1745 # include <assert.h>
1746 #endif
1747
1748 #undef $2
1749
1750 /* Override any GCC internal prototype to avoid an error.
1751    Use char because int might match the return type of a GCC
1752    builtin and then its argument prototype would still apply.  */
1753 #ifdef __cplusplus
1754 extern "C"
1755 #endif
1756 char $2 ();
1757 /* The GNU C library defines this for functions which it implements
1758     to always fail with ENOSYS.  Some functions are actually named
1759     something starting with __ and the normal name is an alias.  */
1760 #if defined __stub_$2 || defined __stub___$2
1761 choke me
1762 #endif
1763
1764 int
1765 main ()
1766 {
1767 return $2 ();
1768   ;
1769   return 0;
1770 }
1771 _ACEOF
1772 if ac_fn_c_try_link "$LINENO"; then :
1773   eval "$3=yes"
1774 else
1775   eval "$3=no"
1776 fi
1777 rm -f core conftest.err conftest.$ac_objext \
1778     conftest$ac_exeext conftest.$ac_ext
1779 fi
1780 eval ac_res=\$$3
1781                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1782 $as_echo "$ac_res" >&6; }
1783   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784
1785 } @%:@ ac_fn_c_check_func
1786
1787 @%:@ ac_fn_cxx_try_cpp LINENO
1788 @%:@ ------------------------
1789 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1790 ac_fn_cxx_try_cpp ()
1791 {
1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793   if { { ac_try="$ac_cpp conftest.$ac_ext"
1794 case "(($ac_try" in
1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796   *) ac_try_echo=$ac_try;;
1797 esac
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1801   ac_status=$?
1802   if test -s conftest.err; then
1803     grep -v '^ *+' conftest.err >conftest.er1
1804     cat conftest.er1 >&5
1805     mv -f conftest.er1 conftest.err
1806   fi
1807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808   test $ac_status = 0; } > conftest.i && {
1809          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1810          test ! -s conftest.err
1811        }; then :
1812   ac_retval=0
1813 else
1814   $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1816
1817     ac_retval=1
1818 fi
1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820   as_fn_set_status $ac_retval
1821
1822 } @%:@ ac_fn_cxx_try_cpp
1823
1824 @%:@ ac_fn_cxx_try_link LINENO
1825 @%:@ -------------------------
1826 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1827 ac_fn_cxx_try_link ()
1828 {
1829   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830   rm -f conftest.$ac_objext conftest$ac_exeext
1831   if { { ac_try="$ac_link"
1832 case "(($ac_try" in
1833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834   *) ac_try_echo=$ac_try;;
1835 esac
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838   (eval "$ac_link") 2>conftest.err
1839   ac_status=$?
1840   if test -s conftest.err; then
1841     grep -v '^ *+' conftest.err >conftest.er1
1842     cat conftest.er1 >&5
1843     mv -f conftest.er1 conftest.err
1844   fi
1845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846   test $ac_status = 0; } && {
1847          test -z "$ac_cxx_werror_flag" ||
1848          test ! -s conftest.err
1849        } && test -s conftest$ac_exeext && {
1850          test "$cross_compiling" = yes ||
1851          $as_test_x conftest$ac_exeext
1852        }; then :
1853   ac_retval=0
1854 else
1855   $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1857
1858         ac_retval=1
1859 fi
1860   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862   # interfere with the next link command; also delete a directory that is
1863   # left behind by Apple's compiler.  We do this before executing the actions.
1864   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866   as_fn_set_status $ac_retval
1867
1868 } @%:@ ac_fn_cxx_try_link
1869
1870 @%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1871 @%:@ ---------------------------------------------------------
1872 @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
1873 @%:@ the include files in INCLUDES and setting the cache variable VAR
1874 @%:@ accordingly.
1875 ac_fn_cxx_check_header_mongrel ()
1876 {
1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878   if eval \${$3+:} false; then :
1879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882   $as_echo_n "(cached) " >&6
1883 fi
1884 eval ac_res=\$$3
1885                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887 else
1888   # Is the header compilable?
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1890 $as_echo_n "checking $2 usability... " >&6; }
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1892 /* end confdefs.h.  */
1893 $4
1894 @%:@include <$2>
1895 _ACEOF
1896 if ac_fn_cxx_try_compile "$LINENO"; then :
1897   ac_header_compiler=yes
1898 else
1899   ac_header_compiler=no
1900 fi
1901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1903 $as_echo "$ac_header_compiler" >&6; }
1904
1905 # Is the header present?
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1907 $as_echo_n "checking $2 presence... " >&6; }
1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h.  */
1910 @%:@include <$2>
1911 _ACEOF
1912 if ac_fn_cxx_try_cpp "$LINENO"; then :
1913   ac_header_preproc=yes
1914 else
1915   ac_header_preproc=no
1916 fi
1917 rm -f conftest.err conftest.i conftest.$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1919 $as_echo "$ac_header_preproc" >&6; }
1920
1921 # So?  What about this header?
1922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1923   yes:no: )
1924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1925 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1926     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1927 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1928     ;;
1929   no:yes:* )
1930     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1931 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1932     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1933 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1934     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1935 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1937 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1939 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1940 ( $as_echo "## --------------------------------- ##
1941 ## Report this to arjen@andromeda.nl ##
1942 ## --------------------------------- ##"
1943      ) | sed "s/^/$as_me: WARNING:     /" >&2
1944     ;;
1945 esac
1946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1947 $as_echo_n "checking for $2... " >&6; }
1948 if eval \${$3+:} false; then :
1949   $as_echo_n "(cached) " >&6
1950 else
1951   eval "$3=\$ac_header_compiler"
1952 fi
1953 eval ac_res=\$$3
1954                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1955 $as_echo "$ac_res" >&6; }
1956 fi
1957   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1958
1959 } @%:@ ac_fn_cxx_check_header_mongrel
1960
1961 @%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1962 @%:@ ---------------------------------------------
1963 @%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1964 @%:@ variable VAR accordingly.
1965 ac_fn_cxx_check_type ()
1966 {
1967   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; }
1970 if eval \${$3+:} false; then :
1971   $as_echo_n "(cached) " >&6
1972 else
1973   eval "$3=no"
1974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1975 /* end confdefs.h.  */
1976 $4
1977 int
1978 main ()
1979 {
1980 if (sizeof ($2))
1981          return 0;
1982   ;
1983   return 0;
1984 }
1985 _ACEOF
1986 if ac_fn_cxx_try_compile "$LINENO"; then :
1987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h.  */
1989 $4
1990 int
1991 main ()
1992 {
1993 if (sizeof (($2)))
1994             return 0;
1995   ;
1996   return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_cxx_try_compile "$LINENO"; then :
2000   
2001 else
2002   eval "$3=yes"
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005 fi
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 fi
2008 eval ac_res=\$$3
2009                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2010 $as_echo "$ac_res" >&6; }
2011   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012
2013 } @%:@ ac_fn_cxx_check_type
2014
2015 @%:@ ac_fn_cxx_check_func LINENO FUNC VAR
2016 @%:@ ------------------------------------
2017 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2018 ac_fn_cxx_check_func ()
2019 {
2020   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if eval \${$3+:} false; then :
2024   $as_echo_n "(cached) " >&6
2025 else
2026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h.  */
2028 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2030 #define $2 innocuous_$2
2031
2032 /* System header to define __stub macros and hopefully few prototypes,
2033     which can conflict with char $2 (); below.
2034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2035     <limits.h> exists even on freestanding compilers.  */
2036
2037 #ifdef __STDC__
2038 # include <limits.h>
2039 #else
2040 # include <assert.h>
2041 #endif
2042
2043 #undef $2
2044
2045 /* Override any GCC internal prototype to avoid an error.
2046    Use char because int might match the return type of a GCC
2047    builtin and then its argument prototype would still apply.  */
2048 #ifdef __cplusplus
2049 extern "C"
2050 #endif
2051 char $2 ();
2052 /* The GNU C library defines this for functions which it implements
2053     to always fail with ENOSYS.  Some functions are actually named
2054     something starting with __ and the normal name is an alias.  */
2055 #if defined __stub_$2 || defined __stub___$2
2056 choke me
2057 #endif
2058
2059 int
2060 main ()
2061 {
2062 return $2 ();
2063   ;
2064   return 0;
2065 }
2066 _ACEOF
2067 if ac_fn_cxx_try_link "$LINENO"; then :
2068   eval "$3=yes"
2069 else
2070   eval "$3=no"
2071 fi
2072 rm -f core conftest.err conftest.$ac_objext \
2073     conftest$ac_exeext conftest.$ac_ext
2074 fi
2075 eval ac_res=\$$3
2076                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
2080 } @%:@ ac_fn_cxx_check_func
2081 cat >config.log <<_ACEOF
2082 This file contains any messages produced by compilers while
2083 running configure, to aid debugging if configure makes a mistake.
2084
2085 It was created by libsockstream $as_me 0.1, which was
2086 generated by GNU Autoconf 2.68.  Invocation command line was
2087
2088   $ $0 $@
2089
2090 _ACEOF
2091 exec 5>>config.log
2092 {
2093 cat <<_ASUNAME
2094 ## --------- ##
2095 ## Platform. ##
2096 ## --------- ##
2097
2098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2103
2104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2105 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2106
2107 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2108 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2110 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2111 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2112 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2113 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2114
2115 _ASUNAME
2116
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2119 do
2120   IFS=$as_save_IFS
2121   test -z "$as_dir" && as_dir=.
2122     $as_echo "PATH: $as_dir"
2123   done
2124 IFS=$as_save_IFS
2125
2126 } >&5
2127
2128 cat >&5 <<_ACEOF
2129
2130
2131 ## ----------- ##
2132 ## Core tests. ##
2133 ## ----------- ##
2134
2135 _ACEOF
2136
2137
2138 # Keep a trace of the command line.
2139 # Strip out --no-create and --no-recursion so they do not pile up.
2140 # Strip out --silent because we don't want to record it for future runs.
2141 # Also quote any args containing shell meta-characters.
2142 # Make two passes to allow for proper duplicate-argument suppression.
2143 ac_configure_args=
2144 ac_configure_args0=
2145 ac_configure_args1=
2146 ac_must_keep_next=false
2147 for ac_pass in 1 2
2148 do
2149   for ac_arg
2150   do
2151     case $ac_arg in
2152     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2153     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154     | -silent | --silent | --silen | --sile | --sil)
2155       continue ;;
2156     *\'*)
2157       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2158     esac
2159     case $ac_pass in
2160     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2161     2)
2162       as_fn_append ac_configure_args1 " '$ac_arg'"
2163       if test $ac_must_keep_next = true; then
2164         ac_must_keep_next=false # Got value, back to normal.
2165       else
2166         case $ac_arg in
2167           *=* | --config-cache | -C | -disable-* | --disable-* \
2168           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2169           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2170           | -with-* | --with-* | -without-* | --without-* | --x)
2171             case "$ac_configure_args0 " in
2172               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2173             esac
2174             ;;
2175           -* ) ac_must_keep_next=true ;;
2176         esac
2177       fi
2178       as_fn_append ac_configure_args " '$ac_arg'"
2179       ;;
2180     esac
2181   done
2182 done
2183 { ac_configure_args0=; unset ac_configure_args0;}
2184 { ac_configure_args1=; unset ac_configure_args1;}
2185
2186 # When interrupted or exit'd, cleanup temporary files, and complete
2187 # config.log.  We remove comments because anyway the quotes in there
2188 # would cause problems or look ugly.
2189 # WARNING: Use '\'' to represent an apostrophe within the trap.
2190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2191 trap 'exit_status=$?
2192   # Save into config.log some information that might help in debugging.
2193   {
2194     echo
2195
2196     $as_echo "## ---------------- ##
2197 ## Cache variables. ##
2198 ## ---------------- ##"
2199     echo
2200     # The following way of writing the cache mishandles newlines in values,
2201 (
2202   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2203     eval ac_val=\$$ac_var
2204     case $ac_val in #(
2205     *${as_nl}*)
2206       case $ac_var in #(
2207       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2209       esac
2210       case $ac_var in #(
2211       _ | IFS | as_nl) ;; #(
2212       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2213       *) { eval $ac_var=; unset $ac_var;} ;;
2214       esac ;;
2215     esac
2216   done
2217   (set) 2>&1 |
2218     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2219     *${as_nl}ac_space=\ *)
2220       sed -n \
2221         "s/'\''/'\''\\\\'\'''\''/g;
2222           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2223       ;; #(
2224     *)
2225       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226       ;;
2227     esac |
2228     sort
2229 )
2230     echo
2231
2232     $as_echo "## ----------------- ##
2233 ## Output variables. ##
2234 ## ----------------- ##"
2235     echo
2236     for ac_var in $ac_subst_vars
2237     do
2238       eval ac_val=\$$ac_var
2239       case $ac_val in
2240       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241       esac
2242       $as_echo "$ac_var='\''$ac_val'\''"
2243     done | sort
2244     echo
2245
2246     if test -n "$ac_subst_files"; then
2247       $as_echo "## ------------------- ##
2248 ## File substitutions. ##
2249 ## ------------------- ##"
2250       echo
2251       for ac_var in $ac_subst_files
2252       do
2253         eval ac_val=\$$ac_var
2254         case $ac_val in
2255         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2256         esac
2257         $as_echo "$ac_var='\''$ac_val'\''"
2258       done | sort
2259       echo
2260     fi
2261
2262     if test -s confdefs.h; then
2263       $as_echo "## ----------- ##
2264 ## confdefs.h. ##
2265 ## ----------- ##"
2266       echo
2267       cat confdefs.h
2268       echo
2269     fi
2270     test "$ac_signal" != 0 &&
2271       $as_echo "$as_me: caught signal $ac_signal"
2272     $as_echo "$as_me: exit $exit_status"
2273   } >&5
2274   rm -f core *.core core.conftest.* &&
2275     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2276     exit $exit_status
2277 ' 0
2278 for ac_signal in 1 2 13 15; do
2279   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2280 done
2281 ac_signal=0
2282
2283 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2284 rm -f -r conftest* confdefs.h
2285
2286 $as_echo "/* confdefs.h */" > confdefs.h
2287
2288 # Predefined preprocessor variables.
2289
2290 cat >>confdefs.h <<_ACEOF
2291 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2296 _ACEOF
2297
2298 cat >>confdefs.h <<_ACEOF
2299 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2300 _ACEOF
2301
2302 cat >>confdefs.h <<_ACEOF
2303 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2304 _ACEOF
2305
2306 cat >>confdefs.h <<_ACEOF
2307 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2308 _ACEOF
2309
2310 cat >>confdefs.h <<_ACEOF
2311 @%:@define PACKAGE_URL "$PACKAGE_URL"
2312 _ACEOF
2313
2314
2315 # Let the site file select an alternate cache file if it wants to.
2316 # Prefer an explicitly selected file to automatically selected ones.
2317 ac_site_file1=NONE
2318 ac_site_file2=NONE
2319 if test -n "$CONFIG_SITE"; then
2320   # We do not want a PATH search for config.site.
2321   case $CONFIG_SITE in @%:@((
2322     -*)  ac_site_file1=./$CONFIG_SITE;;
2323     */*) ac_site_file1=$CONFIG_SITE;;
2324     *)   ac_site_file1=./$CONFIG_SITE;;
2325   esac
2326 elif test "x$prefix" != xNONE; then
2327   ac_site_file1=$prefix/share/config.site
2328   ac_site_file2=$prefix/etc/config.site
2329 else
2330   ac_site_file1=$ac_default_prefix/share/config.site
2331   ac_site_file2=$ac_default_prefix/etc/config.site
2332 fi
2333 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2334 do
2335   test "x$ac_site_file" = xNONE && continue
2336   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2337     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2338 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339     sed 's/^/| /' "$ac_site_file" >&5
2340     . "$ac_site_file" \
2341       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 as_fn_error $? "failed to load site script $ac_site_file
2344 See \`config.log' for more details" "$LINENO" 5; }
2345   fi
2346 done
2347
2348 if test -r "$cache_file"; then
2349   # Some versions of bash will fail to source /dev/null (special files
2350   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2351   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2352     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2353 $as_echo "$as_me: loading cache $cache_file" >&6;}
2354     case $cache_file in
2355       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2356       *)                      . "./$cache_file";;
2357     esac
2358   fi
2359 else
2360   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2361 $as_echo "$as_me: creating cache $cache_file" >&6;}
2362   >$cache_file
2363 fi
2364
2365 # Check that the precious variables saved in the cache have kept the same
2366 # value.
2367 ac_cache_corrupted=false
2368 for ac_var in $ac_precious_vars; do
2369   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2370   eval ac_new_set=\$ac_env_${ac_var}_set
2371   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2372   eval ac_new_val=\$ac_env_${ac_var}_value
2373   case $ac_old_set,$ac_new_set in
2374     set,)
2375       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2376 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2377       ac_cache_corrupted=: ;;
2378     ,set)
2379       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2380 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2381       ac_cache_corrupted=: ;;
2382     ,);;
2383     *)
2384       if test "x$ac_old_val" != "x$ac_new_val"; then
2385         # differences in whitespace do not lead to failure.
2386         ac_old_val_w=`echo x $ac_old_val`
2387         ac_new_val_w=`echo x $ac_new_val`
2388         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2389           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2390 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2391           ac_cache_corrupted=:
2392         else
2393           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2394 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2395           eval $ac_var=\$ac_old_val
2396         fi
2397         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2398 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2399         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2400 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2401       fi;;
2402   esac
2403   # Pass precious variables to config.status.
2404   if test "$ac_new_set" = set; then
2405     case $ac_new_val in
2406     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2407     *) ac_arg=$ac_var=$ac_new_val ;;
2408     esac
2409     case " $ac_configure_args " in
2410       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2411       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2412     esac
2413   fi
2414 done
2415 if $ac_cache_corrupted; then
2416   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2418   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2419 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2420   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2421 fi
2422 ## -------------------- ##
2423 ## Main body of script. ##
2424 ## -------------------- ##
2425
2426 ac_ext=c
2427 ac_cpp='$CPP $CPPFLAGS'
2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2431
2432
2433 am__api_version='1.11'
2434
2435 ac_aux_dir=
2436 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2437   if test -f "$ac_dir/install-sh"; then
2438     ac_aux_dir=$ac_dir
2439     ac_install_sh="$ac_aux_dir/install-sh -c"
2440     break
2441   elif test -f "$ac_dir/install.sh"; then
2442     ac_aux_dir=$ac_dir
2443     ac_install_sh="$ac_aux_dir/install.sh -c"
2444     break
2445   elif test -f "$ac_dir/shtool"; then
2446     ac_aux_dir=$ac_dir
2447     ac_install_sh="$ac_aux_dir/shtool install -c"
2448     break
2449   fi
2450 done
2451 if test -z "$ac_aux_dir"; then
2452   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2453 fi
2454
2455 # These three variables are undocumented and unsupported,
2456 # and are intended to be withdrawn in a future Autoconf release.
2457 # They can cause serious problems if a builder's source tree is in a directory
2458 # whose full name contains unusual characters.
2459 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2460 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2461 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2462
2463
2464 # Find a good install program.  We prefer a C program (faster),
2465 # so one script is as good as another.  But avoid the broken or
2466 # incompatible versions:
2467 # SysV /etc/install, /usr/sbin/install
2468 # SunOS /usr/etc/install
2469 # IRIX /sbin/install
2470 # AIX /bin/install
2471 # AmigaOS /C/install, which installs bootblocks on floppy discs
2472 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2473 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2474 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2475 # OS/2's system install, which has a completely different semantic
2476 # ./install, which can be erroneously created by make from ./install.sh.
2477 # Reject install programs that cannot install multiple files.
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2479 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2480 if test -z "$INSTALL"; then
2481 if ${ac_cv_path_install+:} false; then :
2482   $as_echo_n "(cached) " >&6
2483 else
2484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2485 for as_dir in $PATH
2486 do
2487   IFS=$as_save_IFS
2488   test -z "$as_dir" && as_dir=.
2489     # Account for people who put trailing slashes in PATH elements.
2490 case $as_dir/ in @%:@((
2491   ./ | .// | /[cC]/* | \
2492   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2493   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2494   /usr/ucb/* ) ;;
2495   *)
2496     # OSF1 and SCO ODT 3.0 have their own names for install.
2497     # Don't use installbsd from OSF since it installs stuff as root
2498     # by default.
2499     for ac_prog in ginstall scoinst install; do
2500       for ac_exec_ext in '' $ac_executable_extensions; do
2501         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2502           if test $ac_prog = install &&
2503             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2504             # AIX install.  It has an incompatible calling convention.
2505             :
2506           elif test $ac_prog = install &&
2507             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2508             # program-specific install script used by HP pwplus--don't use.
2509             :
2510           else
2511             rm -rf conftest.one conftest.two conftest.dir
2512             echo one > conftest.one
2513             echo two > conftest.two
2514             mkdir conftest.dir
2515             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2516               test -s conftest.one && test -s conftest.two &&
2517               test -s conftest.dir/conftest.one &&
2518               test -s conftest.dir/conftest.two
2519             then
2520               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2521               break 3
2522             fi
2523           fi
2524         fi
2525       done
2526     done
2527     ;;
2528 esac
2529
2530   done
2531 IFS=$as_save_IFS
2532
2533 rm -rf conftest.one conftest.two conftest.dir
2534
2535 fi
2536   if test "${ac_cv_path_install+set}" = set; then
2537     INSTALL=$ac_cv_path_install
2538   else
2539     # As a last resort, use the slow shell script.  Don't cache a
2540     # value for INSTALL within a source directory, because that will
2541     # break other packages using the cache if that directory is
2542     # removed, or if the value is a relative name.
2543     INSTALL=$ac_install_sh
2544   fi
2545 fi
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2547 $as_echo "$INSTALL" >&6; }
2548
2549 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2550 # It thinks the first close brace ends the variable substitution.
2551 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2552
2553 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2554
2555 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2556
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2558 $as_echo_n "checking whether build environment is sane... " >&6; }
2559 # Just in case
2560 sleep 1
2561 echo timestamp > conftest.file
2562 # Reject unsafe characters in $srcdir or the absolute working directory
2563 # name.  Accept space and tab only in the latter.
2564 am_lf='
2565 '
2566 case `pwd` in
2567   *[\\\"\#\$\&\'\`$am_lf]*)
2568     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2569 esac
2570 case $srcdir in
2571   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2572     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2573 esac
2574
2575 # Do `set' in a subshell so we don't clobber the current shell's
2576 # arguments.  Must try -L first in case configure is actually a
2577 # symlink; some systems play weird games with the mod time of symlinks
2578 # (eg FreeBSD returns the mod time of the symlink's containing
2579 # directory).
2580 if (
2581    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2582    if test "$*" = "X"; then
2583       # -L didn't work.
2584       set X `ls -t "$srcdir/configure" conftest.file`
2585    fi
2586    rm -f conftest.file
2587    if test "$*" != "X $srcdir/configure conftest.file" \
2588       && test "$*" != "X conftest.file $srcdir/configure"; then
2589
2590       # If neither matched, then we have a broken ls.  This can happen
2591       # if, for instance, CONFIG_SHELL is bash and it inherits a
2592       # broken ls alias from the environment.  This has actually
2593       # happened.  Such a system could not be considered "sane".
2594       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2595 alias in your environment" "$LINENO" 5
2596    fi
2597
2598    test "$2" = conftest.file
2599    )
2600 then
2601    # Ok.
2602    :
2603 else
2604    as_fn_error $? "newly created file is older than distributed files!
2605 Check your system clock" "$LINENO" 5
2606 fi
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2608 $as_echo "yes" >&6; }
2609 test "$program_prefix" != NONE &&
2610   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2611 # Use a double $ so make ignores it.
2612 test "$program_suffix" != NONE &&
2613   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2614 # Double any \ or $.
2615 # By default was `s,x,x', remove it if useless.
2616 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2617 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2618
2619 # expand $ac_aux_dir to an absolute path
2620 am_aux_dir=`cd $ac_aux_dir && pwd`
2621
2622 if test x"${MISSING+set}" != xset; then
2623   case $am_aux_dir in
2624   *\ * | *\     *)
2625     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2626   *)
2627     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2628   esac
2629 fi
2630 # Use eval to expand $SHELL
2631 if eval "$MISSING --run true"; then
2632   am_missing_run="$MISSING --run "
2633 else
2634   am_missing_run=
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2636 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2637 fi
2638
2639 if test x"${install_sh}" != xset; then
2640   case $am_aux_dir in
2641   *\ * | *\     *)
2642     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2643   *)
2644     install_sh="\${SHELL} $am_aux_dir/install-sh"
2645   esac
2646 fi
2647
2648 # Installed binaries are usually stripped using `strip' when the user
2649 # run `make install-strip'.  However `strip' might not be the right
2650 # tool to use in cross-compilation environments, therefore Automake
2651 # will honor the `STRIP' environment variable to overrule this program.
2652 if test "$cross_compiling" != no; then
2653   if test -n "$ac_tool_prefix"; then
2654   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2655 set dummy ${ac_tool_prefix}strip; ac_word=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if ${ac_cv_prog_STRIP+:} false; then :
2659   $as_echo_n "(cached) " >&6
2660 else
2661   if test -n "$STRIP"; then
2662   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2663 else
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 for as_dir in $PATH
2666 do
2667   IFS=$as_save_IFS
2668   test -z "$as_dir" && as_dir=.
2669     for ac_exec_ext in '' $ac_executable_extensions; do
2670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673     break 2
2674   fi
2675 done
2676   done
2677 IFS=$as_save_IFS
2678
2679 fi
2680 fi
2681 STRIP=$ac_cv_prog_STRIP
2682 if test -n "$STRIP"; then
2683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2684 $as_echo "$STRIP" >&6; }
2685 else
2686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2688 fi
2689
2690
2691 fi
2692 if test -z "$ac_cv_prog_STRIP"; then
2693   ac_ct_STRIP=$STRIP
2694   # Extract the first word of "strip", so it can be a program name with args.
2695 set dummy strip; ac_word=$2
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2697 $as_echo_n "checking for $ac_word... " >&6; }
2698 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2699   $as_echo_n "(cached) " >&6
2700 else
2701   if test -n "$ac_ct_STRIP"; then
2702   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2703 else
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2706 do
2707   IFS=$as_save_IFS
2708   test -z "$as_dir" && as_dir=.
2709     for ac_exec_ext in '' $ac_executable_extensions; do
2710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2711     ac_cv_prog_ac_ct_STRIP="strip"
2712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713     break 2
2714   fi
2715 done
2716   done
2717 IFS=$as_save_IFS
2718
2719 fi
2720 fi
2721 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2722 if test -n "$ac_ct_STRIP"; then
2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2724 $as_echo "$ac_ct_STRIP" >&6; }
2725 else
2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2727 $as_echo "no" >&6; }
2728 fi
2729
2730   if test "x$ac_ct_STRIP" = x; then
2731     STRIP=":"
2732   else
2733     case $cross_compiling:$ac_tool_warned in
2734 yes:)
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2737 ac_tool_warned=yes ;;
2738 esac
2739     STRIP=$ac_ct_STRIP
2740   fi
2741 else
2742   STRIP="$ac_cv_prog_STRIP"
2743 fi
2744
2745 fi
2746 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2747
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2749 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2750 if test -z "$MKDIR_P"; then
2751   if ${ac_cv_path_mkdir+:} false; then :
2752   $as_echo_n "(cached) " >&6
2753 else
2754   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2756 do
2757   IFS=$as_save_IFS
2758   test -z "$as_dir" && as_dir=.
2759     for ac_prog in mkdir gmkdir; do
2760          for ac_exec_ext in '' $ac_executable_extensions; do
2761            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2762            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2763              'mkdir (GNU coreutils) '* | \
2764              'mkdir (coreutils) '* | \
2765              'mkdir (fileutils) '4.1*)
2766                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2767                break 3;;
2768            esac
2769          done
2770        done
2771   done
2772 IFS=$as_save_IFS
2773
2774 fi
2775
2776   test -d ./--version && rmdir ./--version
2777   if test "${ac_cv_path_mkdir+set}" = set; then
2778     MKDIR_P="$ac_cv_path_mkdir -p"
2779   else
2780     # As a last resort, use the slow shell script.  Don't cache a
2781     # value for MKDIR_P within a source directory, because that will
2782     # break other packages using the cache if that directory is
2783     # removed, or if the value is a relative name.
2784     MKDIR_P="$ac_install_sh -d"
2785   fi
2786 fi
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2788 $as_echo "$MKDIR_P" >&6; }
2789
2790 mkdir_p="$MKDIR_P"
2791 case $mkdir_p in
2792   [\\/$]* | ?:[\\/]*) ;;
2793   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2794 esac
2795
2796 for ac_prog in gawk mawk nawk awk
2797 do
2798   # Extract the first word of "$ac_prog", so it can be a program name with args.
2799 set dummy $ac_prog; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_AWK+:} false; then :
2803   $as_echo_n "(cached) " >&6
2804 else
2805   if test -n "$AWK"; then
2806   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2807 else
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 for as_dir in $PATH
2810 do
2811   IFS=$as_save_IFS
2812   test -z "$as_dir" && as_dir=.
2813     for ac_exec_ext in '' $ac_executable_extensions; do
2814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2815     ac_cv_prog_AWK="$ac_prog"
2816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817     break 2
2818   fi
2819 done
2820   done
2821 IFS=$as_save_IFS
2822
2823 fi
2824 fi
2825 AWK=$ac_cv_prog_AWK
2826 if test -n "$AWK"; then
2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2828 $as_echo "$AWK" >&6; }
2829 else
2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2832 fi
2833
2834
2835   test -n "$AWK" && break
2836 done
2837
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2839 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2840 set x ${MAKE-make}
2841 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2842 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2843   $as_echo_n "(cached) " >&6
2844 else
2845   cat >conftest.make <<\_ACEOF
2846 SHELL = /bin/sh
2847 all:
2848         @echo '@@@%%%=$(MAKE)=@@@%%%'
2849 _ACEOF
2850 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2851 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2852   *@@@%%%=?*=@@@%%%*)
2853     eval ac_cv_prog_make_${ac_make}_set=yes;;
2854   *)
2855     eval ac_cv_prog_make_${ac_make}_set=no;;
2856 esac
2857 rm -f conftest.make
2858 fi
2859 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2861 $as_echo "yes" >&6; }
2862   SET_MAKE=
2863 else
2864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2865 $as_echo "no" >&6; }
2866   SET_MAKE="MAKE=${MAKE-make}"
2867 fi
2868
2869 rm -rf .tst 2>/dev/null
2870 mkdir .tst 2>/dev/null
2871 if test -d .tst; then
2872   am__leading_dot=.
2873 else
2874   am__leading_dot=_
2875 fi
2876 rmdir .tst 2>/dev/null
2877
2878 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2879   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2880   # is not polluted with repeated "-I."
2881   am__isrc=' -I$(srcdir)'
2882   # test to see if srcdir already configured
2883   if test -f $srcdir/config.status; then
2884     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2885   fi
2886 fi
2887
2888 # test whether we have cygpath
2889 if test -z "$CYGPATH_W"; then
2890   if (cygpath --version) >/dev/null 2>/dev/null; then
2891     CYGPATH_W='cygpath -w'
2892   else
2893     CYGPATH_W=echo
2894   fi
2895 fi
2896
2897
2898 # Define the identity of the package.
2899  PACKAGE='libsockstream'
2900  VERSION='0.1'
2901
2902
2903 cat >>confdefs.h <<_ACEOF
2904 @%:@define PACKAGE "$PACKAGE"
2905 _ACEOF
2906
2907  
2908 cat >>confdefs.h <<_ACEOF
2909 @%:@define VERSION "$VERSION"
2910 _ACEOF
2911
2912 # Some tools Automake needs.
2913
2914 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2915
2916
2917 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2918
2919
2920 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2921
2922
2923 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2924
2925
2926 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2927
2928 # We need awk for the "check" target.  The system "awk" is bad on
2929 # some platforms.
2930 # Always define AMTAR for backward compatibility.
2931
2932 AMTAR=${AMTAR-"${am_missing_run}tar"}
2933
2934 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2935
2936
2937
2938
2939
2940 ac_ext=cpp
2941 ac_cpp='$CXXCPP $CPPFLAGS'
2942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2945
2946
2947 ac_config_headers="$ac_config_headers config.h"
2948
2949
2950 # Checks for programs.
2951 ac_ext=cpp
2952 ac_cpp='$CXXCPP $CPPFLAGS'
2953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2956 if test -z "$CXX"; then
2957   if test -n "$CCC"; then
2958     CXX=$CCC
2959   else
2960     if test -n "$ac_tool_prefix"; then
2961   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2962   do
2963     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2966 $as_echo_n "checking for $ac_word... " >&6; }
2967 if ${ac_cv_prog_CXX+:} false; then :
2968   $as_echo_n "(cached) " >&6
2969 else
2970   if test -n "$CXX"; then
2971   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2972 else
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 for as_dir in $PATH
2975 do
2976   IFS=$as_save_IFS
2977   test -z "$as_dir" && as_dir=.
2978     for ac_exec_ext in '' $ac_executable_extensions; do
2979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2982     break 2
2983   fi
2984 done
2985   done
2986 IFS=$as_save_IFS
2987
2988 fi
2989 fi
2990 CXX=$ac_cv_prog_CXX
2991 if test -n "$CXX"; then
2992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2993 $as_echo "$CXX" >&6; }
2994 else
2995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2996 $as_echo "no" >&6; }
2997 fi
2998
2999
3000     test -n "$CXX" && break
3001   done
3002 fi
3003 if test -z "$CXX"; then
3004   ac_ct_CXX=$CXX
3005   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3006 do
3007   # Extract the first word of "$ac_prog", so it can be a program name with args.
3008 set dummy $ac_prog; ac_word=$2
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3010 $as_echo_n "checking for $ac_word... " >&6; }
3011 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3012   $as_echo_n "(cached) " >&6
3013 else
3014   if test -n "$ac_ct_CXX"; then
3015   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3016 else
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3019 do
3020   IFS=$as_save_IFS
3021   test -z "$as_dir" && as_dir=.
3022     for ac_exec_ext in '' $ac_executable_extensions; do
3023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024     ac_cv_prog_ac_ct_CXX="$ac_prog"
3025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3026     break 2
3027   fi
3028 done
3029   done
3030 IFS=$as_save_IFS
3031
3032 fi
3033 fi
3034 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3035 if test -n "$ac_ct_CXX"; then
3036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3037 $as_echo "$ac_ct_CXX" >&6; }
3038 else
3039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3040 $as_echo "no" >&6; }
3041 fi
3042
3043
3044   test -n "$ac_ct_CXX" && break
3045 done
3046
3047   if test "x$ac_ct_CXX" = x; then
3048     CXX="g++"
3049   else
3050     case $cross_compiling:$ac_tool_warned in
3051 yes:)
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3054 ac_tool_warned=yes ;;
3055 esac
3056     CXX=$ac_ct_CXX
3057   fi
3058 fi
3059
3060   fi
3061 fi
3062 # Provide some information about the compiler.
3063 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3064 set X $ac_compile
3065 ac_compiler=$2
3066 for ac_option in --version -v -V -qversion; do
3067   { { ac_try="$ac_compiler $ac_option >&5"
3068 case "(($ac_try" in
3069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070   *) ac_try_echo=$ac_try;;
3071 esac
3072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3073 $as_echo "$ac_try_echo"; } >&5
3074   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3075   ac_status=$?
3076   if test -s conftest.err; then
3077     sed '10a\
3078 ... rest of stderr output deleted ...
3079          10q' conftest.err >conftest.er1
3080     cat conftest.er1 >&5
3081   fi
3082   rm -f conftest.er1 conftest.err
3083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3084   test $ac_status = 0; }
3085 done
3086
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h.  */
3089
3090 int
3091 main ()
3092 {
3093
3094   ;
3095   return 0;
3096 }
3097 _ACEOF
3098 ac_clean_files_save=$ac_clean_files
3099 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3100 # Try to create an executable without -o first, disregard a.out.
3101 # It will help us diagnose broken compilers, and finding out an intuition
3102 # of exeext.
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3104 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3105 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3106
3107 # The possible output files:
3108 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3109
3110 ac_rmfiles=
3111 for ac_file in $ac_files
3112 do
3113   case $ac_file in
3114     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3115     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3116   esac
3117 done
3118 rm -f $ac_rmfiles
3119
3120 if { { ac_try="$ac_link_default"
3121 case "(($ac_try" in
3122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123   *) ac_try_echo=$ac_try;;
3124 esac
3125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126 $as_echo "$ac_try_echo"; } >&5
3127   (eval "$ac_link_default") 2>&5
3128   ac_status=$?
3129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130   test $ac_status = 0; }; then :
3131   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3132 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3133 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3134 # so that the user can short-circuit this test for compilers unknown to
3135 # Autoconf.
3136 for ac_file in $ac_files ''
3137 do
3138   test -f "$ac_file" || continue
3139   case $ac_file in
3140     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3141         ;;
3142     [ab].out )
3143         # We found the default executable, but exeext='' is most
3144         # certainly right.
3145         break;;
3146     *.* )
3147         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3148         then :; else
3149            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150         fi
3151         # We set ac_cv_exeext here because the later test for it is not
3152         # safe: cross compilers may not add the suffix if given an `-o'
3153         # argument, so we may need to know it at that point already.
3154         # Even if this section looks crufty: it has the advantage of
3155         # actually working.
3156         break;;
3157     * )
3158         break;;
3159   esac
3160 done
3161 test "$ac_cv_exeext" = no && ac_cv_exeext=
3162
3163 else
3164   ac_file=''
3165 fi
3166 if test -z "$ac_file"; then :
3167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3169 $as_echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3171
3172 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3174 as_fn_error 77 "C++ compiler cannot create executables
3175 See \`config.log' for more details" "$LINENO" 5; }
3176 else
3177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3178 $as_echo "yes" >&6; }
3179 fi
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3181 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3183 $as_echo "$ac_file" >&6; }
3184 ac_exeext=$ac_cv_exeext
3185
3186 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3187 ac_clean_files=$ac_clean_files_save
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3189 $as_echo_n "checking for suffix of executables... " >&6; }
3190 if { { ac_try="$ac_link"
3191 case "(($ac_try" in
3192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193   *) ac_try_echo=$ac_try;;
3194 esac
3195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196 $as_echo "$ac_try_echo"; } >&5
3197   (eval "$ac_link") 2>&5
3198   ac_status=$?
3199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200   test $ac_status = 0; }; then :
3201   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3202 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3203 # work properly (i.e., refer to `conftest.exe'), while it won't with
3204 # `rm'.
3205 for ac_file in conftest.exe conftest conftest.*; do
3206   test -f "$ac_file" || continue
3207   case $ac_file in
3208     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3209     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3210           break;;
3211     * ) break;;
3212   esac
3213 done
3214 else
3215   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3218 See \`config.log' for more details" "$LINENO" 5; }
3219 fi
3220 rm -f conftest conftest$ac_cv_exeext
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3222 $as_echo "$ac_cv_exeext" >&6; }
3223
3224 rm -f conftest.$ac_ext
3225 EXEEXT=$ac_cv_exeext
3226 ac_exeext=$EXEEXT
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h.  */
3229 @%:@include <stdio.h>
3230 int
3231 main ()
3232 {
3233 FILE *f = fopen ("conftest.out", "w");
3234  return ferror (f) || fclose (f) != 0;
3235
3236   ;
3237   return 0;
3238 }
3239 _ACEOF
3240 ac_clean_files="$ac_clean_files conftest.out"
3241 # Check that the compiler produces executables we can run.  If not, either
3242 # the compiler is broken, or we cross compile.
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3244 $as_echo_n "checking whether we are cross compiling... " >&6; }
3245 if test "$cross_compiling" != yes; then
3246   { { ac_try="$ac_link"
3247 case "(($ac_try" in
3248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249   *) ac_try_echo=$ac_try;;
3250 esac
3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3252 $as_echo "$ac_try_echo"; } >&5
3253   (eval "$ac_link") 2>&5
3254   ac_status=$?
3255   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256   test $ac_status = 0; }
3257   if { ac_try='./conftest$ac_cv_exeext'
3258   { { case "(($ac_try" in
3259   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260   *) ac_try_echo=$ac_try;;
3261 esac
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264   (eval "$ac_try") 2>&5
3265   ac_status=$?
3266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267   test $ac_status = 0; }; }; then
3268     cross_compiling=no
3269   else
3270     if test "$cross_compiling" = maybe; then
3271         cross_compiling=yes
3272     else
3273         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275 as_fn_error $? "cannot run C++ compiled programs.
3276 If you meant to cross compile, use \`--host'.
3277 See \`config.log' for more details" "$LINENO" 5; }
3278     fi
3279   fi
3280 fi
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3282 $as_echo "$cross_compiling" >&6; }
3283
3284 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3285 ac_clean_files=$ac_clean_files_save
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3287 $as_echo_n "checking for suffix of object files... " >&6; }
3288 if ${ac_cv_objext+:} false; then :
3289   $as_echo_n "(cached) " >&6
3290 else
3291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h.  */
3293
3294 int
3295 main ()
3296 {
3297
3298   ;
3299   return 0;
3300 }
3301 _ACEOF
3302 rm -f conftest.o conftest.obj
3303 if { { ac_try="$ac_compile"
3304 case "(($ac_try" in
3305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3306   *) ac_try_echo=$ac_try;;
3307 esac
3308 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3309 $as_echo "$ac_try_echo"; } >&5
3310   (eval "$ac_compile") 2>&5
3311   ac_status=$?
3312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3313   test $ac_status = 0; }; then :
3314   for ac_file in conftest.o conftest.obj conftest.*; do
3315   test -f "$ac_file" || continue;
3316   case $ac_file in
3317     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3318     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3319        break;;
3320   esac
3321 done
3322 else
3323   $as_echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.$ac_ext >&5
3325
3326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3328 as_fn_error $? "cannot compute suffix of object files: cannot compile
3329 See \`config.log' for more details" "$LINENO" 5; }
3330 fi
3331 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3332 fi
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3334 $as_echo "$ac_cv_objext" >&6; }
3335 OBJEXT=$ac_cv_objext
3336 ac_objext=$OBJEXT
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3338 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3339 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3340   $as_echo_n "(cached) " >&6
3341 else
3342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3343 /* end confdefs.h.  */
3344
3345 int
3346 main ()
3347 {
3348 #ifndef __GNUC__
3349        choke me
3350 #endif
3351
3352   ;
3353   return 0;
3354 }
3355 _ACEOF
3356 if ac_fn_cxx_try_compile "$LINENO"; then :
3357   ac_compiler_gnu=yes
3358 else
3359   ac_compiler_gnu=no
3360 fi
3361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3363
3364 fi
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3366 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3367 if test $ac_compiler_gnu = yes; then
3368   GXX=yes
3369 else
3370   GXX=
3371 fi
3372 ac_test_CXXFLAGS=${CXXFLAGS+set}
3373 ac_save_CXXFLAGS=$CXXFLAGS
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3375 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3376 if ${ac_cv_prog_cxx_g+:} false; then :
3377   $as_echo_n "(cached) " >&6
3378 else
3379   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3380    ac_cxx_werror_flag=yes
3381    ac_cv_prog_cxx_g=no
3382    CXXFLAGS="-g"
3383    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h.  */
3385
3386 int
3387 main ()
3388 {
3389
3390   ;
3391   return 0;
3392 }
3393 _ACEOF
3394 if ac_fn_cxx_try_compile "$LINENO"; then :
3395   ac_cv_prog_cxx_g=yes
3396 else
3397   CXXFLAGS=""
3398       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h.  */
3400
3401 int
3402 main ()
3403 {
3404
3405   ;
3406   return 0;
3407 }
3408 _ACEOF
3409 if ac_fn_cxx_try_compile "$LINENO"; then :
3410   
3411 else
3412   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3413          CXXFLAGS="-g"
3414          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415 /* end confdefs.h.  */
3416
3417 int
3418 main ()
3419 {
3420
3421   ;
3422   return 0;
3423 }
3424 _ACEOF
3425 if ac_fn_cxx_try_compile "$LINENO"; then :
3426   ac_cv_prog_cxx_g=yes
3427 fi
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 fi
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 fi
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3434 fi
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3436 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3437 if test "$ac_test_CXXFLAGS" = set; then
3438   CXXFLAGS=$ac_save_CXXFLAGS
3439 elif test $ac_cv_prog_cxx_g = yes; then
3440   if test "$GXX" = yes; then
3441     CXXFLAGS="-g -O2"
3442   else
3443     CXXFLAGS="-g"
3444   fi
3445 else
3446   if test "$GXX" = yes; then
3447     CXXFLAGS="-O2"
3448   else
3449     CXXFLAGS=
3450   fi
3451 fi
3452 ac_ext=cpp
3453 ac_cpp='$CXXCPP $CPPFLAGS'
3454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3457 DEPDIR="${am__leading_dot}deps"
3458
3459 ac_config_commands="$ac_config_commands depfiles"
3460
3461
3462 am_make=${MAKE-make}
3463 cat > confinc << 'END'
3464 am__doit:
3465         @echo this is the am__doit target
3466 .PHONY: am__doit
3467 END
3468 # If we don't find an include directive, just comment out the code.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3470 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3471 am__include="#"
3472 am__quote=
3473 _am_result=none
3474 # First try GNU make style include.
3475 echo "include confinc" > confmf
3476 # Ignore all kinds of additional output from `make'.
3477 case `$am_make -s -f confmf 2> /dev/null` in #(
3478 *the\ am__doit\ target*)
3479   am__include=include
3480   am__quote=
3481   _am_result=GNU
3482   ;;
3483 esac
3484 # Now try BSD make style include.
3485 if test "$am__include" = "#"; then
3486    echo '.include "confinc"' > confmf
3487    case `$am_make -s -f confmf 2> /dev/null` in #(
3488    *the\ am__doit\ target*)
3489      am__include=.include
3490      am__quote="\""
3491      _am_result=BSD
3492      ;;
3493    esac
3494 fi
3495
3496
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3498 $as_echo "$_am_result" >&6; }
3499 rm -f confinc confmf
3500
3501 @%:@ Check whether --enable-dependency-tracking was given.
3502 if test "${enable_dependency_tracking+set}" = set; then :
3503   enableval=$enable_dependency_tracking; 
3504 fi
3505
3506 if test "x$enable_dependency_tracking" != xno; then
3507   am_depcomp="$ac_aux_dir/depcomp"
3508   AMDEPBACKSLASH='\'
3509 fi
3510  if test "x$enable_dependency_tracking" != xno; then
3511   AMDEP_TRUE=
3512   AMDEP_FALSE='#'
3513 else
3514   AMDEP_TRUE='#'
3515   AMDEP_FALSE=
3516 fi
3517
3518
3519
3520 depcc="$CXX"  am_compiler_list=
3521
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3523 $as_echo_n "checking dependency style of $depcc... " >&6; }
3524 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3525   $as_echo_n "(cached) " >&6
3526 else
3527   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3528   # We make a subdir and do the tests there.  Otherwise we can end up
3529   # making bogus files that we don't know about and never remove.  For
3530   # instance it was reported that on HP-UX the gcc test will end up
3531   # making a dummy file named `D' -- because `-MD' means `put the output
3532   # in D'.
3533   mkdir conftest.dir
3534   # Copy depcomp to subdir because otherwise we won't find it if we're
3535   # using a relative directory.
3536   cp "$am_depcomp" conftest.dir
3537   cd conftest.dir
3538   # We will build objects and dependencies in a subdirectory because
3539   # it helps to detect inapplicable dependency modes.  For instance
3540   # both Tru64's cc and ICC support -MD to output dependencies as a
3541   # side effect of compilation, but ICC will put the dependencies in
3542   # the current directory while Tru64 will put them in the object
3543   # directory.
3544   mkdir sub
3545
3546   am_cv_CXX_dependencies_compiler_type=none
3547   if test "$am_compiler_list" = ""; then
3548      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3549   fi
3550   am__universal=false
3551   case " $depcc " in #(
3552      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3553      esac
3554
3555   for depmode in $am_compiler_list; do
3556     # Setup a source with many dependencies, because some compilers
3557     # like to wrap large dependency lists on column 80 (with \), and
3558     # we should not choose a depcomp mode which is confused by this.
3559     #
3560     # We need to recreate these files for each test, as the compiler may
3561     # overwrite some of them when testing with obscure command lines.
3562     # This happens at least with the AIX C compiler.
3563     : > sub/conftest.c
3564     for i in 1 2 3 4 5 6; do
3565       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3566       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3567       # Solaris 8's {/usr,}/bin/sh.
3568       touch sub/conftst$i.h
3569     done
3570     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3571
3572     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3573     # mode.  It turns out that the SunPro C++ compiler does not properly
3574     # handle `-M -o', and we need to detect this.  Also, some Intel
3575     # versions had trouble with output in subdirs
3576     am__obj=sub/conftest.${OBJEXT-o}
3577     am__minus_obj="-o $am__obj"
3578     case $depmode in
3579     gcc)
3580       # This depmode causes a compiler race in universal mode.
3581       test "$am__universal" = false || continue
3582       ;;
3583     nosideeffect)
3584       # after this tag, mechanisms are not by side-effect, so they'll
3585       # only be used when explicitly requested
3586       if test "x$enable_dependency_tracking" = xyes; then
3587         continue
3588       else
3589         break
3590       fi
3591       ;;
3592     msvisualcpp | msvcmsys)
3593       # This compiler won't grok `-c -o', but also, the minuso test has
3594       # not run yet.  These depmodes are late enough in the game, and
3595       # so weak that their functioning should not be impacted.
3596       am__obj=conftest.${OBJEXT-o}
3597       am__minus_obj=
3598       ;;
3599     none) break ;;
3600     esac
3601     if depmode=$depmode \
3602        source=sub/conftest.c object=$am__obj \
3603        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3604        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3605          >/dev/null 2>conftest.err &&
3606        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3607        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3608        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3609        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3610       # icc doesn't choke on unknown options, it will just issue warnings
3611       # or remarks (even with -Werror).  So we grep stderr for any message
3612       # that says an option was ignored or not supported.
3613       # When given -MP, icc 7.0 and 7.1 complain thusly:
3614       #   icc: Command line warning: ignoring option '-M'; no argument required
3615       # The diagnosis changed in icc 8.0:
3616       #   icc: Command line remark: option '-MP' not supported
3617       if (grep 'ignoring option' conftest.err ||
3618           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3619         am_cv_CXX_dependencies_compiler_type=$depmode
3620         break
3621       fi
3622     fi
3623   done
3624
3625   cd ..
3626   rm -rf conftest.dir
3627 else
3628   am_cv_CXX_dependencies_compiler_type=none
3629 fi
3630
3631 fi
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3633 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3634 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3635
3636  if 
3637   test "x$enable_dependency_tracking" != xno \
3638   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3639   am__fastdepCXX_TRUE=
3640   am__fastdepCXX_FALSE='#'
3641 else
3642   am__fastdepCXX_TRUE='#'
3643   am__fastdepCXX_FALSE=
3644 fi
3645
3646
3647 ac_ext=c
3648 ac_cpp='$CPP $CPPFLAGS'
3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3652 if test -n "$ac_tool_prefix"; then
3653   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3654 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if ${ac_cv_prog_CC+:} false; then :
3658   $as_echo_n "(cached) " >&6
3659 else
3660   if test -n "$CC"; then
3661   ac_cv_prog_CC="$CC" # Let the user override the test.
3662 else
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3664 for as_dir in $PATH
3665 do
3666   IFS=$as_save_IFS
3667   test -z "$as_dir" && as_dir=.
3668     for ac_exec_ext in '' $ac_executable_extensions; do
3669   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3670     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3671     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672     break 2
3673   fi
3674 done
3675   done
3676 IFS=$as_save_IFS
3677
3678 fi
3679 fi
3680 CC=$ac_cv_prog_CC
3681 if test -n "$CC"; then
3682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3683 $as_echo "$CC" >&6; }
3684 else
3685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3687 fi
3688
3689
3690 fi
3691 if test -z "$ac_cv_prog_CC"; then
3692   ac_ct_CC=$CC
3693   # Extract the first word of "gcc", so it can be a program name with args.
3694 set dummy gcc; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3698   $as_echo_n "(cached) " >&6
3699 else
3700   if test -n "$ac_ct_CC"; then
3701   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3702 else
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3705 do
3706   IFS=$as_save_IFS
3707   test -z "$as_dir" && as_dir=.
3708     for ac_exec_ext in '' $ac_executable_extensions; do
3709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3710     ac_cv_prog_ac_ct_CC="gcc"
3711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712     break 2
3713   fi
3714 done
3715   done
3716 IFS=$as_save_IFS
3717
3718 fi
3719 fi
3720 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3721 if test -n "$ac_ct_CC"; then
3722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3723 $as_echo "$ac_ct_CC" >&6; }
3724 else
3725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3727 fi
3728
3729   if test "x$ac_ct_CC" = x; then
3730     CC=""
3731   else
3732     case $cross_compiling:$ac_tool_warned in
3733 yes:)
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3736 ac_tool_warned=yes ;;
3737 esac
3738     CC=$ac_ct_CC
3739   fi
3740 else
3741   CC="$ac_cv_prog_CC"
3742 fi
3743
3744 if test -z "$CC"; then
3745           if test -n "$ac_tool_prefix"; then
3746     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3747 set dummy ${ac_tool_prefix}cc; ac_word=$2
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if ${ac_cv_prog_CC+:} false; then :
3751   $as_echo_n "(cached) " >&6
3752 else
3753   if test -n "$CC"; then
3754   ac_cv_prog_CC="$CC" # Let the user override the test.
3755 else
3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 for as_dir in $PATH
3758 do
3759   IFS=$as_save_IFS
3760   test -z "$as_dir" && as_dir=.
3761     for ac_exec_ext in '' $ac_executable_extensions; do
3762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763     ac_cv_prog_CC="${ac_tool_prefix}cc"
3764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765     break 2
3766   fi
3767 done
3768   done
3769 IFS=$as_save_IFS
3770
3771 fi
3772 fi
3773 CC=$ac_cv_prog_CC
3774 if test -n "$CC"; then
3775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3776 $as_echo "$CC" >&6; }
3777 else
3778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3779 $as_echo "no" >&6; }
3780 fi
3781
3782
3783   fi
3784 fi
3785 if test -z "$CC"; then
3786   # Extract the first word of "cc", so it can be a program name with args.
3787 set dummy cc; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if ${ac_cv_prog_CC+:} false; then :
3791   $as_echo_n "(cached) " >&6
3792 else
3793   if test -n "$CC"; then
3794   ac_cv_prog_CC="$CC" # Let the user override the test.
3795 else
3796   ac_prog_rejected=no
3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3798 for as_dir in $PATH
3799 do
3800   IFS=$as_save_IFS
3801   test -z "$as_dir" && as_dir=.
3802     for ac_exec_ext in '' $ac_executable_extensions; do
3803   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3804     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3805        ac_prog_rejected=yes
3806        continue
3807      fi
3808     ac_cv_prog_CC="cc"
3809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3810     break 2
3811   fi
3812 done
3813   done
3814 IFS=$as_save_IFS
3815
3816 if test $ac_prog_rejected = yes; then
3817   # We found a bogon in the path, so make sure we never use it.
3818   set dummy $ac_cv_prog_CC
3819   shift
3820   if test $@%:@ != 0; then
3821     # We chose a different compiler from the bogus one.
3822     # However, it has the same basename, so the bogon will be chosen
3823     # first if we set CC to just the basename; use the full file name.
3824     shift
3825     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3826   fi
3827 fi
3828 fi
3829 fi
3830 CC=$ac_cv_prog_CC
3831 if test -n "$CC"; then
3832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3833 $as_echo "$CC" >&6; }
3834 else
3835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3837 fi
3838
3839
3840 fi
3841 if test -z "$CC"; then
3842   if test -n "$ac_tool_prefix"; then
3843   for ac_prog in cl.exe
3844   do
3845     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3846 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if ${ac_cv_prog_CC+:} false; then :
3850   $as_echo_n "(cached) " >&6
3851 else
3852   if test -n "$CC"; then
3853   ac_cv_prog_CC="$CC" # Let the user override the test.
3854 else
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH
3857 do
3858   IFS=$as_save_IFS
3859   test -z "$as_dir" && as_dir=.
3860     for ac_exec_ext in '' $ac_executable_extensions; do
3861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3862     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3864     break 2
3865   fi
3866 done
3867   done
3868 IFS=$as_save_IFS
3869
3870 fi
3871 fi
3872 CC=$ac_cv_prog_CC
3873 if test -n "$CC"; then
3874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3875 $as_echo "$CC" >&6; }
3876 else
3877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878 $as_echo "no" >&6; }
3879 fi
3880
3881
3882     test -n "$CC" && break
3883   done
3884 fi
3885 if test -z "$CC"; then
3886   ac_ct_CC=$CC
3887   for ac_prog in cl.exe
3888 do
3889   # Extract the first word of "$ac_prog", so it can be a program name with args.
3890 set dummy $ac_prog; ac_word=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3894   $as_echo_n "(cached) " >&6
3895 else
3896   if test -n "$ac_ct_CC"; then
3897   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3898 else
3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3900 for as_dir in $PATH
3901 do
3902   IFS=$as_save_IFS
3903   test -z "$as_dir" && as_dir=.
3904     for ac_exec_ext in '' $ac_executable_extensions; do
3905   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3906     ac_cv_prog_ac_ct_CC="$ac_prog"
3907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908     break 2
3909   fi
3910 done
3911   done
3912 IFS=$as_save_IFS
3913
3914 fi
3915 fi
3916 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3917 if test -n "$ac_ct_CC"; then
3918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3919 $as_echo "$ac_ct_CC" >&6; }
3920 else
3921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3923 fi
3924
3925
3926   test -n "$ac_ct_CC" && break
3927 done
3928
3929   if test "x$ac_ct_CC" = x; then
3930     CC=""
3931   else
3932     case $cross_compiling:$ac_tool_warned in
3933 yes:)
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3936 ac_tool_warned=yes ;;
3937 esac
3938     CC=$ac_ct_CC
3939   fi
3940 fi
3941
3942 fi
3943
3944
3945 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3947 as_fn_error $? "no acceptable C compiler found in \$PATH
3948 See \`config.log' for more details" "$LINENO" 5; }
3949
3950 # Provide some information about the compiler.
3951 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3952 set X $ac_compile
3953 ac_compiler=$2
3954 for ac_option in --version -v -V -qversion; do
3955   { { ac_try="$ac_compiler $ac_option >&5"
3956 case "(($ac_try" in
3957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958   *) ac_try_echo=$ac_try;;
3959 esac
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3963   ac_status=$?
3964   if test -s conftest.err; then
3965     sed '10a\
3966 ... rest of stderr output deleted ...
3967          10q' conftest.err >conftest.er1
3968     cat conftest.er1 >&5
3969   fi
3970   rm -f conftest.er1 conftest.err
3971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972   test $ac_status = 0; }
3973 done
3974
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3976 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3977 if ${ac_cv_c_compiler_gnu+:} false; then :
3978   $as_echo_n "(cached) " >&6
3979 else
3980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h.  */
3982
3983 int
3984 main ()
3985 {
3986 #ifndef __GNUC__
3987        choke me
3988 #endif
3989
3990   ;
3991   return 0;
3992 }
3993 _ACEOF
3994 if ac_fn_c_try_compile "$LINENO"; then :
3995   ac_compiler_gnu=yes
3996 else
3997   ac_compiler_gnu=no
3998 fi
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4000 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4001
4002 fi
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4004 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4005 if test $ac_compiler_gnu = yes; then
4006   GCC=yes
4007 else
4008   GCC=
4009 fi
4010 ac_test_CFLAGS=${CFLAGS+set}
4011 ac_save_CFLAGS=$CFLAGS
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4013 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4014 if ${ac_cv_prog_cc_g+:} false; then :
4015   $as_echo_n "(cached) " >&6
4016 else
4017   ac_save_c_werror_flag=$ac_c_werror_flag
4018    ac_c_werror_flag=yes
4019    ac_cv_prog_cc_g=no
4020    CFLAGS="-g"
4021    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h.  */
4023
4024 int
4025 main ()
4026 {
4027
4028   ;
4029   return 0;
4030 }
4031 _ACEOF
4032 if ac_fn_c_try_compile "$LINENO"; then :
4033   ac_cv_prog_cc_g=yes
4034 else
4035   CFLAGS=""
4036       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h.  */
4038
4039 int
4040 main ()
4041 {
4042
4043   ;
4044   return 0;
4045 }
4046 _ACEOF
4047 if ac_fn_c_try_compile "$LINENO"; then :
4048   
4049 else
4050   ac_c_werror_flag=$ac_save_c_werror_flag
4051          CFLAGS="-g"
4052          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h.  */
4054
4055 int
4056 main ()
4057 {
4058
4059   ;
4060   return 0;
4061 }
4062 _ACEOF
4063 if ac_fn_c_try_compile "$LINENO"; then :
4064   ac_cv_prog_cc_g=yes
4065 fi
4066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4067 fi
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 fi
4070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4071    ac_c_werror_flag=$ac_save_c_werror_flag
4072 fi
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4074 $as_echo "$ac_cv_prog_cc_g" >&6; }
4075 if test "$ac_test_CFLAGS" = set; then
4076   CFLAGS=$ac_save_CFLAGS
4077 elif test $ac_cv_prog_cc_g = yes; then
4078   if test "$GCC" = yes; then
4079     CFLAGS="-g -O2"
4080   else
4081     CFLAGS="-g"
4082   fi
4083 else
4084   if test "$GCC" = yes; then
4085     CFLAGS="-O2"
4086   else
4087     CFLAGS=
4088   fi
4089 fi
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4091 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4092 if ${ac_cv_prog_cc_c89+:} false; then :
4093   $as_echo_n "(cached) " >&6
4094 else
4095   ac_cv_prog_cc_c89=no
4096 ac_save_CC=$CC
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h.  */
4099 #include <stdarg.h>
4100 #include <stdio.h>
4101 #include <sys/types.h>
4102 #include <sys/stat.h>
4103 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4104 struct buf { int x; };
4105 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4106 static char *e (p, i)
4107      char **p;
4108      int i;
4109 {
4110   return p[i];
4111 }
4112 static char *f (char * (*g) (char **, int), char **p, ...)
4113 {
4114   char *s;
4115   va_list v;
4116   va_start (v,p);
4117   s = g (p, va_arg (v,int));
4118   va_end (v);
4119   return s;
4120 }
4121
4122 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4123    function prototypes and stuff, but not '\xHH' hex character constants.
4124    These don't provoke an error unfortunately, instead are silently treated
4125    as 'x'.  The following induces an error, until -std is added to get
4126    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4127    array size at least.  It's necessary to write '\x00'==0 to get something
4128    that's true only with -std.  */
4129 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4130
4131 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4132    inside strings and character constants.  */
4133 #define FOO(x) 'x'
4134 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4135
4136 int test (int i, double x);
4137 struct s1 {int (*f) (int a);};
4138 struct s2 {int (*f) (double a);};
4139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4140 int argc;
4141 char **argv;
4142 int
4143 main ()
4144 {
4145 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4146   ;
4147   return 0;
4148 }
4149 _ACEOF
4150 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4151         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4152 do
4153   CC="$ac_save_CC $ac_arg"
4154   if ac_fn_c_try_compile "$LINENO"; then :
4155   ac_cv_prog_cc_c89=$ac_arg
4156 fi
4157 rm -f core conftest.err conftest.$ac_objext
4158   test "x$ac_cv_prog_cc_c89" != "xno" && break
4159 done
4160 rm -f conftest.$ac_ext
4161 CC=$ac_save_CC
4162
4163 fi
4164 # AC_CACHE_VAL
4165 case "x$ac_cv_prog_cc_c89" in
4166   x)
4167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4168 $as_echo "none needed" >&6; } ;;
4169   xno)
4170     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4171 $as_echo "unsupported" >&6; } ;;
4172   *)
4173     CC="$CC $ac_cv_prog_cc_c89"
4174     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4175 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4176 esac
4177 if test "x$ac_cv_prog_cc_c89" != xno; then :
4178   
4179 fi
4180
4181 ac_ext=cpp
4182 ac_cpp='$CXXCPP $CPPFLAGS'
4183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4186
4187 depcc="$CC"   am_compiler_list=
4188
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4190 $as_echo_n "checking dependency style of $depcc... " >&6; }
4191 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4192   $as_echo_n "(cached) " >&6
4193 else
4194   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4195   # We make a subdir and do the tests there.  Otherwise we can end up
4196   # making bogus files that we don't know about and never remove.  For
4197   # instance it was reported that on HP-UX the gcc test will end up
4198   # making a dummy file named `D' -- because `-MD' means `put the output
4199   # in D'.
4200   mkdir conftest.dir
4201   # Copy depcomp to subdir because otherwise we won't find it if we're
4202   # using a relative directory.
4203   cp "$am_depcomp" conftest.dir
4204   cd conftest.dir
4205   # We will build objects and dependencies in a subdirectory because
4206   # it helps to detect inapplicable dependency modes.  For instance
4207   # both Tru64's cc and ICC support -MD to output dependencies as a
4208   # side effect of compilation, but ICC will put the dependencies in
4209   # the current directory while Tru64 will put them in the object
4210   # directory.
4211   mkdir sub
4212
4213   am_cv_CC_dependencies_compiler_type=none
4214   if test "$am_compiler_list" = ""; then
4215      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4216   fi
4217   am__universal=false
4218   case " $depcc " in #(
4219      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4220      esac
4221
4222   for depmode in $am_compiler_list; do
4223     # Setup a source with many dependencies, because some compilers
4224     # like to wrap large dependency lists on column 80 (with \), and
4225     # we should not choose a depcomp mode which is confused by this.
4226     #
4227     # We need to recreate these files for each test, as the compiler may
4228     # overwrite some of them when testing with obscure command lines.
4229     # This happens at least with the AIX C compiler.
4230     : > sub/conftest.c
4231     for i in 1 2 3 4 5 6; do
4232       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4233       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4234       # Solaris 8's {/usr,}/bin/sh.
4235       touch sub/conftst$i.h
4236     done
4237     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4238
4239     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4240     # mode.  It turns out that the SunPro C++ compiler does not properly
4241     # handle `-M -o', and we need to detect this.  Also, some Intel
4242     # versions had trouble with output in subdirs
4243     am__obj=sub/conftest.${OBJEXT-o}
4244     am__minus_obj="-o $am__obj"
4245     case $depmode in
4246     gcc)
4247       # This depmode causes a compiler race in universal mode.
4248       test "$am__universal" = false || continue
4249       ;;
4250     nosideeffect)
4251       # after this tag, mechanisms are not by side-effect, so they'll
4252       # only be used when explicitly requested
4253       if test "x$enable_dependency_tracking" = xyes; then
4254         continue
4255       else
4256         break
4257       fi
4258       ;;
4259     msvisualcpp | msvcmsys)
4260       # This compiler won't grok `-c -o', but also, the minuso test has
4261       # not run yet.  These depmodes are late enough in the game, and
4262       # so weak that their functioning should not be impacted.
4263       am__obj=conftest.${OBJEXT-o}
4264       am__minus_obj=
4265       ;;
4266     none) break ;;
4267     esac
4268     if depmode=$depmode \
4269        source=sub/conftest.c object=$am__obj \
4270        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4271        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4272          >/dev/null 2>conftest.err &&
4273        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4274        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4275        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4276        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4277       # icc doesn't choke on unknown options, it will just issue warnings
4278       # or remarks (even with -Werror).  So we grep stderr for any message
4279       # that says an option was ignored or not supported.
4280       # When given -MP, icc 7.0 and 7.1 complain thusly:
4281       #   icc: Command line warning: ignoring option '-M'; no argument required
4282       # The diagnosis changed in icc 8.0:
4283       #   icc: Command line remark: option '-MP' not supported
4284       if (grep 'ignoring option' conftest.err ||
4285           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4286         am_cv_CC_dependencies_compiler_type=$depmode
4287         break
4288       fi
4289     fi
4290   done
4291
4292   cd ..
4293   rm -rf conftest.dir
4294 else
4295   am_cv_CC_dependencies_compiler_type=none
4296 fi
4297
4298 fi
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4300 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4301 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4302
4303  if 
4304   test "x$enable_dependency_tracking" != xno \
4305   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4306   am__fastdepCC_TRUE=
4307   am__fastdepCC_FALSE='#'
4308 else
4309   am__fastdepCC_TRUE='#'
4310   am__fastdepCC_FALSE=
4311 fi
4312
4313
4314 case `pwd` in
4315   *\ * | *\     *)
4316     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4317 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4318 esac
4319
4320
4321
4322 macro_version='2.4'
4323 macro_revision='1.3293'
4324
4325     
4326     
4327     
4328
4329
4330     
4331     
4332     
4333
4334
4335
4336
4337 ltmain="$ac_aux_dir/ltmain.sh"
4338
4339 # Make sure we can run config.sub.
4340 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4341   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4342
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4344 $as_echo_n "checking build system type... " >&6; }
4345 if ${ac_cv_build+:} false; then :
4346   $as_echo_n "(cached) " >&6
4347 else
4348   ac_build_alias=$build_alias
4349 test "x$ac_build_alias" = x &&
4350   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4351 test "x$ac_build_alias" = x &&
4352   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4353 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4354   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4355
4356 fi
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4358 $as_echo "$ac_cv_build" >&6; }
4359 case $ac_cv_build in
4360 *-*-*) ;;
4361 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4362 esac
4363 build=$ac_cv_build
4364 ac_save_IFS=$IFS; IFS='-'
4365 set x $ac_cv_build
4366 shift
4367 build_cpu=$1
4368 build_vendor=$2
4369 shift; shift
4370 # Remember, the first character of IFS is used to create $*,
4371 # except with old shells:
4372 build_os=$*
4373 IFS=$ac_save_IFS
4374 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4375
4376
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4378 $as_echo_n "checking host system type... " >&6; }
4379 if ${ac_cv_host+:} false; then :
4380   $as_echo_n "(cached) " >&6
4381 else
4382   if test "x$host_alias" = x; then
4383   ac_cv_host=$ac_cv_build
4384 else
4385   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4386     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4387 fi
4388
4389 fi
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4391 $as_echo "$ac_cv_host" >&6; }
4392 case $ac_cv_host in
4393 *-*-*) ;;
4394 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4395 esac
4396 host=$ac_cv_host
4397 ac_save_IFS=$IFS; IFS='-'
4398 set x $ac_cv_host
4399 shift
4400 host_cpu=$1
4401 host_vendor=$2
4402 shift; shift
4403 # Remember, the first character of IFS is used to create $*,
4404 # except with old shells:
4405 host_os=$*
4406 IFS=$ac_save_IFS
4407 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4408
4409
4410 # Backslashify metacharacters that are still active within
4411 # double-quoted strings.
4412 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4413
4414 # Same as above, but do not quote variable references.
4415 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4416
4417 # Sed substitution to delay expansion of an escaped shell variable in a
4418 # double_quote_subst'ed string.
4419 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4420
4421 # Sed substitution to delay expansion of an escaped single quote.
4422 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4423
4424 # Sed substitution to avoid accidental globbing in evaled expressions
4425 no_glob_subst='s/\*/\\\*/g'
4426
4427 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4429 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4430
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4432 $as_echo_n "checking how to print strings... " >&6; }
4433 # Test print first, because it will be a builtin if present.
4434 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4435    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4436   ECHO='print -r --'
4437 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4438   ECHO='printf %s\n'
4439 else
4440   # Use this function as a fallback that always works.
4441   func_fallback_echo ()
4442   {
4443     eval 'cat <<_LTECHO_EOF
4444 $1
4445 _LTECHO_EOF'
4446   }
4447   ECHO='func_fallback_echo'
4448 fi
4449
4450 # func_echo_all arg...
4451 # Invoke $ECHO with all args, space-separated.
4452 func_echo_all ()
4453 {
4454     $ECHO "" 
4455 }
4456
4457 case "$ECHO" in
4458   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4459 $as_echo "printf" >&6; } ;;
4460   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4461 $as_echo "print -r" >&6; } ;;
4462   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4463 $as_echo "cat" >&6; } ;;
4464 esac
4465
4466
4467
4468
4469     
4470     
4471     
4472
4473
4474     
4475     
4476     
4477
4478
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4480 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4481 if ${ac_cv_path_SED+:} false; then :
4482   $as_echo_n "(cached) " >&6
4483 else
4484             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4485      for ac_i in 1 2 3 4 5 6 7; do
4486        ac_script="$ac_script$as_nl$ac_script"
4487      done
4488      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4489      { ac_script=; unset ac_script;}
4490      if test -z "$SED"; then
4491   ac_path_SED_found=false
4492   # Loop through the user's path and test for each of PROGNAME-LIST
4493   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494 for as_dir in $PATH
4495 do
4496   IFS=$as_save_IFS
4497   test -z "$as_dir" && as_dir=.
4498     for ac_prog in sed gsed; do
4499     for ac_exec_ext in '' $ac_executable_extensions; do
4500       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4501       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4502 # Check for GNU ac_path_SED and select it if it is found.
4503   # Check for GNU $ac_path_SED
4504 case `"$ac_path_SED" --version 2>&1` in
4505 *GNU*)
4506   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4507 *)
4508   ac_count=0
4509   $as_echo_n 0123456789 >"conftest.in"
4510   while :
4511   do
4512     cat "conftest.in" "conftest.in" >"conftest.tmp"
4513     mv "conftest.tmp" "conftest.in"
4514     cp "conftest.in" "conftest.nl"
4515     $as_echo '' >> "conftest.nl"
4516     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4517     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4518     as_fn_arith $ac_count + 1 && ac_count=$as_val
4519     if test $ac_count -gt ${ac_path_SED_max-0}; then
4520       # Best one so far, save it but keep looking for a better one
4521       ac_cv_path_SED="$ac_path_SED"
4522       ac_path_SED_max=$ac_count
4523     fi
4524     # 10*(2^10) chars as input seems more than enough
4525     test $ac_count -gt 10 && break
4526   done
4527   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4528 esac
4529
4530       $ac_path_SED_found && break 3
4531     done
4532   done
4533   done
4534 IFS=$as_save_IFS
4535   if test -z "$ac_cv_path_SED"; then
4536     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4537   fi
4538 else
4539   ac_cv_path_SED=$SED
4540 fi
4541
4542 fi
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4544 $as_echo "$ac_cv_path_SED" >&6; }
4545  SED="$ac_cv_path_SED"
4546   rm -f conftest.sed
4547
4548 test -z "$SED" && SED=sed
4549 Xsed="$SED -e 1s/^X//"
4550
4551     
4552     
4553     
4554
4555
4556     
4557     
4558     
4559
4560
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4562 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4563 if ${ac_cv_path_GREP+:} false; then :
4564   $as_echo_n "(cached) " >&6
4565 else
4566   if test -z "$GREP"; then
4567   ac_path_GREP_found=false
4568   # Loop through the user's path and test for each of PROGNAME-LIST
4569   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4571 do
4572   IFS=$as_save_IFS
4573   test -z "$as_dir" && as_dir=.
4574     for ac_prog in grep ggrep; do
4575     for ac_exec_ext in '' $ac_executable_extensions; do
4576       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4577       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4578 # Check for GNU ac_path_GREP and select it if it is found.
4579   # Check for GNU $ac_path_GREP
4580 case `"$ac_path_GREP" --version 2>&1` in
4581 *GNU*)
4582   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4583 *)
4584   ac_count=0
4585   $as_echo_n 0123456789 >"conftest.in"
4586   while :
4587   do
4588     cat "conftest.in" "conftest.in" >"conftest.tmp"
4589     mv "conftest.tmp" "conftest.in"
4590     cp "conftest.in" "conftest.nl"
4591     $as_echo 'GREP' >> "conftest.nl"
4592     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4593     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4594     as_fn_arith $ac_count + 1 && ac_count=$as_val
4595     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4596       # Best one so far, save it but keep looking for a better one
4597       ac_cv_path_GREP="$ac_path_GREP"
4598       ac_path_GREP_max=$ac_count
4599     fi
4600     # 10*(2^10) chars as input seems more than enough
4601     test $ac_count -gt 10 && break
4602   done
4603   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4604 esac
4605
4606       $ac_path_GREP_found && break 3
4607     done
4608   done
4609   done
4610 IFS=$as_save_IFS
4611   if test -z "$ac_cv_path_GREP"; then
4612     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4613   fi
4614 else
4615   ac_cv_path_GREP=$GREP
4616 fi
4617
4618 fi
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4620 $as_echo "$ac_cv_path_GREP" >&6; }
4621  GREP="$ac_cv_path_GREP"
4622  
4623
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4625 $as_echo_n "checking for egrep... " >&6; }
4626 if ${ac_cv_path_EGREP+:} false; then :
4627   $as_echo_n "(cached) " >&6
4628 else
4629   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4630    then ac_cv_path_EGREP="$GREP -E"
4631    else
4632      if test -z "$EGREP"; then
4633   ac_path_EGREP_found=false
4634   # Loop through the user's path and test for each of PROGNAME-LIST
4635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4637 do
4638   IFS=$as_save_IFS
4639   test -z "$as_dir" && as_dir=.
4640     for ac_prog in egrep; do
4641     for ac_exec_ext in '' $ac_executable_extensions; do
4642       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4643       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4644 # Check for GNU ac_path_EGREP and select it if it is found.
4645   # Check for GNU $ac_path_EGREP
4646 case `"$ac_path_EGREP" --version 2>&1` in
4647 *GNU*)
4648   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4649 *)
4650   ac_count=0
4651   $as_echo_n 0123456789 >"conftest.in"
4652   while :
4653   do
4654     cat "conftest.in" "conftest.in" >"conftest.tmp"
4655     mv "conftest.tmp" "conftest.in"
4656     cp "conftest.in" "conftest.nl"
4657     $as_echo 'EGREP' >> "conftest.nl"
4658     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4659     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4660     as_fn_arith $ac_count + 1 && ac_count=$as_val
4661     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4662       # Best one so far, save it but keep looking for a better one
4663       ac_cv_path_EGREP="$ac_path_EGREP"
4664       ac_path_EGREP_max=$ac_count
4665     fi
4666     # 10*(2^10) chars as input seems more than enough
4667     test $ac_count -gt 10 && break
4668   done
4669   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4670 esac
4671
4672       $ac_path_EGREP_found && break 3
4673     done
4674   done
4675   done
4676 IFS=$as_save_IFS
4677   if test -z "$ac_cv_path_EGREP"; then
4678     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4679   fi
4680 else
4681   ac_cv_path_EGREP=$EGREP
4682 fi
4683
4684    fi
4685 fi
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4687 $as_echo "$ac_cv_path_EGREP" >&6; }
4688  EGREP="$ac_cv_path_EGREP"
4689  
4690
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4692 $as_echo_n "checking for fgrep... " >&6; }
4693 if ${ac_cv_path_FGREP+:} false; then :
4694   $as_echo_n "(cached) " >&6
4695 else
4696   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4697    then ac_cv_path_FGREP="$GREP -F"
4698    else
4699      if test -z "$FGREP"; then
4700   ac_path_FGREP_found=false
4701   # Loop through the user's path and test for each of PROGNAME-LIST
4702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4704 do
4705   IFS=$as_save_IFS
4706   test -z "$as_dir" && as_dir=.
4707     for ac_prog in fgrep; do
4708     for ac_exec_ext in '' $ac_executable_extensions; do
4709       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4710       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4711 # Check for GNU ac_path_FGREP and select it if it is found.
4712   # Check for GNU $ac_path_FGREP
4713 case `"$ac_path_FGREP" --version 2>&1` in
4714 *GNU*)
4715   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4716 *)
4717   ac_count=0
4718   $as_echo_n 0123456789 >"conftest.in"
4719   while :
4720   do
4721     cat "conftest.in" "conftest.in" >"conftest.tmp"
4722     mv "conftest.tmp" "conftest.in"
4723     cp "conftest.in" "conftest.nl"
4724     $as_echo 'FGREP' >> "conftest.nl"
4725     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4726     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4727     as_fn_arith $ac_count + 1 && ac_count=$as_val
4728     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4729       # Best one so far, save it but keep looking for a better one
4730       ac_cv_path_FGREP="$ac_path_FGREP"
4731       ac_path_FGREP_max=$ac_count
4732     fi
4733     # 10*(2^10) chars as input seems more than enough
4734     test $ac_count -gt 10 && break
4735   done
4736   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4737 esac
4738
4739       $ac_path_FGREP_found && break 3
4740     done
4741   done
4742   done
4743 IFS=$as_save_IFS
4744   if test -z "$ac_cv_path_FGREP"; then
4745     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4746   fi
4747 else
4748   ac_cv_path_FGREP=$FGREP
4749 fi
4750
4751    fi
4752 fi
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4754 $as_echo "$ac_cv_path_FGREP" >&6; }
4755  FGREP="$ac_cv_path_FGREP"
4756  
4757
4758 test -z "$GREP" && GREP=grep
4759
4760     
4761     
4762     
4763
4764
4765     
4766     
4767     
4768
4769
4770     
4771     
4772     
4773
4774
4775
4776
4777
4778 @%:@ Check whether --with-gnu-ld was given.
4779 if test "${with_gnu_ld+set}" = set; then :
4780   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4781 else
4782   with_gnu_ld=no
4783 fi
4784
4785 ac_prog=ld
4786 if test "$GCC" = yes; then
4787   # Check if gcc -print-prog-name=ld gives a path.
4788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4789 $as_echo_n "checking for ld used by $CC... " >&6; }
4790   case $host in
4791   *-*-mingw*)
4792     # gcc leaves a trailing carriage return which upsets mingw
4793     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4794   *)
4795     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4796   esac
4797   case $ac_prog in
4798     # Accept absolute paths.
4799     [\\/]* | ?:[\\/]*)
4800       re_direlt='/[^/][^/]*/\.\./'
4801       # Canonicalize the pathname of ld
4802       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4803       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4804         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4805       done
4806       test -z "$LD" && LD="$ac_prog"
4807       ;;
4808   "")
4809     # If it fails, then pretend we aren't using GCC.
4810     ac_prog=ld
4811     ;;
4812   *)
4813     # If it is relative, then search for the first ld in PATH.
4814     with_gnu_ld=unknown
4815     ;;
4816   esac
4817 elif test "$with_gnu_ld" = yes; then
4818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4819 $as_echo_n "checking for GNU ld... " >&6; }
4820 else
4821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4822 $as_echo_n "checking for non-GNU ld... " >&6; }
4823 fi
4824 if ${lt_cv_path_LD+:} false; then :
4825   $as_echo_n "(cached) " >&6
4826 else
4827   if test -z "$LD"; then
4828   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4829   for ac_dir in $PATH; do
4830     IFS="$lt_save_ifs"
4831     test -z "$ac_dir" && ac_dir=.
4832     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4833       lt_cv_path_LD="$ac_dir/$ac_prog"
4834       # Check to see if the program is GNU ld.  I'd rather use --version,
4835       # but apparently some variants of GNU ld only accept -v.
4836       # Break only if it was the GNU/non-GNU ld that we prefer.
4837       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4838       *GNU* | *'with BFD'*)
4839         test "$with_gnu_ld" != no && break
4840         ;;
4841       *)
4842         test "$with_gnu_ld" != yes && break
4843         ;;
4844       esac
4845     fi
4846   done
4847   IFS="$lt_save_ifs"
4848 else
4849   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4850 fi
4851 fi
4852
4853 LD="$lt_cv_path_LD"
4854 if test -n "$LD"; then
4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4856 $as_echo "$LD" >&6; }
4857 else
4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4860 fi
4861 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4863 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4864 if ${lt_cv_prog_gnu_ld+:} false; then :
4865   $as_echo_n "(cached) " >&6
4866 else
4867   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4868 case `$LD -v 2>&1 </dev/null` in
4869 *GNU* | *'with BFD'*)
4870   lt_cv_prog_gnu_ld=yes
4871   ;;
4872 *)
4873   lt_cv_prog_gnu_ld=no
4874   ;;
4875 esac
4876 fi
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4878 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4879 with_gnu_ld=$lt_cv_prog_gnu_ld
4880
4881
4882
4883
4884     
4885     
4886     
4887
4888
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4890 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4891 if ${lt_cv_path_NM+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   if test -n "$NM"; then
4895   # Let the user override the test.
4896   lt_cv_path_NM="$NM"
4897 else
4898   lt_nm_to_check="${ac_tool_prefix}nm"
4899   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4900     lt_nm_to_check="$lt_nm_to_check nm"
4901   fi
4902   for lt_tmp_nm in $lt_nm_to_check; do
4903     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4904     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4905       IFS="$lt_save_ifs"
4906       test -z "$ac_dir" && ac_dir=.
4907       tmp_nm="$ac_dir/$lt_tmp_nm"
4908       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4909         # Check to see if the nm accepts a BSD-compat flag.
4910         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4911         #   nm: unknown option "B" ignored
4912         # Tru64's nm complains that /dev/null is an invalid object file
4913         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4914         */dev/null* | *'Invalid file or object type'*)
4915           lt_cv_path_NM="$tmp_nm -B"
4916           break
4917           ;;
4918         *)
4919           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4920           */dev/null*)
4921             lt_cv_path_NM="$tmp_nm -p"
4922             break
4923             ;;
4924           *)
4925             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4926             continue # so that we can try to find one that supports BSD flags
4927             ;;
4928           esac
4929           ;;
4930         esac
4931       fi
4932     done
4933     IFS="$lt_save_ifs"
4934   done
4935   : ${lt_cv_path_NM=no}
4936 fi
4937 fi
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4939 $as_echo "$lt_cv_path_NM" >&6; }
4940 if test "$lt_cv_path_NM" != "no"; then
4941   NM="$lt_cv_path_NM"
4942 else
4943   # Didn't find any BSD compatible name lister, look for dumpbin.
4944   if test -n "$DUMPBIN"; then :
4945     # Let the user override the test.
4946   else
4947     if test -n "$ac_tool_prefix"; then
4948   for ac_prog in dumpbin "link -dump"
4949   do
4950     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4951 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_prog_DUMPBIN+:} false; then :
4955   $as_echo_n "(cached) " >&6
4956 else
4957   if test -n "$DUMPBIN"; then
4958   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4959 else
4960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4961 for as_dir in $PATH
4962 do
4963   IFS=$as_save_IFS
4964   test -z "$as_dir" && as_dir=.
4965     for ac_exec_ext in '' $ac_executable_extensions; do
4966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969     break 2
4970   fi
4971 done
4972   done
4973 IFS=$as_save_IFS
4974
4975 fi
4976 fi
4977 DUMPBIN=$ac_cv_prog_DUMPBIN
4978 if test -n "$DUMPBIN"; then
4979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4980 $as_echo "$DUMPBIN" >&6; }
4981 else
4982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4984 fi
4985
4986
4987     test -n "$DUMPBIN" && break
4988   done
4989 fi
4990 if test -z "$DUMPBIN"; then
4991   ac_ct_DUMPBIN=$DUMPBIN
4992   for ac_prog in dumpbin "link -dump"
4993 do
4994   # Extract the first word of "$ac_prog", so it can be a program name with args.
4995 set dummy $ac_prog; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4999   $as_echo_n "(cached) " >&6
5000 else
5001   if test -n "$ac_ct_DUMPBIN"; then
5002   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5003 else
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH
5006 do
5007   IFS=$as_save_IFS
5008   test -z "$as_dir" && as_dir=.
5009     for ac_exec_ext in '' $ac_executable_extensions; do
5010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5011     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013     break 2
5014   fi
5015 done
5016   done
5017 IFS=$as_save_IFS
5018
5019 fi
5020 fi
5021 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5022 if test -n "$ac_ct_DUMPBIN"; then
5023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5024 $as_echo "$ac_ct_DUMPBIN" >&6; }
5025 else
5026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5028 fi
5029
5030
5031   test -n "$ac_ct_DUMPBIN" && break
5032 done
5033
5034   if test "x$ac_ct_DUMPBIN" = x; then
5035     DUMPBIN=":"
5036   else
5037     case $cross_compiling:$ac_tool_warned in
5038 yes:)
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5041 ac_tool_warned=yes ;;
5042 esac
5043     DUMPBIN=$ac_ct_DUMPBIN
5044   fi
5045 fi
5046
5047     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5048     *COFF*)
5049       DUMPBIN="$DUMPBIN -symbols"
5050       ;;
5051     *)
5052       DUMPBIN=:
5053       ;;
5054     esac
5055   fi
5056   
5057   if test "$DUMPBIN" != ":"; then
5058     NM="$DUMPBIN"
5059   fi
5060 fi
5061 test -z "$NM" && NM=nm
5062
5063
5064     
5065     
5066     
5067
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5069 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5070 if ${lt_cv_nm_interface+:} false; then :
5071   $as_echo_n "(cached) " >&6
5072 else
5073   lt_cv_nm_interface="BSD nm"
5074   echo "int some_variable = 0;" > conftest.$ac_ext
5075   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5076   (eval "$ac_compile" 2>conftest.err)
5077   cat conftest.err >&5
5078   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5079   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5080   cat conftest.err >&5
5081   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5082   cat conftest.out >&5
5083   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5084     lt_cv_nm_interface="MS dumpbin"
5085   fi
5086   rm -f conftest*
5087 fi
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5089 $as_echo "$lt_cv_nm_interface" >&6; }
5090
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5092 $as_echo_n "checking whether ln -s works... " >&6; }
5093 LN_S=$as_ln_s
5094 if test "$LN_S" = "ln -s"; then
5095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5096 $as_echo "yes" >&6; }
5097 else
5098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5099 $as_echo "no, using $LN_S" >&6; }
5100 fi
5101
5102 # find the maximum length of command line arguments
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5104 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5105 if ${lt_cv_sys_max_cmd_len+:} false; then :
5106   $as_echo_n "(cached) " >&6
5107 else
5108     i=0
5109   teststring="ABCD"
5110
5111   case $build_os in
5112   msdosdjgpp*)
5113     # On DJGPP, this test can blow up pretty badly due to problems in libc
5114     # (any single argument exceeding 2000 bytes causes a buffer overrun
5115     # during glob expansion).  Even if it were fixed, the result of this
5116     # check would be larger than it should be.
5117     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5118     ;;
5119
5120   gnu*)
5121     # Under GNU Hurd, this test is not required because there is
5122     # no limit to the length of command line arguments.
5123     # Libtool will interpret -1 as no limit whatsoever
5124     lt_cv_sys_max_cmd_len=-1;
5125     ;;
5126
5127   cygwin* | mingw* | cegcc*)
5128     # On Win9x/ME, this test blows up -- it succeeds, but takes
5129     # about 5 minutes as the teststring grows exponentially.
5130     # Worse, since 9x/ME are not pre-emptively multitasking,
5131     # you end up with a "frozen" computer, even though with patience
5132     # the test eventually succeeds (with a max line length of 256k).
5133     # Instead, let's just punt: use the minimum linelength reported by
5134     # all of the supported platforms: 8192 (on NT/2K/XP).
5135     lt_cv_sys_max_cmd_len=8192;
5136     ;;
5137
5138   mint*)
5139     # On MiNT this can take a long time and run out of memory.
5140     lt_cv_sys_max_cmd_len=8192;
5141     ;;
5142
5143   amigaos*)
5144     # On AmigaOS with pdksh, this test takes hours, literally.
5145     # So we just punt and use a minimum line length of 8192.
5146     lt_cv_sys_max_cmd_len=8192;
5147     ;;
5148
5149   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5150     # This has been around since 386BSD, at least.  Likely further.
5151     if test -x /sbin/sysctl; then
5152       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5153     elif test -x /usr/sbin/sysctl; then
5154       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5155     else
5156       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5157     fi
5158     # And add a safety zone
5159     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5160     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5161     ;;
5162
5163   interix*)
5164     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5165     lt_cv_sys_max_cmd_len=196608
5166     ;;
5167
5168   osf*)
5169     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5170     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5171     # nice to cause kernel panics so lets avoid the loop below.
5172     # First set a reasonable default.
5173     lt_cv_sys_max_cmd_len=16384
5174     #
5175     if test -x /sbin/sysconfig; then
5176       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5177         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5178       esac
5179     fi
5180     ;;
5181   sco3.2v5*)
5182     lt_cv_sys_max_cmd_len=102400
5183     ;;
5184   sysv5* | sco5v6* | sysv4.2uw2*)
5185     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5186     if test -n "$kargmax"; then
5187       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5188     else
5189       lt_cv_sys_max_cmd_len=32768
5190     fi
5191     ;;
5192   *)
5193     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5194     if test -n "$lt_cv_sys_max_cmd_len"; then
5195       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5196       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5197     else
5198       # Make teststring a little bigger before we do anything with it.
5199       # a 1K string should be a reasonable start.
5200       for i in 1 2 3 4 5 6 7 8 ; do
5201         teststring=$teststring$teststring
5202       done
5203       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5204       # If test is not a shell built-in, we'll probably end up computing a
5205       # maximum length that is only half of the actual maximum length, but
5206       # we can't tell.
5207       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5208                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5209               test $i != 17 # 1/2 MB should be enough
5210       do
5211         i=`expr $i + 1`
5212         teststring=$teststring$teststring
5213       done
5214       # Only check the string length outside the loop.
5215       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5216       teststring=
5217       # Add a significant safety factor because C++ compilers can tack on
5218       # massive amounts of additional arguments before passing them to the
5219       # linker.  It appears as though 1/2 is a usable value.
5220       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5221     fi
5222     ;;
5223   esac
5224
5225 fi
5226
5227 if test -n $lt_cv_sys_max_cmd_len ; then
5228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5229 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5230 else
5231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5232 $as_echo "none" >&6; }
5233 fi
5234 max_cmd_len=$lt_cv_sys_max_cmd_len
5235
5236     
5237     
5238     
5239
5240
5241 : ${CP="cp -f"}
5242 : ${MV="mv -f"}
5243 : ${RM="rm -f"}
5244
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5246 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5247 # Try some XSI features
5248 xsi_shell=no
5249 ( _lt_dummy="a/b/c"
5250   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5251       = c,a/b,b/c, \
5252     && eval 'test $(( 1 + 1 )) -eq 2 \
5253     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5254   && xsi_shell=yes
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5256 $as_echo "$xsi_shell" >&6; }
5257
5258
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5260 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5261 lt_shell_append=no
5262 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5263     >/dev/null 2>&1 \
5264   && lt_shell_append=yes
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5266 $as_echo "$lt_shell_append" >&6; }
5267
5268
5269 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5270   lt_unset=unset
5271 else
5272   lt_unset=false
5273 fi
5274
5275     
5276     
5277     
5278
5279 # test EBCDIC or ASCII
5280 case `echo X|tr X '\101'` in
5281  A) # ASCII based system
5282     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5283   lt_SP2NL='tr \040 \012'
5284   lt_NL2SP='tr \015\012 \040\040'
5285   ;;
5286  *) # EBCDIC based system
5287   lt_SP2NL='tr \100 \n'
5288   lt_NL2SP='tr \r\n \100\100'
5289   ;;
5290 esac
5291
5292     
5293     
5294     
5295
5296     
5297     
5298     
5299
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5301 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5302 if ${lt_cv_to_host_file_cmd+:} false; then :
5303   $as_echo_n "(cached) " >&6
5304 else
5305   case $host in
5306   *-*-mingw* )
5307     case $build in
5308       *-*-mingw* ) # actually msys
5309         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5310         ;;
5311       *-*-cygwin* )
5312         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5313         ;;
5314       * ) # otherwise, assume *nix
5315         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5316         ;;
5317     esac
5318     ;;
5319   *-*-cygwin* )
5320     case $build in
5321       *-*-mingw* ) # actually msys
5322         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5323         ;;
5324       *-*-cygwin* )
5325         lt_cv_to_host_file_cmd=func_convert_file_noop
5326         ;;
5327       * ) # otherwise, assume *nix
5328         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5329         ;;
5330     esac
5331     ;;
5332   * ) # unhandled hosts (and "normal" native builds)
5333     lt_cv_to_host_file_cmd=func_convert_file_noop
5334     ;;
5335 esac
5336
5337 fi
5338
5339 to_host_file_cmd=$lt_cv_to_host_file_cmd
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5341 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5342
5343     
5344     
5345     
5346
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5348 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5349 if ${lt_cv_to_tool_file_cmd+:} false; then :
5350   $as_echo_n "(cached) " >&6
5351 else
5352   #assume ordinary cross tools, or native build.
5353 lt_cv_to_tool_file_cmd=func_convert_file_noop
5354 case $host in
5355   *-*-mingw* )
5356     case $build in
5357       *-*-mingw* ) # actually msys
5358         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5359         ;;
5360     esac
5361     ;;
5362 esac
5363
5364 fi
5365
5366 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5368 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5369
5370     
5371     
5372     
5373
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5375 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5376 if ${lt_cv_ld_reload_flag+:} false; then :
5377   $as_echo_n "(cached) " >&6
5378 else
5379   lt_cv_ld_reload_flag='-r'
5380 fi
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5382 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5383 reload_flag=$lt_cv_ld_reload_flag
5384 case $reload_flag in
5385 "" | " "*) ;;
5386 *) reload_flag=" $reload_flag" ;;
5387 esac
5388 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5389 case $host_os in
5390   cygwin* | mingw* | pw32* | cegcc*)
5391     if test "$GCC" != yes; then
5392       reload_cmds=false
5393     fi
5394     ;;
5395   darwin*)
5396     if test "$GCC" = yes; then
5397       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5398     else
5399       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5400     fi
5401     ;;
5402 esac
5403
5404     
5405     
5406     
5407
5408     
5409     
5410     
5411
5412 if test -n "$ac_tool_prefix"; then
5413   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5414 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416 $as_echo_n "checking for $ac_word... " >&6; }
5417 if ${ac_cv_prog_OBJDUMP+:} false; then :
5418   $as_echo_n "(cached) " >&6
5419 else
5420   if test -n "$OBJDUMP"; then
5421   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5422 else
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5425 do
5426   IFS=$as_save_IFS
5427   test -z "$as_dir" && as_dir=.
5428     for ac_exec_ext in '' $ac_executable_extensions; do
5429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432     break 2
5433   fi
5434 done
5435   done
5436 IFS=$as_save_IFS
5437
5438 fi
5439 fi
5440 OBJDUMP=$ac_cv_prog_OBJDUMP
5441 if test -n "$OBJDUMP"; then
5442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5443 $as_echo "$OBJDUMP" >&6; }
5444 else
5445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5447 fi
5448
5449
5450 fi
5451 if test -z "$ac_cv_prog_OBJDUMP"; then
5452   ac_ct_OBJDUMP=$OBJDUMP
5453   # Extract the first word of "objdump", so it can be a program name with args.
5454 set dummy objdump; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5458   $as_echo_n "(cached) " >&6
5459 else
5460   if test -n "$ac_ct_OBJDUMP"; then
5461   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5465 do
5466   IFS=$as_save_IFS
5467   test -z "$as_dir" && as_dir=.
5468     for ac_exec_ext in '' $ac_executable_extensions; do
5469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472     break 2
5473   fi
5474 done
5475   done
5476 IFS=$as_save_IFS
5477
5478 fi
5479 fi
5480 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5481 if test -n "$ac_ct_OBJDUMP"; then
5482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5483 $as_echo "$ac_ct_OBJDUMP" >&6; }
5484 else
5485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5487 fi
5488
5489   if test "x$ac_ct_OBJDUMP" = x; then
5490     OBJDUMP="false"
5491   else
5492     case $cross_compiling:$ac_tool_warned in
5493 yes:)
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5496 ac_tool_warned=yes ;;
5497 esac
5498     OBJDUMP=$ac_ct_OBJDUMP
5499   fi
5500 else
5501   OBJDUMP="$ac_cv_prog_OBJDUMP"
5502 fi
5503
5504 test -z "$OBJDUMP" && OBJDUMP=objdump
5505
5506     
5507     
5508     
5509
5510
5511
5512
5513
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5515 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5516 if ${lt_cv_deplibs_check_method+:} false; then :
5517   $as_echo_n "(cached) " >&6
5518 else
5519   lt_cv_file_magic_cmd='$MAGIC_CMD'
5520 lt_cv_file_magic_test_file=
5521 lt_cv_deplibs_check_method='unknown'
5522 # Need to set the preceding variable on all platforms that support
5523 # interlibrary dependencies.
5524 # 'none' -- dependencies not supported.
5525 # `unknown' -- same as none, but documents that we really don't know.
5526 # 'pass_all' -- all dependencies passed with no checks.
5527 # 'test_compile' -- check by making test program.
5528 # 'file_magic [[regex]]' -- check by looking for files in library path
5529 # which responds to the $file_magic_cmd with a given extended regex.
5530 # If you have `file' or equivalent on your system and you're not sure
5531 # whether `pass_all' will *always* work, you probably want this one.
5532
5533 case $host_os in
5534 aix[4-9]*)
5535   lt_cv_deplibs_check_method=pass_all
5536   ;;
5537
5538 beos*)
5539   lt_cv_deplibs_check_method=pass_all
5540   ;;
5541
5542 bsdi[45]*)
5543   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5544   lt_cv_file_magic_cmd='/usr/bin/file -L'
5545   lt_cv_file_magic_test_file=/shlib/libc.so
5546   ;;
5547
5548 cygwin*)
5549   # func_win32_libid is a shell function defined in ltmain.sh
5550   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5551   lt_cv_file_magic_cmd='func_win32_libid'
5552   ;;
5553
5554 mingw* | pw32*)
5555   # Base MSYS/MinGW do not provide the 'file' command needed by
5556   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5557   # unless we find 'file', for example because we are cross-compiling.
5558   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5559   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5560     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5561     lt_cv_file_magic_cmd='func_win32_libid'
5562   else
5563     # Keep this pattern in sync with the one in func_win32_libid.
5564     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5565     lt_cv_file_magic_cmd='$OBJDUMP -f'
5566   fi
5567   ;;
5568
5569 cegcc*)
5570   # use the weaker test based on 'objdump'. See mingw*.
5571   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5572   lt_cv_file_magic_cmd='$OBJDUMP -f'
5573   ;;
5574
5575 darwin* | rhapsody*)
5576   lt_cv_deplibs_check_method=pass_all
5577   ;;
5578
5579 freebsd* | dragonfly*)
5580   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5581     case $host_cpu in
5582     i*86 )
5583       # Not sure whether the presence of OpenBSD here was a mistake.
5584       # Let's accept both of them until this is cleared up.
5585       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5586       lt_cv_file_magic_cmd=/usr/bin/file
5587       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5588       ;;
5589     esac
5590   else
5591     lt_cv_deplibs_check_method=pass_all
5592   fi
5593   ;;
5594
5595 gnu*)
5596   lt_cv_deplibs_check_method=pass_all
5597   ;;
5598
5599 haiku*)
5600   lt_cv_deplibs_check_method=pass_all
5601   ;;
5602
5603 hpux10.20* | hpux11*)
5604   lt_cv_file_magic_cmd=/usr/bin/file
5605   case $host_cpu in
5606   ia64*)
5607     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5608     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5609     ;;
5610   hppa*64*)
5611     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]'
5612     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5613     ;;
5614   *)
5615     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5616     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5617     ;;
5618   esac
5619   ;;
5620
5621 interix[3-9]*)
5622   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5623   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5624   ;;
5625
5626 irix5* | irix6* | nonstopux*)
5627   case $LD in
5628   *-32|*"-32 ") libmagic=32-bit;;
5629   *-n32|*"-n32 ") libmagic=N32;;
5630   *-64|*"-64 ") libmagic=64-bit;;
5631   *) libmagic=never-match;;
5632   esac
5633   lt_cv_deplibs_check_method=pass_all
5634   ;;
5635
5636 # This must be Linux ELF.
5637 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5638   lt_cv_deplibs_check_method=pass_all
5639   ;;
5640
5641 netbsd* | netbsdelf*-gnu)
5642   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5643     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5644   else
5645     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5646   fi
5647   ;;
5648
5649 newos6*)
5650   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5651   lt_cv_file_magic_cmd=/usr/bin/file
5652   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5653   ;;
5654
5655 *nto* | *qnx*)
5656   lt_cv_deplibs_check_method=pass_all
5657   ;;
5658
5659 openbsd*)
5660   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5661     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5662   else
5663     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5664   fi
5665   ;;
5666
5667 osf3* | osf4* | osf5*)
5668   lt_cv_deplibs_check_method=pass_all
5669   ;;
5670
5671 rdos*)
5672   lt_cv_deplibs_check_method=pass_all
5673   ;;
5674
5675 solaris*)
5676   lt_cv_deplibs_check_method=pass_all
5677   ;;
5678
5679 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5680   lt_cv_deplibs_check_method=pass_all
5681   ;;
5682
5683 sysv4 | sysv4.3*)
5684   case $host_vendor in
5685   motorola)
5686     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]'
5687     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5688     ;;
5689   ncr)
5690     lt_cv_deplibs_check_method=pass_all
5691     ;;
5692   sequent)
5693     lt_cv_file_magic_cmd='/bin/file'
5694     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5695     ;;
5696   sni)
5697     lt_cv_file_magic_cmd='/bin/file'
5698     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5699     lt_cv_file_magic_test_file=/lib/libc.so
5700     ;;
5701   siemens)
5702     lt_cv_deplibs_check_method=pass_all
5703     ;;
5704   pc)
5705     lt_cv_deplibs_check_method=pass_all
5706     ;;
5707   esac
5708   ;;
5709
5710 tpf*)
5711   lt_cv_deplibs_check_method=pass_all
5712   ;;
5713 esac
5714
5715 fi
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5717 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5718
5719 file_magic_glob=
5720 want_nocaseglob=no
5721 if test "$build" = "$host"; then
5722   case $host_os in
5723   mingw* | pw32*)
5724     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5725       want_nocaseglob=yes
5726     else
5727       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5728     fi
5729     ;;
5730   esac
5731 fi
5732
5733 file_magic_cmd=$lt_cv_file_magic_cmd
5734 deplibs_check_method=$lt_cv_deplibs_check_method
5735 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5736
5737
5738     
5739     
5740     
5741
5742
5743     
5744     
5745     
5746
5747
5748     
5749     
5750     
5751
5752
5753     
5754     
5755     
5756
5757
5758 if test -n "$ac_tool_prefix"; then
5759   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5760 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_DLLTOOL+:} false; then :
5764   $as_echo_n "(cached) " >&6
5765 else
5766   if test -n "$DLLTOOL"; then
5767   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5771 do
5772   IFS=$as_save_IFS
5773   test -z "$as_dir" && as_dir=.
5774     for ac_exec_ext in '' $ac_executable_extensions; do
5775   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5777     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778     break 2
5779   fi
5780 done
5781   done
5782 IFS=$as_save_IFS
5783
5784 fi
5785 fi
5786 DLLTOOL=$ac_cv_prog_DLLTOOL
5787 if test -n "$DLLTOOL"; then
5788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5789 $as_echo "$DLLTOOL" >&6; }
5790 else
5791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5793 fi
5794
5795
5796 fi
5797 if test -z "$ac_cv_prog_DLLTOOL"; then
5798   ac_ct_DLLTOOL=$DLLTOOL
5799   # Extract the first word of "dlltool", so it can be a program name with args.
5800 set dummy dlltool; ac_word=$2
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5804   $as_echo_n "(cached) " >&6
5805 else
5806   if test -n "$ac_ct_DLLTOOL"; then
5807   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5811 do
5812   IFS=$as_save_IFS
5813   test -z "$as_dir" && as_dir=.
5814     for ac_exec_ext in '' $ac_executable_extensions; do
5815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818     break 2
5819   fi
5820 done
5821   done
5822 IFS=$as_save_IFS
5823
5824 fi
5825 fi
5826 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5827 if test -n "$ac_ct_DLLTOOL"; then
5828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5829 $as_echo "$ac_ct_DLLTOOL" >&6; }
5830 else
5831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5833 fi
5834
5835   if test "x$ac_ct_DLLTOOL" = x; then
5836     DLLTOOL="false"
5837   else
5838     case $cross_compiling:$ac_tool_warned in
5839 yes:)
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5842 ac_tool_warned=yes ;;
5843 esac
5844     DLLTOOL=$ac_ct_DLLTOOL
5845   fi
5846 else
5847   DLLTOOL="$ac_cv_prog_DLLTOOL"
5848 fi
5849
5850 test -z "$DLLTOOL" && DLLTOOL=dlltool
5851
5852     
5853     
5854     
5855
5856
5857
5858
5859
5860
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5862 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5863 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5864   $as_echo_n "(cached) " >&6
5865 else
5866   lt_cv_sharedlib_from_linklib_cmd='unknown'
5867
5868 case $host_os in
5869 cygwin* | mingw* | pw32* | cegcc*)
5870   # two different shell functions defined in ltmain.sh
5871   # decide which to use based on capabilities of $DLLTOOL
5872   case `$DLLTOOL --help 2>&1` in
5873   *--identify-strict*)
5874     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5875     ;;
5876   *)
5877     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5878     ;;
5879   esac
5880   ;;
5881 *)
5882   # fallback: assume linklib IS sharedlib
5883   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5884   ;;
5885 esac
5886
5887 fi
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5889 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5890 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5891 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5892
5893
5894     
5895     
5896     
5897
5898
5899
5900 if test -n "$ac_tool_prefix"; then
5901   for ac_prog in ar
5902   do
5903     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5904 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_prog_AR+:} false; then :
5908   $as_echo_n "(cached) " >&6
5909 else
5910   if test -n "$AR"; then
5911   ac_cv_prog_AR="$AR" # Let the user override the test.
5912 else
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 for as_dir in $PATH
5915 do
5916   IFS=$as_save_IFS
5917   test -z "$as_dir" && as_dir=.
5918     for ac_exec_ext in '' $ac_executable_extensions; do
5919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5920     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5922     break 2
5923   fi
5924 done
5925   done
5926 IFS=$as_save_IFS
5927
5928 fi
5929 fi
5930 AR=$ac_cv_prog_AR
5931 if test -n "$AR"; then
5932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5933 $as_echo "$AR" >&6; }
5934 else
5935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5937 fi
5938
5939
5940     test -n "$AR" && break
5941   done
5942 fi
5943 if test -z "$AR"; then
5944   ac_ct_AR=$AR
5945   for ac_prog in ar
5946 do
5947   # Extract the first word of "$ac_prog", so it can be a program name with args.
5948 set dummy $ac_prog; ac_word=$2
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5950 $as_echo_n "checking for $ac_word... " >&6; }
5951 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5952   $as_echo_n "(cached) " >&6
5953 else
5954   if test -n "$ac_ct_AR"; then
5955   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5956 else
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 for as_dir in $PATH
5959 do
5960   IFS=$as_save_IFS
5961   test -z "$as_dir" && as_dir=.
5962     for ac_exec_ext in '' $ac_executable_extensions; do
5963   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5964     ac_cv_prog_ac_ct_AR="$ac_prog"
5965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5966     break 2
5967   fi
5968 done
5969   done
5970 IFS=$as_save_IFS
5971
5972 fi
5973 fi
5974 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5975 if test -n "$ac_ct_AR"; then
5976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5977 $as_echo "$ac_ct_AR" >&6; }
5978 else
5979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5981 fi
5982
5983
5984   test -n "$ac_ct_AR" && break
5985 done
5986
5987   if test "x$ac_ct_AR" = x; then
5988     AR="false"
5989   else
5990     case $cross_compiling:$ac_tool_warned in
5991 yes:)
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5994 ac_tool_warned=yes ;;
5995 esac
5996     AR=$ac_ct_AR
5997   fi
5998 fi
5999
6000 : ${AR=ar}
6001 : ${AR_FLAGS=cru}
6002
6003     
6004     
6005     
6006
6007
6008     
6009     
6010     
6011
6012
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6014 $as_echo_n "checking for archiver @FILE support... " >&6; }
6015 if ${lt_cv_ar_at_file+:} false; then :
6016   $as_echo_n "(cached) " >&6
6017 else
6018   lt_cv_ar_at_file=no
6019    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6020 /* end confdefs.h.  */
6021
6022 int
6023 main ()
6024 {
6025
6026   ;
6027   return 0;
6028 }
6029 _ACEOF
6030 if ac_fn_cxx_try_compile "$LINENO"; then :
6031   echo conftest.$ac_objext > conftest.lst
6032       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6033       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6034   (eval $lt_ar_try) 2>&5
6035   ac_status=$?
6036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6037   test $ac_status = 0; }
6038       if test "$ac_status" -eq 0; then
6039         # Ensure the archiver fails upon bogus file names.
6040         rm -f conftest.$ac_objext libconftest.a
6041         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6042   (eval $lt_ar_try) 2>&5
6043   ac_status=$?
6044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6045   test $ac_status = 0; }
6046         if test "$ac_status" -ne 0; then
6047           lt_cv_ar_at_file=@
6048         fi
6049       fi
6050       rm -f conftest.* libconftest.a
6051      
6052 fi
6053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6054   
6055 fi
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6057 $as_echo "$lt_cv_ar_at_file" >&6; }
6058
6059 if test "x$lt_cv_ar_at_file" = xno; then
6060   archiver_list_spec=
6061 else
6062   archiver_list_spec=$lt_cv_ar_at_file
6063 fi
6064
6065     
6066     
6067     
6068
6069
6070
6071 if test -n "$ac_tool_prefix"; then
6072   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6073 set dummy ${ac_tool_prefix}strip; ac_word=$2
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6075 $as_echo_n "checking for $ac_word... " >&6; }
6076 if ${ac_cv_prog_STRIP+:} false; then :
6077   $as_echo_n "(cached) " >&6
6078 else
6079   if test -n "$STRIP"; then
6080   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6081 else
6082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083 for as_dir in $PATH
6084 do
6085   IFS=$as_save_IFS
6086   test -z "$as_dir" && as_dir=.
6087     for ac_exec_ext in '' $ac_executable_extensions; do
6088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6089     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6091     break 2
6092   fi
6093 done
6094   done
6095 IFS=$as_save_IFS
6096
6097 fi
6098 fi
6099 STRIP=$ac_cv_prog_STRIP
6100 if test -n "$STRIP"; then
6101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6102 $as_echo "$STRIP" >&6; }
6103 else
6104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6105 $as_echo "no" >&6; }
6106 fi
6107
6108
6109 fi
6110 if test -z "$ac_cv_prog_STRIP"; then
6111   ac_ct_STRIP=$STRIP
6112   # Extract the first word of "strip", so it can be a program name with args.
6113 set dummy strip; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6117   $as_echo_n "(cached) " >&6
6118 else
6119   if test -n "$ac_ct_STRIP"; then
6120   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6124 do
6125   IFS=$as_save_IFS
6126   test -z "$as_dir" && as_dir=.
6127     for ac_exec_ext in '' $ac_executable_extensions; do
6128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129     ac_cv_prog_ac_ct_STRIP="strip"
6130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131     break 2
6132   fi
6133 done
6134   done
6135 IFS=$as_save_IFS
6136
6137 fi
6138 fi
6139 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6140 if test -n "$ac_ct_STRIP"; then
6141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6142 $as_echo "$ac_ct_STRIP" >&6; }
6143 else
6144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6146 fi
6147
6148   if test "x$ac_ct_STRIP" = x; then
6149     STRIP=":"
6150   else
6151     case $cross_compiling:$ac_tool_warned in
6152 yes:)
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6155 ac_tool_warned=yes ;;
6156 esac
6157     STRIP=$ac_ct_STRIP
6158   fi
6159 else
6160   STRIP="$ac_cv_prog_STRIP"
6161 fi
6162
6163 test -z "$STRIP" && STRIP=:
6164
6165     
6166     
6167     
6168
6169
6170 if test -n "$ac_tool_prefix"; then
6171   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 $as_echo_n "checking for $ac_word... " >&6; }
6175 if ${ac_cv_prog_RANLIB+:} false; then :
6176   $as_echo_n "(cached) " >&6
6177 else
6178   if test -n "$RANLIB"; then
6179   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6180 else
6181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 for as_dir in $PATH
6183 do
6184   IFS=$as_save_IFS
6185   test -z "$as_dir" && as_dir=.
6186     for ac_exec_ext in '' $ac_executable_extensions; do
6187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6188     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6190     break 2
6191   fi
6192 done
6193   done
6194 IFS=$as_save_IFS
6195
6196 fi
6197 fi
6198 RANLIB=$ac_cv_prog_RANLIB
6199 if test -n "$RANLIB"; then
6200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6201 $as_echo "$RANLIB" >&6; }
6202 else
6203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6204 $as_echo "no" >&6; }
6205 fi
6206
6207
6208 fi
6209 if test -z "$ac_cv_prog_RANLIB"; then
6210   ac_ct_RANLIB=$RANLIB
6211   # Extract the first word of "ranlib", so it can be a program name with args.
6212 set dummy ranlib; ac_word=$2
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6214 $as_echo_n "checking for $ac_word... " >&6; }
6215 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6216   $as_echo_n "(cached) " >&6
6217 else
6218   if test -n "$ac_ct_RANLIB"; then
6219   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6220 else
6221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 for as_dir in $PATH
6223 do
6224   IFS=$as_save_IFS
6225   test -z "$as_dir" && as_dir=.
6226     for ac_exec_ext in '' $ac_executable_extensions; do
6227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6228     ac_cv_prog_ac_ct_RANLIB="ranlib"
6229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230     break 2
6231   fi
6232 done
6233   done
6234 IFS=$as_save_IFS
6235
6236 fi
6237 fi
6238 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6239 if test -n "$ac_ct_RANLIB"; then
6240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6241 $as_echo "$ac_ct_RANLIB" >&6; }
6242 else
6243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6244 $as_echo "no" >&6; }
6245 fi
6246
6247   if test "x$ac_ct_RANLIB" = x; then
6248     RANLIB=":"
6249   else
6250     case $cross_compiling:$ac_tool_warned in
6251 yes:)
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6254 ac_tool_warned=yes ;;
6255 esac
6256     RANLIB=$ac_ct_RANLIB
6257   fi
6258 else
6259   RANLIB="$ac_cv_prog_RANLIB"
6260 fi
6261
6262 test -z "$RANLIB" && RANLIB=:
6263
6264     
6265     
6266     
6267
6268
6269 # Determine commands to create old-style static archives.
6270 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6271 old_postinstall_cmds='chmod 644 $oldlib'
6272 old_postuninstall_cmds=
6273
6274 if test -n "$RANLIB"; then
6275   case $host_os in
6276   openbsd*)
6277     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6278     ;;
6279   *)
6280     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6281     ;;
6282   esac
6283   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6284 fi
6285
6286 case $host_os in
6287   darwin*)
6288     lock_old_archive_extraction=yes ;;
6289   *)
6290     lock_old_archive_extraction=no ;;
6291 esac
6292
6293     
6294     
6295     
6296
6297
6298     
6299     
6300     
6301
6302
6303     
6304     
6305     
6306
6307
6308     
6309     
6310     
6311
6312
6313
6314
6315     
6316     
6317     
6318
6319     
6320     
6321     
6322
6323     
6324     
6325     
6326
6327     
6328     
6329     
6330
6331 # If no C compiler was specified, use CC.
6332 LTCC=${LTCC-"$CC"}
6333
6334 # If no C compiler flags were specified, use CFLAGS.
6335 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6336
6337 # Allow CC to be a program name with arguments.
6338 compiler=$CC
6339
6340
6341 # Check for command to grab the raw symbol name followed by C symbol from nm.
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6343 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6344 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6345   $as_echo_n "(cached) " >&6
6346 else
6347   
6348 # These are sane defaults that work on at least a few old systems.
6349 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6350
6351 # Character class describing NM global symbol codes.
6352 symcode='[BCDEGRST]'
6353
6354 # Regexp to match symbols that can be accessed directly from C.
6355 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6356
6357 # Define system-specific variables.
6358 case $host_os in
6359 aix*)
6360   symcode='[BCDT]'
6361   ;;
6362 cygwin* | mingw* | pw32* | cegcc*)
6363   symcode='[ABCDGISTW]'
6364   ;;
6365 hpux*)
6366   if test "$host_cpu" = ia64; then
6367     symcode='[ABCDEGRST]'
6368   fi
6369   ;;
6370 irix* | nonstopux*)
6371   symcode='[BCDEGRST]'
6372   ;;
6373 osf*)
6374   symcode='[BCDEGQRST]'
6375   ;;
6376 solaris*)
6377   symcode='[BDRT]'
6378   ;;
6379 sco3.2v5*)
6380   symcode='[DT]'
6381   ;;
6382 sysv4.2uw2*)
6383   symcode='[DT]'
6384   ;;
6385 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6386   symcode='[ABDT]'
6387   ;;
6388 sysv4)
6389   symcode='[DFNSTU]'
6390   ;;
6391 esac
6392
6393 # If we're using GNU nm, then use its standard symbol codes.
6394 case `$NM -V 2>&1` in
6395 *GNU* | *'with BFD'*)
6396   symcode='[ABCDGIRSTW]' ;;
6397 esac
6398
6399 # Transform an extracted symbol line into a proper C declaration.
6400 # Some systems (esp. on ia64) link data and code symbols differently,
6401 # so use this general approach.
6402 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6403
6404 # Transform an extracted symbol line into symbol name and symbol address
6405 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6406 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'"
6407
6408 # Handle CRLF in mingw tool chain
6409 opt_cr=
6410 case $build_os in
6411 mingw*)
6412   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6413   ;;
6414 esac
6415
6416 # Try without a prefix underscore, then with it.
6417 for ac_symprfx in "" "_"; do
6418
6419   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6420   symxfrm="\\1 $ac_symprfx\\2 \\2"
6421
6422   # Write the raw and C identifiers.
6423   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6424     # Fake it for dumpbin and say T for any non-static function
6425     # and D for any global variable.
6426     # Also find C++ and __fastcall symbols from MSVC++,
6427     # which start with @ or ?.
6428     lt_cv_sys_global_symbol_pipe="$AWK '"\
6429 "     {last_section=section; section=\$ 3};"\
6430 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6431 "     \$ 0!~/External *\|/{next};"\
6432 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6433 "     {if(hide[section]) next};"\
6434 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6435 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6436 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6437 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6438 "     ' prfx=^$ac_symprfx"
6439   else
6440     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6441   fi
6442   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6443
6444   # Check to see that the pipe works correctly.
6445   pipe_works=no
6446
6447   rm -f conftest*
6448   cat > conftest.$ac_ext <<_LT_EOF
6449 #ifdef __cplusplus
6450 extern "C" {
6451 #endif
6452 char nm_test_var;
6453 void nm_test_func(void);
6454 void nm_test_func(void){}
6455 #ifdef __cplusplus
6456 }
6457 #endif
6458 int main(){nm_test_var='a';nm_test_func();return(0);}
6459 _LT_EOF
6460
6461   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6462   (eval $ac_compile) 2>&5
6463   ac_status=$?
6464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6465   test $ac_status = 0; }; then
6466     # Now try to grab the symbols.
6467     nlist=conftest.nm
6468     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6469   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6470   ac_status=$?
6471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6472   test $ac_status = 0; } && test -s "$nlist"; then
6473       # Try sorting and uniquifying the output.
6474       if sort "$nlist" | uniq > "$nlist"T; then
6475         mv -f "$nlist"T "$nlist"
6476       else
6477         rm -f "$nlist"T
6478       fi
6479
6480       # Make sure that we snagged all the symbols we need.
6481       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6482         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6483           cat <<_LT_EOF > conftest.$ac_ext
6484 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6485 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6486 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6487    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6488 # define LT@&t@_DLSYM_CONST
6489 #elif defined(__osf__)
6490 /* This system does not cope well with relocations in const data.  */
6491 # define LT@&t@_DLSYM_CONST
6492 #else
6493 # define LT@&t@_DLSYM_CONST const
6494 #endif
6495
6496 #ifdef __cplusplus
6497 extern "C" {
6498 #endif
6499
6500 _LT_EOF
6501           # Now generate the symbol file.
6502           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6503
6504           cat <<_LT_EOF >> conftest.$ac_ext
6505
6506 /* The mapping between symbol names and symbols.  */
6507 LT@&t@_DLSYM_CONST struct {
6508   const char *name;
6509   void       *address;
6510 }
6511 lt__PROGRAM__LTX_preloaded_symbols[] =
6512 {
6513   { "@PROGRAM@", (void *) 0 },
6514 _LT_EOF
6515           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6516           cat <<\_LT_EOF >> conftest.$ac_ext
6517   {0, (void *) 0}
6518 };
6519
6520 /* This works around a problem in FreeBSD linker */
6521 #ifdef FREEBSD_WORKAROUND
6522 static const void *lt_preloaded_setup() {
6523   return lt__PROGRAM__LTX_preloaded_symbols;
6524 }
6525 #endif
6526
6527 #ifdef __cplusplus
6528 }
6529 #endif
6530 _LT_EOF
6531           # Now try linking the two files.
6532           mv conftest.$ac_objext conftstm.$ac_objext
6533           lt_globsym_save_LIBS=$LIBS
6534           lt_globsym_save_CFLAGS=$CFLAGS
6535           LIBS="conftstm.$ac_objext"
6536           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6537           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6538   (eval $ac_link) 2>&5
6539   ac_status=$?
6540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6541   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6542             pipe_works=yes
6543           fi
6544           LIBS=$lt_globsym_save_LIBS
6545           CFLAGS=$lt_globsym_save_CFLAGS
6546         else
6547           echo "cannot find nm_test_func in $nlist" >&5
6548         fi
6549       else
6550         echo "cannot find nm_test_var in $nlist" >&5
6551       fi
6552     else
6553       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6554     fi
6555   else
6556     echo "$progname: failed program was:" >&5
6557     cat conftest.$ac_ext >&5
6558   fi
6559   rm -rf conftest* conftst*
6560
6561   # Do not use the global_symbol_pipe unless it works.
6562   if test "$pipe_works" = yes; then
6563     break
6564   else
6565     lt_cv_sys_global_symbol_pipe=
6566   fi
6567 done
6568
6569 fi
6570
6571 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6572   lt_cv_sys_global_symbol_to_cdecl=
6573 fi
6574 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6576 $as_echo "failed" >&6; }
6577 else
6578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6579 $as_echo "ok" >&6; }
6580 fi
6581
6582 # Response file support.
6583 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6584   nm_file_list_spec='@'
6585 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6586   nm_file_list_spec='@'
6587 fi
6588
6589
6590     
6591     
6592     
6593
6594
6595     
6596     
6597     
6598
6599
6600     
6601     
6602     
6603
6604
6605     
6606     
6607     
6608
6609
6610     
6611     
6612     
6613
6614
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6616 $as_echo_n "checking for sysroot... " >&6; }
6617
6618 @%:@ Check whether --with-sysroot was given.
6619 if test "${with_sysroot+set}" = set; then :
6620   withval=$with_sysroot; 
6621 else
6622   with_sysroot=no
6623 fi
6624
6625
6626 lt_sysroot=
6627 case ${with_sysroot} in #(
6628  yes)
6629    if test "$GCC" = yes; then
6630      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6631    fi
6632    ;; #(
6633  /*)
6634    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6635    ;; #(
6636  no|'')
6637    ;; #(
6638  *)
6639    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6640 $as_echo "${with_sysroot}" >&6; }
6641    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6642    ;;
6643 esac
6644
6645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6646 $as_echo "${lt_sysroot:-no}" >&6; }
6647
6648     
6649     
6650     
6651
6652
6653 @%:@ Check whether --enable-libtool-lock was given.
6654 if test "${enable_libtool_lock+set}" = set; then :
6655   enableval=$enable_libtool_lock; 
6656 fi
6657
6658 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6659
6660 # Some flags need to be propagated to the compiler or linker for good
6661 # libtool support.
6662 case $host in
6663 ia64-*-hpux*)
6664   # Find out which ABI we are using.
6665   echo 'int i;' > conftest.$ac_ext
6666   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6667   (eval $ac_compile) 2>&5
6668   ac_status=$?
6669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6670   test $ac_status = 0; }; then
6671     case `/usr/bin/file conftest.$ac_objext` in
6672       *ELF-32*)
6673         HPUX_IA64_MODE="32"
6674         ;;
6675       *ELF-64*)
6676         HPUX_IA64_MODE="64"
6677         ;;
6678     esac
6679   fi
6680   rm -rf conftest*
6681   ;;
6682 *-*-irix6*)
6683   # Find out which ABI we are using.
6684   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6685   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6686   (eval $ac_compile) 2>&5
6687   ac_status=$?
6688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6689   test $ac_status = 0; }; then
6690     if test "$lt_cv_prog_gnu_ld" = yes; then
6691       case `/usr/bin/file conftest.$ac_objext` in
6692         *32-bit*)
6693           LD="${LD-ld} -melf32bsmip"
6694           ;;
6695         *N32*)
6696           LD="${LD-ld} -melf32bmipn32"
6697           ;;
6698         *64-bit*)
6699           LD="${LD-ld} -melf64bmip"
6700         ;;
6701       esac
6702     else
6703       case `/usr/bin/file conftest.$ac_objext` in
6704         *32-bit*)
6705           LD="${LD-ld} -32"
6706           ;;
6707         *N32*)
6708           LD="${LD-ld} -n32"
6709           ;;
6710         *64-bit*)
6711           LD="${LD-ld} -64"
6712           ;;
6713       esac
6714     fi
6715   fi
6716   rm -rf conftest*
6717   ;;
6718
6719 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6720 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6721   # Find out which ABI we are using.
6722   echo 'int i;' > conftest.$ac_ext
6723   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6724   (eval $ac_compile) 2>&5
6725   ac_status=$?
6726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6727   test $ac_status = 0; }; then
6728     case `/usr/bin/file conftest.o` in
6729       *32-bit*)
6730         case $host in
6731           x86_64-*kfreebsd*-gnu)
6732             LD="${LD-ld} -m elf_i386_fbsd"
6733             ;;
6734           x86_64-*linux*)
6735             LD="${LD-ld} -m elf_i386"
6736             ;;
6737           ppc64-*linux*|powerpc64-*linux*)
6738             LD="${LD-ld} -m elf32ppclinux"
6739             ;;
6740           s390x-*linux*)
6741             LD="${LD-ld} -m elf_s390"
6742             ;;
6743           sparc64-*linux*)
6744             LD="${LD-ld} -m elf32_sparc"
6745             ;;
6746         esac
6747         ;;
6748       *64-bit*)
6749         case $host in
6750           x86_64-*kfreebsd*-gnu)
6751             LD="${LD-ld} -m elf_x86_64_fbsd"
6752             ;;
6753           x86_64-*linux*)
6754             LD="${LD-ld} -m elf_x86_64"
6755             ;;
6756           ppc*-*linux*|powerpc*-*linux*)
6757             LD="${LD-ld} -m elf64ppc"
6758             ;;
6759           s390*-*linux*|s390*-*tpf*)
6760             LD="${LD-ld} -m elf64_s390"
6761             ;;
6762           sparc*-*linux*)
6763             LD="${LD-ld} -m elf64_sparc"
6764             ;;
6765         esac
6766         ;;
6767     esac
6768   fi
6769   rm -rf conftest*
6770   ;;
6771
6772 *-*-sco3.2v5*)
6773   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6774   SAVE_CFLAGS="$CFLAGS"
6775   CFLAGS="$CFLAGS -belf"
6776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6777 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6778 if ${lt_cv_cc_needs_belf+:} false; then :
6779   $as_echo_n "(cached) " >&6
6780 else
6781   ac_ext=c
6782 ac_cpp='$CPP $CPPFLAGS'
6783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6786
6787      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6788 /* end confdefs.h.  */
6789
6790 int
6791 main ()
6792 {
6793
6794   ;
6795   return 0;
6796 }
6797 _ACEOF
6798 if ac_fn_c_try_link "$LINENO"; then :
6799   lt_cv_cc_needs_belf=yes
6800 else
6801   lt_cv_cc_needs_belf=no
6802 fi
6803 rm -f core conftest.err conftest.$ac_objext \
6804     conftest$ac_exeext conftest.$ac_ext
6805      ac_ext=c
6806 ac_cpp='$CPP $CPPFLAGS'
6807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6810
6811 fi
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6813 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6814   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6815     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6816     CFLAGS="$SAVE_CFLAGS"
6817   fi
6818   ;;
6819 sparc*-*solaris*)
6820   # Find out which ABI we are using.
6821   echo 'int i;' > conftest.$ac_ext
6822   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6823   (eval $ac_compile) 2>&5
6824   ac_status=$?
6825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6826   test $ac_status = 0; }; then
6827     case `/usr/bin/file conftest.o` in
6828     *64-bit*)
6829       case $lt_cv_prog_gnu_ld in
6830       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6831       *)
6832         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6833           LD="${LD-ld} -64"
6834         fi
6835         ;;
6836       esac
6837       ;;
6838     esac
6839   fi
6840   rm -rf conftest*
6841   ;;
6842 esac
6843
6844 need_locks="$enable_libtool_lock"
6845
6846 if test -n "$ac_tool_prefix"; then
6847   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6848 set dummy ${ac_tool_prefix}mt; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6852   $as_echo_n "(cached) " >&6
6853 else
6854   if test -n "$MANIFEST_TOOL"; then
6855   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6856 else
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6858 for as_dir in $PATH
6859 do
6860   IFS=$as_save_IFS
6861   test -z "$as_dir" && as_dir=.
6862     for ac_exec_ext in '' $ac_executable_extensions; do
6863   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6866     break 2
6867   fi
6868 done
6869   done
6870 IFS=$as_save_IFS
6871
6872 fi
6873 fi
6874 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6875 if test -n "$MANIFEST_TOOL"; then
6876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6877 $as_echo "$MANIFEST_TOOL" >&6; }
6878 else
6879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6881 fi
6882
6883
6884 fi
6885 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6886   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6887   # Extract the first word of "mt", so it can be a program name with args.
6888 set dummy mt; ac_word=$2
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6890 $as_echo_n "checking for $ac_word... " >&6; }
6891 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6892   $as_echo_n "(cached) " >&6
6893 else
6894   if test -n "$ac_ct_MANIFEST_TOOL"; then
6895   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6896 else
6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6898 for as_dir in $PATH
6899 do
6900   IFS=$as_save_IFS
6901   test -z "$as_dir" && as_dir=.
6902     for ac_exec_ext in '' $ac_executable_extensions; do
6903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6904     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6906     break 2
6907   fi
6908 done
6909   done
6910 IFS=$as_save_IFS
6911
6912 fi
6913 fi
6914 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6915 if test -n "$ac_ct_MANIFEST_TOOL"; then
6916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6917 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6918 else
6919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6920 $as_echo "no" >&6; }
6921 fi
6922
6923   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6924     MANIFEST_TOOL=":"
6925   else
6926     case $cross_compiling:$ac_tool_warned in
6927 yes:)
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6930 ac_tool_warned=yes ;;
6931 esac
6932     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6933   fi
6934 else
6935   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6936 fi
6937
6938 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6940 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6941 if ${lt_cv_path_mainfest_tool+:} false; then :
6942   $as_echo_n "(cached) " >&6
6943 else
6944   lt_cv_path_mainfest_tool=no
6945   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6946   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6947   cat conftest.err >&5
6948   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6949     lt_cv_path_mainfest_tool=yes
6950   fi
6951   rm -f conftest*
6952 fi
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6954 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6955 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6956   MANIFEST_TOOL=:
6957 fi
6958
6959     
6960     
6961     
6962
6963
6964   case $host_os in
6965     rhapsody* | darwin*)
6966     if test -n "$ac_tool_prefix"; then
6967   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6968 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6972   $as_echo_n "(cached) " >&6
6973 else
6974   if test -n "$DSYMUTIL"; then
6975   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6976 else
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978 for as_dir in $PATH
6979 do
6980   IFS=$as_save_IFS
6981   test -z "$as_dir" && as_dir=.
6982     for ac_exec_ext in '' $ac_executable_extensions; do
6983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986     break 2
6987   fi
6988 done
6989   done
6990 IFS=$as_save_IFS
6991
6992 fi
6993 fi
6994 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6995 if test -n "$DSYMUTIL"; then
6996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6997 $as_echo "$DSYMUTIL" >&6; }
6998 else
6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7001 fi
7002
7003
7004 fi
7005 if test -z "$ac_cv_prog_DSYMUTIL"; then
7006   ac_ct_DSYMUTIL=$DSYMUTIL
7007   # Extract the first word of "dsymutil", so it can be a program name with args.
7008 set dummy dsymutil; ac_word=$2
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010 $as_echo_n "checking for $ac_word... " >&6; }
7011 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7012   $as_echo_n "(cached) " >&6
7013 else
7014   if test -n "$ac_ct_DSYMUTIL"; then
7015   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7016 else
7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018 for as_dir in $PATH
7019 do
7020   IFS=$as_save_IFS
7021   test -z "$as_dir" && as_dir=.
7022     for ac_exec_ext in '' $ac_executable_extensions; do
7023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7024     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026     break 2
7027   fi
7028 done
7029   done
7030 IFS=$as_save_IFS
7031
7032 fi
7033 fi
7034 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7035 if test -n "$ac_ct_DSYMUTIL"; then
7036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7037 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7038 else
7039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040 $as_echo "no" >&6; }
7041 fi
7042
7043   if test "x$ac_ct_DSYMUTIL" = x; then
7044     DSYMUTIL=":"
7045   else
7046     case $cross_compiling:$ac_tool_warned in
7047 yes:)
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7050 ac_tool_warned=yes ;;
7051 esac
7052     DSYMUTIL=$ac_ct_DSYMUTIL
7053   fi
7054 else
7055   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7056 fi
7057
7058     if test -n "$ac_tool_prefix"; then
7059   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7060 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062 $as_echo_n "checking for $ac_word... " >&6; }
7063 if ${ac_cv_prog_NMEDIT+:} false; then :
7064   $as_echo_n "(cached) " >&6
7065 else
7066   if test -n "$NMEDIT"; then
7067   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7068 else
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 for as_dir in $PATH
7071 do
7072   IFS=$as_save_IFS
7073   test -z "$as_dir" && as_dir=.
7074     for ac_exec_ext in '' $ac_executable_extensions; do
7075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078     break 2
7079   fi
7080 done
7081   done
7082 IFS=$as_save_IFS
7083
7084 fi
7085 fi
7086 NMEDIT=$ac_cv_prog_NMEDIT
7087 if test -n "$NMEDIT"; then
7088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7089 $as_echo "$NMEDIT" >&6; }
7090 else
7091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092 $as_echo "no" >&6; }
7093 fi
7094
7095
7096 fi
7097 if test -z "$ac_cv_prog_NMEDIT"; then
7098   ac_ct_NMEDIT=$NMEDIT
7099   # Extract the first word of "nmedit", so it can be a program name with args.
7100 set dummy nmedit; ac_word=$2
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 $as_echo_n "checking for $ac_word... " >&6; }
7103 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7104   $as_echo_n "(cached) " >&6
7105 else
7106   if test -n "$ac_ct_NMEDIT"; then
7107   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7108 else
7109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110 for as_dir in $PATH
7111 do
7112   IFS=$as_save_IFS
7113   test -z "$as_dir" && as_dir=.
7114     for ac_exec_ext in '' $ac_executable_extensions; do
7115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7116     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118     break 2
7119   fi
7120 done
7121   done
7122 IFS=$as_save_IFS
7123
7124 fi
7125 fi
7126 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7127 if test -n "$ac_ct_NMEDIT"; then
7128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7129 $as_echo "$ac_ct_NMEDIT" >&6; }
7130 else
7131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7133 fi
7134
7135   if test "x$ac_ct_NMEDIT" = x; then
7136     NMEDIT=":"
7137   else
7138     case $cross_compiling:$ac_tool_warned in
7139 yes:)
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142 ac_tool_warned=yes ;;
7143 esac
7144     NMEDIT=$ac_ct_NMEDIT
7145   fi
7146 else
7147   NMEDIT="$ac_cv_prog_NMEDIT"
7148 fi
7149
7150     if test -n "$ac_tool_prefix"; then
7151   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7152 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154 $as_echo_n "checking for $ac_word... " >&6; }
7155 if ${ac_cv_prog_LIPO+:} false; then :
7156   $as_echo_n "(cached) " >&6
7157 else
7158   if test -n "$LIPO"; then
7159   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7160 else
7161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162 for as_dir in $PATH
7163 do
7164   IFS=$as_save_IFS
7165   test -z "$as_dir" && as_dir=.
7166     for ac_exec_ext in '' $ac_executable_extensions; do
7167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7168     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170     break 2
7171   fi
7172 done
7173   done
7174 IFS=$as_save_IFS
7175
7176 fi
7177 fi
7178 LIPO=$ac_cv_prog_LIPO
7179 if test -n "$LIPO"; then
7180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7181 $as_echo "$LIPO" >&6; }
7182 else
7183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184 $as_echo "no" >&6; }
7185 fi
7186
7187
7188 fi
7189 if test -z "$ac_cv_prog_LIPO"; then
7190   ac_ct_LIPO=$LIPO
7191   # Extract the first word of "lipo", so it can be a program name with args.
7192 set dummy lipo; ac_word=$2
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194 $as_echo_n "checking for $ac_word... " >&6; }
7195 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7196   $as_echo_n "(cached) " >&6
7197 else
7198   if test -n "$ac_ct_LIPO"; then
7199   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7200 else
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 for as_dir in $PATH
7203 do
7204   IFS=$as_save_IFS
7205   test -z "$as_dir" && as_dir=.
7206     for ac_exec_ext in '' $ac_executable_extensions; do
7207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7208     ac_cv_prog_ac_ct_LIPO="lipo"
7209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210     break 2
7211   fi
7212 done
7213   done
7214 IFS=$as_save_IFS
7215
7216 fi
7217 fi
7218 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7219 if test -n "$ac_ct_LIPO"; then
7220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7221 $as_echo "$ac_ct_LIPO" >&6; }
7222 else
7223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7225 fi
7226
7227   if test "x$ac_ct_LIPO" = x; then
7228     LIPO=":"
7229   else
7230     case $cross_compiling:$ac_tool_warned in
7231 yes:)
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7234 ac_tool_warned=yes ;;
7235 esac
7236     LIPO=$ac_ct_LIPO
7237   fi
7238 else
7239   LIPO="$ac_cv_prog_LIPO"
7240 fi
7241
7242     if test -n "$ac_tool_prefix"; then
7243   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7244 set dummy ${ac_tool_prefix}otool; ac_word=$2
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246 $as_echo_n "checking for $ac_word... " >&6; }
7247 if ${ac_cv_prog_OTOOL+:} false; then :
7248   $as_echo_n "(cached) " >&6
7249 else
7250   if test -n "$OTOOL"; then
7251   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7252 else
7253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254 for as_dir in $PATH
7255 do
7256   IFS=$as_save_IFS
7257   test -z "$as_dir" && as_dir=.
7258     for ac_exec_ext in '' $ac_executable_extensions; do
7259   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7261     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262     break 2
7263   fi
7264 done
7265   done
7266 IFS=$as_save_IFS
7267
7268 fi
7269 fi
7270 OTOOL=$ac_cv_prog_OTOOL
7271 if test -n "$OTOOL"; then
7272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7273 $as_echo "$OTOOL" >&6; }
7274 else
7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276 $as_echo "no" >&6; }
7277 fi
7278
7279
7280 fi
7281 if test -z "$ac_cv_prog_OTOOL"; then
7282   ac_ct_OTOOL=$OTOOL
7283   # Extract the first word of "otool", so it can be a program name with args.
7284 set dummy otool; ac_word=$2
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286 $as_echo_n "checking for $ac_word... " >&6; }
7287 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7288   $as_echo_n "(cached) " >&6
7289 else
7290   if test -n "$ac_ct_OTOOL"; then
7291   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7292 else
7293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294 for as_dir in $PATH
7295 do
7296   IFS=$as_save_IFS
7297   test -z "$as_dir" && as_dir=.
7298     for ac_exec_ext in '' $ac_executable_extensions; do
7299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7300     ac_cv_prog_ac_ct_OTOOL="otool"
7301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302     break 2
7303   fi
7304 done
7305   done
7306 IFS=$as_save_IFS
7307
7308 fi
7309 fi
7310 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7311 if test -n "$ac_ct_OTOOL"; then
7312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7313 $as_echo "$ac_ct_OTOOL" >&6; }
7314 else
7315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316 $as_echo "no" >&6; }
7317 fi
7318
7319   if test "x$ac_ct_OTOOL" = x; then
7320     OTOOL=":"
7321   else
7322     case $cross_compiling:$ac_tool_warned in
7323 yes:)
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7326 ac_tool_warned=yes ;;
7327 esac
7328     OTOOL=$ac_ct_OTOOL
7329   fi
7330 else
7331   OTOOL="$ac_cv_prog_OTOOL"
7332 fi
7333
7334     if test -n "$ac_tool_prefix"; then
7335   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7336 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338 $as_echo_n "checking for $ac_word... " >&6; }
7339 if ${ac_cv_prog_OTOOL64+:} false; then :
7340   $as_echo_n "(cached) " >&6
7341 else
7342   if test -n "$OTOOL64"; then
7343   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7344 else
7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346 for as_dir in $PATH
7347 do
7348   IFS=$as_save_IFS
7349   test -z "$as_dir" && as_dir=.
7350     for ac_exec_ext in '' $ac_executable_extensions; do
7351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354     break 2
7355   fi
7356 done
7357   done
7358 IFS=$as_save_IFS
7359
7360 fi
7361 fi
7362 OTOOL64=$ac_cv_prog_OTOOL64
7363 if test -n "$OTOOL64"; then
7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7365 $as_echo "$OTOOL64" >&6; }
7366 else
7367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368 $as_echo "no" >&6; }
7369 fi
7370
7371
7372 fi
7373 if test -z "$ac_cv_prog_OTOOL64"; then
7374   ac_ct_OTOOL64=$OTOOL64
7375   # Extract the first word of "otool64", so it can be a program name with args.
7376 set dummy otool64; ac_word=$2
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7378 $as_echo_n "checking for $ac_word... " >&6; }
7379 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7380   $as_echo_n "(cached) " >&6
7381 else
7382   if test -n "$ac_ct_OTOOL64"; then
7383   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7384 else
7385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7386 for as_dir in $PATH
7387 do
7388   IFS=$as_save_IFS
7389   test -z "$as_dir" && as_dir=.
7390     for ac_exec_ext in '' $ac_executable_extensions; do
7391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7392     ac_cv_prog_ac_ct_OTOOL64="otool64"
7393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7394     break 2
7395   fi
7396 done
7397   done
7398 IFS=$as_save_IFS
7399
7400 fi
7401 fi
7402 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7403 if test -n "$ac_ct_OTOOL64"; then
7404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7405 $as_echo "$ac_ct_OTOOL64" >&6; }
7406 else
7407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7408 $as_echo "no" >&6; }
7409 fi
7410
7411   if test "x$ac_ct_OTOOL64" = x; then
7412     OTOOL64=":"
7413   else
7414     case $cross_compiling:$ac_tool_warned in
7415 yes:)
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7418 ac_tool_warned=yes ;;
7419 esac
7420     OTOOL64=$ac_ct_OTOOL64
7421   fi
7422 else
7423   OTOOL64="$ac_cv_prog_OTOOL64"
7424 fi
7425
7426     
7427     
7428     
7429     
7430
7431     
7432     
7433     
7434     
7435
7436     
7437     
7438     
7439     
7440
7441     
7442     
7443     
7444     
7445
7446     
7447     
7448     
7449     
7450
7451
7452     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7453 $as_echo_n "checking for -single_module linker flag... " >&6; }
7454 if ${lt_cv_apple_cc_single_mod+:} false; then :
7455   $as_echo_n "(cached) " >&6
7456 else
7457   lt_cv_apple_cc_single_mod=no
7458       if test -z "${LT_MULTI_MODULE}"; then
7459         # By default we will add the -single_module flag. You can override
7460         # by either setting the environment variable LT_MULTI_MODULE
7461         # non-empty at configure time, or by adding -multi_module to the
7462         # link flags.
7463         rm -rf libconftest.dylib*
7464         echo "int foo(void){return 1;}" > conftest.c
7465         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7466 -dynamiclib -Wl,-single_module conftest.c" >&5
7467         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7468           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7469         _lt_result=$?
7470         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7471           lt_cv_apple_cc_single_mod=yes
7472         else
7473           cat conftest.err >&5
7474         fi
7475         rm -rf libconftest.dylib*
7476         rm -f conftest.*
7477       fi
7478 fi
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7480 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7481     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7482 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7483 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7484   $as_echo_n "(cached) " >&6
7485 else
7486   lt_cv_ld_exported_symbols_list=no
7487       save_LDFLAGS=$LDFLAGS
7488       echo "_main" > conftest.sym
7489       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7491 /* end confdefs.h.  */
7492
7493 int
7494 main ()
7495 {
7496
7497   ;
7498   return 0;
7499 }
7500 _ACEOF
7501 if ac_fn_c_try_link "$LINENO"; then :
7502   lt_cv_ld_exported_symbols_list=yes
7503 else
7504   lt_cv_ld_exported_symbols_list=no
7505 fi
7506 rm -f core conftest.err conftest.$ac_objext \
7507     conftest$ac_exeext conftest.$ac_ext
7508         LDFLAGS="$save_LDFLAGS"
7509     
7510 fi
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7512 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7513     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7514 $as_echo_n "checking for -force_load linker flag... " >&6; }
7515 if ${lt_cv_ld_force_load+:} false; then :
7516   $as_echo_n "(cached) " >&6
7517 else
7518   lt_cv_ld_force_load=no
7519       cat > conftest.c << _LT_EOF
7520 int forced_loaded() { return 2;}
7521 _LT_EOF
7522       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7523       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7524       echo "$AR cru libconftest.a conftest.o" >&5
7525       $AR cru libconftest.a conftest.o 2>&5
7526       echo "$RANLIB libconftest.a" >&5
7527       $RANLIB libconftest.a 2>&5
7528       cat > conftest.c << _LT_EOF
7529 int main() { return 0;}
7530 _LT_EOF
7531       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7532       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7533       _lt_result=$?
7534       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7535         lt_cv_ld_force_load=yes
7536       else
7537         cat conftest.err >&5
7538       fi
7539         rm -f conftest.err libconftest.a conftest conftest.c
7540         rm -rf conftest.dSYM
7541     
7542 fi
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7544 $as_echo "$lt_cv_ld_force_load" >&6; }
7545     case $host_os in
7546     rhapsody* | darwin1.[012])
7547       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7548     darwin1.*)
7549       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7550     darwin*) # darwin 5.x on
7551       # if running on 10.5 or later, the deployment target defaults
7552       # to the OS version, if on x86, and 10.4, the deployment
7553       # target defaults to 10.4. Don't you love it?
7554       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7555         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7556           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7557         10.[012]*)
7558           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7559         10.*)
7560           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7561       esac
7562     ;;
7563   esac
7564     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7565       _lt_dar_single_mod='$single_module'
7566     fi
7567     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7568       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7569     else
7570       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7571     fi
7572     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7573       _lt_dsymutil='~$DSYMUTIL $lib || :'
7574     else
7575       _lt_dsymutil=
7576     fi
7577     ;;
7578   esac
7579
7580 ac_ext=c
7581 ac_cpp='$CPP $CPPFLAGS'
7582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7586 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7587 # On Suns, sometimes $CPP names a directory.
7588 if test -n "$CPP" && test -d "$CPP"; then
7589   CPP=
7590 fi
7591 if test -z "$CPP"; then
7592   if ${ac_cv_prog_CPP+:} false; then :
7593   $as_echo_n "(cached) " >&6
7594 else
7595       # Double quotes because CPP needs to be expanded
7596     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7597     do
7598       ac_preproc_ok=false
7599 for ac_c_preproc_warn_flag in '' yes
7600 do
7601   # Use a header file that comes with gcc, so configuring glibc
7602   # with a fresh cross-compiler works.
7603   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7604   # <limits.h> exists even on freestanding compilers.
7605   # On the NeXT, cc -E runs the code through the compiler's parser,
7606   # not just through cpp. "Syntax error" is here to catch this case.
7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h.  */
7609 @%:@ifdef __STDC__
7610 @%:@ include <limits.h>
7611 @%:@else
7612 @%:@ include <assert.h>
7613 @%:@endif
7614                      Syntax error
7615 _ACEOF
7616 if ac_fn_c_try_cpp "$LINENO"; then :
7617   
7618 else
7619   # Broken: fails on valid input.
7620 continue
7621 fi
7622 rm -f conftest.err conftest.i conftest.$ac_ext
7623
7624   # OK, works on sane cases.  Now check whether nonexistent headers
7625   # can be detected and how.
7626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7627 /* end confdefs.h.  */
7628 @%:@include <ac_nonexistent.h>
7629 _ACEOF
7630 if ac_fn_c_try_cpp "$LINENO"; then :
7631   # Broken: success on invalid input.
7632 continue
7633 else
7634   # Passes both tests.
7635 ac_preproc_ok=:
7636 break
7637 fi
7638 rm -f conftest.err conftest.i conftest.$ac_ext
7639
7640 done
7641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7642 rm -f conftest.i conftest.err conftest.$ac_ext
7643 if $ac_preproc_ok; then :
7644   break
7645 fi
7646
7647     done
7648     ac_cv_prog_CPP=$CPP
7649   
7650 fi
7651   CPP=$ac_cv_prog_CPP
7652 else
7653   ac_cv_prog_CPP=$CPP
7654 fi
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7656 $as_echo "$CPP" >&6; }
7657 ac_preproc_ok=false
7658 for ac_c_preproc_warn_flag in '' yes
7659 do
7660   # Use a header file that comes with gcc, so configuring glibc
7661   # with a fresh cross-compiler works.
7662   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7663   # <limits.h> exists even on freestanding compilers.
7664   # On the NeXT, cc -E runs the code through the compiler's parser,
7665   # not just through cpp. "Syntax error" is here to catch this case.
7666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h.  */
7668 @%:@ifdef __STDC__
7669 @%:@ include <limits.h>
7670 @%:@else
7671 @%:@ include <assert.h>
7672 @%:@endif
7673                      Syntax error
7674 _ACEOF
7675 if ac_fn_c_try_cpp "$LINENO"; then :
7676   
7677 else
7678   # Broken: fails on valid input.
7679 continue
7680 fi
7681 rm -f conftest.err conftest.i conftest.$ac_ext
7682
7683   # OK, works on sane cases.  Now check whether nonexistent headers
7684   # can be detected and how.
7685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h.  */
7687 @%:@include <ac_nonexistent.h>
7688 _ACEOF
7689 if ac_fn_c_try_cpp "$LINENO"; then :
7690   # Broken: success on invalid input.
7691 continue
7692 else
7693   # Passes both tests.
7694 ac_preproc_ok=:
7695 break
7696 fi
7697 rm -f conftest.err conftest.i conftest.$ac_ext
7698
7699 done
7700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7701 rm -f conftest.i conftest.err conftest.$ac_ext
7702 if $ac_preproc_ok; then :
7703   
7704 else
7705   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7707 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7708 See \`config.log' for more details" "$LINENO" 5; }
7709 fi
7710
7711 ac_ext=c
7712 ac_cpp='$CPP $CPPFLAGS'
7713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7716
7717
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7719 $as_echo_n "checking for ANSI C header files... " >&6; }
7720 if ${ac_cv_header_stdc+:} false; then :
7721   $as_echo_n "(cached) " >&6
7722 else
7723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h.  */
7725 #include <stdlib.h>
7726 #include <stdarg.h>
7727 #include <string.h>
7728 #include <float.h>
7729
7730 int
7731 main ()
7732 {
7733
7734   ;
7735   return 0;
7736 }
7737 _ACEOF
7738 if ac_fn_c_try_compile "$LINENO"; then :
7739   ac_cv_header_stdc=yes
7740 else
7741   ac_cv_header_stdc=no
7742 fi
7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7744
7745 if test $ac_cv_header_stdc = yes; then
7746   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7748 /* end confdefs.h.  */
7749 #include <string.h>
7750
7751 _ACEOF
7752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7753   $EGREP "memchr" >/dev/null 2>&1; then :
7754   
7755 else
7756   ac_cv_header_stdc=no
7757 fi
7758 rm -f conftest*
7759
7760 fi
7761
7762 if test $ac_cv_header_stdc = yes; then
7763   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7765 /* end confdefs.h.  */
7766 #include <stdlib.h>
7767
7768 _ACEOF
7769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7770   $EGREP "free" >/dev/null 2>&1; then :
7771   
7772 else
7773   ac_cv_header_stdc=no
7774 fi
7775 rm -f conftest*
7776
7777 fi
7778
7779 if test $ac_cv_header_stdc = yes; then
7780   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7781   if test "$cross_compiling" = yes; then :
7782   :
7783 else
7784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h.  */
7786 #include <ctype.h>
7787 #include <stdlib.h>
7788 #if ((' ' & 0x0FF) == 0x020)
7789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7791 #else
7792 # define ISLOWER(c) \
7793                    (('a' <= (c) && (c) <= 'i') \
7794                      || ('j' <= (c) && (c) <= 'r') \
7795                      || ('s' <= (c) && (c) <= 'z'))
7796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7797 #endif
7798
7799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7800 int
7801 main ()
7802 {
7803   int i;
7804   for (i = 0; i < 256; i++)
7805     if (XOR (islower (i), ISLOWER (i))
7806         || toupper (i) != TOUPPER (i))
7807       return 2;
7808   return 0;
7809 }
7810 _ACEOF
7811 if ac_fn_c_try_run "$LINENO"; then :
7812   
7813 else
7814   ac_cv_header_stdc=no
7815 fi
7816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7817   conftest.$ac_objext conftest.beam conftest.$ac_ext
7818 fi
7819
7820 fi
7821 fi
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7823 $as_echo "$ac_cv_header_stdc" >&6; }
7824 if test $ac_cv_header_stdc = yes; then
7825   
7826 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7827
7828 fi
7829
7830 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7832                   inttypes.h stdint.h unistd.h
7833 do :
7834   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7835 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7836 "
7837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7838   cat >>confdefs.h <<_ACEOF
7839 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7840 _ACEOF
7841  
7842 fi
7843
7844 done
7845
7846
7847 for ac_header in dlfcn.h
7848 do :
7849   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7850 "
7851 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7852   cat >>confdefs.h <<_ACEOF
7853 @%:@define HAVE_DLFCN_H 1
7854 _ACEOF
7855  
7856 fi
7857
7858 done
7859
7860
7861
7862 func_stripname_cnf ()
7863 {
7864   case ${2} in
7865   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7866   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7867   esac
7868 } # func_stripname_cnf
7869
7870
7871
7872
7873
7874 # Set options
7875
7876
7877
7878         enable_dlopen=no
7879   
7880
7881   enable_win32_dll=no
7882   
7883
7884             @%:@ Check whether --enable-shared was given.
7885 if test "${enable_shared+set}" = set; then :
7886   enableval=$enable_shared; p=${PACKAGE-default}
7887     case $enableval in
7888     yes) enable_shared=yes ;;
7889     no) enable_shared=no ;;
7890     *)
7891       enable_shared=no
7892       # Look at the argument we got.  We use all the common list separators.
7893       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7894       for pkg in $enableval; do
7895         IFS="$lt_save_ifs"
7896         if test "X$pkg" = "X$p"; then
7897           enable_shared=yes
7898         fi
7899       done
7900       IFS="$lt_save_ifs"
7901       ;;
7902     esac
7903 else
7904   enable_shared=yes
7905 fi
7906
7907
7908     
7909     
7910     
7911     
7912
7913
7914
7915   @%:@ Check whether --enable-static was given.
7916 if test "${enable_static+set}" = set; then :
7917   enableval=$enable_static; p=${PACKAGE-default}
7918     case $enableval in
7919     yes) enable_static=yes ;;
7920     no) enable_static=no ;;
7921     *)
7922      enable_static=no
7923       # Look at the argument we got.  We use all the common list separators.
7924       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7925       for pkg in $enableval; do
7926         IFS="$lt_save_ifs"
7927         if test "X$pkg" = "X$p"; then
7928           enable_static=yes
7929         fi
7930       done
7931       IFS="$lt_save_ifs"
7932       ;;
7933     esac
7934 else
7935   enable_static=yes
7936 fi
7937
7938
7939     
7940     
7941     
7942     
7943
7944
7945
7946   
7947 @%:@ Check whether --with-pic was given.
7948 if test "${with_pic+set}" = set; then :
7949   withval=$with_pic; pic_mode="$withval"
7950 else
7951   pic_mode=default
7952 fi
7953
7954
7955 test -z "$pic_mode" && pic_mode=default
7956
7957
7958     
7959     
7960     
7961
7962
7963   @%:@ Check whether --enable-fast-install was given.
7964 if test "${enable_fast_install+set}" = set; then :
7965   enableval=$enable_fast_install; p=${PACKAGE-default}
7966     case $enableval in
7967     yes) enable_fast_install=yes ;;
7968     no) enable_fast_install=no ;;
7969     *)
7970       enable_fast_install=no
7971       # Look at the argument we got.  We use all the common list separators.
7972       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7973       for pkg in $enableval; do
7974         IFS="$lt_save_ifs"
7975         if test "X$pkg" = "X$p"; then
7976           enable_fast_install=yes
7977         fi
7978       done
7979       IFS="$lt_save_ifs"
7980       ;;
7981     esac
7982 else
7983   enable_fast_install=yes
7984 fi
7985
7986
7987
7988     
7989     
7990     
7991
7992
7993   
7994
7995
7996 # This can be used to rebuild libtool when needed
7997 LIBTOOL_DEPS="$ltmain"
7998
7999 # Always use our own libtool.
8000 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8001
8002
8003
8004     
8005     
8006     
8007
8008     
8009     
8010     
8011
8012     
8013     
8014     
8015
8016     
8017     
8018     
8019
8020     
8021     
8022     
8023
8024     
8025     
8026     
8027 test -z "$LN_S" && LN_S="ln -s"
8028
8029     
8030     
8031     
8032
8033     
8034     
8035     
8036
8037     
8038     
8039     
8040
8041
8042 if test -n "${ZSH_VERSION+set}" ; then
8043    setopt NO_GLOB_SUBST
8044 fi
8045
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8047 $as_echo_n "checking for objdir... " >&6; }
8048 if ${lt_cv_objdir+:} false; then :
8049   $as_echo_n "(cached) " >&6
8050 else
8051   rm -f .libs 2>/dev/null
8052 mkdir .libs 2>/dev/null
8053 if test -d .libs; then
8054   lt_cv_objdir=.libs
8055 else
8056   # MS-DOS does not allow filenames that begin with a dot.
8057   lt_cv_objdir=_libs
8058 fi
8059 rmdir .libs 2>/dev/null
8060 fi
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8062 $as_echo "$lt_cv_objdir" >&6; }
8063 objdir=$lt_cv_objdir
8064
8065     
8066     
8067     
8068
8069 cat >>confdefs.h <<_ACEOF
8070 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8071 _ACEOF
8072
8073
8074
8075
8076 case $host_os in
8077 aix3*)
8078   # AIX sometimes has problems with the GCC collect2 program.  For some
8079   # reason, if we set the COLLECT_NAMES environment variable, the problems
8080   # vanish in a puff of smoke.
8081   if test "X${COLLECT_NAMES+set}" != Xset; then
8082     COLLECT_NAMES=
8083     export COLLECT_NAMES
8084   fi
8085   ;;
8086 esac
8087
8088 # Global variables:
8089 ofile=libtool
8090 can_build_shared=yes
8091
8092 # All known linkers require a `.a' archive for static linking (except MSVC,
8093 # which needs '.lib').
8094 libext=a
8095
8096 with_gnu_ld="$lt_cv_prog_gnu_ld"
8097
8098 old_CC="$CC"
8099 old_CFLAGS="$CFLAGS"
8100
8101 # Set sane defaults for various variables
8102 test -z "$CC" && CC=cc
8103 test -z "$LTCC" && LTCC=$CC
8104 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8105 test -z "$LD" && LD=ld
8106 test -z "$ac_objext" && ac_objext=o
8107
8108 for cc_temp in $compiler""; do
8109   case $cc_temp in
8110     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8111     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8112     \-*) ;;
8113     *) break;;
8114   esac
8115 done
8116 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8117
8118
8119 # Only perform the check for file, if the check method requires it
8120 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8121 case $deplibs_check_method in
8122 file_magic*)
8123   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8124     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8125 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8126 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8127   $as_echo_n "(cached) " >&6
8128 else
8129   case $MAGIC_CMD in
8130 [\\/*] |  ?:[\\/]*)
8131   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8132   ;;
8133 *)
8134   lt_save_MAGIC_CMD="$MAGIC_CMD"
8135   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8136   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8137   for ac_dir in $ac_dummy; do
8138     IFS="$lt_save_ifs"
8139     test -z "$ac_dir" && ac_dir=.
8140     if test -f $ac_dir/${ac_tool_prefix}file; then
8141       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8142       if test -n "$file_magic_test_file"; then
8143         case $deplibs_check_method in
8144         "file_magic "*)
8145           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8146           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8147           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8148             $EGREP "$file_magic_regex" > /dev/null; then
8149             :
8150           else
8151             cat <<_LT_EOF 1>&2
8152
8153 *** Warning: the command libtool uses to detect shared libraries,
8154 *** $file_magic_cmd, produces output that libtool cannot recognize.
8155 *** The result is that libtool may fail to recognize shared libraries
8156 *** as such.  This will affect the creation of libtool libraries that
8157 *** depend on shared libraries, but programs linked with such libtool
8158 *** libraries will work regardless of this problem.  Nevertheless, you
8159 *** may want to report the problem to your system manager and/or to
8160 *** bug-libtool@gnu.org
8161
8162 _LT_EOF
8163           fi ;;
8164         esac
8165       fi
8166       break
8167     fi
8168   done
8169   IFS="$lt_save_ifs"
8170   MAGIC_CMD="$lt_save_MAGIC_CMD"
8171   ;;
8172 esac
8173 fi
8174
8175 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8176 if test -n "$MAGIC_CMD"; then
8177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8178 $as_echo "$MAGIC_CMD" >&6; }
8179 else
8180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8181 $as_echo "no" >&6; }
8182 fi
8183
8184     
8185     
8186     
8187
8188 if test -z "$lt_cv_path_MAGIC_CMD"; then
8189   if test -n "$ac_tool_prefix"; then
8190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8191 $as_echo_n "checking for file... " >&6; }
8192 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8193   $as_echo_n "(cached) " >&6
8194 else
8195   case $MAGIC_CMD in
8196 [\\/*] |  ?:[\\/]*)
8197   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8198   ;;
8199 *)
8200   lt_save_MAGIC_CMD="$MAGIC_CMD"
8201   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8202   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8203   for ac_dir in $ac_dummy; do
8204     IFS="$lt_save_ifs"
8205     test -z "$ac_dir" && ac_dir=.
8206     if test -f $ac_dir/file; then
8207       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8208       if test -n "$file_magic_test_file"; then
8209         case $deplibs_check_method in
8210         "file_magic "*)
8211           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8212           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8213           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8214             $EGREP "$file_magic_regex" > /dev/null; then
8215             :
8216           else
8217             cat <<_LT_EOF 1>&2
8218
8219 *** Warning: the command libtool uses to detect shared libraries,
8220 *** $file_magic_cmd, produces output that libtool cannot recognize.
8221 *** The result is that libtool may fail to recognize shared libraries
8222 *** as such.  This will affect the creation of libtool libraries that
8223 *** depend on shared libraries, but programs linked with such libtool
8224 *** libraries will work regardless of this problem.  Nevertheless, you
8225 *** may want to report the problem to your system manager and/or to
8226 *** bug-libtool@gnu.org
8227
8228 _LT_EOF
8229           fi ;;
8230         esac
8231       fi
8232       break
8233     fi
8234   done
8235   IFS="$lt_save_ifs"
8236   MAGIC_CMD="$lt_save_MAGIC_CMD"
8237   ;;
8238 esac
8239 fi
8240
8241 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8242 if test -n "$MAGIC_CMD"; then
8243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8244 $as_echo "$MAGIC_CMD" >&6; }
8245 else
8246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8247 $as_echo "no" >&6; }
8248 fi
8249
8250
8251   else
8252     MAGIC_CMD=:
8253   fi
8254 fi
8255
8256   fi
8257   ;;
8258 esac
8259
8260 # Use C for the default configuration in the libtool script
8261
8262 lt_save_CC="$CC"
8263 ac_ext=c
8264 ac_cpp='$CPP $CPPFLAGS'
8265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8268
8269
8270 # Source file extension for C test sources.
8271 ac_ext=c
8272
8273 # Object file extension for compiled C test sources.
8274 objext=o
8275 objext=$objext
8276
8277 # Code to be used in simple compile tests
8278 lt_simple_compile_test_code="int some_variable = 0;"
8279
8280 # Code to be used in simple link tests
8281 lt_simple_link_test_code='int main(){return(0);}'
8282
8283
8284
8285
8286
8287
8288
8289 # If no C compiler was specified, use CC.
8290 LTCC=${LTCC-"$CC"}
8291
8292 # If no C compiler flags were specified, use CFLAGS.
8293 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8294
8295 # Allow CC to be a program name with arguments.
8296 compiler=$CC
8297
8298 # Save the default compiler, since it gets overwritten when the other
8299 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8300 compiler_DEFAULT=$CC
8301
8302 # save warnings/boilerplate of simple test code
8303 ac_outfile=conftest.$ac_objext
8304 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8305 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8306 _lt_compiler_boilerplate=`cat conftest.err`
8307 $RM conftest*
8308
8309 ac_outfile=conftest.$ac_objext
8310 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8311 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8312 _lt_linker_boilerplate=`cat conftest.err`
8313 $RM -r conftest*
8314
8315
8316 ## CAVEAT EMPTOR:
8317 ## There is no encapsulation within the following macros, do not change
8318 ## the running order or otherwise move them around unless you know exactly
8319 ## what you are doing...
8320 if test -n "$compiler"; then
8321   
8322 lt_prog_compiler_no_builtin_flag=
8323
8324 if test "$GCC" = yes; then
8325   case $cc_basename in
8326   nvcc*)
8327     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8328   *)
8329     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8330   esac
8331
8332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8333 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8334 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8335   $as_echo_n "(cached) " >&6
8336 else
8337   lt_cv_prog_compiler_rtti_exceptions=no
8338    ac_outfile=conftest.$ac_objext
8339    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8340    lt_compiler_flag="-fno-rtti -fno-exceptions"
8341    # Insert the option either (1) after the last *FLAGS variable, or
8342    # (2) before a word containing "conftest.", or (3) at the end.
8343    # Note that $ac_compile itself does not contain backslashes and begins
8344    # with a dollar sign (not a hyphen), so the echo should work correctly.
8345    # The option is referenced via a variable to avoid confusing sed.
8346    lt_compile=`echo "$ac_compile" | $SED \
8347    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8348    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8349    -e 's:$: $lt_compiler_flag:'`
8350    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8351    (eval "$lt_compile" 2>conftest.err)
8352    ac_status=$?
8353    cat conftest.err >&5
8354    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355    if (exit $ac_status) && test -s "$ac_outfile"; then
8356      # The compiler can only warn and ignore the option if not recognized
8357      # So say no if there are warnings other than the usual output.
8358      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8359      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8360      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8361        lt_cv_prog_compiler_rtti_exceptions=yes
8362      fi
8363    fi
8364    $RM conftest*
8365
8366 fi
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8368 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8369
8370 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8371     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8372 else
8373     :
8374 fi
8375
8376 fi
8377
8378     
8379     
8380     
8381
8382
8383   lt_prog_compiler_wl=
8384 lt_prog_compiler_pic=
8385 lt_prog_compiler_static=
8386
8387
8388   if test "$GCC" = yes; then
8389     lt_prog_compiler_wl='-Wl,'
8390     lt_prog_compiler_static='-static'
8391
8392     case $host_os in
8393       aix*)
8394       # All AIX code is PIC.
8395       if test "$host_cpu" = ia64; then
8396         # AIX 5 now supports IA64 processor
8397         lt_prog_compiler_static='-Bstatic'
8398       fi
8399       ;;
8400
8401     amigaos*)
8402       case $host_cpu in
8403       powerpc)
8404             # see comment about AmigaOS4 .so support
8405             lt_prog_compiler_pic='-fPIC'
8406         ;;
8407       m68k)
8408             # FIXME: we need at least 68020 code to build shared libraries, but
8409             # adding the `-m68020' flag to GCC prevents building anything better,
8410             # like `-m68040'.
8411             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8412         ;;
8413       esac
8414       ;;
8415
8416     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8417       # PIC is the default for these OSes.
8418       ;;
8419
8420     mingw* | cygwin* | pw32* | os2* | cegcc*)
8421       # This hack is so that the source file can tell whether it is being
8422       # built for inclusion in a dll (and should export symbols for example).
8423       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8424       # (--disable-auto-import) libraries
8425       lt_prog_compiler_pic='-DDLL_EXPORT'
8426       ;;
8427
8428     darwin* | rhapsody*)
8429       # PIC is the default on this platform
8430       # Common symbols not allowed in MH_DYLIB files
8431       lt_prog_compiler_pic='-fno-common'
8432       ;;
8433
8434     haiku*)
8435       # PIC is the default for Haiku.
8436       # The "-static" flag exists, but is broken.
8437       lt_prog_compiler_static=
8438       ;;
8439
8440     hpux*)
8441       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8442       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8443       # sets the default TLS model and affects inlining.
8444       case $host_cpu in
8445       hppa*64*)
8446         # +Z the default
8447         ;;
8448       *)
8449         lt_prog_compiler_pic='-fPIC'
8450         ;;
8451       esac
8452       ;;
8453
8454     interix[3-9]*)
8455       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8456       # Instead, we relocate shared libraries at runtime.
8457       ;;
8458
8459     msdosdjgpp*)
8460       # Just because we use GCC doesn't mean we suddenly get shared libraries
8461       # on systems that don't support them.
8462       lt_prog_compiler_can_build_shared=no
8463       enable_shared=no
8464       ;;
8465
8466     *nto* | *qnx*)
8467       # QNX uses GNU C++, but need to define -shared option too, otherwise
8468       # it will coredump.
8469       lt_prog_compiler_pic='-fPIC -shared'
8470       ;;
8471
8472     sysv4*MP*)
8473       if test -d /usr/nec; then
8474         lt_prog_compiler_pic=-Kconform_pic
8475       fi
8476       ;;
8477
8478     *)
8479       lt_prog_compiler_pic='-fPIC'
8480       ;;
8481     esac
8482
8483     case $cc_basename in
8484     nvcc*) # Cuda Compiler Driver 2.2
8485       lt_prog_compiler_wl='-Xlinker '
8486       lt_prog_compiler_pic='-Xcompiler -fPIC'
8487       ;;
8488     esac
8489   else
8490     # PORTME Check for flag to pass linker flags through the system compiler.
8491     case $host_os in
8492     aix*)
8493       lt_prog_compiler_wl='-Wl,'
8494       if test "$host_cpu" = ia64; then
8495         # AIX 5 now supports IA64 processor
8496         lt_prog_compiler_static='-Bstatic'
8497       else
8498         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8499       fi
8500       ;;
8501
8502     mingw* | cygwin* | pw32* | os2* | cegcc*)
8503       # This hack is so that the source file can tell whether it is being
8504       # built for inclusion in a dll (and should export symbols for example).
8505       lt_prog_compiler_pic='-DDLL_EXPORT'
8506       ;;
8507
8508     hpux9* | hpux10* | hpux11*)
8509       lt_prog_compiler_wl='-Wl,'
8510       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8511       # not for PA HP-UX.
8512       case $host_cpu in
8513       hppa*64*|ia64*)
8514         # +Z the default
8515         ;;
8516       *)
8517         lt_prog_compiler_pic='+Z'
8518         ;;
8519       esac
8520       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8521       lt_prog_compiler_static='${wl}-a ${wl}archive'
8522       ;;
8523
8524     irix5* | irix6* | nonstopux*)
8525       lt_prog_compiler_wl='-Wl,'
8526       # PIC (with -KPIC) is the default.
8527       lt_prog_compiler_static='-non_shared'
8528       ;;
8529
8530     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8531       case $cc_basename in
8532       # old Intel for x86_64 which still supported -KPIC.
8533       ecc*)
8534         lt_prog_compiler_wl='-Wl,'
8535         lt_prog_compiler_pic='-KPIC'
8536         lt_prog_compiler_static='-static'
8537         ;;
8538       # icc used to be incompatible with GCC.
8539       # ICC 10 doesn't accept -KPIC any more.
8540       icc* | ifort*)
8541         lt_prog_compiler_wl='-Wl,'
8542         lt_prog_compiler_pic='-fPIC'
8543         lt_prog_compiler_static='-static'
8544         ;;
8545       # Lahey Fortran 8.1.
8546       lf95*)
8547         lt_prog_compiler_wl='-Wl,'
8548         lt_prog_compiler_pic='--shared'
8549         lt_prog_compiler_static='--static'
8550         ;;
8551       nagfor*)
8552         # NAG Fortran compiler
8553         lt_prog_compiler_wl='-Wl,-Wl,,'
8554         lt_prog_compiler_pic='-PIC'
8555         lt_prog_compiler_static='-Bstatic'
8556         ;;
8557       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8558         # Portland Group compilers (*not* the Pentium gcc compiler,
8559         # which looks to be a dead project)
8560         lt_prog_compiler_wl='-Wl,'
8561         lt_prog_compiler_pic='-fpic'
8562         lt_prog_compiler_static='-Bstatic'
8563         ;;
8564       ccc*)
8565         lt_prog_compiler_wl='-Wl,'
8566         # All Alpha code is PIC.
8567         lt_prog_compiler_static='-non_shared'
8568         ;;
8569       xl* | bgxl* | bgf* | mpixl*)
8570         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8571         lt_prog_compiler_wl='-Wl,'
8572         lt_prog_compiler_pic='-qpic'
8573         lt_prog_compiler_static='-qstaticlink'
8574         ;;
8575       *)
8576         case `$CC -V 2>&1 | sed 5q` in
8577         *Sun\ F* | *Sun*Fortran*)
8578           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8579           lt_prog_compiler_pic='-KPIC'
8580           lt_prog_compiler_static='-Bstatic'
8581           lt_prog_compiler_wl=''
8582           ;;
8583         *Sun\ C*)
8584           # Sun C 5.9
8585           lt_prog_compiler_pic='-KPIC'
8586           lt_prog_compiler_static='-Bstatic'
8587           lt_prog_compiler_wl='-Wl,'
8588           ;;
8589         esac
8590         ;;
8591       esac
8592       ;;
8593
8594     newsos6)
8595       lt_prog_compiler_pic='-KPIC'
8596       lt_prog_compiler_static='-Bstatic'
8597       ;;
8598
8599     *nto* | *qnx*)
8600       # QNX uses GNU C++, but need to define -shared option too, otherwise
8601       # it will coredump.
8602       lt_prog_compiler_pic='-fPIC -shared'
8603       ;;
8604
8605     osf3* | osf4* | osf5*)
8606       lt_prog_compiler_wl='-Wl,'
8607       # All OSF/1 code is PIC.
8608       lt_prog_compiler_static='-non_shared'
8609       ;;
8610
8611     rdos*)
8612       lt_prog_compiler_static='-non_shared'
8613       ;;
8614
8615     solaris*)
8616       lt_prog_compiler_pic='-KPIC'
8617       lt_prog_compiler_static='-Bstatic'
8618       case $cc_basename in
8619       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8620         lt_prog_compiler_wl='-Qoption ld ';;
8621       *)
8622         lt_prog_compiler_wl='-Wl,';;
8623       esac
8624       ;;
8625
8626     sunos4*)
8627       lt_prog_compiler_wl='-Qoption ld '
8628       lt_prog_compiler_pic='-PIC'
8629       lt_prog_compiler_static='-Bstatic'
8630       ;;
8631
8632     sysv4 | sysv4.2uw2* | sysv4.3*)
8633       lt_prog_compiler_wl='-Wl,'
8634       lt_prog_compiler_pic='-KPIC'
8635       lt_prog_compiler_static='-Bstatic'
8636       ;;
8637
8638     sysv4*MP*)
8639       if test -d /usr/nec ;then
8640         lt_prog_compiler_pic='-Kconform_pic'
8641         lt_prog_compiler_static='-Bstatic'
8642       fi
8643       ;;
8644
8645     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8646       lt_prog_compiler_wl='-Wl,'
8647       lt_prog_compiler_pic='-KPIC'
8648       lt_prog_compiler_static='-Bstatic'
8649       ;;
8650
8651     unicos*)
8652       lt_prog_compiler_wl='-Wl,'
8653       lt_prog_compiler_can_build_shared=no
8654       ;;
8655
8656     uts4*)
8657       lt_prog_compiler_pic='-pic'
8658       lt_prog_compiler_static='-Bstatic'
8659       ;;
8660
8661     *)
8662       lt_prog_compiler_can_build_shared=no
8663       ;;
8664     esac
8665   fi
8666
8667 case $host_os in
8668   # For platforms which do not support PIC, -DPIC is meaningless:
8669   *djgpp*)
8670     lt_prog_compiler_pic=
8671     ;;
8672   *)
8673     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8674     ;;
8675 esac
8676
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8678 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8679 if ${lt_cv_prog_compiler_pic+:} false; then :
8680   $as_echo_n "(cached) " >&6
8681 else
8682   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8683 fi
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8685 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8686 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8687
8688 #
8689 # Check to make sure the PIC flag actually works.
8690 #
8691 if test -n "$lt_prog_compiler_pic"; then
8692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8693 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8694 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8695   $as_echo_n "(cached) " >&6
8696 else
8697   lt_cv_prog_compiler_pic_works=no
8698    ac_outfile=conftest.$ac_objext
8699    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8700    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8701    # Insert the option either (1) after the last *FLAGS variable, or
8702    # (2) before a word containing "conftest.", or (3) at the end.
8703    # Note that $ac_compile itself does not contain backslashes and begins
8704    # with a dollar sign (not a hyphen), so the echo should work correctly.
8705    # The option is referenced via a variable to avoid confusing sed.
8706    lt_compile=`echo "$ac_compile" | $SED \
8707    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8708    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8709    -e 's:$: $lt_compiler_flag:'`
8710    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8711    (eval "$lt_compile" 2>conftest.err)
8712    ac_status=$?
8713    cat conftest.err >&5
8714    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715    if (exit $ac_status) && test -s "$ac_outfile"; then
8716      # The compiler can only warn and ignore the option if not recognized
8717      # So say no if there are warnings other than the usual output.
8718      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8719      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8720      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8721        lt_cv_prog_compiler_pic_works=yes
8722      fi
8723    fi
8724    $RM conftest*
8725
8726 fi
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8728 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8729
8730 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8731     case $lt_prog_compiler_pic in
8732      "" | " "*) ;;
8733      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8734      esac
8735 else
8736     lt_prog_compiler_pic=
8737      lt_prog_compiler_can_build_shared=no
8738 fi
8739
8740 fi
8741
8742     
8743     
8744     
8745
8746
8747
8748     
8749     
8750     
8751
8752 #
8753 # Check to make sure the static flag actually works.
8754 #
8755 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8757 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8758 if ${lt_cv_prog_compiler_static_works+:} false; then :
8759   $as_echo_n "(cached) " >&6
8760 else
8761   lt_cv_prog_compiler_static_works=no
8762    save_LDFLAGS="$LDFLAGS"
8763    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8764    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8765    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8766      # The linker can only warn and ignore the option if not recognized
8767      # So say no if there are warnings
8768      if test -s conftest.err; then
8769        # Append any errors to the config.log.
8770        cat conftest.err 1>&5
8771        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8772        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8773        if diff conftest.exp conftest.er2 >/dev/null; then
8774          lt_cv_prog_compiler_static_works=yes
8775        fi
8776      else
8777        lt_cv_prog_compiler_static_works=yes
8778      fi
8779    fi
8780    $RM -r conftest*
8781    LDFLAGS="$save_LDFLAGS"
8782
8783 fi
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8785 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8786
8787 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8788     :
8789 else
8790     lt_prog_compiler_static=
8791 fi
8792
8793
8794     
8795     
8796     
8797
8798
8799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8800 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8801 if ${lt_cv_prog_compiler_c_o+:} false; then :
8802   $as_echo_n "(cached) " >&6
8803 else
8804   lt_cv_prog_compiler_c_o=no
8805    $RM -r conftest 2>/dev/null
8806    mkdir conftest
8807    cd conftest
8808    mkdir out
8809    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8810
8811    lt_compiler_flag="-o out/conftest2.$ac_objext"
8812    # Insert the option either (1) after the last *FLAGS variable, or
8813    # (2) before a word containing "conftest.", or (3) at the end.
8814    # Note that $ac_compile itself does not contain backslashes and begins
8815    # with a dollar sign (not a hyphen), so the echo should work correctly.
8816    lt_compile=`echo "$ac_compile" | $SED \
8817    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8818    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8819    -e 's:$: $lt_compiler_flag:'`
8820    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8821    (eval "$lt_compile" 2>out/conftest.err)
8822    ac_status=$?
8823    cat out/conftest.err >&5
8824    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8826    then
8827      # The compiler can only warn and ignore the option if not recognized
8828      # So say no if there are warnings
8829      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8830      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8831      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8832        lt_cv_prog_compiler_c_o=yes
8833      fi
8834    fi
8835    chmod u+w . 2>&5
8836    $RM conftest*
8837    # SGI C++ compiler will create directory out/ii_files/ for
8838    # template instantiation
8839    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8840    $RM out/* && rmdir out
8841    cd ..
8842    $RM -r conftest
8843    $RM conftest*
8844
8845 fi
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8847 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8848
8849     
8850     
8851     
8852
8853
8854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8855 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8856 if ${lt_cv_prog_compiler_c_o+:} false; then :
8857   $as_echo_n "(cached) " >&6
8858 else
8859   lt_cv_prog_compiler_c_o=no
8860    $RM -r conftest 2>/dev/null
8861    mkdir conftest
8862    cd conftest
8863    mkdir out
8864    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8865
8866    lt_compiler_flag="-o out/conftest2.$ac_objext"
8867    # Insert the option either (1) after the last *FLAGS variable, or
8868    # (2) before a word containing "conftest.", or (3) at the end.
8869    # Note that $ac_compile itself does not contain backslashes and begins
8870    # with a dollar sign (not a hyphen), so the echo should work correctly.
8871    lt_compile=`echo "$ac_compile" | $SED \
8872    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8873    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8874    -e 's:$: $lt_compiler_flag:'`
8875    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8876    (eval "$lt_compile" 2>out/conftest.err)
8877    ac_status=$?
8878    cat out/conftest.err >&5
8879    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8880    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8881    then
8882      # The compiler can only warn and ignore the option if not recognized
8883      # So say no if there are warnings
8884      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8885      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8886      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8887        lt_cv_prog_compiler_c_o=yes
8888      fi
8889    fi
8890    chmod u+w . 2>&5
8891    $RM conftest*
8892    # SGI C++ compiler will create directory out/ii_files/ for
8893    # template instantiation
8894    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8895    $RM out/* && rmdir out
8896    cd ..
8897    $RM -r conftest
8898    $RM conftest*
8899
8900 fi
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8902 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8903
8904
8905
8906
8907 hard_links="nottested"
8908 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8909   # do not overwrite the value of need_locks provided by the user
8910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8911 $as_echo_n "checking if we can lock with hard links... " >&6; }
8912   hard_links=yes
8913   $RM conftest*
8914   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8915   touch conftest.a
8916   ln conftest.a conftest.b 2>&5 || hard_links=no
8917   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8919 $as_echo "$hard_links" >&6; }
8920   if test "$hard_links" = no; then
8921     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8922 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8923     need_locks=warn
8924   fi
8925 else
8926   need_locks=no
8927 fi
8928
8929     
8930     
8931     
8932
8933
8934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8935 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8936
8937   runpath_var=
8938   allow_undefined_flag=
8939   always_export_symbols=no
8940   archive_cmds=
8941   archive_expsym_cmds=
8942   compiler_needs_object=no
8943   enable_shared_with_static_runtimes=no
8944   export_dynamic_flag_spec=
8945   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8946   hardcode_automatic=no
8947   hardcode_direct=no
8948   hardcode_direct_absolute=no
8949   hardcode_libdir_flag_spec=
8950   hardcode_libdir_flag_spec_ld=
8951   hardcode_libdir_separator=
8952   hardcode_minus_L=no
8953   hardcode_shlibpath_var=unsupported
8954   inherit_rpath=no
8955   link_all_deplibs=unknown
8956   module_cmds=
8957   module_expsym_cmds=
8958   old_archive_from_new_cmds=
8959   old_archive_from_expsyms_cmds=
8960   thread_safe_flag_spec=
8961   whole_archive_flag_spec=
8962   # include_expsyms should be a list of space-separated symbols to be *always*
8963   # included in the symbol list
8964   include_expsyms=
8965   # exclude_expsyms can be an extended regexp of symbols to exclude
8966   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8967   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8968   # as well as any symbol that contains `d'.
8969   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8970   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8971   # platforms (ab)use it in PIC code, but their linkers get confused if
8972   # the symbol is explicitly referenced.  Since portable code cannot
8973   # rely on this symbol name, it's probably fine to never include it in
8974   # preloaded symbol tables.
8975   # Exclude shared library initialization/finalization symbols.
8976   extract_expsyms_cmds=
8977
8978   case $host_os in
8979   cygwin* | mingw* | pw32* | cegcc*)
8980     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8981     # When not using gcc, we currently assume that we are using
8982     # Microsoft Visual C++.
8983     if test "$GCC" != yes; then
8984       with_gnu_ld=no
8985     fi
8986     ;;
8987   interix*)
8988     # we just hope/assume this is gcc and not c89 (= MSVC++)
8989     with_gnu_ld=yes
8990     ;;
8991   openbsd*)
8992     with_gnu_ld=no
8993     ;;
8994   linux* | k*bsd*-gnu | gnu*)
8995     link_all_deplibs=no
8996     ;;
8997   esac
8998
8999   ld_shlibs=yes
9000
9001   # On some targets, GNU ld is compatible enough with the native linker
9002   # that we're better off using the native interface for both.
9003   lt_use_gnu_ld_interface=no
9004   if test "$with_gnu_ld" = yes; then
9005     case $host_os in
9006       aix*)
9007         # The AIX port of GNU ld has always aspired to compatibility
9008         # with the native linker.  However, as the warning in the GNU ld
9009         # block says, versions before 2.19.5* couldn't really create working
9010         # shared libraries, regardless of the interface used.
9011         case `$LD -v 2>&1` in
9012           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9013           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9014           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9015           *)
9016             lt_use_gnu_ld_interface=yes
9017             ;;
9018         esac
9019         ;;
9020       *)
9021         lt_use_gnu_ld_interface=yes
9022         ;;
9023     esac
9024   fi
9025
9026   if test "$lt_use_gnu_ld_interface" = yes; then
9027     # If archive_cmds runs LD, not CC, wlarc should be empty
9028     wlarc='${wl}'
9029
9030     # Set some defaults for GNU ld with shared library support. These
9031     # are reset later if shared libraries are not supported. Putting them
9032     # here allows them to be overridden if necessary.
9033     runpath_var=LD_RUN_PATH
9034     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9035     export_dynamic_flag_spec='${wl}--export-dynamic'
9036     # ancient GNU ld didn't support --whole-archive et. al.
9037     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9038       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9039     else
9040       whole_archive_flag_spec=
9041     fi
9042     supports_anon_versioning=no
9043     case `$LD -v 2>&1` in
9044       *GNU\ gold*) supports_anon_versioning=yes ;;
9045       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9046       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9047       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9048       *\ 2.11.*) ;; # other 2.11 versions
9049       *) supports_anon_versioning=yes ;;
9050     esac
9051
9052     # See if GNU ld supports shared libraries.
9053     case $host_os in
9054     aix[3-9]*)
9055       # On AIX/PPC, the GNU linker is very broken
9056       if test "$host_cpu" != ia64; then
9057         ld_shlibs=no
9058         cat <<_LT_EOF 1>&2
9059
9060 *** Warning: the GNU linker, at least up to release 2.19, is reported
9061 *** to be unable to reliably create shared libraries on AIX.
9062 *** Therefore, libtool is disabling shared libraries support.  If you
9063 *** really care for shared libraries, you may want to install binutils
9064 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9065 *** You will then need to restart the configuration process.
9066
9067 _LT_EOF
9068       fi
9069       ;;
9070
9071     amigaos*)
9072       case $host_cpu in
9073       powerpc)
9074             # see comment about AmigaOS4 .so support
9075             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9076             archive_expsym_cmds=''
9077         ;;
9078       m68k)
9079             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)'
9080             hardcode_libdir_flag_spec='-L$libdir'
9081             hardcode_minus_L=yes
9082         ;;
9083       esac
9084       ;;
9085
9086     beos*)
9087       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9088         allow_undefined_flag=unsupported
9089         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9090         # support --undefined.  This deserves some investigation.  FIXME
9091         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9092       else
9093         ld_shlibs=no
9094       fi
9095       ;;
9096
9097     cygwin* | mingw* | pw32* | cegcc*)
9098       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9099       # as there is no search path for DLLs.
9100       hardcode_libdir_flag_spec='-L$libdir'
9101       export_dynamic_flag_spec='${wl}--export-all-symbols'
9102       allow_undefined_flag=unsupported
9103       always_export_symbols=no
9104       enable_shared_with_static_runtimes=yes
9105       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'
9106       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9107
9108       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9109         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9110         # If the export-symbols file already is a .def file (1st line
9111         # is EXPORTS), use it as is; otherwise, prepend...
9112         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9113           cp $export_symbols $output_objdir/$soname.def;
9114         else
9115           echo EXPORTS > $output_objdir/$soname.def;
9116           cat $export_symbols >> $output_objdir/$soname.def;
9117         fi~
9118         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9119       else
9120         ld_shlibs=no
9121       fi
9122       ;;
9123
9124     haiku*)
9125       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9126       link_all_deplibs=yes
9127       ;;
9128
9129     interix[3-9]*)
9130       hardcode_direct=no
9131       hardcode_shlibpath_var=no
9132       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9133       export_dynamic_flag_spec='${wl}-E'
9134       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9135       # Instead, shared libraries are loaded at an image base (0x10000000 by
9136       # default) and relocated if they conflict, which is a slow very memory
9137       # consuming and fragmenting process.  To avoid this, we pick a random,
9138       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9139       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9140       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9141       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'
9142       ;;
9143
9144     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9145       tmp_diet=no
9146       if test "$host_os" = linux-dietlibc; then
9147         case $cc_basename in
9148           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9149         esac
9150       fi
9151       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9152          && test "$tmp_diet" = no
9153       then
9154         tmp_addflag=' $pic_flag'
9155         tmp_sharedflag='-shared'
9156         case $cc_basename,$host_cpu in
9157         pgcc*)                          # Portland Group C compiler
9158           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'
9159           tmp_addflag=' $pic_flag'
9160           ;;
9161         pgf77* | pgf90* | pgf95* | pgfortran*)
9162                                         # Portland Group f77 and f90 compilers
9163           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'
9164           tmp_addflag=' $pic_flag -Mnomain' ;;
9165         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9166           tmp_addflag=' -i_dynamic' ;;
9167         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9168           tmp_addflag=' -i_dynamic -nofor_main' ;;
9169         ifc* | ifort*)                  # Intel Fortran compiler
9170           tmp_addflag=' -nofor_main' ;;
9171         lf95*)                          # Lahey Fortran 8.1
9172           whole_archive_flag_spec=
9173           tmp_sharedflag='--shared' ;;
9174         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9175           tmp_sharedflag='-qmkshrobj'
9176           tmp_addflag= ;;
9177         nvcc*)  # Cuda Compiler Driver 2.2
9178           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'
9179           compiler_needs_object=yes
9180           ;;
9181         esac
9182         case `$CC -V 2>&1 | sed 5q` in
9183         *Sun\ C*)                       # Sun C 5.9
9184           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'
9185           compiler_needs_object=yes
9186           tmp_sharedflag='-G' ;;
9187         *Sun\ F*)                       # Sun Fortran 8.3
9188           tmp_sharedflag='-G' ;;
9189         esac
9190         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9191
9192         if test "x$supports_anon_versioning" = xyes; then
9193           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9194             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9195             echo "local: *; };" >> $output_objdir/$libname.ver~
9196             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9197         fi
9198
9199         case $cc_basename in
9200         xlf* | bgf* | bgxlf* | mpixlf*)
9201           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9202           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9203           hardcode_libdir_flag_spec=
9204           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9205           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9206           if test "x$supports_anon_versioning" = xyes; then
9207             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9208               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9209               echo "local: *; };" >> $output_objdir/$libname.ver~
9210               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9211           fi
9212           ;;
9213         esac
9214       else
9215         ld_shlibs=no
9216       fi
9217       ;;
9218
9219     netbsd* | netbsdelf*-gnu)
9220       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9221         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9222         wlarc=
9223       else
9224         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9225         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9226       fi
9227       ;;
9228
9229     solaris*)
9230       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9231         ld_shlibs=no
9232         cat <<_LT_EOF 1>&2
9233
9234 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9235 *** create shared libraries on Solaris systems.  Therefore, libtool
9236 *** is disabling shared libraries support.  We urge you to upgrade GNU
9237 *** binutils to release 2.9.1 or newer.  Another option is to modify
9238 *** your PATH or compiler configuration so that the native linker is
9239 *** used, and then restart.
9240
9241 _LT_EOF
9242       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9243         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9245       else
9246         ld_shlibs=no
9247       fi
9248       ;;
9249
9250     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9251       case `$LD -v 2>&1` in
9252         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9253         ld_shlibs=no
9254         cat <<_LT_EOF 1>&2
9255
9256 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9257 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9258 *** is disabling shared libraries support.  We urge you to upgrade GNU
9259 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9260 *** your PATH or compiler configuration so that the native linker is
9261 *** used, and then restart.
9262
9263 _LT_EOF
9264         ;;
9265         *)
9266           # For security reasons, it is highly recommended that you always
9267           # use absolute paths for naming shared libraries, and exclude the
9268           # DT_RUNPATH tag from executables and libraries.  But doing so
9269           # requires that you compile everything twice, which is a pain.
9270           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9271             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9272             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9274           else
9275             ld_shlibs=no
9276           fi
9277         ;;
9278       esac
9279       ;;
9280
9281     sunos4*)
9282       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9283       wlarc=
9284       hardcode_direct=yes
9285       hardcode_shlibpath_var=no
9286       ;;
9287
9288     *)
9289       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9290         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9292       else
9293         ld_shlibs=no
9294       fi
9295       ;;
9296     esac
9297
9298     if test "$ld_shlibs" = no; then
9299       runpath_var=
9300       hardcode_libdir_flag_spec=
9301       export_dynamic_flag_spec=
9302       whole_archive_flag_spec=
9303     fi
9304   else
9305     # PORTME fill in a description of your system's linker (not GNU ld)
9306     case $host_os in
9307     aix3*)
9308       allow_undefined_flag=unsupported
9309       always_export_symbols=yes
9310       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'
9311       # Note: this linker hardcodes the directories in LIBPATH if there
9312       # are no directories specified by -L.
9313       hardcode_minus_L=yes
9314       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9315         # Neither direct hardcoding nor static linking is supported with a
9316         # broken collect2.
9317         hardcode_direct=unsupported
9318       fi
9319       ;;
9320
9321     aix[4-9]*)
9322       if test "$host_cpu" = ia64; then
9323         # On IA64, the linker does run time linking by default, so we don't
9324         # have to do anything special.
9325         aix_use_runtimelinking=no
9326         exp_sym_flag='-Bexport'
9327         no_entry_flag=""
9328       else
9329         # If we're using GNU nm, then we don't want the "-C" option.
9330         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9331         # Also, AIX nm treats weak defined symbols like other global
9332         # defined symbols, whereas GNU nm marks them as "W".
9333         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9334           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'
9335         else
9336           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'
9337         fi
9338         aix_use_runtimelinking=no
9339
9340         # Test if we are trying to use run time linking or normal
9341         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9342         # need to do runtime linking.
9343         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9344           for ld_flag in $LDFLAGS; do
9345           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9346             aix_use_runtimelinking=yes
9347             break
9348           fi
9349           done
9350           ;;
9351         esac
9352
9353         exp_sym_flag='-bexport'
9354         no_entry_flag='-bnoentry'
9355       fi
9356
9357       # When large executables or shared objects are built, AIX ld can
9358       # have problems creating the table of contents.  If linking a library
9359       # or program results in "error TOC overflow" add -mminimal-toc to
9360       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9361       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9362
9363       archive_cmds=''
9364       hardcode_direct=yes
9365       hardcode_direct_absolute=yes
9366       hardcode_libdir_separator=':'
9367       link_all_deplibs=yes
9368       file_list_spec='${wl}-f,'
9369
9370       if test "$GCC" = yes; then
9371         case $host_os in aix4.[012]|aix4.[012].*)
9372         # We only want to do this on AIX 4.2 and lower, the check
9373         # below for broken collect2 doesn't work under 4.3+
9374           collect2name=`${CC} -print-prog-name=collect2`
9375           if test -f "$collect2name" &&
9376            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9377           then
9378           # We have reworked collect2
9379           :
9380           else
9381           # We have old collect2
9382           hardcode_direct=unsupported
9383           # It fails to find uninstalled libraries when the uninstalled
9384           # path is not listed in the libpath.  Setting hardcode_minus_L
9385           # to unsupported forces relinking
9386           hardcode_minus_L=yes
9387           hardcode_libdir_flag_spec='-L$libdir'
9388           hardcode_libdir_separator=
9389           fi
9390           ;;
9391         esac
9392         shared_flag='-shared'
9393         if test "$aix_use_runtimelinking" = yes; then
9394           shared_flag="$shared_flag "'${wl}-G'
9395         fi
9396         link_all_deplibs=no
9397       else
9398         # not using gcc
9399         if test "$host_cpu" = ia64; then
9400         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9401         # chokes on -Wl,-G. The following line is correct:
9402           shared_flag='-G'
9403         else
9404           if test "$aix_use_runtimelinking" = yes; then
9405             shared_flag='${wl}-G'
9406           else
9407             shared_flag='${wl}-bM:SRE'
9408           fi
9409         fi
9410       fi
9411
9412       export_dynamic_flag_spec='${wl}-bexpall'
9413       # It seems that -bexpall does not export symbols beginning with
9414       # underscore (_), so it is better to generate a list of symbols to export.
9415       always_export_symbols=yes
9416       if test "$aix_use_runtimelinking" = yes; then
9417         # Warning - without using the other runtime loading flags (-brtl),
9418         # -berok will link without error, but may produce a broken library.
9419         allow_undefined_flag='-berok'
9420         # Determine the default libpath from the value encoded in an
9421         # empty executable.
9422         if test "${lt_cv_aix_libpath+set}" = set; then
9423   aix_libpath=$lt_cv_aix_libpath
9424 else
9425   if ${lt_cv_aix_libpath_+:} false; then :
9426   $as_echo_n "(cached) " >&6
9427 else
9428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h.  */
9430
9431 int
9432 main ()
9433 {
9434
9435   ;
9436   return 0;
9437 }
9438 _ACEOF
9439 if ac_fn_c_try_link "$LINENO"; then :
9440   
9441   lt_aix_libpath_sed='
9442       /Import File Strings/,/^$/ {
9443           /^0/ {
9444               s/^0  *\([^ ]*\) *$/\1/
9445               p
9446           }
9447       }'
9448   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9449   # Check for a 64-bit object if we didn't find anything.
9450   if test -z "$lt_cv_aix_libpath_"; then
9451     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9452   fi
9453 fi
9454 rm -f core conftest.err conftest.$ac_objext \
9455     conftest$ac_exeext conftest.$ac_ext
9456   if test -z "$lt_cv_aix_libpath_"; then
9457     lt_cv_aix_libpath_="/usr/lib:/lib"
9458   fi
9459   
9460 fi
9461
9462   aix_libpath=$lt_cv_aix_libpath_
9463 fi
9464
9465         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9466         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"
9467       else
9468         if test "$host_cpu" = ia64; then
9469           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9470           allow_undefined_flag="-z nodefs"
9471           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"
9472         else
9473          # Determine the default libpath from the value encoded in an
9474          # empty executable.
9475          if test "${lt_cv_aix_libpath+set}" = set; then
9476   aix_libpath=$lt_cv_aix_libpath
9477 else
9478   if ${lt_cv_aix_libpath_+:} false; then :
9479   $as_echo_n "(cached) " >&6
9480 else
9481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9482 /* end confdefs.h.  */
9483
9484 int
9485 main ()
9486 {
9487
9488   ;
9489   return 0;
9490 }
9491 _ACEOF
9492 if ac_fn_c_try_link "$LINENO"; then :
9493   
9494   lt_aix_libpath_sed='
9495       /Import File Strings/,/^$/ {
9496           /^0/ {
9497               s/^0  *\([^ ]*\) *$/\1/
9498               p
9499           }
9500       }'
9501   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9502   # Check for a 64-bit object if we didn't find anything.
9503   if test -z "$lt_cv_aix_libpath_"; then
9504     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9505   fi
9506 fi
9507 rm -f core conftest.err conftest.$ac_objext \
9508     conftest$ac_exeext conftest.$ac_ext
9509   if test -z "$lt_cv_aix_libpath_"; then
9510     lt_cv_aix_libpath_="/usr/lib:/lib"
9511   fi
9512   
9513 fi
9514
9515   aix_libpath=$lt_cv_aix_libpath_
9516 fi
9517
9518          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9519           # Warning - without using the other run time loading flags,
9520           # -berok will link without error, but may produce a broken library.
9521           no_undefined_flag=' ${wl}-bernotok'
9522           allow_undefined_flag=' ${wl}-berok'
9523           if test "$with_gnu_ld" = yes; then
9524             # We only use this code for GNU lds that support --whole-archive.
9525             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9526           else
9527             # Exported symbols can be pulled into shared objects from archives
9528             whole_archive_flag_spec='$convenience'
9529           fi
9530           archive_cmds_need_lc=yes
9531           # This is similar to how AIX traditionally builds its shared libraries.
9532           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'
9533         fi
9534       fi
9535       ;;
9536
9537     amigaos*)
9538       case $host_cpu in
9539       powerpc)
9540             # see comment about AmigaOS4 .so support
9541             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9542             archive_expsym_cmds=''
9543         ;;
9544       m68k)
9545             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)'
9546             hardcode_libdir_flag_spec='-L$libdir'
9547             hardcode_minus_L=yes
9548         ;;
9549       esac
9550       ;;
9551
9552     bsdi[45]*)
9553       export_dynamic_flag_spec=-rdynamic
9554       ;;
9555
9556     cygwin* | mingw* | pw32* | cegcc*)
9557       # When not using gcc, we currently assume that we are using
9558       # Microsoft Visual C++.
9559       # hardcode_libdir_flag_spec is actually meaningless, as there is
9560       # no search path for DLLs.
9561       case $cc_basename in
9562       cl*)
9563         # Native MSVC
9564         hardcode_libdir_flag_spec=' '
9565         allow_undefined_flag=unsupported
9566         always_export_symbols=yes
9567         file_list_spec='@'
9568         # Tell ltmain to make .lib files, not .a files.
9569         libext=lib
9570         # Tell ltmain to make .dll files, not .so files.
9571         shrext_cmds=".dll"
9572         # FIXME: Setting linknames here is a bad hack.
9573         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9574         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9575             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9576           else
9577             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9578           fi~
9579           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9580           linknames='
9581         # The linker will not automatically build a static lib if we build a DLL.
9582         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9583         enable_shared_with_static_runtimes=yes
9584         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9585         # Don't use ranlib
9586         old_postinstall_cmds='chmod 644 $oldlib'
9587         postlink_cmds='lt_outputfile="@OUTPUT@"~
9588           lt_tool_outputfile="@TOOL_OUTPUT@"~
9589           case $lt_outputfile in
9590             *.exe|*.EXE) ;;
9591             *)
9592               lt_outputfile="$lt_outputfile.exe"
9593               lt_tool_outputfile="$lt_tool_outputfile.exe"
9594               ;;
9595           esac~
9596           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9597             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9598             $RM "$lt_outputfile.manifest";
9599           fi'
9600         ;;
9601       *)
9602         # Assume MSVC wrapper
9603         hardcode_libdir_flag_spec=' '
9604         allow_undefined_flag=unsupported
9605         # Tell ltmain to make .lib files, not .a files.
9606         libext=lib
9607         # Tell ltmain to make .dll files, not .so files.
9608         shrext_cmds=".dll"
9609         # FIXME: Setting linknames here is a bad hack.
9610         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9611         # The linker will automatically build a .lib file if we build a DLL.
9612         old_archive_from_new_cmds='true'
9613         # FIXME: Should let the user specify the lib program.
9614         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9615         enable_shared_with_static_runtimes=yes
9616         ;;
9617       esac
9618       ;;
9619
9620     darwin* | rhapsody*)
9621       
9622   
9623   archive_cmds_need_lc=no
9624   hardcode_direct=no
9625   hardcode_automatic=yes
9626   hardcode_shlibpath_var=unsupported
9627   if test "$lt_cv_ld_force_load" = "yes"; then
9628     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\"`'
9629   else
9630     whole_archive_flag_spec=''
9631   fi
9632   link_all_deplibs=yes
9633   allow_undefined_flag="$_lt_dar_allow_undefined"
9634   case $cc_basename in
9635      ifort*) _lt_dar_can_shared=yes ;;
9636      *) _lt_dar_can_shared=$GCC ;;
9637   esac
9638   if test "$_lt_dar_can_shared" = "yes"; then
9639     output_verbose_link_cmd=func_echo_all
9640     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9641     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9642     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}"
9643     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}"
9644     
9645   else
9646   ld_shlibs=no
9647   fi
9648
9649       ;;
9650
9651     dgux*)
9652       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9653       hardcode_libdir_flag_spec='-L$libdir'
9654       hardcode_shlibpath_var=no
9655       ;;
9656
9657     freebsd1*)
9658       ld_shlibs=no
9659       ;;
9660
9661     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9662     # support.  Future versions do this automatically, but an explicit c++rt0.o
9663     # does not break anything, and helps significantly (at the cost of a little
9664     # extra space).
9665     freebsd2.2*)
9666       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9667       hardcode_libdir_flag_spec='-R$libdir'
9668       hardcode_direct=yes
9669       hardcode_shlibpath_var=no
9670       ;;
9671
9672     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9673     freebsd2*)
9674       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9675       hardcode_direct=yes
9676       hardcode_minus_L=yes
9677       hardcode_shlibpath_var=no
9678       ;;
9679
9680     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9681     freebsd* | dragonfly*)
9682       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9683       hardcode_libdir_flag_spec='-R$libdir'
9684       hardcode_direct=yes
9685       hardcode_shlibpath_var=no
9686       ;;
9687
9688     hpux9*)
9689       if test "$GCC" = yes; then
9690         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'
9691       else
9692         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'
9693       fi
9694       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9695       hardcode_libdir_separator=:
9696       hardcode_direct=yes
9697
9698       # hardcode_minus_L: Not really in the search PATH,
9699       # but as the default location of the library.
9700       hardcode_minus_L=yes
9701       export_dynamic_flag_spec='${wl}-E'
9702       ;;
9703
9704     hpux10*)
9705       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9706         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9707       else
9708         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9709       fi
9710       if test "$with_gnu_ld" = no; then
9711         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9712         hardcode_libdir_flag_spec_ld='+b $libdir'
9713         hardcode_libdir_separator=:
9714         hardcode_direct=yes
9715         hardcode_direct_absolute=yes
9716         export_dynamic_flag_spec='${wl}-E'
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       fi
9721       ;;
9722
9723     hpux11*)
9724       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9725         case $host_cpu in
9726         hppa*64*)
9727           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9728           ;;
9729         ia64*)
9730           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9731           ;;
9732         *)
9733           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9734           ;;
9735         esac
9736       else
9737         case $host_cpu in
9738         hppa*64*)
9739           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9740           ;;
9741         ia64*)
9742           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9743           ;;
9744         *)
9745         
9746           # Older versions of the 11.00 compiler do not understand -b yet
9747           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9748           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9749 $as_echo_n "checking if $CC understands -b... " >&6; }
9750 if ${lt_cv_prog_compiler__b+:} false; then :
9751   $as_echo_n "(cached) " >&6
9752 else
9753   lt_cv_prog_compiler__b=no
9754    save_LDFLAGS="$LDFLAGS"
9755    LDFLAGS="$LDFLAGS -b"
9756    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9757    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9758      # The linker can only warn and ignore the option if not recognized
9759      # So say no if there are warnings
9760      if test -s conftest.err; then
9761        # Append any errors to the config.log.
9762        cat conftest.err 1>&5
9763        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9764        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9765        if diff conftest.exp conftest.er2 >/dev/null; then
9766          lt_cv_prog_compiler__b=yes
9767        fi
9768      else
9769        lt_cv_prog_compiler__b=yes
9770      fi
9771    fi
9772    $RM -r conftest*
9773    LDFLAGS="$save_LDFLAGS"
9774
9775 fi
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9777 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9778
9779 if test x"$lt_cv_prog_compiler__b" = xyes; then
9780     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9781 else
9782     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9783 fi
9784
9785           ;;
9786         esac
9787       fi
9788       if test "$with_gnu_ld" = no; then
9789         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9790         hardcode_libdir_separator=:
9791
9792         case $host_cpu in
9793         hppa*64*|ia64*)
9794           hardcode_direct=no
9795           hardcode_shlibpath_var=no
9796           ;;
9797         *)
9798           hardcode_direct=yes
9799           hardcode_direct_absolute=yes
9800           export_dynamic_flag_spec='${wl}-E'
9801
9802           # hardcode_minus_L: Not really in the search PATH,
9803           # but as the default location of the library.
9804           hardcode_minus_L=yes
9805           ;;
9806         esac
9807       fi
9808       ;;
9809
9810     irix5* | irix6* | nonstopux*)
9811       if test "$GCC" = yes; then
9812         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'
9813         # Try to use the -exported_symbol ld option, if it does not
9814         # work, assume that -exports_file does not work either and
9815         # implicitly export all symbols.
9816         # This should be the same for all languages, so no per-tag cache variable.
9817         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9818 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9819 if ${lt_cv_irix_exported_symbol+:} false; then :
9820   $as_echo_n "(cached) " >&6
9821 else
9822   save_LDFLAGS="$LDFLAGS"
9823            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9824            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h.  */
9826 int foo (void) { return 0; }
9827 _ACEOF
9828 if ac_fn_c_try_link "$LINENO"; then :
9829   lt_cv_irix_exported_symbol=yes
9830 else
9831   lt_cv_irix_exported_symbol=no
9832 fi
9833 rm -f core conftest.err conftest.$ac_objext \
9834     conftest$ac_exeext conftest.$ac_ext
9835            LDFLAGS="$save_LDFLAGS"
9836 fi
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9838 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9839         if test "$lt_cv_irix_exported_symbol" = yes; then
9840           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'
9841         fi
9842       else
9843         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'
9844         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'
9845       fi
9846       archive_cmds_need_lc='no'
9847       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9848       hardcode_libdir_separator=:
9849       inherit_rpath=yes
9850       link_all_deplibs=yes
9851       ;;
9852
9853     netbsd* | netbsdelf*-gnu)
9854       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9855         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9856       else
9857         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9858       fi
9859       hardcode_libdir_flag_spec='-R$libdir'
9860       hardcode_direct=yes
9861       hardcode_shlibpath_var=no
9862       ;;
9863
9864     newsos6)
9865       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866       hardcode_direct=yes
9867       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868       hardcode_libdir_separator=:
9869       hardcode_shlibpath_var=no
9870       ;;
9871
9872     *nto* | *qnx*)
9873       ;;
9874
9875     openbsd*)
9876       if test -f /usr/libexec/ld.so; then
9877         hardcode_direct=yes
9878         hardcode_shlibpath_var=no
9879         hardcode_direct_absolute=yes
9880         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9881           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9882           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9883           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9884           export_dynamic_flag_spec='${wl}-E'
9885         else
9886           case $host_os in
9887            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9888              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9889              hardcode_libdir_flag_spec='-R$libdir'
9890              ;;
9891            *)
9892              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9893              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9894              ;;
9895           esac
9896         fi
9897       else
9898         ld_shlibs=no
9899       fi
9900       ;;
9901
9902     os2*)
9903       hardcode_libdir_flag_spec='-L$libdir'
9904       hardcode_minus_L=yes
9905       allow_undefined_flag=unsupported
9906       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'
9907       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9908       ;;
9909
9910     osf3*)
9911       if test "$GCC" = yes; then
9912         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9913         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'
9914       else
9915         allow_undefined_flag=' -expect_unresolved \*'
9916         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'
9917       fi
9918       archive_cmds_need_lc='no'
9919       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9920       hardcode_libdir_separator=:
9921       ;;
9922
9923     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9924       if test "$GCC" = yes; then
9925         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9926         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'
9927         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928       else
9929         allow_undefined_flag=' -expect_unresolved \*'
9930         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'
9931         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~
9932         $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'
9933
9934         # Both c and cxx compiler support -rpath directly
9935         hardcode_libdir_flag_spec='-rpath $libdir'
9936       fi
9937       archive_cmds_need_lc='no'
9938       hardcode_libdir_separator=:
9939       ;;
9940
9941     solaris*)
9942       no_undefined_flag=' -z defs'
9943       if test "$GCC" = yes; then
9944         wlarc='${wl}'
9945         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9946         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9947           $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'
9948       else
9949         case `$CC -V 2>&1` in
9950         *"Compilers 5.0"*)
9951           wlarc=''
9952           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9954           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9955           ;;
9956         *)
9957           wlarc='${wl}'
9958           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9959           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9960           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9961           ;;
9962         esac
9963       fi
9964       hardcode_libdir_flag_spec='-R$libdir'
9965       hardcode_shlibpath_var=no
9966       case $host_os in
9967       solaris2.[0-5] | solaris2.[0-5].*) ;;
9968       *)
9969         # The compiler driver will combine and reorder linker options,
9970         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9971         # but is careful enough not to reorder.
9972         # Supported since Solaris 2.6 (maybe 2.5.1?)
9973         if test "$GCC" = yes; then
9974           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9975         else
9976           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9977         fi
9978         ;;
9979       esac
9980       link_all_deplibs=yes
9981       ;;
9982
9983     sunos4*)
9984       if test "x$host_vendor" = xsequent; then
9985         # Use $CC to link under sequent, because it throws in some extra .o
9986         # files that make .init and .fini sections work.
9987         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9988       else
9989         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9990       fi
9991       hardcode_libdir_flag_spec='-L$libdir'
9992       hardcode_direct=yes
9993       hardcode_minus_L=yes
9994       hardcode_shlibpath_var=no
9995       ;;
9996
9997     sysv4)
9998       case $host_vendor in
9999         sni)
10000           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001           hardcode_direct=yes # is this really true???
10002         ;;
10003         siemens)
10004           ## LD is ld it makes a PLAMLIB
10005           ## CC just makes a GrossModule.
10006           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10007           reload_cmds='$CC -r -o $output$reload_objs'
10008           hardcode_direct=no
10009         ;;
10010         motorola)
10011           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10013         ;;
10014       esac
10015       runpath_var='LD_RUN_PATH'
10016       hardcode_shlibpath_var=no
10017       ;;
10018
10019     sysv4.3*)
10020       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021       hardcode_shlibpath_var=no
10022       export_dynamic_flag_spec='-Bexport'
10023       ;;
10024
10025     sysv4*MP*)
10026       if test -d /usr/nec; then
10027         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10028         hardcode_shlibpath_var=no
10029         runpath_var=LD_RUN_PATH
10030         hardcode_runpath_var=yes
10031         ld_shlibs=yes
10032       fi
10033       ;;
10034
10035     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10036       no_undefined_flag='${wl}-z,text'
10037       archive_cmds_need_lc=no
10038       hardcode_shlibpath_var=no
10039       runpath_var='LD_RUN_PATH'
10040
10041       if test "$GCC" = yes; then
10042         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044       else
10045         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10046         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10047       fi
10048       ;;
10049
10050     sysv5* | sco3.2v5* | sco5v6*)
10051       # Note: We can NOT use -z defs as we might desire, because we do not
10052       # link with -lc, and that would cause any symbols used from libc to
10053       # always be unresolved, which means just about no library would
10054       # ever link correctly.  If we're not using GNU ld we use -z text
10055       # though, which does catch some bad symbols but isn't as heavy-handed
10056       # as -z defs.
10057       no_undefined_flag='${wl}-z,text'
10058       allow_undefined_flag='${wl}-z,nodefs'
10059       archive_cmds_need_lc=no
10060       hardcode_shlibpath_var=no
10061       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10062       hardcode_libdir_separator=':'
10063       link_all_deplibs=yes
10064       export_dynamic_flag_spec='${wl}-Bexport'
10065       runpath_var='LD_RUN_PATH'
10066
10067       if test "$GCC" = yes; then
10068         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070       else
10071         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073       fi
10074       ;;
10075
10076     uts4*)
10077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10078       hardcode_libdir_flag_spec='-L$libdir'
10079       hardcode_shlibpath_var=no
10080       ;;
10081
10082     *)
10083       ld_shlibs=no
10084       ;;
10085     esac
10086
10087     if test x$host_vendor = xsni; then
10088       case $host in
10089       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10090         export_dynamic_flag_spec='${wl}-Blargedynsym'
10091         ;;
10092       esac
10093     fi
10094   fi
10095
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10097 $as_echo "$ld_shlibs" >&6; }
10098 test "$ld_shlibs" = no && can_build_shared=no
10099
10100 with_gnu_ld=$with_gnu_ld
10101
10102
10103     
10104     
10105     
10106
10107     
10108     
10109     
10110
10111     
10112     
10113     
10114
10115
10116 #
10117 # Do we need to explicitly link libc?
10118 #
10119 case "x$archive_cmds_need_lc" in
10120 x|xyes)
10121   # Assume -lc should be added
10122   archive_cmds_need_lc=yes
10123
10124   if test "$enable_shared" = yes && test "$GCC" = yes; then
10125     case $archive_cmds in
10126     *'~'*)
10127       # FIXME: we may have to deal with multi-command sequences.
10128       ;;
10129     '$CC '*)
10130       # Test whether the compiler implicitly links with -lc since on some
10131       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10132       # to ld, don't add -lc before -lgcc.
10133       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10134 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10135 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10136   $as_echo_n "(cached) " >&6
10137 else
10138   $RM conftest*
10139         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10140
10141         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10142   (eval $ac_compile) 2>&5
10143   ac_status=$?
10144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10145   test $ac_status = 0; } 2>conftest.err; then
10146           soname=conftest
10147           lib=conftest
10148           libobjs=conftest.$ac_objext
10149           deplibs=
10150           wl=$lt_prog_compiler_wl
10151           pic_flag=$lt_prog_compiler_pic
10152           compiler_flags=-v
10153           linker_flags=-v
10154           verstring=
10155           output_objdir=.
10156           libname=conftest
10157           lt_save_allow_undefined_flag=$allow_undefined_flag
10158           allow_undefined_flag=
10159           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10160   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10161   ac_status=$?
10162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10163   test $ac_status = 0; }
10164           then
10165             lt_cv_archive_cmds_need_lc=no
10166           else
10167             lt_cv_archive_cmds_need_lc=yes
10168           fi
10169           allow_undefined_flag=$lt_save_allow_undefined_flag
10170         else
10171           cat conftest.err 1>&5
10172         fi
10173         $RM conftest*
10174         
10175 fi
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10177 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10178       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10179       ;;
10180     esac
10181   fi
10182   ;;
10183 esac
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     
10252     
10253     
10254
10255
10256     
10257     
10258     
10259
10260
10261     
10262     
10263     
10264
10265
10266     
10267     
10268     
10269
10270
10271     
10272     
10273     
10274
10275
10276     
10277     
10278     
10279
10280
10281     
10282     
10283     
10284
10285
10286     
10287     
10288     
10289
10290
10291     
10292     
10293     
10294
10295
10296     
10297     
10298     
10299
10300
10301     
10302     
10303     
10304
10305
10306     
10307     
10308     
10309
10310
10311     
10312     
10313     
10314
10315
10316     
10317     
10318     
10319
10320
10321     
10322     
10323     
10324
10325
10326     
10327     
10328     
10329
10330
10331     
10332     
10333     
10334
10335
10336     
10337     
10338     
10339
10340
10341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10342 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10343
10344 if test "$GCC" = yes; then
10345   case $host_os in
10346     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10347     *) lt_awk_arg="/^libraries:/" ;;
10348   esac
10349   case $host_os in
10350     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10351     *) lt_sed_strip_eq="s,=/,/,g" ;;
10352   esac
10353   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10354   case $lt_search_path_spec in
10355   *\;*)
10356     # if the path contains ";" then we assume it to be the separator
10357     # otherwise default to the standard path separator (i.e. ":") - it is
10358     # assumed that no part of a normal pathname contains ";" but that should
10359     # okay in the real world where ";" in dirpaths is itself problematic.
10360     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10361     ;;
10362   *)
10363     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10364     ;;
10365   esac
10366   # Ok, now we have the path, separated by spaces, we can step through it
10367   # and add multilib dir if necessary.
10368   lt_tmp_lt_search_path_spec=
10369   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10370   for lt_sys_path in $lt_search_path_spec; do
10371     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10372       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10373     else
10374       test -d "$lt_sys_path" && \
10375         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10376     fi
10377   done
10378   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10379 BEGIN {RS=" "; FS="/|\n";} {
10380   lt_foo="";
10381   lt_count=0;
10382   for (lt_i = NF; lt_i > 0; lt_i--) {
10383     if ($lt_i != "" && $lt_i != ".") {
10384       if ($lt_i == "..") {
10385         lt_count++;
10386       } else {
10387         if (lt_count == 0) {
10388           lt_foo="/" $lt_i lt_foo;
10389         } else {
10390           lt_count--;
10391         }
10392       }
10393     }
10394   }
10395   if (lt_foo != "") { lt_freq[lt_foo]++; }
10396   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10397 }'`
10398   # AWK program above erroneously prepends '/' to C:/dos/paths
10399   # for these hosts.
10400   case $host_os in
10401     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10402       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10403   esac
10404   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10405 else
10406   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10407 fi
10408 library_names_spec=
10409 libname_spec='lib$name'
10410 soname_spec=
10411 shrext_cmds=".so"
10412 postinstall_cmds=
10413 postuninstall_cmds=
10414 finish_cmds=
10415 finish_eval=
10416 shlibpath_var=
10417 shlibpath_overrides_runpath=unknown
10418 version_type=none
10419 dynamic_linker="$host_os ld.so"
10420 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10421 need_lib_prefix=unknown
10422 hardcode_into_libs=no
10423
10424 # when you set need_version to no, make sure it does not cause -set_version
10425 # flags to be left without arguments
10426 need_version=unknown
10427
10428 case $host_os in
10429 aix3*)
10430   version_type=linux
10431   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10432   shlibpath_var=LIBPATH
10433
10434   # AIX 3 has no versioning support, so we append a major version to the name.
10435   soname_spec='${libname}${release}${shared_ext}$major'
10436   ;;
10437
10438 aix[4-9]*)
10439   version_type=linux
10440   need_lib_prefix=no
10441   need_version=no
10442   hardcode_into_libs=yes
10443   if test "$host_cpu" = ia64; then
10444     # AIX 5 supports IA64
10445     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10446     shlibpath_var=LD_LIBRARY_PATH
10447   else
10448     # With GCC up to 2.95.x, collect2 would create an import file
10449     # for dependence libraries.  The import file would start with
10450     # the line `#! .'.  This would cause the generated library to
10451     # depend on `.', always an invalid library.  This was fixed in
10452     # development snapshots of GCC prior to 3.0.
10453     case $host_os in
10454       aix4 | aix4.[01] | aix4.[01].*)
10455       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10456            echo ' yes '
10457            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10458         :
10459       else
10460         can_build_shared=no
10461       fi
10462       ;;
10463     esac
10464     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10465     # soname into executable. Probably we can add versioning support to
10466     # collect2, so additional links can be useful in future.
10467     if test "$aix_use_runtimelinking" = yes; then
10468       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10469       # instead of lib<name>.a to let people know that these are not
10470       # typical AIX shared libraries.
10471       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10472     else
10473       # We preserve .a as extension for shared libraries through AIX4.2
10474       # and later when we are not doing run time linking.
10475       library_names_spec='${libname}${release}.a $libname.a'
10476       soname_spec='${libname}${release}${shared_ext}$major'
10477     fi
10478     shlibpath_var=LIBPATH
10479   fi
10480   ;;
10481
10482 amigaos*)
10483   case $host_cpu in
10484   powerpc)
10485     # Since July 2007 AmigaOS4 officially supports .so libraries.
10486     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10487     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488     ;;
10489   m68k)
10490     library_names_spec='$libname.ixlibrary $libname.a'
10491     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10492     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'
10493     ;;
10494   esac
10495   ;;
10496
10497 beos*)
10498   library_names_spec='${libname}${shared_ext}'
10499   dynamic_linker="$host_os ld.so"
10500   shlibpath_var=LIBRARY_PATH
10501   ;;
10502
10503 bsdi[45]*)
10504   version_type=linux
10505   need_version=no
10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507   soname_spec='${libname}${release}${shared_ext}$major'
10508   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10509   shlibpath_var=LD_LIBRARY_PATH
10510   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10511   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10512   # the default ld.so.conf also contains /usr/contrib/lib and
10513   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10514   # libtool to hard-code these into programs
10515   ;;
10516
10517 cygwin* | mingw* | pw32* | cegcc*)
10518   version_type=windows
10519   shrext_cmds=".dll"
10520   need_version=no
10521   need_lib_prefix=no
10522
10523   case $GCC,$cc_basename in
10524   yes,*)
10525     # gcc
10526     library_names_spec='$libname.dll.a'
10527     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10528     postinstall_cmds='base_file=`basename \${file}`~
10529       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10530       dldir=$destdir/`dirname \$dlpath`~
10531       test -d \$dldir || mkdir -p \$dldir~
10532       $install_prog $dir/$dlname \$dldir/$dlname~
10533       chmod a+x \$dldir/$dlname~
10534       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10535         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10536       fi'
10537     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10538       dlpath=$dir/\$dldll~
10539        $RM \$dlpath'
10540     shlibpath_overrides_runpath=yes
10541
10542     case $host_os in
10543     cygwin*)
10544       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10545       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10546
10547       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10548       ;;
10549     mingw* | cegcc*)
10550       # MinGW DLLs use traditional 'lib' prefix
10551       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10552       ;;
10553     pw32*)
10554       # pw32 DLLs use 'pw' prefix rather than 'lib'
10555       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10556       ;;
10557     esac
10558     dynamic_linker='Win32 ld.exe'
10559     ;;
10560
10561   *,cl*)
10562     # Native MSVC
10563     libname_spec='$name'
10564     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10565     library_names_spec='${libname}.dll.lib'
10566
10567     case $build_os in
10568     mingw*)
10569       sys_lib_search_path_spec=
10570       lt_save_ifs=$IFS
10571       IFS=';'
10572       for lt_path in $LIB
10573       do
10574         IFS=$lt_save_ifs
10575         # Let DOS variable expansion print the short 8.3 style file name.
10576         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10577         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10578       done
10579       IFS=$lt_save_ifs
10580       # Convert to MSYS style.
10581       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10582       ;;
10583     cygwin*)
10584       # Convert to unix form, then to dos form, then back to unix form
10585       # but this time dos style (no spaces!) so that the unix form looks
10586       # like /cygdrive/c/PROGRA~1:/cygdr...
10587       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10588       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10589       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10590       ;;
10591     *)
10592       sys_lib_search_path_spec="$LIB"
10593       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10594         # It is most probably a Windows format PATH.
10595         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10596       else
10597         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10598       fi
10599       # FIXME: find the short name or the path components, as spaces are
10600       # common. (e.g. "Program Files" -> "PROGRA~1")
10601       ;;
10602     esac
10603
10604     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10605     postinstall_cmds='base_file=`basename \${file}`~
10606       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10607       dldir=$destdir/`dirname \$dlpath`~
10608       test -d \$dldir || mkdir -p \$dldir~
10609       $install_prog $dir/$dlname \$dldir/$dlname'
10610     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10611       dlpath=$dir/\$dldll~
10612        $RM \$dlpath'
10613     shlibpath_overrides_runpath=yes
10614     dynamic_linker='Win32 link.exe'
10615     ;;
10616
10617   *)
10618     # Assume MSVC wrapper
10619     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10620     dynamic_linker='Win32 ld.exe'
10621     ;;
10622   esac
10623   # FIXME: first we should search . and the directory the executable is in
10624   shlibpath_var=PATH
10625   ;;
10626
10627 darwin* | rhapsody*)
10628   dynamic_linker="$host_os dyld"
10629   version_type=darwin
10630   need_lib_prefix=no
10631   need_version=no
10632   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10633   soname_spec='${libname}${release}${major}$shared_ext'
10634   shlibpath_overrides_runpath=yes
10635   shlibpath_var=DYLD_LIBRARY_PATH
10636   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10637
10638   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10639   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10640   ;;
10641
10642 dgux*)
10643   version_type=linux
10644   need_lib_prefix=no
10645   need_version=no
10646   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10647   soname_spec='${libname}${release}${shared_ext}$major'
10648   shlibpath_var=LD_LIBRARY_PATH
10649   ;;
10650
10651 freebsd1*)
10652   dynamic_linker=no
10653   ;;
10654
10655 freebsd* | dragonfly*)
10656   # DragonFly does not have aout.  When/if they implement a new
10657   # versioning mechanism, adjust this.
10658   if test -x /usr/bin/objformat; then
10659     objformat=`/usr/bin/objformat`
10660   else
10661     case $host_os in
10662     freebsd[123]*) objformat=aout ;;
10663     *) objformat=elf ;;
10664     esac
10665   fi
10666   version_type=freebsd-$objformat
10667   case $version_type in
10668     freebsd-elf*)
10669       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10670       need_version=no
10671       need_lib_prefix=no
10672       ;;
10673     freebsd-*)
10674       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10675       need_version=yes
10676       ;;
10677   esac
10678   shlibpath_var=LD_LIBRARY_PATH
10679   case $host_os in
10680   freebsd2*)
10681     shlibpath_overrides_runpath=yes
10682     ;;
10683   freebsd3.[01]* | freebsdelf3.[01]*)
10684     shlibpath_overrides_runpath=yes
10685     hardcode_into_libs=yes
10686     ;;
10687   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10688   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10689     shlibpath_overrides_runpath=no
10690     hardcode_into_libs=yes
10691     ;;
10692   *) # from 4.6 on, and DragonFly
10693     shlibpath_overrides_runpath=yes
10694     hardcode_into_libs=yes
10695     ;;
10696   esac
10697   ;;
10698
10699 gnu*)
10700   version_type=linux
10701   need_lib_prefix=no
10702   need_version=no
10703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10704   soname_spec='${libname}${release}${shared_ext}$major'
10705   shlibpath_var=LD_LIBRARY_PATH
10706   shlibpath_overrides_runpath=no
10707   hardcode_into_libs=yes
10708   ;;
10709
10710 haiku*)
10711   version_type=linux
10712   need_lib_prefix=no
10713   need_version=no
10714   dynamic_linker="$host_os runtime_loader"
10715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10716   soname_spec='${libname}${release}${shared_ext}$major'
10717   shlibpath_var=LIBRARY_PATH
10718   shlibpath_overrides_runpath=yes
10719   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10720   hardcode_into_libs=yes
10721   ;;
10722
10723 hpux9* | hpux10* | hpux11*)
10724   # Give a soname corresponding to the major version so that dld.sl refuses to
10725   # link against other versions.
10726   version_type=sunos
10727   need_lib_prefix=no
10728   need_version=no
10729   case $host_cpu in
10730   ia64*)
10731     shrext_cmds='.so'
10732     hardcode_into_libs=yes
10733     dynamic_linker="$host_os dld.so"
10734     shlibpath_var=LD_LIBRARY_PATH
10735     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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     if test "X$HPUX_IA64_MODE" = X32; then
10739       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10740     else
10741       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10742     fi
10743     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10744     ;;
10745   hppa*64*)
10746     shrext_cmds='.sl'
10747     hardcode_into_libs=yes
10748     dynamic_linker="$host_os dld.sl"
10749     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10750     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10751     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752     soname_spec='${libname}${release}${shared_ext}$major'
10753     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10754     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10755     ;;
10756   *)
10757     shrext_cmds='.sl'
10758     dynamic_linker="$host_os dld.sl"
10759     shlibpath_var=SHLIB_PATH
10760     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10761     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762     soname_spec='${libname}${release}${shared_ext}$major'
10763     ;;
10764   esac
10765   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10766   postinstall_cmds='chmod 555 $lib'
10767   # or fails outright, so override atomically:
10768   install_override_mode=555
10769   ;;
10770
10771 interix[3-9]*)
10772   version_type=linux
10773   need_lib_prefix=no
10774   need_version=no
10775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10776   soname_spec='${libname}${release}${shared_ext}$major'
10777   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10778   shlibpath_var=LD_LIBRARY_PATH
10779   shlibpath_overrides_runpath=no
10780   hardcode_into_libs=yes
10781   ;;
10782
10783 irix5* | irix6* | nonstopux*)
10784   case $host_os in
10785     nonstopux*) version_type=nonstopux ;;
10786     *)
10787         if test "$lt_cv_prog_gnu_ld" = yes; then
10788                 version_type=linux
10789         else
10790                 version_type=irix
10791         fi ;;
10792   esac
10793   need_lib_prefix=no
10794   need_version=no
10795   soname_spec='${libname}${release}${shared_ext}$major'
10796   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10797   case $host_os in
10798   irix5* | nonstopux*)
10799     libsuff= shlibsuff=
10800     ;;
10801   *)
10802     case $LD in # libtool.m4 will add one of these switches to LD
10803     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10804       libsuff= shlibsuff= libmagic=32-bit;;
10805     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10806       libsuff=32 shlibsuff=N32 libmagic=N32;;
10807     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10808       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10809     *) libsuff= shlibsuff= libmagic=never-match;;
10810     esac
10811     ;;
10812   esac
10813   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10814   shlibpath_overrides_runpath=no
10815   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10816   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10817   hardcode_into_libs=yes
10818   ;;
10819
10820 # No shared lib support for Linux oldld, aout, or coff.
10821 linux*oldld* | linux*aout* | linux*coff*)
10822   dynamic_linker=no
10823   ;;
10824
10825 # This must be Linux ELF.
10826 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10827   version_type=linux
10828   need_lib_prefix=no
10829   need_version=no
10830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831   soname_spec='${libname}${release}${shared_ext}$major'
10832   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10833   shlibpath_var=LD_LIBRARY_PATH
10834   shlibpath_overrides_runpath=no
10835
10836   # Some binutils ld are patched to set DT_RUNPATH
10837   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10838   $as_echo_n "(cached) " >&6
10839 else
10840   lt_cv_shlibpath_overrides_runpath=no
10841     save_LDFLAGS=$LDFLAGS
10842     save_libdir=$libdir
10843     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10844          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10845     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10846 /* end confdefs.h.  */
10847
10848 int
10849 main ()
10850 {
10851
10852   ;
10853   return 0;
10854 }
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"; then :
10857   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10858   lt_cv_shlibpath_overrides_runpath=yes
10859 fi
10860 fi
10861 rm -f core conftest.err conftest.$ac_objext \
10862     conftest$ac_exeext conftest.$ac_ext
10863     LDFLAGS=$save_LDFLAGS
10864     libdir=$save_libdir
10865     
10866 fi
10867
10868   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10869
10870   # This implies no fast_install, which is unacceptable.
10871   # Some rework will be needed to allow for fast_install
10872   # before this can be enabled.
10873   hardcode_into_libs=yes
10874
10875   # Append ld.so.conf contents to the search path
10876   if test -f /etc/ld.so.conf; then
10877     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' ' '`
10878     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10879   fi
10880
10881   # We used to test for /lib/ld.so.1 and disable shared libraries on
10882   # powerpc, because MkLinux only supported shared libraries with the
10883   # GNU dynamic linker.  Since this was broken with cross compilers,
10884   # most powerpc-linux boxes support dynamic linking these days and
10885   # people can always --disable-shared, the test was removed, and we
10886   # assume the GNU/Linux dynamic linker is in use.
10887   dynamic_linker='GNU/Linux ld.so'
10888   ;;
10889
10890 netbsdelf*-gnu)
10891   version_type=linux
10892   need_lib_prefix=no
10893   need_version=no
10894   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10895   soname_spec='${libname}${release}${shared_ext}$major'
10896   shlibpath_var=LD_LIBRARY_PATH
10897   shlibpath_overrides_runpath=no
10898   hardcode_into_libs=yes
10899   dynamic_linker='NetBSD ld.elf_so'
10900   ;;
10901
10902 netbsd*)
10903   version_type=sunos
10904   need_lib_prefix=no
10905   need_version=no
10906   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10907     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10909     dynamic_linker='NetBSD (a.out) ld.so'
10910   else
10911     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10912     soname_spec='${libname}${release}${shared_ext}$major'
10913     dynamic_linker='NetBSD ld.elf_so'
10914   fi
10915   shlibpath_var=LD_LIBRARY_PATH
10916   shlibpath_overrides_runpath=yes
10917   hardcode_into_libs=yes
10918   ;;
10919
10920 newsos6)
10921   version_type=linux
10922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923   shlibpath_var=LD_LIBRARY_PATH
10924   shlibpath_overrides_runpath=yes
10925   ;;
10926
10927 *nto* | *qnx*)
10928   version_type=qnx
10929   need_lib_prefix=no
10930   need_version=no
10931   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932   soname_spec='${libname}${release}${shared_ext}$major'
10933   shlibpath_var=LD_LIBRARY_PATH
10934   shlibpath_overrides_runpath=no
10935   hardcode_into_libs=yes
10936   dynamic_linker='ldqnx.so'
10937   ;;
10938
10939 openbsd*)
10940   version_type=sunos
10941   sys_lib_dlsearch_path_spec="/usr/lib"
10942   need_lib_prefix=no
10943   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10944   case $host_os in
10945     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10946     *)                          need_version=no  ;;
10947   esac
10948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10950   shlibpath_var=LD_LIBRARY_PATH
10951   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10952     case $host_os in
10953       openbsd2.[89] | openbsd2.[89].*)
10954         shlibpath_overrides_runpath=no
10955         ;;
10956       *)
10957         shlibpath_overrides_runpath=yes
10958         ;;
10959       esac
10960   else
10961     shlibpath_overrides_runpath=yes
10962   fi
10963   ;;
10964
10965 os2*)
10966   libname_spec='$name'
10967   shrext_cmds=".dll"
10968   need_lib_prefix=no
10969   library_names_spec='$libname${shared_ext} $libname.a'
10970   dynamic_linker='OS/2 ld.exe'
10971   shlibpath_var=LIBPATH
10972   ;;
10973
10974 osf3* | osf4* | osf5*)
10975   version_type=osf
10976   need_lib_prefix=no
10977   need_version=no
10978   soname_spec='${libname}${release}${shared_ext}$major'
10979   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980   shlibpath_var=LD_LIBRARY_PATH
10981   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10982   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10983   ;;
10984
10985 rdos*)
10986   dynamic_linker=no
10987   ;;
10988
10989 solaris*)
10990   version_type=linux
10991   need_lib_prefix=no
10992   need_version=no
10993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994   soname_spec='${libname}${release}${shared_ext}$major'
10995   shlibpath_var=LD_LIBRARY_PATH
10996   shlibpath_overrides_runpath=yes
10997   hardcode_into_libs=yes
10998   # ldd complains unless libraries are executable
10999   postinstall_cmds='chmod +x $lib'
11000   ;;
11001
11002 sunos4*)
11003   version_type=sunos
11004   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11005   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11006   shlibpath_var=LD_LIBRARY_PATH
11007   shlibpath_overrides_runpath=yes
11008   if test "$with_gnu_ld" = yes; then
11009     need_lib_prefix=no
11010   fi
11011   need_version=yes
11012   ;;
11013
11014 sysv4 | sysv4.3*)
11015   version_type=linux
11016   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017   soname_spec='${libname}${release}${shared_ext}$major'
11018   shlibpath_var=LD_LIBRARY_PATH
11019   case $host_vendor in
11020     sni)
11021       shlibpath_overrides_runpath=no
11022       need_lib_prefix=no
11023       runpath_var=LD_RUN_PATH
11024       ;;
11025     siemens)
11026       need_lib_prefix=no
11027       ;;
11028     motorola)
11029       need_lib_prefix=no
11030       need_version=no
11031       shlibpath_overrides_runpath=no
11032       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11033       ;;
11034   esac
11035   ;;
11036
11037 sysv4*MP*)
11038   if test -d /usr/nec ;then
11039     version_type=linux
11040     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11041     soname_spec='$libname${shared_ext}.$major'
11042     shlibpath_var=LD_LIBRARY_PATH
11043   fi
11044   ;;
11045
11046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11047   version_type=freebsd-elf
11048   need_lib_prefix=no
11049   need_version=no
11050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11051   soname_spec='${libname}${release}${shared_ext}$major'
11052   shlibpath_var=LD_LIBRARY_PATH
11053   shlibpath_overrides_runpath=yes
11054   hardcode_into_libs=yes
11055   if test "$with_gnu_ld" = yes; then
11056     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11057   else
11058     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11059     case $host_os in
11060       sco3.2v5*)
11061         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11062         ;;
11063     esac
11064   fi
11065   sys_lib_dlsearch_path_spec='/usr/lib'
11066   ;;
11067
11068 tpf*)
11069   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11070   version_type=linux
11071   need_lib_prefix=no
11072   need_version=no
11073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074   shlibpath_var=LD_LIBRARY_PATH
11075   shlibpath_overrides_runpath=no
11076   hardcode_into_libs=yes
11077   ;;
11078
11079 uts4*)
11080   version_type=linux
11081   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082   soname_spec='${libname}${release}${shared_ext}$major'
11083   shlibpath_var=LD_LIBRARY_PATH
11084   ;;
11085
11086 *)
11087   dynamic_linker=no
11088   ;;
11089 esac
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11091 $as_echo "$dynamic_linker" >&6; }
11092 test "$dynamic_linker" = no && can_build_shared=no
11093
11094 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11095 if test "$GCC" = yes; then
11096   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11097 fi
11098
11099 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11100   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11101 fi
11102 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11103   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11104 fi
11105
11106
11107     
11108     
11109     
11110
11111
11112     
11113     
11114     
11115
11116
11117     
11118     
11119     
11120
11121
11122     
11123     
11124     
11125
11126
11127     
11128     
11129     
11130
11131
11132     
11133     
11134     
11135
11136
11137     
11138     
11139     
11140
11141
11142     
11143     
11144     
11145
11146
11147     
11148     
11149     
11150
11151
11152     
11153     
11154     
11155
11156
11157     
11158     
11159     
11160
11161
11162     
11163     
11164     
11165
11166
11167     
11168     
11169     
11170
11171
11172     
11173     
11174     
11175
11176
11177     
11178     
11179     
11180
11181
11182     
11183     
11184     
11185
11186
11187     
11188     
11189     
11190
11191
11192     
11193     
11194     
11195
11196
11197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11199 hardcode_action=
11200 if test -n "$hardcode_libdir_flag_spec" ||
11201    test -n "$runpath_var" ||
11202    test "X$hardcode_automatic" = "Xyes" ; then
11203
11204   # We can hardcode non-existent directories.
11205   if test "$hardcode_direct" != no &&
11206      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11207      # have to relink, otherwise we might link with an installed library
11208      # when we should be linking with a yet-to-be-installed one
11209      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11210      test "$hardcode_minus_L" != no; then
11211     # Linking always hardcodes the temporary library directory.
11212     hardcode_action=relink
11213   else
11214     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11215     hardcode_action=immediate
11216   fi
11217 else
11218   # We cannot hardcode anything, or else we can only hardcode existing
11219   # directories.
11220   hardcode_action=unsupported
11221 fi
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11223 $as_echo "$hardcode_action" >&6; }
11224
11225 if test "$hardcode_action" = relink ||
11226    test "$inherit_rpath" = yes; then
11227   # Fast installation is not supported
11228   enable_fast_install=no
11229 elif test "$shlibpath_overrides_runpath" = yes ||
11230      test "$enable_shared" = no; then
11231   # Fast installation is not necessary
11232   enable_fast_install=needless
11233 fi
11234
11235     
11236     
11237     
11238
11239
11240   if test "x$enable_dlopen" != xyes; then
11241   enable_dlopen=unknown
11242   enable_dlopen_self=unknown
11243   enable_dlopen_self_static=unknown
11244 else
11245   lt_cv_dlopen=no
11246   lt_cv_dlopen_libs=
11247
11248   case $host_os in
11249   beos*)
11250     lt_cv_dlopen="load_add_on"
11251     lt_cv_dlopen_libs=
11252     lt_cv_dlopen_self=yes
11253     ;;
11254
11255   mingw* | pw32* | cegcc*)
11256     lt_cv_dlopen="LoadLibrary"
11257     lt_cv_dlopen_libs=
11258     ;;
11259
11260   cygwin*)
11261     lt_cv_dlopen="dlopen"
11262     lt_cv_dlopen_libs=
11263     ;;
11264
11265   darwin*)
11266   # if libdl is installed we need to link against it
11267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11269 if ${ac_cv_lib_dl_dlopen+:} false; then :
11270   $as_echo_n "(cached) " >&6
11271 else
11272   ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-ldl  $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h.  */
11276
11277 /* Override any GCC internal prototype to avoid an error.
11278    Use char because int might match the return type of a GCC
11279    builtin and then its argument prototype would still apply.  */
11280 #ifdef __cplusplus
11281 extern "C"
11282 #endif
11283 char dlopen ();
11284 int
11285 main ()
11286 {
11287 return dlopen ();
11288   ;
11289   return 0;
11290 }
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"; then :
11293   ac_cv_lib_dl_dlopen=yes
11294 else
11295   ac_cv_lib_dl_dlopen=no
11296 fi
11297 rm -f core conftest.err conftest.$ac_objext \
11298     conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11300 fi
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11302 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11303 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11304   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11305 else
11306   
11307     lt_cv_dlopen="dyld"
11308     lt_cv_dlopen_libs=
11309     lt_cv_dlopen_self=yes
11310     
11311 fi
11312
11313     ;;
11314
11315   *)
11316     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11317 if test "x$ac_cv_func_shl_load" = xyes; then :
11318   lt_cv_dlopen="shl_load"
11319 else
11320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11321 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11322 if ${ac_cv_lib_dld_shl_load+:} false; then :
11323   $as_echo_n "(cached) " >&6
11324 else
11325   ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-ldld  $LIBS"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h.  */
11329
11330 /* Override any GCC internal prototype to avoid an error.
11331    Use char because int might match the return type of a GCC
11332    builtin and then its argument prototype would still apply.  */
11333 #ifdef __cplusplus
11334 extern "C"
11335 #endif
11336 char shl_load ();
11337 int
11338 main ()
11339 {
11340 return shl_load ();
11341   ;
11342   return 0;
11343 }
11344 _ACEOF
11345 if ac_fn_c_try_link "$LINENO"; then :
11346   ac_cv_lib_dld_shl_load=yes
11347 else
11348   ac_cv_lib_dld_shl_load=no
11349 fi
11350 rm -f core conftest.err conftest.$ac_objext \
11351     conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11353 fi
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11355 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11356 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11357   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11358 else
11359   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11360 if test "x$ac_cv_func_dlopen" = xyes; then :
11361   lt_cv_dlopen="dlopen"
11362 else
11363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11364 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11365 if ${ac_cv_lib_dl_dlopen+:} false; then :
11366   $as_echo_n "(cached) " >&6
11367 else
11368   ac_check_lib_save_LIBS=$LIBS
11369 LIBS="-ldl  $LIBS"
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h.  */
11372
11373 /* Override any GCC internal prototype to avoid an error.
11374    Use char because int might match the return type of a GCC
11375    builtin and then its argument prototype would still apply.  */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char dlopen ();
11380 int
11381 main ()
11382 {
11383 return dlopen ();
11384   ;
11385   return 0;
11386 }
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389   ac_cv_lib_dl_dlopen=yes
11390 else
11391   ac_cv_lib_dl_dlopen=no
11392 fi
11393 rm -f core conftest.err conftest.$ac_objext \
11394     conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11396 fi
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11398 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11399 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11400   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11401 else
11402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11403 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11404 if ${ac_cv_lib_svld_dlopen+:} false; then :
11405   $as_echo_n "(cached) " >&6
11406 else
11407   ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-lsvld  $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h.  */
11411
11412 /* Override any GCC internal prototype to avoid an error.
11413    Use char because int might match the return type of a GCC
11414    builtin and then its argument prototype would still apply.  */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char dlopen ();
11419 int
11420 main ()
11421 {
11422 return dlopen ();
11423   ;
11424   return 0;
11425 }
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428   ac_cv_lib_svld_dlopen=yes
11429 else
11430   ac_cv_lib_svld_dlopen=no
11431 fi
11432 rm -f core conftest.err conftest.$ac_objext \
11433     conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11435 fi
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11437 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11438 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11439   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11440 else
11441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11442 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11443 if ${ac_cv_lib_dld_dld_link+:} false; then :
11444   $as_echo_n "(cached) " >&6
11445 else
11446   ac_check_lib_save_LIBS=$LIBS
11447 LIBS="-ldld  $LIBS"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h.  */
11450
11451 /* Override any GCC internal prototype to avoid an error.
11452    Use char because int might match the return type of a GCC
11453    builtin and then its argument prototype would still apply.  */
11454 #ifdef __cplusplus
11455 extern "C"
11456 #endif
11457 char dld_link ();
11458 int
11459 main ()
11460 {
11461 return dld_link ();
11462   ;
11463   return 0;
11464 }
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"; then :
11467   ac_cv_lib_dld_dld_link=yes
11468 else
11469   ac_cv_lib_dld_dld_link=no
11470 fi
11471 rm -f core conftest.err conftest.$ac_objext \
11472     conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11474 fi
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11476 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11477 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11478   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11479 fi
11480
11481               
11482 fi
11483
11484             
11485 fi
11486
11487           
11488 fi
11489
11490         
11491 fi
11492
11493       
11494 fi
11495
11496     ;;
11497   esac
11498
11499   if test "x$lt_cv_dlopen" != xno; then
11500     enable_dlopen=yes
11501   else
11502     enable_dlopen=no
11503   fi
11504
11505   case $lt_cv_dlopen in
11506   dlopen)
11507     save_CPPFLAGS="$CPPFLAGS"
11508     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11509
11510     save_LDFLAGS="$LDFLAGS"
11511     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11512
11513     save_LIBS="$LIBS"
11514     LIBS="$lt_cv_dlopen_libs $LIBS"
11515
11516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11517 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11518 if ${lt_cv_dlopen_self+:} false; then :
11519   $as_echo_n "(cached) " >&6
11520 else
11521           if test "$cross_compiling" = yes; then :
11522   lt_cv_dlopen_self=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=yes ;;
11605       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11606       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11607     esac
11608   else :
11609     # compilation failed
11610     lt_cv_dlopen_self=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" >&5
11618 $as_echo "$lt_cv_dlopen_self" >&6; }
11619
11620     if test "x$lt_cv_dlopen_self" = xyes; then
11621       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11622       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11623 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11624 if ${lt_cv_dlopen_self_static+:} false; then :
11625   $as_echo_n "(cached) " >&6
11626 else
11627           if test "$cross_compiling" = yes; then :
11628   lt_cv_dlopen_self_static=cross
11629 else
11630   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11631   lt_status=$lt_dlunknown
11632   cat > conftest.$ac_ext <<_LT_EOF
11633 #line $LINENO "configure"
11634 #include "confdefs.h"
11635
11636 #if HAVE_DLFCN_H
11637 #include <dlfcn.h>
11638 #endif
11639
11640 #include <stdio.h>
11641
11642 #ifdef RTLD_GLOBAL
11643 #  define LT_DLGLOBAL           RTLD_GLOBAL
11644 #else
11645 #  ifdef DL_GLOBAL
11646 #    define LT_DLGLOBAL         DL_GLOBAL
11647 #  else
11648 #    define LT_DLGLOBAL         0
11649 #  endif
11650 #endif
11651
11652 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11653    find out it does not work in some platform. */
11654 #ifndef LT_DLLAZY_OR_NOW
11655 #  ifdef RTLD_LAZY
11656 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11657 #  else
11658 #    ifdef DL_LAZY
11659 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11660 #    else
11661 #      ifdef RTLD_NOW
11662 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11663 #      else
11664 #        ifdef DL_NOW
11665 #          define LT_DLLAZY_OR_NOW      DL_NOW
11666 #        else
11667 #          define LT_DLLAZY_OR_NOW      0
11668 #        endif
11669 #      endif
11670 #    endif
11671 #  endif
11672 #endif
11673
11674 /* When -fvisbility=hidden is used, assume the code has been annotated
11675    correspondingly for the symbols needed.  */
11676 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11677 int fnord () __attribute__((visibility("default")));
11678 #endif
11679
11680 int fnord () { return 42; }
11681 int main ()
11682 {
11683   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11684   int status = $lt_dlunknown;
11685
11686   if (self)
11687     {
11688       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11689       else
11690         {
11691           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11692           else puts (dlerror ());
11693         }
11694       /* dlclose (self); */
11695     }
11696   else
11697     puts (dlerror ());
11698
11699   return status;
11700 }
11701 _LT_EOF
11702   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11703   (eval $ac_link) 2>&5
11704   ac_status=$?
11705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11706   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11707     (./conftest; exit; ) >&5 2>/dev/null
11708     lt_status=$?
11709     case x$lt_status in
11710       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11711       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11712       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11713     esac
11714   else :
11715     # compilation failed
11716     lt_cv_dlopen_self_static=no
11717   fi
11718 fi
11719 rm -fr conftest*
11720
11721       
11722 fi
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11724 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11725     fi
11726
11727     CPPFLAGS="$save_CPPFLAGS"
11728     LDFLAGS="$save_LDFLAGS"
11729     LIBS="$save_LIBS"
11730     ;;
11731   esac
11732
11733   case $lt_cv_dlopen_self in
11734   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11735   *) enable_dlopen_self=unknown ;;
11736   esac
11737
11738   case $lt_cv_dlopen_self_static in
11739   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11740   *) enable_dlopen_self_static=unknown ;;
11741   esac
11742 fi
11743
11744     
11745     
11746     
11747
11748
11749     
11750     
11751     
11752
11753
11754     
11755     
11756     
11757
11758
11759   
11760 striplib=
11761 old_striplib=
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11763 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11764 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11765   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11766   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11768 $as_echo "yes" >&6; }
11769 else
11770 # FIXME - insert some real tests, host_os isn't really good enough
11771   case $host_os in
11772   darwin*)
11773     if test -n "$STRIP" ; then
11774       striplib="$STRIP -x"
11775       old_striplib="$STRIP -S"
11776       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11777 $as_echo "yes" >&6; }
11778     else
11779       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11781     fi
11782     ;;
11783   *)
11784     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 $as_echo "no" >&6; }
11786     ;;
11787   esac
11788 fi
11789
11790     
11791     
11792     
11793
11794
11795     
11796     
11797     
11798
11799
11800
11801   # Report which library types will actually be built
11802   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11803 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11805 $as_echo "$can_build_shared" >&6; }
11806
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11808 $as_echo_n "checking whether to build shared libraries... " >&6; }
11809   test "$can_build_shared" = "no" && enable_shared=no
11810
11811   # On AIX, shared libraries and static libraries use the same namespace, and
11812   # are all built from PIC.
11813   case $host_os in
11814   aix3*)
11815     test "$enable_shared" = yes && enable_static=no
11816     if test -n "$RANLIB"; then
11817       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11818       postinstall_cmds='$RANLIB $lib'
11819     fi
11820     ;;
11821
11822   aix[4-9]*)
11823     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11824       test "$enable_shared" = yes && enable_static=no
11825     fi
11826     ;;
11827   esac
11828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11829 $as_echo "$enable_shared" >&6; }
11830
11831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11832 $as_echo_n "checking whether to build static libraries... " >&6; }
11833   # Make sure either enable_shared or enable_static is yes.
11834   test "$enable_shared" = yes || enable_static=yes
11835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11836 $as_echo "$enable_static" >&6; }
11837
11838   
11839
11840
11841 fi
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847
11848 CC="$lt_save_CC"
11849
11850       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11851     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11852     (test "X$CXX" != "Xg++"))) ; then
11853   ac_ext=cpp
11854 ac_cpp='$CXXCPP $CPPFLAGS'
11855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11859 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11860 if test -z "$CXXCPP"; then
11861   if ${ac_cv_prog_CXXCPP+:} false; then :
11862   $as_echo_n "(cached) " >&6
11863 else
11864       # Double quotes because CXXCPP needs to be expanded
11865     for CXXCPP in "$CXX -E" "/lib/cpp"
11866     do
11867       ac_preproc_ok=false
11868 for ac_cxx_preproc_warn_flag in '' yes
11869 do
11870   # Use a header file that comes with gcc, so configuring glibc
11871   # with a fresh cross-compiler works.
11872   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11873   # <limits.h> exists even on freestanding compilers.
11874   # On the NeXT, cc -E runs the code through the compiler's parser,
11875   # not just through cpp. "Syntax error" is here to catch this case.
11876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11877 /* end confdefs.h.  */
11878 @%:@ifdef __STDC__
11879 @%:@ include <limits.h>
11880 @%:@else
11881 @%:@ include <assert.h>
11882 @%:@endif
11883                      Syntax error
11884 _ACEOF
11885 if ac_fn_cxx_try_cpp "$LINENO"; then :
11886   
11887 else
11888   # Broken: fails on valid input.
11889 continue
11890 fi
11891 rm -f conftest.err conftest.i conftest.$ac_ext
11892
11893   # OK, works on sane cases.  Now check whether nonexistent headers
11894   # can be detected and how.
11895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h.  */
11897 @%:@include <ac_nonexistent.h>
11898 _ACEOF
11899 if ac_fn_cxx_try_cpp "$LINENO"; then :
11900   # Broken: success on invalid input.
11901 continue
11902 else
11903   # Passes both tests.
11904 ac_preproc_ok=:
11905 break
11906 fi
11907 rm -f conftest.err conftest.i conftest.$ac_ext
11908
11909 done
11910 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11911 rm -f conftest.i conftest.err conftest.$ac_ext
11912 if $ac_preproc_ok; then :
11913   break
11914 fi
11915
11916     done
11917     ac_cv_prog_CXXCPP=$CXXCPP
11918   
11919 fi
11920   CXXCPP=$ac_cv_prog_CXXCPP
11921 else
11922   ac_cv_prog_CXXCPP=$CXXCPP
11923 fi
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11925 $as_echo "$CXXCPP" >&6; }
11926 ac_preproc_ok=false
11927 for ac_cxx_preproc_warn_flag in '' yes
11928 do
11929   # Use a header file that comes with gcc, so configuring glibc
11930   # with a fresh cross-compiler works.
11931   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11932   # <limits.h> exists even on freestanding compilers.
11933   # On the NeXT, cc -E runs the code through the compiler's parser,
11934   # not just through cpp. "Syntax error" is here to catch this case.
11935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h.  */
11937 @%:@ifdef __STDC__
11938 @%:@ include <limits.h>
11939 @%:@else
11940 @%:@ include <assert.h>
11941 @%:@endif
11942                      Syntax error
11943 _ACEOF
11944 if ac_fn_cxx_try_cpp "$LINENO"; then :
11945   
11946 else
11947   # Broken: fails on valid input.
11948 continue
11949 fi
11950 rm -f conftest.err conftest.i conftest.$ac_ext
11951
11952   # OK, works on sane cases.  Now check whether nonexistent headers
11953   # can be detected and how.
11954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11955 /* end confdefs.h.  */
11956 @%:@include <ac_nonexistent.h>
11957 _ACEOF
11958 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959   # Broken: success on invalid input.
11960 continue
11961 else
11962   # Passes both tests.
11963 ac_preproc_ok=:
11964 break
11965 fi
11966 rm -f conftest.err conftest.i conftest.$ac_ext
11967
11968 done
11969 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11970 rm -f conftest.i conftest.err conftest.$ac_ext
11971 if $ac_preproc_ok; then :
11972   
11973 else
11974   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11976 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11977 See \`config.log' for more details" "$LINENO" 5; }
11978 fi
11979
11980 ac_ext=cpp
11981 ac_cpp='$CXXCPP $CPPFLAGS'
11982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11985
11986 else
11987   _lt_caught_CXX_error=yes
11988 fi
11989
11990 ac_ext=cpp
11991 ac_cpp='$CXXCPP $CPPFLAGS'
11992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11995
11996 archive_cmds_need_lc_CXX=no
11997 allow_undefined_flag_CXX=
11998 always_export_symbols_CXX=no
11999 archive_expsym_cmds_CXX=
12000 compiler_needs_object_CXX=no
12001 export_dynamic_flag_spec_CXX=
12002 hardcode_direct_CXX=no
12003 hardcode_direct_absolute_CXX=no
12004 hardcode_libdir_flag_spec_CXX=
12005 hardcode_libdir_flag_spec_ld_CXX=
12006 hardcode_libdir_separator_CXX=
12007 hardcode_minus_L_CXX=no
12008 hardcode_shlibpath_var_CXX=unsupported
12009 hardcode_automatic_CXX=no
12010 inherit_rpath_CXX=no
12011 module_cmds_CXX=
12012 module_expsym_cmds_CXX=
12013 link_all_deplibs_CXX=unknown
12014 old_archive_cmds_CXX=$old_archive_cmds
12015 reload_flag_CXX=$reload_flag
12016 reload_cmds_CXX=$reload_cmds
12017 no_undefined_flag_CXX=
12018 whole_archive_flag_spec_CXX=
12019 enable_shared_with_static_runtimes_CXX=no
12020
12021 # Source file extension for C++ test sources.
12022 ac_ext=cpp
12023
12024 # Object file extension for compiled C++ test sources.
12025 objext=o
12026 objext_CXX=$objext
12027
12028 # No sense in running all these tests if we already determined that
12029 # the CXX compiler isn't working.  Some variables (like enable_shared)
12030 # are currently assumed to apply to all compilers on this platform,
12031 # and will be corrupted by setting them based on a non-working compiler.
12032 if test "$_lt_caught_CXX_error" != yes; then
12033   # Code to be used in simple compile tests
12034   lt_simple_compile_test_code="int some_variable = 0;"
12035
12036   # Code to be used in simple link tests
12037   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12038
12039   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12040   
12041
12042
12043
12044
12045
12046 # If no C compiler was specified, use CC.
12047 LTCC=${LTCC-"$CC"}
12048
12049 # If no C compiler flags were specified, use CFLAGS.
12050 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12051
12052 # Allow CC to be a program name with arguments.
12053 compiler=$CC
12054
12055
12056   # save warnings/boilerplate of simple test code
12057   ac_outfile=conftest.$ac_objext
12058 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12059 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12060 _lt_compiler_boilerplate=`cat conftest.err`
12061 $RM conftest*
12062
12063   ac_outfile=conftest.$ac_objext
12064 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12065 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12066 _lt_linker_boilerplate=`cat conftest.err`
12067 $RM -r conftest*
12068
12069
12070   # Allow CC to be a program name with arguments.
12071   lt_save_CC=$CC
12072   lt_save_CFLAGS=$CFLAGS
12073   lt_save_LD=$LD
12074   lt_save_GCC=$GCC
12075   GCC=$GXX
12076   lt_save_with_gnu_ld=$with_gnu_ld
12077   lt_save_path_LD=$lt_cv_path_LD
12078   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12079     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12080   else
12081     $as_unset lt_cv_prog_gnu_ld
12082   fi
12083   if test -n "${lt_cv_path_LDCXX+set}"; then
12084     lt_cv_path_LD=$lt_cv_path_LDCXX
12085   else
12086     $as_unset lt_cv_path_LD
12087   fi
12088   test -z "${LDCXX+set}" || LD=$LDCXX
12089   CC=${CXX-"c++"}
12090   CFLAGS=$CXXFLAGS
12091   compiler=$CC
12092   compiler_CXX=$CC
12093   for cc_temp in $compiler""; do
12094   case $cc_temp in
12095     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097     \-*) ;;
12098     *) break;;
12099   esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12102
12103
12104   if test -n "$compiler"; then
12105     # We don't want -fno-exception when compiling C++ code, so set the
12106     # no_builtin_flag separately
12107     if test "$GXX" = yes; then
12108       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109     else
12110       lt_prog_compiler_no_builtin_flag_CXX=
12111     fi
12112
12113     if test "$GXX" = yes; then
12114       # Set up default GNU C++ configuration
12115
12116       
12117
12118 @%:@ Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122   with_gnu_ld=no
12123 fi
12124
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127   # Check if gcc -print-prog-name=ld gives a path.
12128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130   case $host in
12131   *-*-mingw*)
12132     # gcc leaves a trailing carriage return which upsets mingw
12133     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12134   *)
12135     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136   esac
12137   case $ac_prog in
12138     # Accept absolute paths.
12139     [\\/]* | ?:[\\/]*)
12140       re_direlt='/[^/][^/]*/\.\./'
12141       # Canonicalize the pathname of ld
12142       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145       done
12146       test -z "$LD" && LD="$ac_prog"
12147       ;;
12148   "")
12149     # If it fails, then pretend we aren't using GCC.
12150     ac_prog=ld
12151     ;;
12152   *)
12153     # If it is relative, then search for the first ld in PATH.
12154     with_gnu_ld=unknown
12155     ;;
12156   esac
12157 elif test "$with_gnu_ld" = yes; then
12158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12163 fi
12164 if ${lt_cv_path_LD+:} false; then :
12165   $as_echo_n "(cached) " >&6
12166 else
12167   if test -z "$LD"; then
12168   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169   for ac_dir in $PATH; do
12170     IFS="$lt_save_ifs"
12171     test -z "$ac_dir" && ac_dir=.
12172     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173       lt_cv_path_LD="$ac_dir/$ac_prog"
12174       # Check to see if the program is GNU ld.  I'd rather use --version,
12175       # but apparently some variants of GNU ld only accept -v.
12176       # Break only if it was the GNU/non-GNU ld that we prefer.
12177       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178       *GNU* | *'with BFD'*)
12179         test "$with_gnu_ld" != no && break
12180         ;;
12181       *)
12182         test "$with_gnu_ld" != yes && break
12183         ;;
12184       esac
12185     fi
12186   done
12187   IFS="$lt_save_ifs"
12188 else
12189   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12190 fi
12191 fi
12192
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12200 fi
12201 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if ${lt_cv_prog_gnu_ld+:} false; then :
12205   $as_echo_n "(cached) " >&6
12206 else
12207   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210   lt_cv_prog_gnu_ld=yes
12211   ;;
12212 *)
12213   lt_cv_prog_gnu_ld=no
12214   ;;
12215 esac
12216 fi
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12220
12221
12222
12223
12224
12225
12226
12227       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228       # archiving commands below assume that GNU ld is being used.
12229       if test "$with_gnu_ld" = yes; then
12230         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231         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'
12232
12233         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12235
12236         # If archive_cmds runs LD, not CC, wlarc should be empty
12237         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238         #     investigate it a little bit more. (MM)
12239         wlarc='${wl}'
12240
12241         # ancient GNU ld didn't support --whole-archive et. al.
12242         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243           $GREP 'no-whole-archive' > /dev/null; then
12244           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245         else
12246           whole_archive_flag_spec_CXX=
12247         fi
12248       else
12249         with_gnu_ld=no
12250         wlarc=
12251
12252         # A generic and very simple default shared library creation
12253         # command for GNU C++ for the case where it uses the native
12254         # linker, instead of GNU ld.  If possible, this setting should
12255         # overridden to take advantage of the native linker features on
12256         # the platform it is being used on.
12257         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12258       fi
12259
12260       # Commands to make compiler produce verbose output that lists
12261       # what "hidden" libraries, object files and flags are used when
12262       # linking a shared library.
12263       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12264
12265     else
12266       GXX=no
12267       with_gnu_ld=no
12268       wlarc=
12269     fi
12270
12271     # PORTME: fill in a description of your system's C++ link characteristics
12272     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274     ld_shlibs_CXX=yes
12275     case $host_os in
12276       aix3*)
12277         # FIXME: insert proper C++ library support
12278         ld_shlibs_CXX=no
12279         ;;
12280       aix[4-9]*)
12281         if test "$host_cpu" = ia64; then
12282           # On IA64, the linker does run time linking by default, so we don't
12283           # have to do anything special.
12284           aix_use_runtimelinking=no
12285           exp_sym_flag='-Bexport'
12286           no_entry_flag=""
12287         else
12288           aix_use_runtimelinking=no
12289
12290           # Test if we are trying to use run time linking or normal
12291           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292           # need to do runtime linking.
12293           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294             for ld_flag in $LDFLAGS; do
12295               case $ld_flag in
12296               *-brtl*)
12297                 aix_use_runtimelinking=yes
12298                 break
12299                 ;;
12300               esac
12301             done
12302             ;;
12303           esac
12304
12305           exp_sym_flag='-bexport'
12306           no_entry_flag='-bnoentry'
12307         fi
12308
12309         # When large executables or shared objects are built, AIX ld can
12310         # have problems creating the table of contents.  If linking a library
12311         # or program results in "error TOC overflow" add -mminimal-toc to
12312         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12313         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12314
12315         archive_cmds_CXX=''
12316         hardcode_direct_CXX=yes
12317         hardcode_direct_absolute_CXX=yes
12318         hardcode_libdir_separator_CXX=':'
12319         link_all_deplibs_CXX=yes
12320         file_list_spec_CXX='${wl}-f,'
12321
12322         if test "$GXX" = yes; then
12323           case $host_os in aix4.[012]|aix4.[012].*)
12324           # We only want to do this on AIX 4.2 and lower, the check
12325           # below for broken collect2 doesn't work under 4.3+
12326           collect2name=`${CC} -print-prog-name=collect2`
12327           if test -f "$collect2name" &&
12328              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329           then
12330             # We have reworked collect2
12331             :
12332           else
12333             # We have old collect2
12334             hardcode_direct_CXX=unsupported
12335             # It fails to find uninstalled libraries when the uninstalled
12336             # path is not listed in the libpath.  Setting hardcode_minus_L
12337             # to unsupported forces relinking
12338             hardcode_minus_L_CXX=yes
12339             hardcode_libdir_flag_spec_CXX='-L$libdir'
12340             hardcode_libdir_separator_CXX=
12341           fi
12342           esac
12343           shared_flag='-shared'
12344           if test "$aix_use_runtimelinking" = yes; then
12345             shared_flag="$shared_flag "'${wl}-G'
12346           fi
12347         else
12348           # not using gcc
12349           if test "$host_cpu" = ia64; then
12350           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351           # chokes on -Wl,-G. The following line is correct:
12352           shared_flag='-G'
12353           else
12354             if test "$aix_use_runtimelinking" = yes; then
12355               shared_flag='${wl}-G'
12356             else
12357               shared_flag='${wl}-bM:SRE'
12358             fi
12359           fi
12360         fi
12361
12362         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363         # It seems that -bexpall does not export symbols beginning with
12364         # underscore (_), so it is better to generate a list of symbols to
12365         # export.
12366         always_export_symbols_CXX=yes
12367         if test "$aix_use_runtimelinking" = yes; then
12368           # Warning - without using the other runtime loading flags (-brtl),
12369           # -berok will link without error, but may produce a broken library.
12370           allow_undefined_flag_CXX='-berok'
12371           # Determine the default libpath from the value encoded in an empty
12372           # executable.
12373           if test "${lt_cv_aix_libpath+set}" = set; then
12374   aix_libpath=$lt_cv_aix_libpath
12375 else
12376   if ${lt_cv_aix_libpath__CXX+:} false; then :
12377   $as_echo_n "(cached) " >&6
12378 else
12379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12380 /* end confdefs.h.  */
12381
12382 int
12383 main ()
12384 {
12385
12386   ;
12387   return 0;
12388 }
12389 _ACEOF
12390 if ac_fn_cxx_try_link "$LINENO"; then :
12391   
12392   lt_aix_libpath_sed='
12393       /Import File Strings/,/^$/ {
12394           /^0/ {
12395               s/^0  *\([^ ]*\) *$/\1/
12396               p
12397           }
12398       }'
12399   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12400   # Check for a 64-bit object if we didn't find anything.
12401   if test -z "$lt_cv_aix_libpath__CXX"; then
12402     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403   fi
12404 fi
12405 rm -f core conftest.err conftest.$ac_objext \
12406     conftest$ac_exeext conftest.$ac_ext
12407   if test -z "$lt_cv_aix_libpath__CXX"; then
12408     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12409   fi
12410   
12411 fi
12412
12413   aix_libpath=$lt_cv_aix_libpath__CXX
12414 fi
12415
12416           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12417
12418           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"
12419         else
12420           if test "$host_cpu" = ia64; then
12421             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12422             allow_undefined_flag_CXX="-z nodefs"
12423             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"
12424           else
12425             # Determine the default libpath from the value encoded in an
12426             # empty executable.
12427             if test "${lt_cv_aix_libpath+set}" = set; then
12428   aix_libpath=$lt_cv_aix_libpath
12429 else
12430   if ${lt_cv_aix_libpath__CXX+:} false; then :
12431   $as_echo_n "(cached) " >&6
12432 else
12433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h.  */
12435
12436 int
12437 main ()
12438 {
12439
12440   ;
12441   return 0;
12442 }
12443 _ACEOF
12444 if ac_fn_cxx_try_link "$LINENO"; then :
12445   
12446   lt_aix_libpath_sed='
12447       /Import File Strings/,/^$/ {
12448           /^0/ {
12449               s/^0  *\([^ ]*\) *$/\1/
12450               p
12451           }
12452       }'
12453   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12454   # Check for a 64-bit object if we didn't find anything.
12455   if test -z "$lt_cv_aix_libpath__CXX"; then
12456     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12457   fi
12458 fi
12459 rm -f core conftest.err conftest.$ac_objext \
12460     conftest$ac_exeext conftest.$ac_ext
12461   if test -z "$lt_cv_aix_libpath__CXX"; then
12462     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12463   fi
12464   
12465 fi
12466
12467   aix_libpath=$lt_cv_aix_libpath__CXX
12468 fi
12469
12470             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12471             # Warning - without using the other run time loading flags,
12472             # -berok will link without error, but may produce a broken library.
12473             no_undefined_flag_CXX=' ${wl}-bernotok'
12474             allow_undefined_flag_CXX=' ${wl}-berok'
12475             if test "$with_gnu_ld" = yes; then
12476               # We only use this code for GNU lds that support --whole-archive.
12477               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12478             else
12479               # Exported symbols can be pulled into shared objects from archives
12480               whole_archive_flag_spec_CXX='$convenience'
12481             fi
12482             archive_cmds_need_lc_CXX=yes
12483             # This is similar to how AIX traditionally builds its shared
12484             # libraries.
12485             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'
12486           fi
12487         fi
12488         ;;
12489
12490       beos*)
12491         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12492           allow_undefined_flag_CXX=unsupported
12493           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12494           # support --undefined.  This deserves some investigation.  FIXME
12495           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12496         else
12497           ld_shlibs_CXX=no
12498         fi
12499         ;;
12500
12501       chorus*)
12502         case $cc_basename in
12503           *)
12504           # FIXME: insert proper C++ library support
12505           ld_shlibs_CXX=no
12506           ;;
12507         esac
12508         ;;
12509
12510       cygwin* | mingw* | pw32* | cegcc*)
12511         case $GXX,$cc_basename in
12512         ,cl* | no,cl*)
12513           # Native MSVC
12514           # hardcode_libdir_flag_spec is actually meaningless, as there is
12515           # no search path for DLLs.
12516           hardcode_libdir_flag_spec_CXX=' '
12517           allow_undefined_flag_CXX=unsupported
12518           always_export_symbols_CXX=yes
12519           file_list_spec_CXX='@'
12520           # Tell ltmain to make .lib files, not .a files.
12521           libext=lib
12522           # Tell ltmain to make .dll files, not .so files.
12523           shrext_cmds=".dll"
12524           # FIXME: Setting linknames here is a bad hack.
12525           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12526           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12527               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12528             else
12529               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12530             fi~
12531             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12532             linknames='
12533           # The linker will not automatically build a static lib if we build a DLL.
12534           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12535           enable_shared_with_static_runtimes_CXX=yes
12536           # Don't use ranlib
12537           old_postinstall_cmds_CXX='chmod 644 $oldlib'
12538           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12539             lt_tool_outputfile="@TOOL_OUTPUT@"~
12540             case $lt_outputfile in
12541               *.exe|*.EXE) ;;
12542               *)
12543                 lt_outputfile="$lt_outputfile.exe"
12544                 lt_tool_outputfile="$lt_tool_outputfile.exe"
12545                 ;;
12546             esac~
12547             func_to_tool_file "$lt_outputfile"~
12548             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12549               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12550               $RM "$lt_outputfile.manifest";
12551             fi'
12552           ;;
12553         *)
12554           # g++
12555           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12556           # as there is no search path for DLLs.
12557           hardcode_libdir_flag_spec_CXX='-L$libdir'
12558           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12559           allow_undefined_flag_CXX=unsupported
12560           always_export_symbols_CXX=no
12561           enable_shared_with_static_runtimes_CXX=yes
12562
12563           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12564             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'
12565             # If the export-symbols file already is a .def file (1st line
12566             # is EXPORTS), use it as is; otherwise, prepend...
12567             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12568               cp $export_symbols $output_objdir/$soname.def;
12569             else
12570               echo EXPORTS > $output_objdir/$soname.def;
12571               cat $export_symbols >> $output_objdir/$soname.def;
12572             fi~
12573             $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'
12574           else
12575             ld_shlibs_CXX=no
12576           fi
12577           ;;
12578         esac
12579         ;;
12580       darwin* | rhapsody*)
12581         
12582   
12583   archive_cmds_need_lc_CXX=no
12584   hardcode_direct_CXX=no
12585   hardcode_automatic_CXX=yes
12586   hardcode_shlibpath_var_CXX=unsupported
12587   if test "$lt_cv_ld_force_load" = "yes"; then
12588     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\"`'
12589   else
12590     whole_archive_flag_spec_CXX=''
12591   fi
12592   link_all_deplibs_CXX=yes
12593   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12594   case $cc_basename in
12595      ifort*) _lt_dar_can_shared=yes ;;
12596      *) _lt_dar_can_shared=$GCC ;;
12597   esac
12598   if test "$_lt_dar_can_shared" = "yes"; then
12599     output_verbose_link_cmd=func_echo_all
12600     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}"
12601     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12602     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}"
12603     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}"
12604        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12605       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}"
12606       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}"
12607     fi
12608
12609   else
12610   ld_shlibs_CXX=no
12611   fi
12612
12613         ;;
12614
12615       dgux*)
12616         case $cc_basename in
12617           ec++*)
12618             # FIXME: insert proper C++ library support
12619             ld_shlibs_CXX=no
12620             ;;
12621           ghcx*)
12622             # Green Hills C++ Compiler
12623             # FIXME: insert proper C++ library support
12624             ld_shlibs_CXX=no
12625             ;;
12626           *)
12627             # FIXME: insert proper C++ library support
12628             ld_shlibs_CXX=no
12629             ;;
12630         esac
12631         ;;
12632
12633       freebsd[12]*)
12634         # C++ shared libraries reported to be fairly broken before
12635         # switch to ELF
12636         ld_shlibs_CXX=no
12637         ;;
12638
12639       freebsd-elf*)
12640         archive_cmds_need_lc_CXX=no
12641         ;;
12642
12643       freebsd* | dragonfly*)
12644         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12645         # conventions
12646         ld_shlibs_CXX=yes
12647         ;;
12648
12649       gnu*)
12650         ;;
12651
12652       haiku*)
12653         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12654         link_all_deplibs_CXX=yes
12655         ;;
12656
12657       hpux9*)
12658         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12659         hardcode_libdir_separator_CXX=:
12660         export_dynamic_flag_spec_CXX='${wl}-E'
12661         hardcode_direct_CXX=yes
12662         hardcode_minus_L_CXX=yes # Not in the search PATH,
12663                                              # but as the default
12664                                              # location of the library.
12665
12666         case $cc_basename in
12667           CC*)
12668             # FIXME: insert proper C++ library support
12669             ld_shlibs_CXX=no
12670             ;;
12671           aCC*)
12672             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'
12673             # Commands to make compiler produce verbose output that lists
12674             # what "hidden" libraries, object files and flags are used when
12675             # linking a shared library.
12676             #
12677             # There doesn't appear to be a way to prevent this compiler from
12678             # explicitly linking system object files so we need to strip them
12679             # from the output so that they don't get included in the library
12680             # dependencies.
12681             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"'
12682             ;;
12683           *)
12684             if test "$GXX" = yes; then
12685               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'
12686             else
12687               # FIXME: insert proper C++ library support
12688               ld_shlibs_CXX=no
12689             fi
12690             ;;
12691         esac
12692         ;;
12693
12694       hpux10*|hpux11*)
12695         if test $with_gnu_ld = no; then
12696           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12697           hardcode_libdir_separator_CXX=:
12698
12699           case $host_cpu in
12700             hppa*64*|ia64*)
12701               ;;
12702             *)
12703               export_dynamic_flag_spec_CXX='${wl}-E'
12704               ;;
12705           esac
12706         fi
12707         case $host_cpu in
12708           hppa*64*|ia64*)
12709             hardcode_direct_CXX=no
12710             hardcode_shlibpath_var_CXX=no
12711             ;;
12712           *)
12713             hardcode_direct_CXX=yes
12714             hardcode_direct_absolute_CXX=yes
12715             hardcode_minus_L_CXX=yes # Not in the search PATH,
12716                                                  # but as the default
12717                                                  # location of the library.
12718             ;;
12719         esac
12720
12721         case $cc_basename in
12722           CC*)
12723             # FIXME: insert proper C++ library support
12724             ld_shlibs_CXX=no
12725             ;;
12726           aCC*)
12727             case $host_cpu in
12728               hppa*64*)
12729                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12730                 ;;
12731               ia64*)
12732                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12733                 ;;
12734               *)
12735                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12736                 ;;
12737             esac
12738             # Commands to make compiler produce verbose output that lists
12739             # what "hidden" libraries, object files and flags are used when
12740             # linking a shared library.
12741             #
12742             # There doesn't appear to be a way to prevent this compiler from
12743             # explicitly linking system object files so we need to strip them
12744             # from the output so that they don't get included in the library
12745             # dependencies.
12746             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"'
12747             ;;
12748           *)
12749             if test "$GXX" = yes; then
12750               if test $with_gnu_ld = no; then
12751                 case $host_cpu in
12752                   hppa*64*)
12753                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12754                     ;;
12755                   ia64*)
12756                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12757                     ;;
12758                   *)
12759                     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'
12760                     ;;
12761                 esac
12762               fi
12763             else
12764               # FIXME: insert proper C++ library support
12765               ld_shlibs_CXX=no
12766             fi
12767             ;;
12768         esac
12769         ;;
12770
12771       interix[3-9]*)
12772         hardcode_direct_CXX=no
12773         hardcode_shlibpath_var_CXX=no
12774         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12775         export_dynamic_flag_spec_CXX='${wl}-E'
12776         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12777         # Instead, shared libraries are loaded at an image base (0x10000000 by
12778         # default) and relocated if they conflict, which is a slow very memory
12779         # consuming and fragmenting process.  To avoid this, we pick a random,
12780         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12781         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12782         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'
12783         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'
12784         ;;
12785       irix5* | irix6*)
12786         case $cc_basename in
12787           CC*)
12788             # SGI C++
12789             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'
12790
12791             # Archives containing C++ object files must be created using
12792             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12793             # necessary to make sure instantiated templates are included
12794             # in the archive.
12795             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12796             ;;
12797           *)
12798             if test "$GXX" = yes; then
12799               if test "$with_gnu_ld" = no; then
12800                 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'
12801               else
12802                 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'
12803               fi
12804             fi
12805             link_all_deplibs_CXX=yes
12806             ;;
12807         esac
12808         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12809         hardcode_libdir_separator_CXX=:
12810         inherit_rpath_CXX=yes
12811         ;;
12812
12813       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12814         case $cc_basename in
12815           KCC*)
12816             # Kuck and Associates, Inc. (KAI) C++ Compiler
12817
12818             # KCC will only create a shared library if the output file
12819             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12820             # to its proper name (with version) after linking.
12821             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'
12822             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'
12823             # Commands to make compiler produce verbose output that lists
12824             # what "hidden" libraries, object files and flags are used when
12825             # linking a shared library.
12826             #
12827             # There doesn't appear to be a way to prevent this compiler from
12828             # explicitly linking system object files so we need to strip them
12829             # from the output so that they don't get included in the library
12830             # dependencies.
12831             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"'
12832
12833             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12834             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12835
12836             # Archives containing C++ object files must be created using
12837             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12838             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12839             ;;
12840           icpc* | ecpc* )
12841             # Intel C++
12842             with_gnu_ld=yes
12843             # version 8.0 and above of icpc choke on multiply defined symbols
12844             # if we add $predep_objects and $postdep_objects, however 7.1 and
12845             # earlier do not add the objects themselves.
12846             case `$CC -V 2>&1` in
12847               *"Version 7."*)
12848                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12849                 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'
12850                 ;;
12851               *)  # Version 8.0 or newer
12852                 tmp_idyn=
12853                 case $host_cpu in
12854                   ia64*) tmp_idyn=' -i_dynamic';;
12855                 esac
12856                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12857                 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'
12858                 ;;
12859             esac
12860             archive_cmds_need_lc_CXX=no
12861             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12862             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12863             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12864             ;;
12865           pgCC* | pgcpp*)
12866             # Portland Group C++ compiler
12867             case `$CC -V` in
12868             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12869               prelink_cmds_CXX='tpldir=Template.dir~
12870                 rm -rf $tpldir~
12871                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12872                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12873               old_archive_cmds_CXX='tpldir=Template.dir~
12874                 rm -rf $tpldir~
12875                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12876                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12877                 $RANLIB $oldlib'
12878               archive_cmds_CXX='tpldir=Template.dir~
12879                 rm -rf $tpldir~
12880                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12881                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12882               archive_expsym_cmds_CXX='tpldir=Template.dir~
12883                 rm -rf $tpldir~
12884                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885                 $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'
12886               ;;
12887             *) # Version 6 and above use weak symbols
12888               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12889               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'
12890               ;;
12891             esac
12892
12893             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12894             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12895             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'
12896             ;;
12897           cxx*)
12898             # Compaq C++
12899             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12900             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'
12901
12902             runpath_var=LD_RUN_PATH
12903             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12904             hardcode_libdir_separator_CXX=:
12905
12906             # Commands to make compiler produce verbose output that lists
12907             # what "hidden" libraries, object files and flags are used when
12908             # linking a shared library.
12909             #
12910             # There doesn't appear to be a way to prevent this compiler from
12911             # explicitly linking system object files so we need to strip them
12912             # from the output so that they don't get included in the library
12913             # dependencies.
12914             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'
12915             ;;
12916           xl* | mpixl* | bgxl*)
12917             # IBM XL 8.0 on PPC, with GNU ld
12918             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12919             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12920             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12921             if test "x$supports_anon_versioning" = xyes; then
12922               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12923                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12924                 echo "local: *; };" >> $output_objdir/$libname.ver~
12925                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12926             fi
12927             ;;
12928           *)
12929             case `$CC -V 2>&1 | sed 5q` in
12930             *Sun\ C*)
12931               # Sun C++ 5.9
12932               no_undefined_flag_CXX=' -zdefs'
12933               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12934               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'
12935               hardcode_libdir_flag_spec_CXX='-R$libdir'
12936               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'
12937               compiler_needs_object_CXX=yes
12938
12939               # Not sure whether something based on
12940               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12941               # would be better.
12942               output_verbose_link_cmd='func_echo_all'
12943
12944               # Archives containing C++ object files must be created using
12945               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12946               # necessary to make sure instantiated templates are included
12947               # in the archive.
12948               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12949               ;;
12950             esac
12951             ;;
12952         esac
12953         ;;
12954
12955       lynxos*)
12956         # FIXME: insert proper C++ library support
12957         ld_shlibs_CXX=no
12958         ;;
12959
12960       m88k*)
12961         # FIXME: insert proper C++ library support
12962         ld_shlibs_CXX=no
12963         ;;
12964
12965       mvs*)
12966         case $cc_basename in
12967           cxx*)
12968             # FIXME: insert proper C++ library support
12969             ld_shlibs_CXX=no
12970             ;;
12971           *)
12972             # FIXME: insert proper C++ library support
12973             ld_shlibs_CXX=no
12974             ;;
12975         esac
12976         ;;
12977
12978       netbsd*)
12979         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12980           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12981           wlarc=
12982           hardcode_libdir_flag_spec_CXX='-R$libdir'
12983           hardcode_direct_CXX=yes
12984           hardcode_shlibpath_var_CXX=no
12985         fi
12986         # Workaround some broken pre-1.5 toolchains
12987         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12988         ;;
12989
12990       *nto* | *qnx*)
12991         ld_shlibs_CXX=yes
12992         ;;
12993
12994       openbsd2*)
12995         # C++ shared libraries are fairly broken
12996         ld_shlibs_CXX=no
12997         ;;
12998
12999       openbsd*)
13000         if test -f /usr/libexec/ld.so; then
13001           hardcode_direct_CXX=yes
13002           hardcode_shlibpath_var_CXX=no
13003           hardcode_direct_absolute_CXX=yes
13004           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13005           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13006           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13007             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13008             export_dynamic_flag_spec_CXX='${wl}-E'
13009             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13010           fi
13011           output_verbose_link_cmd=func_echo_all
13012         else
13013           ld_shlibs_CXX=no
13014         fi
13015         ;;
13016
13017       osf3* | osf4* | osf5*)
13018         case $cc_basename in
13019           KCC*)
13020             # Kuck and Associates, Inc. (KAI) C++ Compiler
13021
13022             # KCC will only create a shared library if the output file
13023             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13024             # to its proper name (with version) after linking.
13025             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'
13026
13027             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13028             hardcode_libdir_separator_CXX=:
13029
13030             # Archives containing C++ object files must be created using
13031             # the KAI C++ compiler.
13032             case $host in
13033               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13034               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13035             esac
13036             ;;
13037           RCC*)
13038             # Rational C++ 2.4.1
13039             # FIXME: insert proper C++ library support
13040             ld_shlibs_CXX=no
13041             ;;
13042           cxx*)
13043             case $host in
13044               osf3*)
13045                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13046                 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'
13047                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13048                 ;;
13049               *)
13050                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13051                 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'
13052                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13053                   echo "-hidden">> $lib.exp~
13054                   $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~
13055                   $RM $lib.exp'
13056                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13057                 ;;
13058             esac
13059
13060             hardcode_libdir_separator_CXX=:
13061
13062             # Commands to make compiler produce verbose output that lists
13063             # what "hidden" libraries, object files and flags are used when
13064             # linking a shared library.
13065             #
13066             # There doesn't appear to be a way to prevent this compiler from
13067             # explicitly linking system object files so we need to strip them
13068             # from the output so that they don't get included in the library
13069             # dependencies.
13070             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"'
13071             ;;
13072           *)
13073             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13074               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13075               case $host in
13076                 osf3*)
13077                   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'
13078                   ;;
13079                 *)
13080                   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'
13081                   ;;
13082               esac
13083
13084               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13085               hardcode_libdir_separator_CXX=:
13086
13087               # Commands to make compiler produce verbose output that lists
13088               # what "hidden" libraries, object files and flags are used when
13089               # linking a shared library.
13090               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13091
13092             else
13093               # FIXME: insert proper C++ library support
13094               ld_shlibs_CXX=no
13095             fi
13096             ;;
13097         esac
13098         ;;
13099
13100       psos*)
13101         # FIXME: insert proper C++ library support
13102         ld_shlibs_CXX=no
13103         ;;
13104
13105       sunos4*)
13106         case $cc_basename in
13107           CC*)
13108             # Sun C++ 4.x
13109             # FIXME: insert proper C++ library support
13110             ld_shlibs_CXX=no
13111             ;;
13112           lcc*)
13113             # Lucid
13114             # FIXME: insert proper C++ library support
13115             ld_shlibs_CXX=no
13116             ;;
13117           *)
13118             # FIXME: insert proper C++ library support
13119             ld_shlibs_CXX=no
13120             ;;
13121         esac
13122         ;;
13123
13124       solaris*)
13125         case $cc_basename in
13126           CC* | sunCC*)
13127             # Sun C++ 4.2, 5.x and Centerline C++
13128             archive_cmds_need_lc_CXX=yes
13129             no_undefined_flag_CXX=' -zdefs'
13130             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13131             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13132               $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'
13133
13134             hardcode_libdir_flag_spec_CXX='-R$libdir'
13135             hardcode_shlibpath_var_CXX=no
13136             case $host_os in
13137               solaris2.[0-5] | solaris2.[0-5].*) ;;
13138               *)
13139                 # The compiler driver will combine and reorder linker options,
13140                 # but understands `-z linker_flag'.
13141                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13142                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13143                 ;;
13144             esac
13145             link_all_deplibs_CXX=yes
13146
13147             output_verbose_link_cmd='func_echo_all'
13148
13149             # Archives containing C++ object files must be created using
13150             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13151             # necessary to make sure instantiated templates are included
13152             # in the archive.
13153             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13154             ;;
13155           gcx*)
13156             # Green Hills C++ Compiler
13157             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13158
13159             # The C++ compiler must be used to create the archive.
13160             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13161             ;;
13162           *)
13163             # GNU C++ compiler with Solaris linker
13164             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13165               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13166               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13167                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13168                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13169                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13170
13171                 # Commands to make compiler produce verbose output that lists
13172                 # what "hidden" libraries, object files and flags are used when
13173                 # linking a shared library.
13174                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13175               else
13176                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13177                 # platform.
13178                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13179                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13180                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13181
13182                 # Commands to make compiler produce verbose output that lists
13183                 # what "hidden" libraries, object files and flags are used when
13184                 # linking a shared library.
13185                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13186               fi
13187
13188               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13189               case $host_os in
13190                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13191                 *)
13192                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13193                   ;;
13194               esac
13195             fi
13196             ;;
13197         esac
13198         ;;
13199
13200     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13201       no_undefined_flag_CXX='${wl}-z,text'
13202       archive_cmds_need_lc_CXX=no
13203       hardcode_shlibpath_var_CXX=no
13204       runpath_var='LD_RUN_PATH'
13205
13206       case $cc_basename in
13207         CC*)
13208           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13209           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13210           ;;
13211         *)
13212           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214           ;;
13215       esac
13216       ;;
13217
13218       sysv5* | sco3.2v5* | sco5v6*)
13219         # Note: We can NOT use -z defs as we might desire, because we do not
13220         # link with -lc, and that would cause any symbols used from libc to
13221         # always be unresolved, which means just about no library would
13222         # ever link correctly.  If we're not using GNU ld we use -z text
13223         # though, which does catch some bad symbols but isn't as heavy-handed
13224         # as -z defs.
13225         no_undefined_flag_CXX='${wl}-z,text'
13226         allow_undefined_flag_CXX='${wl}-z,nodefs'
13227         archive_cmds_need_lc_CXX=no
13228         hardcode_shlibpath_var_CXX=no
13229         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13230         hardcode_libdir_separator_CXX=':'
13231         link_all_deplibs_CXX=yes
13232         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13233         runpath_var='LD_RUN_PATH'
13234
13235         case $cc_basename in
13236           CC*)
13237             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13238             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13239             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13240               '"$old_archive_cmds_CXX"
13241             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13242               '"$reload_cmds_CXX"
13243             ;;
13244           *)
13245             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13246             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13247             ;;
13248         esac
13249       ;;
13250
13251       tandem*)
13252         case $cc_basename in
13253           NCC*)
13254             # NonStop-UX NCC 3.20
13255             # FIXME: insert proper C++ library support
13256             ld_shlibs_CXX=no
13257             ;;
13258           *)
13259             # FIXME: insert proper C++ library support
13260             ld_shlibs_CXX=no
13261             ;;
13262         esac
13263         ;;
13264
13265       vxworks*)
13266         # FIXME: insert proper C++ library support
13267         ld_shlibs_CXX=no
13268         ;;
13269
13270       *)
13271         # FIXME: insert proper C++ library support
13272         ld_shlibs_CXX=no
13273         ;;
13274     esac
13275
13276     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13277 $as_echo "$ld_shlibs_CXX" >&6; }
13278     test "$ld_shlibs_CXX" = no && can_build_shared=no
13279
13280     GCC_CXX="$GXX"
13281     LD_CXX="$LD"
13282
13283     ## CAVEAT EMPTOR:
13284     ## There is no encapsulation within the following macros, do not change
13285     ## the running order or otherwise move them around unless you know exactly
13286     ## what you are doing...
13287     # Dependencies to place before and after the object being linked:
13288 predep_objects_CXX=
13289 postdep_objects_CXX=
13290 predeps_CXX=
13291 postdeps_CXX=
13292 compiler_lib_search_path_CXX=
13293
13294 cat > conftest.$ac_ext <<_LT_EOF
13295 class Foo
13296 {
13297 public:
13298   Foo (void) { a = 0; }
13299 private:
13300   int a;
13301 };
13302 _LT_EOF
13303
13304
13305 _lt_libdeps_save_CFLAGS=$CFLAGS
13306 case "$CC $CFLAGS " in #(
13307 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13308 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13309 esac
13310
13311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13312   (eval $ac_compile) 2>&5
13313   ac_status=$?
13314   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13315   test $ac_status = 0; }; then
13316   # Parse the compiler output and extract the necessary
13317   # objects, libraries and library flags.
13318
13319   # Sentinel used to keep track of whether or not we are before
13320   # the conftest object file.
13321   pre_test_object_deps_done=no
13322
13323   for p in `eval "$output_verbose_link_cmd"`; do
13324     case ${prev}${p} in
13325
13326     -L* | -R* | -l*)
13327        # Some compilers place space between "-{L,R}" and the path.
13328        # Remove the space.
13329        if test $p = "-L" ||
13330           test $p = "-R"; then
13331          prev=$p
13332          continue
13333        fi
13334
13335        # Expand the sysroot to ease extracting the directories later.
13336        if test -z "$prev"; then
13337          case $p in
13338          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13339          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13340          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13341          esac
13342        fi
13343        case $p in
13344        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13345        esac
13346        if test "$pre_test_object_deps_done" = no; then
13347          case ${prev} in
13348          -L | -R)
13349            # Internal compiler library paths should come after those
13350            # provided the user.  The postdeps already come after the
13351            # user supplied libs so there is no need to process them.
13352            if test -z "$compiler_lib_search_path_CXX"; then
13353              compiler_lib_search_path_CXX="${prev}${p}"
13354            else
13355              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13356            fi
13357            ;;
13358          # The "-l" case would never come before the object being
13359          # linked, so don't bother handling this case.
13360          esac
13361        else
13362          if test -z "$postdeps_CXX"; then
13363            postdeps_CXX="${prev}${p}"
13364          else
13365            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13366          fi
13367        fi
13368        prev=
13369        ;;
13370
13371     *.lto.$objext) ;; # Ignore GCC LTO objects
13372     *.$objext)
13373        # This assumes that the test object file only shows up
13374        # once in the compiler output.
13375        if test "$p" = "conftest.$objext"; then
13376          pre_test_object_deps_done=yes
13377          continue
13378        fi
13379
13380        if test "$pre_test_object_deps_done" = no; then
13381          if test -z "$predep_objects_CXX"; then
13382            predep_objects_CXX="$p"
13383          else
13384            predep_objects_CXX="$predep_objects_CXX $p"
13385          fi
13386        else
13387          if test -z "$postdep_objects_CXX"; then
13388            postdep_objects_CXX="$p"
13389          else
13390            postdep_objects_CXX="$postdep_objects_CXX $p"
13391          fi
13392        fi
13393        ;;
13394
13395     *) ;; # Ignore the rest.
13396
13397     esac
13398   done
13399
13400   # Clean up.
13401   rm -f a.out a.exe
13402 else
13403   echo "libtool.m4: error: problem compiling CXX test program"
13404 fi
13405
13406 $RM -f confest.$objext
13407 CFLAGS=$_lt_libdeps_save_CFLAGS
13408
13409 # PORTME: override above test on systems where it is broken
13410 case $host_os in
13411 interix[3-9]*)
13412   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13413   # hack all around it, let's just trust "g++" to DTRT.
13414   predep_objects_CXX=
13415   postdep_objects_CXX=
13416   postdeps_CXX=
13417   ;;
13418
13419 linux*)
13420   case `$CC -V 2>&1 | sed 5q` in
13421   *Sun\ C*)
13422     # Sun C++ 5.9
13423
13424     # The more standards-conforming stlport4 library is
13425     # incompatible with the Cstd library. Avoid specifying
13426     # it if it's in CXXFLAGS. Ignore libCrun as
13427     # -library=stlport4 depends on it.
13428     case " $CXX $CXXFLAGS " in
13429     *" -library=stlport4 "*)
13430       solaris_use_stlport4=yes
13431       ;;
13432     esac
13433
13434     if test "$solaris_use_stlport4" != yes; then
13435       postdeps_CXX='-library=Cstd -library=Crun'
13436     fi
13437     ;;
13438   esac
13439   ;;
13440
13441 solaris*)
13442   case $cc_basename in
13443   CC* | sunCC*)
13444     # The more standards-conforming stlport4 library is
13445     # incompatible with the Cstd library. Avoid specifying
13446     # it if it's in CXXFLAGS. Ignore libCrun as
13447     # -library=stlport4 depends on it.
13448     case " $CXX $CXXFLAGS " in
13449     *" -library=stlport4 "*)
13450       solaris_use_stlport4=yes
13451       ;;
13452     esac
13453
13454     # Adding this requires a known-good setup of shared libraries for
13455     # Sun compiler versions before 5.6, else PIC objects from an old
13456     # archive will be linked into the output, leading to subtle bugs.
13457     if test "$solaris_use_stlport4" != yes; then
13458       postdeps_CXX='-library=Cstd -library=Crun'
13459     fi
13460     ;;
13461   esac
13462   ;;
13463 esac
13464
13465
13466 case " $postdeps_CXX " in
13467 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13468 esac
13469  compiler_lib_search_dirs_CXX=
13470 if test -n "${compiler_lib_search_path_CXX}"; then
13471  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13472 fi
13473
13474     
13475     
13476     
13477
13478
13479     
13480     
13481     
13482
13483
13484     
13485     
13486     
13487
13488
13489     
13490     
13491     
13492
13493
13494     
13495     
13496     
13497
13498
13499     
13500     
13501     
13502
13503
13504     lt_prog_compiler_wl_CXX=
13505 lt_prog_compiler_pic_CXX=
13506 lt_prog_compiler_static_CXX=
13507
13508
13509   # C++ specific cases for pic, static, wl, etc.
13510   if test "$GXX" = yes; then
13511     lt_prog_compiler_wl_CXX='-Wl,'
13512     lt_prog_compiler_static_CXX='-static'
13513
13514     case $host_os in
13515     aix*)
13516       # All AIX code is PIC.
13517       if test "$host_cpu" = ia64; then
13518         # AIX 5 now supports IA64 processor
13519         lt_prog_compiler_static_CXX='-Bstatic'
13520       fi
13521       ;;
13522
13523     amigaos*)
13524       case $host_cpu in
13525       powerpc)
13526             # see comment about AmigaOS4 .so support
13527             lt_prog_compiler_pic_CXX='-fPIC'
13528         ;;
13529       m68k)
13530             # FIXME: we need at least 68020 code to build shared libraries, but
13531             # adding the `-m68020' flag to GCC prevents building anything better,
13532             # like `-m68040'.
13533             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13534         ;;
13535       esac
13536       ;;
13537
13538     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13539       # PIC is the default for these OSes.
13540       ;;
13541     mingw* | cygwin* | os2* | pw32* | cegcc*)
13542       # This hack is so that the source file can tell whether it is being
13543       # built for inclusion in a dll (and should export symbols for example).
13544       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13545       # (--disable-auto-import) libraries
13546       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13547       ;;
13548     darwin* | rhapsody*)
13549       # PIC is the default on this platform
13550       # Common symbols not allowed in MH_DYLIB files
13551       lt_prog_compiler_pic_CXX='-fno-common'
13552       ;;
13553     *djgpp*)
13554       # DJGPP does not support shared libraries at all
13555       lt_prog_compiler_pic_CXX=
13556       ;;
13557     haiku*)
13558       # PIC is the default for Haiku.
13559       # The "-static" flag exists, but is broken.
13560       lt_prog_compiler_static_CXX=
13561       ;;
13562     interix[3-9]*)
13563       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13564       # Instead, we relocate shared libraries at runtime.
13565       ;;
13566     sysv4*MP*)
13567       if test -d /usr/nec; then
13568         lt_prog_compiler_pic_CXX=-Kconform_pic
13569       fi
13570       ;;
13571     hpux*)
13572       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13573       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13574       # sets the default TLS model and affects inlining.
13575       case $host_cpu in
13576       hppa*64*)
13577         ;;
13578       *)
13579         lt_prog_compiler_pic_CXX='-fPIC'
13580         ;;
13581       esac
13582       ;;
13583     *qnx* | *nto*)
13584       # QNX uses GNU C++, but need to define -shared option too, otherwise
13585       # it will coredump.
13586       lt_prog_compiler_pic_CXX='-fPIC -shared'
13587       ;;
13588     *)
13589       lt_prog_compiler_pic_CXX='-fPIC'
13590       ;;
13591     esac
13592   else
13593     case $host_os in
13594       aix[4-9]*)
13595         # All AIX code is PIC.
13596         if test "$host_cpu" = ia64; then
13597           # AIX 5 now supports IA64 processor
13598           lt_prog_compiler_static_CXX='-Bstatic'
13599         else
13600           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13601         fi
13602         ;;
13603       chorus*)
13604         case $cc_basename in
13605         cxch68*)
13606           # Green Hills C++ Compiler
13607           # _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"
13608           ;;
13609         esac
13610         ;;
13611       mingw* | cygwin* | os2* | pw32* | cegcc*)
13612         # This hack is so that the source file can tell whether it is being
13613         # built for inclusion in a dll (and should export symbols for example).
13614         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13615         ;;
13616       dgux*)
13617         case $cc_basename in
13618           ec++*)
13619             lt_prog_compiler_pic_CXX='-KPIC'
13620             ;;
13621           ghcx*)
13622             # Green Hills C++ Compiler
13623             lt_prog_compiler_pic_CXX='-pic'
13624             ;;
13625           *)
13626             ;;
13627         esac
13628         ;;
13629       freebsd* | dragonfly*)
13630         # FreeBSD uses GNU C++
13631         ;;
13632       hpux9* | hpux10* | hpux11*)
13633         case $cc_basename in
13634           CC*)
13635             lt_prog_compiler_wl_CXX='-Wl,'
13636             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13637             if test "$host_cpu" != ia64; then
13638               lt_prog_compiler_pic_CXX='+Z'
13639             fi
13640             ;;
13641           aCC*)
13642             lt_prog_compiler_wl_CXX='-Wl,'
13643             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13644             case $host_cpu in
13645             hppa*64*|ia64*)
13646               # +Z the default
13647               ;;
13648             *)
13649               lt_prog_compiler_pic_CXX='+Z'
13650               ;;
13651             esac
13652             ;;
13653           *)
13654             ;;
13655         esac
13656         ;;
13657       interix*)
13658         # This is c89, which is MS Visual C++ (no shared libs)
13659         # Anyone wants to do a port?
13660         ;;
13661       irix5* | irix6* | nonstopux*)
13662         case $cc_basename in
13663           CC*)
13664             lt_prog_compiler_wl_CXX='-Wl,'
13665             lt_prog_compiler_static_CXX='-non_shared'
13666             # CC pic flag -KPIC is the default.
13667             ;;
13668           *)
13669             ;;
13670         esac
13671         ;;
13672       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13673         case $cc_basename in
13674           KCC*)
13675             # KAI C++ Compiler
13676             lt_prog_compiler_wl_CXX='--backend -Wl,'
13677             lt_prog_compiler_pic_CXX='-fPIC'
13678             ;;
13679           ecpc* )
13680             # old Intel C++ for x86_64 which still supported -KPIC.
13681             lt_prog_compiler_wl_CXX='-Wl,'
13682             lt_prog_compiler_pic_CXX='-KPIC'
13683             lt_prog_compiler_static_CXX='-static'
13684             ;;
13685           icpc* )
13686             # Intel C++, used to be incompatible with GCC.
13687             # ICC 10 doesn't accept -KPIC any more.
13688             lt_prog_compiler_wl_CXX='-Wl,'
13689             lt_prog_compiler_pic_CXX='-fPIC'
13690             lt_prog_compiler_static_CXX='-static'
13691             ;;
13692           pgCC* | pgcpp*)
13693             # Portland Group C++ compiler
13694             lt_prog_compiler_wl_CXX='-Wl,'
13695             lt_prog_compiler_pic_CXX='-fpic'
13696             lt_prog_compiler_static_CXX='-Bstatic'
13697             ;;
13698           cxx*)
13699             # Compaq C++
13700             # Make sure the PIC flag is empty.  It appears that all Alpha
13701             # Linux and Compaq Tru64 Unix objects are PIC.
13702             lt_prog_compiler_pic_CXX=
13703             lt_prog_compiler_static_CXX='-non_shared'
13704             ;;
13705           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13706             # IBM XL 8.0, 9.0 on PPC and BlueGene
13707             lt_prog_compiler_wl_CXX='-Wl,'
13708             lt_prog_compiler_pic_CXX='-qpic'
13709             lt_prog_compiler_static_CXX='-qstaticlink'
13710             ;;
13711           *)
13712             case `$CC -V 2>&1 | sed 5q` in
13713             *Sun\ C*)
13714               # Sun C++ 5.9
13715               lt_prog_compiler_pic_CXX='-KPIC'
13716               lt_prog_compiler_static_CXX='-Bstatic'
13717               lt_prog_compiler_wl_CXX='-Qoption ld '
13718               ;;
13719             esac
13720             ;;
13721         esac
13722         ;;
13723       lynxos*)
13724         ;;
13725       m88k*)
13726         ;;
13727       mvs*)
13728         case $cc_basename in
13729           cxx*)
13730             lt_prog_compiler_pic_CXX='-W c,exportall'
13731             ;;
13732           *)
13733             ;;
13734         esac
13735         ;;
13736       netbsd* | netbsdelf*-gnu)
13737         ;;
13738       *qnx* | *nto*)
13739         # QNX uses GNU C++, but need to define -shared option too, otherwise
13740         # it will coredump.
13741         lt_prog_compiler_pic_CXX='-fPIC -shared'
13742         ;;
13743       osf3* | osf4* | osf5*)
13744         case $cc_basename in
13745           KCC*)
13746             lt_prog_compiler_wl_CXX='--backend -Wl,'
13747             ;;
13748           RCC*)
13749             # Rational C++ 2.4.1
13750             lt_prog_compiler_pic_CXX='-pic'
13751             ;;
13752           cxx*)
13753             # Digital/Compaq C++
13754             lt_prog_compiler_wl_CXX='-Wl,'
13755             # Make sure the PIC flag is empty.  It appears that all Alpha
13756             # Linux and Compaq Tru64 Unix objects are PIC.
13757             lt_prog_compiler_pic_CXX=
13758             lt_prog_compiler_static_CXX='-non_shared'
13759             ;;
13760           *)
13761             ;;
13762         esac
13763         ;;
13764       psos*)
13765         ;;
13766       solaris*)
13767         case $cc_basename in
13768           CC* | sunCC*)
13769             # Sun C++ 4.2, 5.x and Centerline C++
13770             lt_prog_compiler_pic_CXX='-KPIC'
13771             lt_prog_compiler_static_CXX='-Bstatic'
13772             lt_prog_compiler_wl_CXX='-Qoption ld '
13773             ;;
13774           gcx*)
13775             # Green Hills C++ Compiler
13776             lt_prog_compiler_pic_CXX='-PIC'
13777             ;;
13778           *)
13779             ;;
13780         esac
13781         ;;
13782       sunos4*)
13783         case $cc_basename in
13784           CC*)
13785             # Sun C++ 4.x
13786             lt_prog_compiler_pic_CXX='-pic'
13787             lt_prog_compiler_static_CXX='-Bstatic'
13788             ;;
13789           lcc*)
13790             # Lucid
13791             lt_prog_compiler_pic_CXX='-pic'
13792             ;;
13793           *)
13794             ;;
13795         esac
13796         ;;
13797       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13798         case $cc_basename in
13799           CC*)
13800             lt_prog_compiler_wl_CXX='-Wl,'
13801             lt_prog_compiler_pic_CXX='-KPIC'
13802             lt_prog_compiler_static_CXX='-Bstatic'
13803             ;;
13804         esac
13805         ;;
13806       tandem*)
13807         case $cc_basename in
13808           NCC*)
13809             # NonStop-UX NCC 3.20
13810             lt_prog_compiler_pic_CXX='-KPIC'
13811             ;;
13812           *)
13813             ;;
13814         esac
13815         ;;
13816       vxworks*)
13817         ;;
13818       *)
13819         lt_prog_compiler_can_build_shared_CXX=no
13820         ;;
13821     esac
13822   fi
13823
13824 case $host_os in
13825   # For platforms which do not support PIC, -DPIC is meaningless:
13826   *djgpp*)
13827     lt_prog_compiler_pic_CXX=
13828     ;;
13829   *)
13830     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13831     ;;
13832 esac
13833
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13835 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13836 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13837   $as_echo_n "(cached) " >&6
13838 else
13839   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13840 fi
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13842 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13843 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13844
13845 #
13846 # Check to make sure the PIC flag actually works.
13847 #
13848 if test -n "$lt_prog_compiler_pic_CXX"; then
13849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13850 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13851 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13852   $as_echo_n "(cached) " >&6
13853 else
13854   lt_cv_prog_compiler_pic_works_CXX=no
13855    ac_outfile=conftest.$ac_objext
13856    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13857    lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13858    # Insert the option either (1) after the last *FLAGS variable, or
13859    # (2) before a word containing "conftest.", or (3) at the end.
13860    # Note that $ac_compile itself does not contain backslashes and begins
13861    # with a dollar sign (not a hyphen), so the echo should work correctly.
13862    # The option is referenced via a variable to avoid confusing sed.
13863    lt_compile=`echo "$ac_compile" | $SED \
13864    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13865    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13866    -e 's:$: $lt_compiler_flag:'`
13867    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13868    (eval "$lt_compile" 2>conftest.err)
13869    ac_status=$?
13870    cat conftest.err >&5
13871    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872    if (exit $ac_status) && test -s "$ac_outfile"; then
13873      # The compiler can only warn and ignore the option if not recognized
13874      # So say no if there are warnings other than the usual output.
13875      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13876      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13877      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13878        lt_cv_prog_compiler_pic_works_CXX=yes
13879      fi
13880    fi
13881    $RM conftest*
13882
13883 fi
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13885 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13886
13887 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13888     case $lt_prog_compiler_pic_CXX in
13889      "" | " "*) ;;
13890      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13891      esac
13892 else
13893     lt_prog_compiler_pic_CXX=
13894      lt_prog_compiler_can_build_shared_CXX=no
13895 fi
13896
13897 fi
13898
13899
13900
13901
13902
13903 #
13904 # Check to make sure the static flag actually works.
13905 #
13906 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13908 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13909 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13910   $as_echo_n "(cached) " >&6
13911 else
13912   lt_cv_prog_compiler_static_works_CXX=no
13913    save_LDFLAGS="$LDFLAGS"
13914    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13915    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13916    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13917      # The linker can only warn and ignore the option if not recognized
13918      # So say no if there are warnings
13919      if test -s conftest.err; then
13920        # Append any errors to the config.log.
13921        cat conftest.err 1>&5
13922        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13923        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13924        if diff conftest.exp conftest.er2 >/dev/null; then
13925          lt_cv_prog_compiler_static_works_CXX=yes
13926        fi
13927      else
13928        lt_cv_prog_compiler_static_works_CXX=yes
13929      fi
13930    fi
13931    $RM -r conftest*
13932    LDFLAGS="$save_LDFLAGS"
13933
13934 fi
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13936 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13937
13938 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13939     :
13940 else
13941     lt_prog_compiler_static_CXX=
13942 fi
13943
13944
13945
13946
13947     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13948 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13949 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13950   $as_echo_n "(cached) " >&6
13951 else
13952   lt_cv_prog_compiler_c_o_CXX=no
13953    $RM -r conftest 2>/dev/null
13954    mkdir conftest
13955    cd conftest
13956    mkdir out
13957    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13958
13959    lt_compiler_flag="-o out/conftest2.$ac_objext"
13960    # Insert the option either (1) after the last *FLAGS variable, or
13961    # (2) before a word containing "conftest.", or (3) at the end.
13962    # Note that $ac_compile itself does not contain backslashes and begins
13963    # with a dollar sign (not a hyphen), so the echo should work correctly.
13964    lt_compile=`echo "$ac_compile" | $SED \
13965    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13966    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13967    -e 's:$: $lt_compiler_flag:'`
13968    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13969    (eval "$lt_compile" 2>out/conftest.err)
13970    ac_status=$?
13971    cat out/conftest.err >&5
13972    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13974    then
13975      # The compiler can only warn and ignore the option if not recognized
13976      # So say no if there are warnings
13977      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13978      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13979      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13980        lt_cv_prog_compiler_c_o_CXX=yes
13981      fi
13982    fi
13983    chmod u+w . 2>&5
13984    $RM conftest*
13985    # SGI C++ compiler will create directory out/ii_files/ for
13986    # template instantiation
13987    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13988    $RM out/* && rmdir out
13989    cd ..
13990    $RM -r conftest
13991    $RM conftest*
13992
13993 fi
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13995 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13996
13997
13998
13999     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14000 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14001 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14002   $as_echo_n "(cached) " >&6
14003 else
14004   lt_cv_prog_compiler_c_o_CXX=no
14005    $RM -r conftest 2>/dev/null
14006    mkdir conftest
14007    cd conftest
14008    mkdir out
14009    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14010
14011    lt_compiler_flag="-o out/conftest2.$ac_objext"
14012    # Insert the option either (1) after the last *FLAGS variable, or
14013    # (2) before a word containing "conftest.", or (3) at the end.
14014    # Note that $ac_compile itself does not contain backslashes and begins
14015    # with a dollar sign (not a hyphen), so the echo should work correctly.
14016    lt_compile=`echo "$ac_compile" | $SED \
14017    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14018    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14019    -e 's:$: $lt_compiler_flag:'`
14020    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14021    (eval "$lt_compile" 2>out/conftest.err)
14022    ac_status=$?
14023    cat out/conftest.err >&5
14024    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14026    then
14027      # The compiler can only warn and ignore the option if not recognized
14028      # So say no if there are warnings
14029      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14030      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14031      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14032        lt_cv_prog_compiler_c_o_CXX=yes
14033      fi
14034    fi
14035    chmod u+w . 2>&5
14036    $RM conftest*
14037    # SGI C++ compiler will create directory out/ii_files/ for
14038    # template instantiation
14039    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14040    $RM out/* && rmdir out
14041    cd ..
14042    $RM -r conftest
14043    $RM conftest*
14044
14045 fi
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14047 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14048
14049
14050
14051
14052 hard_links="nottested"
14053 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14054   # do not overwrite the value of need_locks provided by the user
14055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14056 $as_echo_n "checking if we can lock with hard links... " >&6; }
14057   hard_links=yes
14058   $RM conftest*
14059   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14060   touch conftest.a
14061   ln conftest.a conftest.b 2>&5 || hard_links=no
14062   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14064 $as_echo "$hard_links" >&6; }
14065   if test "$hard_links" = no; then
14066     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14067 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14068     need_locks=warn
14069   fi
14070 else
14071   need_locks=no
14072 fi
14073
14074
14075
14076     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14078
14079   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14080   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14081   case $host_os in
14082   aix[4-9]*)
14083     # If we're using GNU nm, then we don't want the "-C" option.
14084     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14085     # Also, AIX nm treats weak defined symbols like other global defined
14086     # symbols, whereas GNU nm marks them as "W".
14087     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14088       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'
14089     else
14090       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'
14091     fi
14092     ;;
14093   pw32*)
14094     export_symbols_cmds_CXX="$ltdll_cmds"
14095     ;;
14096   cygwin* | mingw* | cegcc*)
14097     case $cc_basename in
14098     cl*) ;;
14099     *)
14100       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'
14101       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14102       ;;
14103     esac
14104     ;;
14105   linux* | k*bsd*-gnu | gnu*)
14106     link_all_deplibs_CXX=no
14107     ;;
14108   *)
14109     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14110     ;;
14111   esac
14112
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14114 $as_echo "$ld_shlibs_CXX" >&6; }
14115 test "$ld_shlibs_CXX" = no && can_build_shared=no
14116
14117 with_gnu_ld_CXX=$with_gnu_ld
14118
14119
14120
14121
14122
14123
14124 #
14125 # Do we need to explicitly link libc?
14126 #
14127 case "x$archive_cmds_need_lc_CXX" in
14128 x|xyes)
14129   # Assume -lc should be added
14130   archive_cmds_need_lc_CXX=yes
14131
14132   if test "$enable_shared" = yes && test "$GCC" = yes; then
14133     case $archive_cmds_CXX in
14134     *'~'*)
14135       # FIXME: we may have to deal with multi-command sequences.
14136       ;;
14137     '$CC '*)
14138       # Test whether the compiler implicitly links with -lc since on some
14139       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14140       # to ld, don't add -lc before -lgcc.
14141       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14142 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14143 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14144   $as_echo_n "(cached) " >&6
14145 else
14146   $RM conftest*
14147         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14148
14149         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14150   (eval $ac_compile) 2>&5
14151   ac_status=$?
14152   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14153   test $ac_status = 0; } 2>conftest.err; then
14154           soname=conftest
14155           lib=conftest
14156           libobjs=conftest.$ac_objext
14157           deplibs=
14158           wl=$lt_prog_compiler_wl_CXX
14159           pic_flag=$lt_prog_compiler_pic_CXX
14160           compiler_flags=-v
14161           linker_flags=-v
14162           verstring=
14163           output_objdir=.
14164           libname=conftest
14165           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14166           allow_undefined_flag_CXX=
14167           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14168   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14169   ac_status=$?
14170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14171   test $ac_status = 0; }
14172           then
14173             lt_cv_archive_cmds_need_lc_CXX=no
14174           else
14175             lt_cv_archive_cmds_need_lc_CXX=yes
14176           fi
14177           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14178         else
14179           cat conftest.err 1>&5
14180         fi
14181         $RM conftest*
14182         
14183 fi
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14185 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14186       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14187       ;;
14188     esac
14189   fi
14190   ;;
14191 esac
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14257 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14258
14259 library_names_spec=
14260 libname_spec='lib$name'
14261 soname_spec=
14262 shrext_cmds=".so"
14263 postinstall_cmds=
14264 postuninstall_cmds=
14265 finish_cmds=
14266 finish_eval=
14267 shlibpath_var=
14268 shlibpath_overrides_runpath=unknown
14269 version_type=none
14270 dynamic_linker="$host_os ld.so"
14271 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14272 need_lib_prefix=unknown
14273 hardcode_into_libs=no
14274
14275 # when you set need_version to no, make sure it does not cause -set_version
14276 # flags to be left without arguments
14277 need_version=unknown
14278
14279 case $host_os in
14280 aix3*)
14281   version_type=linux
14282   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14283   shlibpath_var=LIBPATH
14284
14285   # AIX 3 has no versioning support, so we append a major version to the name.
14286   soname_spec='${libname}${release}${shared_ext}$major'
14287   ;;
14288
14289 aix[4-9]*)
14290   version_type=linux
14291   need_lib_prefix=no
14292   need_version=no
14293   hardcode_into_libs=yes
14294   if test "$host_cpu" = ia64; then
14295     # AIX 5 supports IA64
14296     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14297     shlibpath_var=LD_LIBRARY_PATH
14298   else
14299     # With GCC up to 2.95.x, collect2 would create an import file
14300     # for dependence libraries.  The import file would start with
14301     # the line `#! .'.  This would cause the generated library to
14302     # depend on `.', always an invalid library.  This was fixed in
14303     # development snapshots of GCC prior to 3.0.
14304     case $host_os in
14305       aix4 | aix4.[01] | aix4.[01].*)
14306       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14307            echo ' yes '
14308            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14309         :
14310       else
14311         can_build_shared=no
14312       fi
14313       ;;
14314     esac
14315     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14316     # soname into executable. Probably we can add versioning support to
14317     # collect2, so additional links can be useful in future.
14318     if test "$aix_use_runtimelinking" = yes; then
14319       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14320       # instead of lib<name>.a to let people know that these are not
14321       # typical AIX shared libraries.
14322       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323     else
14324       # We preserve .a as extension for shared libraries through AIX4.2
14325       # and later when we are not doing run time linking.
14326       library_names_spec='${libname}${release}.a $libname.a'
14327       soname_spec='${libname}${release}${shared_ext}$major'
14328     fi
14329     shlibpath_var=LIBPATH
14330   fi
14331   ;;
14332
14333 amigaos*)
14334   case $host_cpu in
14335   powerpc)
14336     # Since July 2007 AmigaOS4 officially supports .so libraries.
14337     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14338     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14339     ;;
14340   m68k)
14341     library_names_spec='$libname.ixlibrary $libname.a'
14342     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14343     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14344     ;;
14345   esac
14346   ;;
14347
14348 beos*)
14349   library_names_spec='${libname}${shared_ext}'
14350   dynamic_linker="$host_os ld.so"
14351   shlibpath_var=LIBRARY_PATH
14352   ;;
14353
14354 bsdi[45]*)
14355   version_type=linux
14356   need_version=no
14357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14358   soname_spec='${libname}${release}${shared_ext}$major'
14359   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14360   shlibpath_var=LD_LIBRARY_PATH
14361   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14362   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14363   # the default ld.so.conf also contains /usr/contrib/lib and
14364   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14365   # libtool to hard-code these into programs
14366   ;;
14367
14368 cygwin* | mingw* | pw32* | cegcc*)
14369   version_type=windows
14370   shrext_cmds=".dll"
14371   need_version=no
14372   need_lib_prefix=no
14373
14374   case $GCC,$cc_basename in
14375   yes,*)
14376     # gcc
14377     library_names_spec='$libname.dll.a'
14378     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14379     postinstall_cmds='base_file=`basename \${file}`~
14380       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14381       dldir=$destdir/`dirname \$dlpath`~
14382       test -d \$dldir || mkdir -p \$dldir~
14383       $install_prog $dir/$dlname \$dldir/$dlname~
14384       chmod a+x \$dldir/$dlname~
14385       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14386         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14387       fi'
14388     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14389       dlpath=$dir/\$dldll~
14390        $RM \$dlpath'
14391     shlibpath_overrides_runpath=yes
14392
14393     case $host_os in
14394     cygwin*)
14395       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14396       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14397
14398       ;;
14399     mingw* | cegcc*)
14400       # MinGW DLLs use traditional 'lib' prefix
14401       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14402       ;;
14403     pw32*)
14404       # pw32 DLLs use 'pw' prefix rather than 'lib'
14405       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14406       ;;
14407     esac
14408     dynamic_linker='Win32 ld.exe'
14409     ;;
14410
14411   *,cl*)
14412     # Native MSVC
14413     libname_spec='$name'
14414     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14415     library_names_spec='${libname}.dll.lib'
14416
14417     case $build_os in
14418     mingw*)
14419       sys_lib_search_path_spec=
14420       lt_save_ifs=$IFS
14421       IFS=';'
14422       for lt_path in $LIB
14423       do
14424         IFS=$lt_save_ifs
14425         # Let DOS variable expansion print the short 8.3 style file name.
14426         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14427         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14428       done
14429       IFS=$lt_save_ifs
14430       # Convert to MSYS style.
14431       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14432       ;;
14433     cygwin*)
14434       # Convert to unix form, then to dos form, then back to unix form
14435       # but this time dos style (no spaces!) so that the unix form looks
14436       # like /cygdrive/c/PROGRA~1:/cygdr...
14437       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14438       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14439       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14440       ;;
14441     *)
14442       sys_lib_search_path_spec="$LIB"
14443       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14444         # It is most probably a Windows format PATH.
14445         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14446       else
14447         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14448       fi
14449       # FIXME: find the short name or the path components, as spaces are
14450       # common. (e.g. "Program Files" -> "PROGRA~1")
14451       ;;
14452     esac
14453
14454     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14455     postinstall_cmds='base_file=`basename \${file}`~
14456       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14457       dldir=$destdir/`dirname \$dlpath`~
14458       test -d \$dldir || mkdir -p \$dldir~
14459       $install_prog $dir/$dlname \$dldir/$dlname'
14460     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14461       dlpath=$dir/\$dldll~
14462        $RM \$dlpath'
14463     shlibpath_overrides_runpath=yes
14464     dynamic_linker='Win32 link.exe'
14465     ;;
14466
14467   *)
14468     # Assume MSVC wrapper
14469     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14470     dynamic_linker='Win32 ld.exe'
14471     ;;
14472   esac
14473   # FIXME: first we should search . and the directory the executable is in
14474   shlibpath_var=PATH
14475   ;;
14476
14477 darwin* | rhapsody*)
14478   dynamic_linker="$host_os dyld"
14479   version_type=darwin
14480   need_lib_prefix=no
14481   need_version=no
14482   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14483   soname_spec='${libname}${release}${major}$shared_ext'
14484   shlibpath_overrides_runpath=yes
14485   shlibpath_var=DYLD_LIBRARY_PATH
14486   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14487
14488   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14489   ;;
14490
14491 dgux*)
14492   version_type=linux
14493   need_lib_prefix=no
14494   need_version=no
14495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14496   soname_spec='${libname}${release}${shared_ext}$major'
14497   shlibpath_var=LD_LIBRARY_PATH
14498   ;;
14499
14500 freebsd1*)
14501   dynamic_linker=no
14502   ;;
14503
14504 freebsd* | dragonfly*)
14505   # DragonFly does not have aout.  When/if they implement a new
14506   # versioning mechanism, adjust this.
14507   if test -x /usr/bin/objformat; then
14508     objformat=`/usr/bin/objformat`
14509   else
14510     case $host_os in
14511     freebsd[123]*) objformat=aout ;;
14512     *) objformat=elf ;;
14513     esac
14514   fi
14515   version_type=freebsd-$objformat
14516   case $version_type in
14517     freebsd-elf*)
14518       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14519       need_version=no
14520       need_lib_prefix=no
14521       ;;
14522     freebsd-*)
14523       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14524       need_version=yes
14525       ;;
14526   esac
14527   shlibpath_var=LD_LIBRARY_PATH
14528   case $host_os in
14529   freebsd2*)
14530     shlibpath_overrides_runpath=yes
14531     ;;
14532   freebsd3.[01]* | freebsdelf3.[01]*)
14533     shlibpath_overrides_runpath=yes
14534     hardcode_into_libs=yes
14535     ;;
14536   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14537   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14538     shlibpath_overrides_runpath=no
14539     hardcode_into_libs=yes
14540     ;;
14541   *) # from 4.6 on, and DragonFly
14542     shlibpath_overrides_runpath=yes
14543     hardcode_into_libs=yes
14544     ;;
14545   esac
14546   ;;
14547
14548 gnu*)
14549   version_type=linux
14550   need_lib_prefix=no
14551   need_version=no
14552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14553   soname_spec='${libname}${release}${shared_ext}$major'
14554   shlibpath_var=LD_LIBRARY_PATH
14555   shlibpath_overrides_runpath=no
14556   hardcode_into_libs=yes
14557   ;;
14558
14559 haiku*)
14560   version_type=linux
14561   need_lib_prefix=no
14562   need_version=no
14563   dynamic_linker="$host_os runtime_loader"
14564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14565   soname_spec='${libname}${release}${shared_ext}$major'
14566   shlibpath_var=LIBRARY_PATH
14567   shlibpath_overrides_runpath=yes
14568   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14569   hardcode_into_libs=yes
14570   ;;
14571
14572 hpux9* | hpux10* | hpux11*)
14573   # Give a soname corresponding to the major version so that dld.sl refuses to
14574   # link against other versions.
14575   version_type=sunos
14576   need_lib_prefix=no
14577   need_version=no
14578   case $host_cpu in
14579   ia64*)
14580     shrext_cmds='.so'
14581     hardcode_into_libs=yes
14582     dynamic_linker="$host_os dld.so"
14583     shlibpath_var=LD_LIBRARY_PATH
14584     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14585     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14586     soname_spec='${libname}${release}${shared_ext}$major'
14587     if test "X$HPUX_IA64_MODE" = X32; then
14588       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14589     else
14590       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14591     fi
14592     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14593     ;;
14594   hppa*64*)
14595     shrext_cmds='.sl'
14596     hardcode_into_libs=yes
14597     dynamic_linker="$host_os dld.sl"
14598     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14599     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14600     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14601     soname_spec='${libname}${release}${shared_ext}$major'
14602     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14603     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14604     ;;
14605   *)
14606     shrext_cmds='.sl'
14607     dynamic_linker="$host_os dld.sl"
14608     shlibpath_var=SHLIB_PATH
14609     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14610     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14611     soname_spec='${libname}${release}${shared_ext}$major'
14612     ;;
14613   esac
14614   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14615   postinstall_cmds='chmod 555 $lib'
14616   # or fails outright, so override atomically:
14617   install_override_mode=555
14618   ;;
14619
14620 interix[3-9]*)
14621   version_type=linux
14622   need_lib_prefix=no
14623   need_version=no
14624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14625   soname_spec='${libname}${release}${shared_ext}$major'
14626   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14627   shlibpath_var=LD_LIBRARY_PATH
14628   shlibpath_overrides_runpath=no
14629   hardcode_into_libs=yes
14630   ;;
14631
14632 irix5* | irix6* | nonstopux*)
14633   case $host_os in
14634     nonstopux*) version_type=nonstopux ;;
14635     *)
14636         if test "$lt_cv_prog_gnu_ld" = yes; then
14637                 version_type=linux
14638         else
14639                 version_type=irix
14640         fi ;;
14641   esac
14642   need_lib_prefix=no
14643   need_version=no
14644   soname_spec='${libname}${release}${shared_ext}$major'
14645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14646   case $host_os in
14647   irix5* | nonstopux*)
14648     libsuff= shlibsuff=
14649     ;;
14650   *)
14651     case $LD in # libtool.m4 will add one of these switches to LD
14652     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14653       libsuff= shlibsuff= libmagic=32-bit;;
14654     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14655       libsuff=32 shlibsuff=N32 libmagic=N32;;
14656     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14657       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14658     *) libsuff= shlibsuff= libmagic=never-match;;
14659     esac
14660     ;;
14661   esac
14662   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14663   shlibpath_overrides_runpath=no
14664   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14665   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14666   hardcode_into_libs=yes
14667   ;;
14668
14669 # No shared lib support for Linux oldld, aout, or coff.
14670 linux*oldld* | linux*aout* | linux*coff*)
14671   dynamic_linker=no
14672   ;;
14673
14674 # This must be Linux ELF.
14675 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14676   version_type=linux
14677   need_lib_prefix=no
14678   need_version=no
14679   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14680   soname_spec='${libname}${release}${shared_ext}$major'
14681   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14682   shlibpath_var=LD_LIBRARY_PATH
14683   shlibpath_overrides_runpath=no
14684
14685   # Some binutils ld are patched to set DT_RUNPATH
14686   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14687   $as_echo_n "(cached) " >&6
14688 else
14689   lt_cv_shlibpath_overrides_runpath=no
14690     save_LDFLAGS=$LDFLAGS
14691     save_libdir=$libdir
14692     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14693          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14694     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h.  */
14696
14697 int
14698 main ()
14699 {
14700
14701   ;
14702   return 0;
14703 }
14704 _ACEOF
14705 if ac_fn_cxx_try_link "$LINENO"; then :
14706   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14707   lt_cv_shlibpath_overrides_runpath=yes
14708 fi
14709 fi
14710 rm -f core conftest.err conftest.$ac_objext \
14711     conftest$ac_exeext conftest.$ac_ext
14712     LDFLAGS=$save_LDFLAGS
14713     libdir=$save_libdir
14714     
14715 fi
14716
14717   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14718
14719   # This implies no fast_install, which is unacceptable.
14720   # Some rework will be needed to allow for fast_install
14721   # before this can be enabled.
14722   hardcode_into_libs=yes
14723
14724   # Append ld.so.conf contents to the search path
14725   if test -f /etc/ld.so.conf; then
14726     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' ' '`
14727     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14728   fi
14729
14730   # We used to test for /lib/ld.so.1 and disable shared libraries on
14731   # powerpc, because MkLinux only supported shared libraries with the
14732   # GNU dynamic linker.  Since this was broken with cross compilers,
14733   # most powerpc-linux boxes support dynamic linking these days and
14734   # people can always --disable-shared, the test was removed, and we
14735   # assume the GNU/Linux dynamic linker is in use.
14736   dynamic_linker='GNU/Linux ld.so'
14737   ;;
14738
14739 netbsdelf*-gnu)
14740   version_type=linux
14741   need_lib_prefix=no
14742   need_version=no
14743   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14744   soname_spec='${libname}${release}${shared_ext}$major'
14745   shlibpath_var=LD_LIBRARY_PATH
14746   shlibpath_overrides_runpath=no
14747   hardcode_into_libs=yes
14748   dynamic_linker='NetBSD ld.elf_so'
14749   ;;
14750
14751 netbsd*)
14752   version_type=sunos
14753   need_lib_prefix=no
14754   need_version=no
14755   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14756     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14757     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14758     dynamic_linker='NetBSD (a.out) ld.so'
14759   else
14760     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14761     soname_spec='${libname}${release}${shared_ext}$major'
14762     dynamic_linker='NetBSD ld.elf_so'
14763   fi
14764   shlibpath_var=LD_LIBRARY_PATH
14765   shlibpath_overrides_runpath=yes
14766   hardcode_into_libs=yes
14767   ;;
14768
14769 newsos6)
14770   version_type=linux
14771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14772   shlibpath_var=LD_LIBRARY_PATH
14773   shlibpath_overrides_runpath=yes
14774   ;;
14775
14776 *nto* | *qnx*)
14777   version_type=qnx
14778   need_lib_prefix=no
14779   need_version=no
14780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14781   soname_spec='${libname}${release}${shared_ext}$major'
14782   shlibpath_var=LD_LIBRARY_PATH
14783   shlibpath_overrides_runpath=no
14784   hardcode_into_libs=yes
14785   dynamic_linker='ldqnx.so'
14786   ;;
14787
14788 openbsd*)
14789   version_type=sunos
14790   sys_lib_dlsearch_path_spec="/usr/lib"
14791   need_lib_prefix=no
14792   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14793   case $host_os in
14794     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14795     *)                          need_version=no  ;;
14796   esac
14797   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14798   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14799   shlibpath_var=LD_LIBRARY_PATH
14800   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14801     case $host_os in
14802       openbsd2.[89] | openbsd2.[89].*)
14803         shlibpath_overrides_runpath=no
14804         ;;
14805       *)
14806         shlibpath_overrides_runpath=yes
14807         ;;
14808       esac
14809   else
14810     shlibpath_overrides_runpath=yes
14811   fi
14812   ;;
14813
14814 os2*)
14815   libname_spec='$name'
14816   shrext_cmds=".dll"
14817   need_lib_prefix=no
14818   library_names_spec='$libname${shared_ext} $libname.a'
14819   dynamic_linker='OS/2 ld.exe'
14820   shlibpath_var=LIBPATH
14821   ;;
14822
14823 osf3* | osf4* | osf5*)
14824   version_type=osf
14825   need_lib_prefix=no
14826   need_version=no
14827   soname_spec='${libname}${release}${shared_ext}$major'
14828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14829   shlibpath_var=LD_LIBRARY_PATH
14830   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14831   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14832   ;;
14833
14834 rdos*)
14835   dynamic_linker=no
14836   ;;
14837
14838 solaris*)
14839   version_type=linux
14840   need_lib_prefix=no
14841   need_version=no
14842   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14843   soname_spec='${libname}${release}${shared_ext}$major'
14844   shlibpath_var=LD_LIBRARY_PATH
14845   shlibpath_overrides_runpath=yes
14846   hardcode_into_libs=yes
14847   # ldd complains unless libraries are executable
14848   postinstall_cmds='chmod +x $lib'
14849   ;;
14850
14851 sunos4*)
14852   version_type=sunos
14853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14854   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14855   shlibpath_var=LD_LIBRARY_PATH
14856   shlibpath_overrides_runpath=yes
14857   if test "$with_gnu_ld" = yes; then
14858     need_lib_prefix=no
14859   fi
14860   need_version=yes
14861   ;;
14862
14863 sysv4 | sysv4.3*)
14864   version_type=linux
14865   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14866   soname_spec='${libname}${release}${shared_ext}$major'
14867   shlibpath_var=LD_LIBRARY_PATH
14868   case $host_vendor in
14869     sni)
14870       shlibpath_overrides_runpath=no
14871       need_lib_prefix=no
14872       runpath_var=LD_RUN_PATH
14873       ;;
14874     siemens)
14875       need_lib_prefix=no
14876       ;;
14877     motorola)
14878       need_lib_prefix=no
14879       need_version=no
14880       shlibpath_overrides_runpath=no
14881       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14882       ;;
14883   esac
14884   ;;
14885
14886 sysv4*MP*)
14887   if test -d /usr/nec ;then
14888     version_type=linux
14889     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14890     soname_spec='$libname${shared_ext}.$major'
14891     shlibpath_var=LD_LIBRARY_PATH
14892   fi
14893   ;;
14894
14895 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14896   version_type=freebsd-elf
14897   need_lib_prefix=no
14898   need_version=no
14899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14900   soname_spec='${libname}${release}${shared_ext}$major'
14901   shlibpath_var=LD_LIBRARY_PATH
14902   shlibpath_overrides_runpath=yes
14903   hardcode_into_libs=yes
14904   if test "$with_gnu_ld" = yes; then
14905     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14906   else
14907     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14908     case $host_os in
14909       sco3.2v5*)
14910         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14911         ;;
14912     esac
14913   fi
14914   sys_lib_dlsearch_path_spec='/usr/lib'
14915   ;;
14916
14917 tpf*)
14918   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14919   version_type=linux
14920   need_lib_prefix=no
14921   need_version=no
14922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14923   shlibpath_var=LD_LIBRARY_PATH
14924   shlibpath_overrides_runpath=no
14925   hardcode_into_libs=yes
14926   ;;
14927
14928 uts4*)
14929   version_type=linux
14930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14931   soname_spec='${libname}${release}${shared_ext}$major'
14932   shlibpath_var=LD_LIBRARY_PATH
14933   ;;
14934
14935 *)
14936   dynamic_linker=no
14937   ;;
14938 esac
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14940 $as_echo "$dynamic_linker" >&6; }
14941 test "$dynamic_linker" = no && can_build_shared=no
14942
14943 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14944 if test "$GCC" = yes; then
14945   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14946 fi
14947
14948 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14949   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14950 fi
14951 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14952   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14953 fi
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14993 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14994 hardcode_action_CXX=
14995 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14996    test -n "$runpath_var_CXX" ||
14997    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14998
14999   # We can hardcode non-existent directories.
15000   if test "$hardcode_direct_CXX" != no &&
15001      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15002      # have to relink, otherwise we might link with an installed library
15003      # when we should be linking with a yet-to-be-installed one
15004      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15005      test "$hardcode_minus_L_CXX" != no; then
15006     # Linking always hardcodes the temporary library directory.
15007     hardcode_action_CXX=relink
15008   else
15009     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15010     hardcode_action_CXX=immediate
15011   fi
15012 else
15013   # We cannot hardcode anything, or else we can only hardcode existing
15014   # directories.
15015   hardcode_action_CXX=unsupported
15016 fi
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15018 $as_echo "$hardcode_action_CXX" >&6; }
15019
15020 if test "$hardcode_action_CXX" = relink ||
15021    test "$inherit_rpath_CXX" = yes; then
15022   # Fast installation is not supported
15023   enable_fast_install=no
15024 elif test "$shlibpath_overrides_runpath" = yes ||
15025      test "$enable_shared" = no; then
15026   # Fast installation is not necessary
15027   enable_fast_install=needless
15028 fi
15029
15030
15031
15032
15033     
15034
15035
15036   fi # test -n "$compiler"
15037
15038   CC=$lt_save_CC
15039   CFLAGS=$lt_save_CFLAGS
15040   LDCXX=$LD
15041   LD=$lt_save_LD
15042   GCC=$lt_save_GCC
15043   with_gnu_ld=$lt_save_with_gnu_ld
15044   lt_cv_path_LDCXX=$lt_cv_path_LD
15045   lt_cv_path_LD=$lt_save_path_LD
15046   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15047   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15048 fi # test "$_lt_caught_CXX_error" != yes
15049
15050 ac_ext=cpp
15051 ac_cpp='$CXXCPP $CPPFLAGS'
15052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15055
15056
15057
15058
15059
15060
15061
15062
15063        
15064        
15065
15066
15067
15068         ac_config_commands="$ac_config_commands libtool"
15069
15070
15071
15072
15073 # Only expand once:
15074
15075
15076
15077 # Checks for libraries.
15078 # FIXME: Replace `main' with a function in `-lAXE':
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lAXE" >&5
15080 $as_echo_n "checking for main in -lAXE... " >&6; }
15081 if ${ac_cv_lib_AXE_main+:} false; then :
15082   $as_echo_n "(cached) " >&6
15083 else
15084   ac_check_lib_save_LIBS=$LIBS
15085 LIBS="-lAXE  $LIBS"
15086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15087 /* end confdefs.h.  */
15088
15089
15090 int
15091 main ()
15092 {
15093 return main ();
15094   ;
15095   return 0;
15096 }
15097 _ACEOF
15098 if ac_fn_cxx_try_link "$LINENO"; then :
15099   ac_cv_lib_AXE_main=yes
15100 else
15101   ac_cv_lib_AXE_main=no
15102 fi
15103 rm -f core conftest.err conftest.$ac_objext \
15104     conftest$ac_exeext conftest.$ac_ext
15105 LIBS=$ac_check_lib_save_LIBS
15106 fi
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_AXE_main" >&5
15108 $as_echo "$ac_cv_lib_AXE_main" >&6; }
15109 if test "x$ac_cv_lib_AXE_main" = xyes; then :
15110   cat >>confdefs.h <<_ACEOF
15111 @%:@define HAVE_LIBAXE 1
15112 _ACEOF
15113
15114   LIBS="-lAXE $LIBS"
15115
15116 fi
15117
15118
15119 # Checks for header files.
15120
15121 for ac_header in arpa/inet.h netdb.h sys/socket.h
15122 do :
15123   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15124 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15125 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15126   cat >>confdefs.h <<_ACEOF
15127 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15128 _ACEOF
15129  
15130 fi
15131
15132 done
15133
15134
15135 # Checks for typedefs, structures, and compiler characteristics.
15136 ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15137 if test "x$ac_cv_type_size_t" = xyes; then :
15138   
15139 else
15140   
15141 cat >>confdefs.h <<_ACEOF
15142 @%:@define size_t unsigned int
15143 _ACEOF
15144
15145 fi
15146
15147 ac_fn_cxx_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15148 if test "x$ac_cv_type_ssize_t" = xyes; then :
15149   
15150 else
15151   
15152 cat >>confdefs.h <<_ACEOF
15153 @%:@define ssize_t int
15154 _ACEOF
15155
15156 fi
15157
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
15159 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
15160 if ${ac_cv_header_stdbool_h+:} false; then :
15161   $as_echo_n "(cached) " >&6
15162 else
15163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h.  */
15165
15166 #include <stdbool.h>
15167 #ifndef bool
15168  "error: bool is not defined"
15169 #endif
15170 #ifndef false
15171  "error: false is not defined"
15172 #endif
15173 #if false
15174  "error: false is not 0"
15175 #endif
15176 #ifndef true
15177  "error: true is not defined"
15178 #endif
15179 #if true != 1
15180  "error: true is not 1"
15181 #endif
15182 #ifndef __bool_true_false_are_defined
15183  "error: __bool_true_false_are_defined is not defined"
15184 #endif
15185
15186         struct s { _Bool s: 1; _Bool t; } s;
15187
15188         char a[true == 1 ? 1 : -1];
15189         char b[false == 0 ? 1 : -1];
15190         char c[__bool_true_false_are_defined == 1 ? 1 : -1];
15191         char d[(bool) 0.5 == true ? 1 : -1];
15192         /* See body of main program for 'e'.  */
15193         char f[(_Bool) 0.0 == false ? 1 : -1];
15194         char g[true];
15195         char h[sizeof (_Bool)];
15196         char i[sizeof s.t];
15197         enum { j = false, k = true, l = false * true, m = true * 256 };
15198         /* The following fails for
15199            HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
15200         _Bool n[m];
15201         char o[sizeof n == m * sizeof n[0] ? 1 : -1];
15202         char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
15203         /* Catch a bug in an HP-UX C compiler.  See
15204            http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
15205            http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
15206          */
15207         _Bool q = true;
15208         _Bool *pq = &q;
15209       
15210 int
15211 main ()
15212 {
15213
15214         bool e = &s;
15215         *pq |= q;
15216         *pq |= ! q;
15217         /* Refer to every declared value, to avoid compiler optimizations.  */
15218         return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
15219                 + !m + !n + !o + !p + !q + !pq);
15220       
15221   ;
15222   return 0;
15223 }
15224 _ACEOF
15225 if ac_fn_cxx_try_compile "$LINENO"; then :
15226   ac_cv_header_stdbool_h=yes
15227 else
15228   ac_cv_header_stdbool_h=no
15229 fi
15230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15231 fi
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15233 $as_echo "$ac_cv_header_stdbool_h" >&6; }
15234 ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
15235 if test "x$ac_cv_type__Bool" = xyes; then :
15236   
15237 cat >>confdefs.h <<_ACEOF
15238 @%:@define HAVE__BOOL 1
15239 _ACEOF
15240
15241
15242 fi
15243
15244 if test $ac_cv_header_stdbool_h = yes; then
15245   
15246 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
15247
15248 fi
15249
15250
15251 # Checks for library functions.
15252 for ac_func in socket strchr
15253 do :
15254   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15255 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15256 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15257   cat >>confdefs.h <<_ACEOF
15258 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15259 _ACEOF
15260  
15261 fi
15262 done
15263
15264
15265 ac_config_files="$ac_config_files Makefile doc/Makefile test/Makefile src/Makefile"
15266
15267 cat >confcache <<\_ACEOF
15268 # This file is a shell script that caches the results of configure
15269 # tests run on this system so they can be shared between configure
15270 # scripts and configure runs, see configure's option --config-cache.
15271 # It is not useful on other systems.  If it contains results you don't
15272 # want to keep, you may remove or edit it.
15273 #
15274 # config.status only pays attention to the cache file if you give it
15275 # the --recheck option to rerun configure.
15276 #
15277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15279 # following values.
15280
15281 _ACEOF
15282
15283 # The following way of writing the cache mishandles newlines in values,
15284 # but we know of no workaround that is simple, portable, and efficient.
15285 # So, we kill variables containing newlines.
15286 # Ultrix sh set writes to stderr and can't be redirected directly,
15287 # and sets the high bit in the cache file unless we assign to the vars.
15288 (
15289   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15290     eval ac_val=\$$ac_var
15291     case $ac_val in #(
15292     *${as_nl}*)
15293       case $ac_var in #(
15294       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15296       esac
15297       case $ac_var in #(
15298       _ | IFS | as_nl) ;; #(
15299       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15300       *) { eval $ac_var=; unset $ac_var;} ;;
15301       esac ;;
15302     esac
15303   done
15304
15305   (set) 2>&1 |
15306     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15307     *${as_nl}ac_space=\ *)
15308       # `set' does not quote correctly, so add quotes: double-quote
15309       # substitution turns \\\\ into \\, and sed turns \\ into \.
15310       sed -n \
15311         "s/'/'\\\\''/g;
15312           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15313       ;; #(
15314     *)
15315       # `set' quotes correctly as required by POSIX, so do not add quotes.
15316       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15317       ;;
15318     esac |
15319     sort
15320 ) |
15321   sed '
15322      /^ac_cv_env_/b end
15323      t clear
15324      :clear
15325      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15326      t end
15327      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15328      :end' >>confcache
15329 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15330   if test -w "$cache_file"; then
15331     if test "x$cache_file" != "x/dev/null"; then
15332       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15333 $as_echo "$as_me: updating cache $cache_file" >&6;}
15334       if test ! -f "$cache_file" || test -h "$cache_file"; then
15335         cat confcache >"$cache_file"
15336       else
15337         case $cache_file in #(
15338         */* | ?:*)
15339           mv -f confcache "$cache_file"$$ &&
15340           mv -f "$cache_file"$$ "$cache_file" ;; #(
15341         *)
15342           mv -f confcache "$cache_file" ;;
15343         esac
15344       fi
15345     fi
15346   else
15347     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15348 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15349   fi
15350 fi
15351 rm -f confcache
15352
15353 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15354 # Let make expand exec_prefix.
15355 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15356
15357 DEFS=-DHAVE_CONFIG_H
15358
15359 ac_libobjs=
15360 ac_ltlibobjs=
15361 U=
15362 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15363   # 1. Remove the extension, and $U if already installed.
15364   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15365   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15366   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15367   #    will be set to the directory where LIBOBJS objects are built.
15368   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15369   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15370 done
15371 LIB@&t@OBJS=$ac_libobjs
15372
15373 LTLIBOBJS=$ac_ltlibobjs
15374
15375
15376  if test -n "$EXEEXT"; then
15377   am__EXEEXT_TRUE=
15378   am__EXEEXT_FALSE='#'
15379 else
15380   am__EXEEXT_TRUE='#'
15381   am__EXEEXT_FALSE=
15382 fi
15383
15384 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15385   as_fn_error $? "conditional \"AMDEP\" was never defined.
15386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15387 fi
15388 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15389   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15391 fi
15392 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15393   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15395 fi
15396
15397 : "${CONFIG_STATUS=./config.status}"
15398 ac_write_fail=0
15399 ac_clean_files_save=$ac_clean_files
15400 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15402 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15403 as_write_fail=0
15404 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15405 #! $SHELL
15406 # Generated by $as_me.
15407 # Run this file to recreate the current configuration.
15408 # Compiler output produced by configure, useful for debugging
15409 # configure, is in config.log if it exists.
15410
15411 debug=false
15412 ac_cs_recheck=false
15413 ac_cs_silent=false
15414
15415 SHELL=\${CONFIG_SHELL-$SHELL}
15416 export SHELL
15417 _ASEOF
15418 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15419 ## -------------------- ##
15420 ## M4sh Initialization. ##
15421 ## -------------------- ##
15422
15423 # Be more Bourne compatible
15424 DUALCASE=1; export DUALCASE # for MKS sh
15425 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15426   emulate sh
15427   NULLCMD=:
15428   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15429   # is contrary to our usage.  Disable this feature.
15430   alias -g '${1+"$@"}'='"$@"'
15431   setopt NO_GLOB_SUBST
15432 else
15433   case `(set -o) 2>/dev/null` in @%:@(
15434   *posix*) :
15435     set -o posix ;; @%:@(
15436   *) :
15437      ;;
15438 esac
15439 fi
15440
15441
15442 as_nl='
15443 '
15444 export as_nl
15445 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15446 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15447 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15448 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15449 # Prefer a ksh shell builtin over an external printf program on Solaris,
15450 # but without wasting forks for bash or zsh.
15451 if test -z "$BASH_VERSION$ZSH_VERSION" \
15452     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15453   as_echo='print -r --'
15454   as_echo_n='print -rn --'
15455 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15456   as_echo='printf %s\n'
15457   as_echo_n='printf %s'
15458 else
15459   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15460     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15461     as_echo_n='/usr/ucb/echo -n'
15462   else
15463     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15464     as_echo_n_body='eval
15465       arg=$1;
15466       case $arg in @%:@(
15467       *"$as_nl"*)
15468         expr "X$arg" : "X\\(.*\\)$as_nl";
15469         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15470       esac;
15471       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15472     '
15473     export as_echo_n_body
15474     as_echo_n='sh -c $as_echo_n_body as_echo'
15475   fi
15476   export as_echo_body
15477   as_echo='sh -c $as_echo_body as_echo'
15478 fi
15479
15480 # The user is always right.
15481 if test "${PATH_SEPARATOR+set}" != set; then
15482   PATH_SEPARATOR=:
15483   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15484     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15485       PATH_SEPARATOR=';'
15486   }
15487 fi
15488
15489
15490 # IFS
15491 # We need space, tab and new line, in precisely that order.  Quoting is
15492 # there to prevent editors from complaining about space-tab.
15493 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15494 # splitting by setting IFS to empty value.)
15495 IFS=" ""        $as_nl"
15496
15497 # Find who we are.  Look in the path if we contain no directory separator.
15498 as_myself=
15499 case $0 in @%:@((
15500   *[\\/]* ) as_myself=$0 ;;
15501   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15502 for as_dir in $PATH
15503 do
15504   IFS=$as_save_IFS
15505   test -z "$as_dir" && as_dir=.
15506     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15507   done
15508 IFS=$as_save_IFS
15509
15510      ;;
15511 esac
15512 # We did not find ourselves, most probably we were run as `sh COMMAND'
15513 # in which case we are not to be found in the path.
15514 if test "x$as_myself" = x; then
15515   as_myself=$0
15516 fi
15517 if test ! -f "$as_myself"; then
15518   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15519   exit 1
15520 fi
15521
15522 # Unset variables that we do not need and which cause bugs (e.g. in
15523 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15524 # suppresses any "Segmentation fault" message there.  '((' could
15525 # trigger a bug in pdksh 5.2.14.
15526 for as_var in BASH_ENV ENV MAIL MAILPATH
15527 do eval test x\${$as_var+set} = xset \
15528   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15529 done
15530 PS1='$ '
15531 PS2='> '
15532 PS4='+ '
15533
15534 # NLS nuisances.
15535 LC_ALL=C
15536 export LC_ALL
15537 LANGUAGE=C
15538 export LANGUAGE
15539
15540 # CDPATH.
15541 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15542
15543
15544 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15545 @%:@ ----------------------------------------
15546 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15547 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15548 @%:@ script with STATUS, using 1 if that was 0.
15549 as_fn_error ()
15550 {
15551   as_status=$1; test $as_status -eq 0 && as_status=1
15552   if test "$4"; then
15553     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15554     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15555   fi
15556   $as_echo "$as_me: error: $2" >&2
15557   as_fn_exit $as_status
15558 } @%:@ as_fn_error
15559
15560
15561 @%:@ as_fn_set_status STATUS
15562 @%:@ -----------------------
15563 @%:@ Set @S|@? to STATUS, without forking.
15564 as_fn_set_status ()
15565 {
15566   return $1
15567 } @%:@ as_fn_set_status
15568
15569 @%:@ as_fn_exit STATUS
15570 @%:@ -----------------
15571 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15572 as_fn_exit ()
15573 {
15574   set +e
15575   as_fn_set_status $1
15576   exit $1
15577 } @%:@ as_fn_exit
15578
15579 @%:@ as_fn_unset VAR
15580 @%:@ ---------------
15581 @%:@ Portably unset VAR.
15582 as_fn_unset ()
15583 {
15584   { eval $1=; unset $1;}
15585 }
15586 as_unset=as_fn_unset
15587 @%:@ as_fn_append VAR VALUE
15588 @%:@ ----------------------
15589 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15590 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15591 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15592 @%:@ implementations.
15593 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15594   eval 'as_fn_append ()
15595   {
15596     eval $1+=\$2
15597   }'
15598 else
15599   as_fn_append ()
15600   {
15601     eval $1=\$$1\$2
15602   }
15603 fi # as_fn_append
15604
15605 @%:@ as_fn_arith ARG...
15606 @%:@ ------------------
15607 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15608 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15609 @%:@ must be portable across @S|@(()) and expr.
15610 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15611   eval 'as_fn_arith ()
15612   {
15613     as_val=$(( $* ))
15614   }'
15615 else
15616   as_fn_arith ()
15617   {
15618     as_val=`expr "$@" || test $? -eq 1`
15619   }
15620 fi # as_fn_arith
15621
15622
15623 if expr a : '\(a\)' >/dev/null 2>&1 &&
15624    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15625   as_expr=expr
15626 else
15627   as_expr=false
15628 fi
15629
15630 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15631   as_basename=basename
15632 else
15633   as_basename=false
15634 fi
15635
15636 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15637   as_dirname=dirname
15638 else
15639   as_dirname=false
15640 fi
15641
15642 as_me=`$as_basename -- "$0" ||
15643 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15644          X"$0" : 'X\(//\)$' \| \
15645          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15646 $as_echo X/"$0" |
15647     sed '/^.*\/\([^/][^/]*\)\/*$/{
15648             s//\1/
15649             q
15650           }
15651           /^X\/\(\/\/\)$/{
15652             s//\1/
15653             q
15654           }
15655           /^X\/\(\/\).*/{
15656             s//\1/
15657             q
15658           }
15659           s/.*/./; q'`
15660
15661 # Avoid depending upon Character Ranges.
15662 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15663 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15664 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15665 as_cr_digits='0123456789'
15666 as_cr_alnum=$as_cr_Letters$as_cr_digits
15667
15668 ECHO_C= ECHO_N= ECHO_T=
15669 case `echo -n x` in @%:@(((((
15670 -n*)
15671   case `echo 'xy\c'` in
15672   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15673   xy)  ECHO_C='\c';;
15674   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15675        ECHO_T=' ';;
15676   esac;;
15677 *)
15678   ECHO_N='-n';;
15679 esac
15680
15681 rm -f conf$$ conf$$.exe conf$$.file
15682 if test -d conf$$.dir; then
15683   rm -f conf$$.dir/conf$$.file
15684 else
15685   rm -f conf$$.dir
15686   mkdir conf$$.dir 2>/dev/null
15687 fi
15688 if (echo >conf$$.file) 2>/dev/null; then
15689   if ln -s conf$$.file conf$$ 2>/dev/null; then
15690     as_ln_s='ln -s'
15691     # ... but there are two gotchas:
15692     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15693     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15694     # In both cases, we have to default to `cp -p'.
15695     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15696       as_ln_s='cp -p'
15697   elif ln conf$$.file conf$$ 2>/dev/null; then
15698     as_ln_s=ln
15699   else
15700     as_ln_s='cp -p'
15701   fi
15702 else
15703   as_ln_s='cp -p'
15704 fi
15705 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15706 rmdir conf$$.dir 2>/dev/null
15707
15708
15709 @%:@ as_fn_mkdir_p
15710 @%:@ -------------
15711 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15712 as_fn_mkdir_p ()
15713 {
15714
15715   case $as_dir in #(
15716   -*) as_dir=./$as_dir;;
15717   esac
15718   test -d "$as_dir" || eval $as_mkdir_p || {
15719     as_dirs=
15720     while :; do
15721       case $as_dir in #(
15722       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15723       *) as_qdir=$as_dir;;
15724       esac
15725       as_dirs="'$as_qdir' $as_dirs"
15726       as_dir=`$as_dirname -- "$as_dir" ||
15727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15728          X"$as_dir" : 'X\(//\)[^/]' \| \
15729          X"$as_dir" : 'X\(//\)$' \| \
15730          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15731 $as_echo X"$as_dir" |
15732     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15733             s//\1/
15734             q
15735           }
15736           /^X\(\/\/\)[^/].*/{
15737             s//\1/
15738             q
15739           }
15740           /^X\(\/\/\)$/{
15741             s//\1/
15742             q
15743           }
15744           /^X\(\/\).*/{
15745             s//\1/
15746             q
15747           }
15748           s/.*/./; q'`
15749       test -d "$as_dir" && break
15750     done
15751     test -z "$as_dirs" || eval "mkdir $as_dirs"
15752   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15753
15754
15755 } @%:@ as_fn_mkdir_p
15756 if mkdir -p . 2>/dev/null; then
15757   as_mkdir_p='mkdir -p "$as_dir"'
15758 else
15759   test -d ./-p && rmdir ./-p
15760   as_mkdir_p=false
15761 fi
15762
15763 if test -x / >/dev/null 2>&1; then
15764   as_test_x='test -x'
15765 else
15766   if ls -dL / >/dev/null 2>&1; then
15767     as_ls_L_option=L
15768   else
15769     as_ls_L_option=
15770   fi
15771   as_test_x='
15772     eval sh -c '\''
15773       if test -d "$1"; then
15774         test -d "$1/.";
15775       else
15776         case $1 in @%:@(
15777         -*)set "./$1";;
15778         esac;
15779         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
15780         ???[sx]*):;;*)false;;esac;fi
15781     '\'' sh
15782   '
15783 fi
15784 as_executable_p=$as_test_x
15785
15786 # Sed expression to map a string onto a valid CPP name.
15787 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15788
15789 # Sed expression to map a string onto a valid variable name.
15790 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15791
15792
15793 exec 6>&1
15794 ## ----------------------------------- ##
15795 ## Main body of $CONFIG_STATUS script. ##
15796 ## ----------------------------------- ##
15797 _ASEOF
15798 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15799
15800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15801 # Save the log message, to keep $0 and so on meaningful, and to
15802 # report actual input values of CONFIG_FILES etc. instead of their
15803 # values after options handling.
15804 ac_log="
15805 This file was extended by libsockstream $as_me 0.1, which was
15806 generated by GNU Autoconf 2.68.  Invocation command line was
15807
15808   CONFIG_FILES    = $CONFIG_FILES
15809   CONFIG_HEADERS  = $CONFIG_HEADERS
15810   CONFIG_LINKS    = $CONFIG_LINKS
15811   CONFIG_COMMANDS = $CONFIG_COMMANDS
15812   $ $0 $@
15813
15814 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15815 "
15816
15817 _ACEOF
15818
15819 case $ac_config_files in *"
15820 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15821 esac
15822
15823 case $ac_config_headers in *"
15824 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15825 esac
15826
15827
15828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15829 # Files that config.status was made for.
15830 config_files="$ac_config_files"
15831 config_headers="$ac_config_headers"
15832 config_commands="$ac_config_commands"
15833
15834 _ACEOF
15835
15836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15837 ac_cs_usage="\
15838 \`$as_me' instantiates files and other configuration actions
15839 from templates according to the current configuration.  Unless the files
15840 and actions are specified as TAGs, all are instantiated by default.
15841
15842 Usage: $0 [OPTION]... [TAG]...
15843
15844   -h, --help       print this help, then exit
15845   -V, --version    print version number and configuration settings, then exit
15846       --config     print configuration, then exit
15847   -q, --quiet, --silent
15848                    do not print progress messages
15849   -d, --debug      don't remove temporary files
15850       --recheck    update $as_me by reconfiguring in the same conditions
15851       --file=FILE[:TEMPLATE] 
15852                    instantiate the configuration file FILE
15853       --header=FILE[:TEMPLATE] 
15854                    instantiate the configuration header FILE
15855
15856 Configuration files:
15857 $config_files
15858
15859 Configuration headers:
15860 $config_headers
15861
15862 Configuration commands:
15863 $config_commands
15864
15865 Report bugs to <arjen@andromeda.nl>."
15866
15867 _ACEOF
15868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15869 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15870 ac_cs_version="\\
15871 libsockstream config.status 0.1
15872 configured by $0, generated by GNU Autoconf 2.68,
15873   with options \\"\$ac_cs_config\\"
15874
15875 Copyright (C) 2010 Free Software Foundation, Inc.
15876 This config.status script is free software; the Free Software Foundation
15877 gives unlimited permission to copy, distribute and modify it."
15878
15879 ac_pwd='$ac_pwd'
15880 srcdir='$srcdir'
15881 INSTALL='$INSTALL'
15882 MKDIR_P='$MKDIR_P'
15883 AWK='$AWK'
15884 test -n "\$AWK" || AWK=awk
15885 _ACEOF
15886
15887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15888 # The default lists apply if the user does not specify any file.
15889 ac_need_defaults=:
15890 while test $# != 0
15891 do
15892   case $1 in
15893   --*=?*)
15894     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15895     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15896     ac_shift=:
15897     ;;
15898   --*=)
15899     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15900     ac_optarg=
15901     ac_shift=:
15902     ;;
15903   *)
15904     ac_option=$1
15905     ac_optarg=$2
15906     ac_shift=shift
15907     ;;
15908   esac
15909
15910   case $ac_option in
15911   # Handling of the options.
15912   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15913     ac_cs_recheck=: ;;
15914   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15915     $as_echo "$ac_cs_version"; exit ;;
15916   --config | --confi | --conf | --con | --co | --c )
15917     $as_echo "$ac_cs_config"; exit ;;
15918   --debug | --debu | --deb | --de | --d | -d )
15919     debug=: ;;
15920   --file | --fil | --fi | --f )
15921     $ac_shift
15922     case $ac_optarg in
15923     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15924     '') as_fn_error $? "missing file argument" ;;
15925     esac
15926     as_fn_append CONFIG_FILES " '$ac_optarg'"
15927     ac_need_defaults=false;;
15928   --header | --heade | --head | --hea )
15929     $ac_shift
15930     case $ac_optarg in
15931     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15932     esac
15933     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15934     ac_need_defaults=false;;
15935   --he | --h)
15936     # Conflict between --help and --header
15937     as_fn_error $? "ambiguous option: \`$1'
15938 Try \`$0 --help' for more information.";;
15939   --help | --hel | -h )
15940     $as_echo "$ac_cs_usage"; exit ;;
15941   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15942   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15943     ac_cs_silent=: ;;
15944
15945   # This is an error.
15946   -*) as_fn_error $? "unrecognized option: \`$1'
15947 Try \`$0 --help' for more information." ;;
15948
15949   *) as_fn_append ac_config_targets " $1"
15950      ac_need_defaults=false ;;
15951
15952   esac
15953   shift
15954 done
15955
15956 ac_configure_extra_args=
15957
15958 if $ac_cs_silent; then
15959   exec 6>/dev/null
15960   ac_configure_extra_args="$ac_configure_extra_args --silent"
15961 fi
15962
15963 _ACEOF
15964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15965 if \$ac_cs_recheck; then
15966   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15967   shift
15968   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15969   CONFIG_SHELL='$SHELL'
15970   export CONFIG_SHELL
15971   exec "\$@"
15972 fi
15973
15974 _ACEOF
15975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15976 exec 5>>config.log
15977 {
15978   echo
15979   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
15980 @%:@@%:@ Running $as_me. @%:@@%:@
15981 _ASBOX
15982   $as_echo "$ac_log"
15983 } >&5
15984
15985 _ACEOF
15986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15987 #
15988 # INIT-COMMANDS
15989 #
15990 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15991
15992
15993 # The HP-UX ksh and POSIX shell print the target directory to stdout
15994 # if CDPATH is set.
15995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15996
15997 sed_quote_subst='$sed_quote_subst'
15998 double_quote_subst='$double_quote_subst'
15999 delay_variable_subst='$delay_variable_subst'
16000 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16001 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16002 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16003 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16004 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16005 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16006 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16007 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16008 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16009 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16010 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16011 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16012 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16013 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16014 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16015 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16016 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16017 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16018 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16019 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16020 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16021 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16022 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16023 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16024 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16025 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16026 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16027 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16028 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16029 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16030 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16031 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16032 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16033 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16034 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16035 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16036 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16037 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16038 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16039 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16040 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16041 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16042 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16043 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16044 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16045 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16046 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16047 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16048 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16049 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16050 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16051 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16052 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16053 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16054 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16055 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"`'
16056 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16057 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16058 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16059 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16060 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16061 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16062 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16063 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16064 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16065 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16066 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16067 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16068 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16069 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16070 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16071 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16072 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16073 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16074 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16075 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16076 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16077 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16078 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16079 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16080 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16081 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16082 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16083 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16084 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16085 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16086 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16087 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16088 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16089 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16090 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16091 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16092 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16093 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16094 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16095 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16096 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16097 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16098 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16099 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16100 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16101 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16102 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16103 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16104 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16105 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16106 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16107 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16108 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16109 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16110 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16111 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16112 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16113 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16114 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16115 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16116 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16117 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16118 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16119 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16120 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16121 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16122 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16123 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16124 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16125 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16126 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16127 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16128 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16129 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16130 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16131 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16132 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16133 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16134 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16135 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16136 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16137 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16138 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16139 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16140 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16141 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16142 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16143 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16144 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16145 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16146 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16147 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16148 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16149 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16150 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16151 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16152 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16153 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16154 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16155 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16156 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16157 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16158 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16159 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16160 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16161 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16162 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
16163 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16164 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16165 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16166 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16167 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16168 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16169 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16170 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16171 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16172 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16173 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16174 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16175 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16176 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16177 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16178 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16179 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16180 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16181 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16182 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16183 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16184 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16185
16186 LTCC='$LTCC'
16187 LTCFLAGS='$LTCFLAGS'
16188 compiler='$compiler_DEFAULT'
16189
16190 # A function that is used when there is no print builtin or printf.
16191 func_fallback_echo ()
16192 {
16193   eval 'cat <<_LTECHO_EOF
16194 \$1
16195 _LTECHO_EOF'
16196 }
16197
16198 # Quote evaled strings.
16199 for var in SHELL \
16200 ECHO \
16201 SED \
16202 GREP \
16203 EGREP \
16204 FGREP \
16205 LD \
16206 NM \
16207 LN_S \
16208 lt_SP2NL \
16209 lt_NL2SP \
16210 reload_flag \
16211 OBJDUMP \
16212 deplibs_check_method \
16213 file_magic_cmd \
16214 file_magic_glob \
16215 want_nocaseglob \
16216 DLLTOOL \
16217 sharedlib_from_linklib_cmd \
16218 AR \
16219 AR_FLAGS \
16220 archiver_list_spec \
16221 STRIP \
16222 RANLIB \
16223 CC \
16224 CFLAGS \
16225 compiler \
16226 lt_cv_sys_global_symbol_pipe \
16227 lt_cv_sys_global_symbol_to_cdecl \
16228 lt_cv_sys_global_symbol_to_c_name_address \
16229 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16230 nm_file_list_spec \
16231 lt_prog_compiler_no_builtin_flag \
16232 lt_prog_compiler_pic \
16233 lt_prog_compiler_wl \
16234 lt_prog_compiler_static \
16235 lt_cv_prog_compiler_c_o \
16236 need_locks \
16237 MANIFEST_TOOL \
16238 DSYMUTIL \
16239 NMEDIT \
16240 LIPO \
16241 OTOOL \
16242 OTOOL64 \
16243 shrext_cmds \
16244 export_dynamic_flag_spec \
16245 whole_archive_flag_spec \
16246 compiler_needs_object \
16247 with_gnu_ld \
16248 allow_undefined_flag \
16249 no_undefined_flag \
16250 hardcode_libdir_flag_spec \
16251 hardcode_libdir_flag_spec_ld \
16252 hardcode_libdir_separator \
16253 exclude_expsyms \
16254 include_expsyms \
16255 file_list_spec \
16256 variables_saved_for_relink \
16257 libname_spec \
16258 library_names_spec \
16259 soname_spec \
16260 install_override_mode \
16261 finish_eval \
16262 old_striplib \
16263 striplib \
16264 compiler_lib_search_dirs \
16265 predep_objects \
16266 postdep_objects \
16267 predeps \
16268 postdeps \
16269 compiler_lib_search_path \
16270 LD_CXX \
16271 reload_flag_CXX \
16272 compiler_CXX \
16273 lt_prog_compiler_no_builtin_flag_CXX \
16274 lt_prog_compiler_pic_CXX \
16275 lt_prog_compiler_wl_CXX \
16276 lt_prog_compiler_static_CXX \
16277 lt_cv_prog_compiler_c_o_CXX \
16278 export_dynamic_flag_spec_CXX \
16279 whole_archive_flag_spec_CXX \
16280 compiler_needs_object_CXX \
16281 with_gnu_ld_CXX \
16282 allow_undefined_flag_CXX \
16283 no_undefined_flag_CXX \
16284 hardcode_libdir_flag_spec_CXX \
16285 hardcode_libdir_flag_spec_ld_CXX \
16286 hardcode_libdir_separator_CXX \
16287 exclude_expsyms_CXX \
16288 include_expsyms_CXX \
16289 file_list_spec_CXX \
16290 compiler_lib_search_dirs_CXX \
16291 predep_objects_CXX \
16292 postdep_objects_CXX \
16293 predeps_CXX \
16294 postdeps_CXX \
16295 compiler_lib_search_path_CXX; do
16296     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16297     *[\\\\\\\`\\"\\\$]*)
16298       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16299       ;;
16300     *)
16301       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16302       ;;
16303     esac
16304 done
16305
16306 # Double-quote double-evaled strings.
16307 for var in reload_cmds \
16308 old_postinstall_cmds \
16309 old_postuninstall_cmds \
16310 old_archive_cmds \
16311 extract_expsyms_cmds \
16312 old_archive_from_new_cmds \
16313 old_archive_from_expsyms_cmds \
16314 archive_cmds \
16315 archive_expsym_cmds \
16316 module_cmds \
16317 module_expsym_cmds \
16318 export_symbols_cmds \
16319 prelink_cmds \
16320 postlink_cmds \
16321 postinstall_cmds \
16322 postuninstall_cmds \
16323 finish_cmds \
16324 sys_lib_search_path_spec \
16325 sys_lib_dlsearch_path_spec \
16326 reload_cmds_CXX \
16327 old_archive_cmds_CXX \
16328 old_archive_from_new_cmds_CXX \
16329 old_archive_from_expsyms_cmds_CXX \
16330 archive_cmds_CXX \
16331 archive_expsym_cmds_CXX \
16332 module_cmds_CXX \
16333 module_expsym_cmds_CXX \
16334 export_symbols_cmds_CXX \
16335 prelink_cmds_CXX \
16336 postlink_cmds_CXX; do
16337     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16338     *[\\\\\\\`\\"\\\$]*)
16339       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16340       ;;
16341     *)
16342       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16343       ;;
16344     esac
16345 done
16346
16347 ac_aux_dir='$ac_aux_dir'
16348 xsi_shell='$xsi_shell'
16349 lt_shell_append='$lt_shell_append'
16350
16351 # See if we are running on zsh, and set the options which allow our
16352 # commands through without removal of \ escapes INIT.
16353 if test -n "\${ZSH_VERSION+set}" ; then
16354    setopt NO_GLOB_SUBST
16355 fi
16356
16357
16358     PACKAGE='$PACKAGE'
16359     VERSION='$VERSION'
16360     TIMESTAMP='$TIMESTAMP'
16361     RM='$RM'
16362     ofile='$ofile'
16363
16364
16365
16366
16367
16368
16369 _ACEOF
16370
16371 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16372
16373 # Handling of arguments.
16374 for ac_config_target in $ac_config_targets
16375 do
16376   case $ac_config_target in
16377     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16378     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16379     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16380     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16381     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16382     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16383     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16384
16385   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16386   esac
16387 done
16388
16389
16390 # If the user did not use the arguments to specify the items to instantiate,
16391 # then the envvar interface is used.  Set only those that are not.
16392 # We use the long form for the default assignment because of an extremely
16393 # bizarre bug on SunOS 4.1.3.
16394 if $ac_need_defaults; then
16395   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16396   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16397   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16398 fi
16399
16400 # Have a temporary directory for convenience.  Make it in the build tree
16401 # simply because there is no reason against having it here, and in addition,
16402 # creating and moving files from /tmp can sometimes cause problems.
16403 # Hook for its removal unless debugging.
16404 # Note that there is a small window in which the directory will not be cleaned:
16405 # after its creation but before its name has been assigned to `$tmp'.
16406 $debug ||
16407 {
16408   tmp= ac_tmp=
16409   trap 'exit_status=$?
16410   : "${ac_tmp:=$tmp}"
16411   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16412 ' 0
16413   trap 'as_fn_exit 1' 1 2 13 15
16414 }
16415 # Create a (secure) tmp directory for tmp files.
16416
16417 {
16418   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16419   test -d "$tmp"
16420 }  ||
16421 {
16422   tmp=./conf$$-$RANDOM
16423   (umask 077 && mkdir "$tmp")
16424 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16425 ac_tmp=$tmp
16426
16427 # Set up the scripts for CONFIG_FILES section.
16428 # No need to generate them if there are no CONFIG_FILES.
16429 # This happens for instance with `./config.status config.h'.
16430 if test -n "$CONFIG_FILES"; then
16431
16432
16433 ac_cr=`echo X | tr X '\015'`
16434 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16435 # But we know of no other shell where ac_cr would be empty at this
16436 # point, so we can use a bashism as a fallback.
16437 if test "x$ac_cr" = x; then
16438   eval ac_cr=\$\'\\r\'
16439 fi
16440 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16441 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16442   ac_cs_awk_cr='\\r'
16443 else
16444   ac_cs_awk_cr=$ac_cr
16445 fi
16446
16447 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16448 _ACEOF
16449
16450
16451 {
16452   echo "cat >conf$$subs.awk <<_ACEOF" &&
16453   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16454   echo "_ACEOF"
16455 } >conf$$subs.sh ||
16456   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16457 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16458 ac_delim='%!_!# '
16459 for ac_last_try in false false false false false :; do
16460   . ./conf$$subs.sh ||
16461     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16462
16463   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16464   if test $ac_delim_n = $ac_delim_num; then
16465     break
16466   elif $ac_last_try; then
16467     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16468   else
16469     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16470   fi
16471 done
16472 rm -f conf$$subs.sh
16473
16474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16475 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16476 _ACEOF
16477 sed -n '
16478 h
16479 s/^/S["/; s/!.*/"]=/
16480 p
16481 g
16482 s/^[^!]*!//
16483 :repl
16484 t repl
16485 s/'"$ac_delim"'$//
16486 t delim
16487 :nl
16488 h
16489 s/\(.\{148\}\)..*/\1/
16490 t more1
16491 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16492 p
16493 n
16494 b repl
16495 :more1
16496 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16497 p
16498 g
16499 s/.\{148\}//
16500 t nl
16501 :delim
16502 h
16503 s/\(.\{148\}\)..*/\1/
16504 t more2
16505 s/["\\]/\\&/g; s/^/"/; s/$/"/
16506 p
16507 b
16508 :more2
16509 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16510 p
16511 g
16512 s/.\{148\}//
16513 t delim
16514 ' <conf$$subs.awk | sed '
16515 /^[^""]/{
16516   N
16517   s/\n//
16518 }
16519 ' >>$CONFIG_STATUS || ac_write_fail=1
16520 rm -f conf$$subs.awk
16521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16522 _ACAWK
16523 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16524   for (key in S) S_is_set[key] = 1
16525   FS = "\a"
16526
16527 }
16528 {
16529   line = $ 0
16530   nfields = split(line, field, "@")
16531   substed = 0
16532   len = length(field[1])
16533   for (i = 2; i < nfields; i++) {
16534     key = field[i]
16535     keylen = length(key)
16536     if (S_is_set[key]) {
16537       value = S[key]
16538       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16539       len += length(value) + length(field[++i])
16540       substed = 1
16541     } else
16542       len += 1 + keylen
16543   }
16544
16545   print line
16546 }
16547
16548 _ACAWK
16549 _ACEOF
16550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16551 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16552   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16553 else
16554   cat
16555 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16556   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16557 _ACEOF
16558
16559 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16560 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16561 # trailing colons and then remove the whole line if VPATH becomes empty
16562 # (actually we leave an empty line to preserve line numbers).
16563 if test "x$srcdir" = x.; then
16564   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16565 h
16566 s///
16567 s/^/:/
16568 s/[      ]*$/:/
16569 s/:\$(srcdir):/:/g
16570 s/:\${srcdir}:/:/g
16571 s/:@srcdir@:/:/g
16572 s/^:*//
16573 s/:*$//
16574 x
16575 s/\(=[   ]*\).*/\1/
16576 G
16577 s/\n//
16578 s/^[^=]*=[       ]*$//
16579 }'
16580 fi
16581
16582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16583 fi # test -n "$CONFIG_FILES"
16584
16585 # Set up the scripts for CONFIG_HEADERS section.
16586 # No need to generate them if there are no CONFIG_HEADERS.
16587 # This happens for instance with `./config.status Makefile'.
16588 if test -n "$CONFIG_HEADERS"; then
16589 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16590 BEGIN {
16591 _ACEOF
16592
16593 # Transform confdefs.h into an awk script `defines.awk', embedded as
16594 # here-document in config.status, that substitutes the proper values into
16595 # config.h.in to produce config.h.
16596
16597 # Create a delimiter string that does not exist in confdefs.h, to ease
16598 # handling of long lines.
16599 ac_delim='%!_!# '
16600 for ac_last_try in false false :; do
16601   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16602   if test -z "$ac_tt"; then
16603     break
16604   elif $ac_last_try; then
16605     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16606   else
16607     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16608   fi
16609 done
16610
16611 # For the awk script, D is an array of macro values keyed by name,
16612 # likewise P contains macro parameters if any.  Preserve backslash
16613 # newline sequences.
16614
16615 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16616 sed -n '
16617 s/.\{148\}/&'"$ac_delim"'/g
16618 t rset
16619 :rset
16620 s/^[     ]*#[    ]*define[       ][      ]*/ /
16621 t def
16622 d
16623 :def
16624 s/\\$//
16625 t bsnl
16626 s/["\\]/\\&/g
16627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16628 D["\1"]=" \3"/p
16629 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16630 d
16631 :bsnl
16632 s/["\\]/\\&/g
16633 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16634 D["\1"]=" \3\\\\\\n"\\/p
16635 t cont
16636 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16637 t cont
16638 d
16639 :cont
16640 n
16641 s/.\{148\}/&'"$ac_delim"'/g
16642 t clear
16643 :clear
16644 s/\\$//
16645 t bsnlc
16646 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16647 d
16648 :bsnlc
16649 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16650 b cont
16651 ' <confdefs.h | sed '
16652 s/'"$ac_delim"'/"\\\
16653 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16654
16655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16656   for (key in D) D_is_set[key] = 1
16657   FS = "\a"
16658 }
16659 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16660   line = \$ 0
16661   split(line, arg, " ")
16662   if (arg[1] == "#") {
16663     defundef = arg[2]
16664     mac1 = arg[3]
16665   } else {
16666     defundef = substr(arg[1], 2)
16667     mac1 = arg[2]
16668   }
16669   split(mac1, mac2, "(") #)
16670   macro = mac2[1]
16671   prefix = substr(line, 1, index(line, defundef) - 1)
16672   if (D_is_set[macro]) {
16673     # Preserve the white space surrounding the "#".
16674     print prefix "define", macro P[macro] D[macro]
16675     next
16676   } else {
16677     # Replace #undef with comments.  This is necessary, for example,
16678     # in the case of _POSIX_SOURCE, which is predefined and required
16679     # on some systems where configure will not decide to define it.
16680     if (defundef == "undef") {
16681       print "/*", prefix defundef, macro, "*/"
16682       next
16683     }
16684   }
16685 }
16686 { print }
16687 _ACAWK
16688 _ACEOF
16689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16690   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16691 fi # test -n "$CONFIG_HEADERS"
16692
16693
16694 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16695 shift
16696 for ac_tag
16697 do
16698   case $ac_tag in
16699   :[FHLC]) ac_mode=$ac_tag; continue;;
16700   esac
16701   case $ac_mode$ac_tag in
16702   :[FHL]*:*);;
16703   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16704   :[FH]-) ac_tag=-:-;;
16705   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16706   esac
16707   ac_save_IFS=$IFS
16708   IFS=:
16709   set x $ac_tag
16710   IFS=$ac_save_IFS
16711   shift
16712   ac_file=$1
16713   shift
16714
16715   case $ac_mode in
16716   :L) ac_source=$1;;
16717   :[FH])
16718     ac_file_inputs=
16719     for ac_f
16720     do
16721       case $ac_f in
16722       -) ac_f="$ac_tmp/stdin";;
16723       *) # Look for the file first in the build tree, then in the source tree
16724          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16725          # because $ac_f cannot contain `:'.
16726          test -f "$ac_f" ||
16727            case $ac_f in
16728            [\\/$]*) false;;
16729            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16730            esac ||
16731            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16732       esac
16733       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16734       as_fn_append ac_file_inputs " '$ac_f'"
16735     done
16736
16737     # Let's still pretend it is `configure' which instantiates (i.e., don't
16738     # use $as_me), people would be surprised to read:
16739     #    /* config.h.  Generated by config.status.  */
16740     configure_input='Generated from '`
16741           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16742         `' by configure.'
16743     if test x"$ac_file" != x-; then
16744       configure_input="$ac_file.  $configure_input"
16745       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16746 $as_echo "$as_me: creating $ac_file" >&6;}
16747     fi
16748     # Neutralize special characters interpreted by sed in replacement strings.
16749     case $configure_input in #(
16750     *\&* | *\|* | *\\* )
16751        ac_sed_conf_input=`$as_echo "$configure_input" |
16752        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16753     *) ac_sed_conf_input=$configure_input;;
16754     esac
16755
16756     case $ac_tag in
16757     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16758       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16759     esac
16760     ;;
16761   esac
16762
16763   ac_dir=`$as_dirname -- "$ac_file" ||
16764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16765          X"$ac_file" : 'X\(//\)[^/]' \| \
16766          X"$ac_file" : 'X\(//\)$' \| \
16767          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16768 $as_echo X"$ac_file" |
16769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16770             s//\1/
16771             q
16772           }
16773           /^X\(\/\/\)[^/].*/{
16774             s//\1/
16775             q
16776           }
16777           /^X\(\/\/\)$/{
16778             s//\1/
16779             q
16780           }
16781           /^X\(\/\).*/{
16782             s//\1/
16783             q
16784           }
16785           s/.*/./; q'`
16786   as_dir="$ac_dir"; as_fn_mkdir_p
16787   ac_builddir=.
16788
16789 case "$ac_dir" in
16790 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16791 *)
16792   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16793   # A ".." for each directory in $ac_dir_suffix.
16794   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16795   case $ac_top_builddir_sub in
16796   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16797   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16798   esac ;;
16799 esac
16800 ac_abs_top_builddir=$ac_pwd
16801 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16802 # for backward compatibility:
16803 ac_top_builddir=$ac_top_build_prefix
16804
16805 case $srcdir in
16806   .)  # We are building in place.
16807     ac_srcdir=.
16808     ac_top_srcdir=$ac_top_builddir_sub
16809     ac_abs_top_srcdir=$ac_pwd ;;
16810   [\\/]* | ?:[\\/]* )  # Absolute name.
16811     ac_srcdir=$srcdir$ac_dir_suffix;
16812     ac_top_srcdir=$srcdir
16813     ac_abs_top_srcdir=$srcdir ;;
16814   *) # Relative name.
16815     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16816     ac_top_srcdir=$ac_top_build_prefix$srcdir
16817     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16818 esac
16819 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16820
16821
16822   case $ac_mode in
16823   :F)
16824   #
16825   # CONFIG_FILE
16826   #
16827
16828   case $INSTALL in
16829   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16830   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16831   esac
16832   ac_MKDIR_P=$MKDIR_P
16833   case $MKDIR_P in
16834   [\\/$]* | ?:[\\/]* ) ;;
16835   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16836   esac
16837 _ACEOF
16838
16839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16840 # If the template does not know about datarootdir, expand it.
16841 # FIXME: This hack should be removed a few years after 2.60.
16842 ac_datarootdir_hack=; ac_datarootdir_seen=
16843 ac_sed_dataroot='
16844 /datarootdir/ {
16845   p
16846   q
16847 }
16848 /@datadir@/p
16849 /@docdir@/p
16850 /@infodir@/p
16851 /@localedir@/p
16852 /@mandir@/p'
16853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16854 *datarootdir*) ac_datarootdir_seen=yes;;
16855 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16856   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16858 _ACEOF
16859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16860   ac_datarootdir_hack='
16861   s&@datadir@&$datadir&g
16862   s&@docdir@&$docdir&g
16863   s&@infodir@&$infodir&g
16864   s&@localedir@&$localedir&g
16865   s&@mandir@&$mandir&g
16866   s&\\\${datarootdir}&$datarootdir&g' ;;
16867 esac
16868 _ACEOF
16869
16870 # Neutralize VPATH when `$srcdir' = `.'.
16871 # Shell code in configure.ac might set extrasub.
16872 # FIXME: do we really want to maintain this feature?
16873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16874 ac_sed_extra="$ac_vpsub
16875 $extrasub
16876 _ACEOF
16877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16878 :t
16879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16880 s|@configure_input@|$ac_sed_conf_input|;t t
16881 s&@top_builddir@&$ac_top_builddir_sub&;t t
16882 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16883 s&@srcdir@&$ac_srcdir&;t t
16884 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16885 s&@top_srcdir@&$ac_top_srcdir&;t t
16886 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16887 s&@builddir@&$ac_builddir&;t t
16888 s&@abs_builddir@&$ac_abs_builddir&;t t
16889 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16890 s&@INSTALL@&$ac_INSTALL&;t t
16891 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16892 $ac_datarootdir_hack
16893 "
16894 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16895   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16896
16897 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16898   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16899   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16900       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16901   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16902 which seems to be undefined.  Please make sure it is defined" >&5
16903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16904 which seems to be undefined.  Please make sure it is defined" >&2;}
16905
16906   rm -f "$ac_tmp/stdin"
16907   case $ac_file in
16908   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16909   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16910   esac \
16911   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16912  ;;
16913   :H)
16914   #
16915   # CONFIG_HEADER
16916   #
16917   if test x"$ac_file" != x-; then
16918     {
16919       $as_echo "/* $configure_input  */" \
16920       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16921     } >"$ac_tmp/config.h" \
16922       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16923     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16924       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16926     else
16927       rm -f "$ac_file"
16928       mv "$ac_tmp/config.h" "$ac_file" \
16929         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16930     fi
16931   else
16932     $as_echo "/* $configure_input  */" \
16933       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16934       || as_fn_error $? "could not create -" "$LINENO" 5
16935   fi
16936 # Compute "$ac_file"'s index in $config_headers.
16937 _am_arg="$ac_file"
16938 _am_stamp_count=1
16939 for _am_header in $config_headers :; do
16940   case $_am_header in
16941     $_am_arg | $_am_arg:* )
16942       break ;;
16943     * )
16944       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16945   esac
16946 done
16947 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16948 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16949          X"$_am_arg" : 'X\(//\)[^/]' \| \
16950          X"$_am_arg" : 'X\(//\)$' \| \
16951          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16952 $as_echo X"$_am_arg" |
16953     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16954             s//\1/
16955             q
16956           }
16957           /^X\(\/\/\)[^/].*/{
16958             s//\1/
16959             q
16960           }
16961           /^X\(\/\/\)$/{
16962             s//\1/
16963             q
16964           }
16965           /^X\(\/\).*/{
16966             s//\1/
16967             q
16968           }
16969           s/.*/./; q'`/stamp-h$_am_stamp_count
16970  ;;
16971   
16972   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16973 $as_echo "$as_me: executing $ac_file commands" >&6;}
16974  ;;
16975   esac
16976
16977
16978   case $ac_file$ac_mode in
16979     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16980   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16981   # are listed without --file.  Let's play safe and only enable the eval
16982   # if we detect the quoting.
16983   case $CONFIG_FILES in
16984   *\'*) eval set x "$CONFIG_FILES" ;;
16985   *)   set x $CONFIG_FILES ;;
16986   esac
16987   shift
16988   for mf
16989   do
16990     # Strip MF so we end up with the name of the file.
16991     mf=`echo "$mf" | sed -e 's/:.*$//'`
16992     # Check whether this is an Automake generated Makefile or not.
16993     # We used to match only the files named `Makefile.in', but
16994     # some people rename them; so instead we look at the file content.
16995     # Grep'ing the first line is not enough: some people post-process
16996     # each Makefile.in and add a new line on top of each file to say so.
16997     # Grep'ing the whole file is not good either: AIX grep has a line
16998     # limit of 2048, but all sed's we know have understand at least 4000.
16999     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17000       dirpart=`$as_dirname -- "$mf" ||
17001 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17002          X"$mf" : 'X\(//\)[^/]' \| \
17003          X"$mf" : 'X\(//\)$' \| \
17004          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17005 $as_echo X"$mf" |
17006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17007             s//\1/
17008             q
17009           }
17010           /^X\(\/\/\)[^/].*/{
17011             s//\1/
17012             q
17013           }
17014           /^X\(\/\/\)$/{
17015             s//\1/
17016             q
17017           }
17018           /^X\(\/\).*/{
17019             s//\1/
17020             q
17021           }
17022           s/.*/./; q'`
17023     else
17024       continue
17025     fi
17026     # Extract the definition of DEPDIR, am__include, and am__quote
17027     # from the Makefile without running `make'.
17028     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17029     test -z "$DEPDIR" && continue
17030     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17031     test -z "am__include" && continue
17032     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17033     # When using ansi2knr, U may be empty or an underscore; expand it
17034     U=`sed -n 's/^U = //p' < "$mf"`
17035     # Find all dependency output files, they are included files with
17036     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17037     # simplest approach to changing $(DEPDIR) to its actual value in the
17038     # expansion.
17039     for file in `sed -n "
17040       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17041          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17042       # Make sure the directory exists.
17043       test -f "$dirpart/$file" && continue
17044       fdir=`$as_dirname -- "$file" ||
17045 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17046          X"$file" : 'X\(//\)[^/]' \| \
17047          X"$file" : 'X\(//\)$' \| \
17048          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17049 $as_echo X"$file" |
17050     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17051             s//\1/
17052             q
17053           }
17054           /^X\(\/\/\)[^/].*/{
17055             s//\1/
17056             q
17057           }
17058           /^X\(\/\/\)$/{
17059             s//\1/
17060             q
17061           }
17062           /^X\(\/\).*/{
17063             s//\1/
17064             q
17065           }
17066           s/.*/./; q'`
17067       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17068       # echo "creating $dirpart/$file"
17069       echo '# dummy' > "$dirpart/$file"
17070     done
17071   done
17072 }
17073  ;;
17074     "libtool":C) 
17075     
17076     # See if we are running on zsh, and set the options which allow our
17077     # commands through without removal of \ escapes.
17078     if test -n "${ZSH_VERSION+set}" ; then
17079       setopt NO_GLOB_SUBST
17080     fi
17081
17082     cfgfile="${ofile}T"
17083     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17084     $RM "$cfgfile"
17085
17086     cat <<_LT_EOF >> "$cfgfile"
17087 #! $SHELL
17088
17089 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17090 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17091 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17092 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17093 #
17094 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17095 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17096 #                 Inc.
17097 #   Written by Gordon Matzigkeit, 1996
17098 #
17099 #   This file is part of GNU Libtool.
17100 #
17101 # GNU Libtool is free software; you can redistribute it and/or
17102 # modify it under the terms of the GNU General Public License as
17103 # published by the Free Software Foundation; either version 2 of
17104 # the License, or (at your option) any later version.
17105 #
17106 # As a special exception to the GNU General Public License,
17107 # if you distribute this file as part of a program or library that
17108 # is built using GNU Libtool, you may include this file under the
17109 # same distribution terms that you use for the rest of that program.
17110 #
17111 # GNU Libtool is distributed in the hope that it will be useful,
17112 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17113 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17114 # GNU General Public License for more details.
17115 #
17116 # You should have received a copy of the GNU General Public License
17117 # along with GNU Libtool; see the file COPYING.  If not, a copy
17118 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17119 # obtained by writing to the Free Software Foundation, Inc.,
17120 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17121
17122
17123 # The names of the tagged configurations supported by this script.
17124 available_tags="CXX "
17125
17126 # ### BEGIN LIBTOOL CONFIG
17127
17128 # Which release of libtool.m4 was used?
17129 macro_version=$macro_version
17130 macro_revision=$macro_revision
17131
17132 # Whether or not to build shared libraries.
17133 build_libtool_libs=$enable_shared
17134
17135 # Whether or not to build static libraries.
17136 build_old_libs=$enable_static
17137
17138 # What type of objects to build.
17139 pic_mode=$pic_mode
17140
17141 # Whether or not to optimize for fast installation.
17142 fast_install=$enable_fast_install
17143
17144 # Shell to use when invoking shell scripts.
17145 SHELL=$lt_SHELL
17146
17147 # An echo program that protects backslashes.
17148 ECHO=$lt_ECHO
17149
17150 # The host system.
17151 host_alias=$host_alias
17152 host=$host
17153 host_os=$host_os
17154
17155 # The build system.
17156 build_alias=$build_alias
17157 build=$build
17158 build_os=$build_os
17159
17160 # A sed program that does not truncate output.
17161 SED=$lt_SED
17162
17163 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17164 Xsed="\$SED -e 1s/^X//"
17165
17166 # A grep program that handles long lines.
17167 GREP=$lt_GREP
17168
17169 # An ERE matcher.
17170 EGREP=$lt_EGREP
17171
17172 # A literal string matcher.
17173 FGREP=$lt_FGREP
17174
17175 # A BSD- or MS-compatible name lister.
17176 NM=$lt_NM
17177
17178 # Whether we need soft or hard links.
17179 LN_S=$lt_LN_S
17180
17181 # What is the maximum length of a command?
17182 max_cmd_len=$max_cmd_len
17183
17184 # Object file suffix (normally "o").
17185 objext=$ac_objext
17186
17187 # Executable file suffix (normally "").
17188 exeext=$exeext
17189
17190 # whether the shell understands "unset".
17191 lt_unset=$lt_unset
17192
17193 # turn spaces into newlines.
17194 SP2NL=$lt_lt_SP2NL
17195
17196 # turn newlines into spaces.
17197 NL2SP=$lt_lt_NL2SP
17198
17199 # convert \$build file names to \$host format.
17200 to_host_file_cmd=$lt_cv_to_host_file_cmd
17201
17202 # convert \$build files to toolchain format.
17203 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17204
17205 # An object symbol dumper.
17206 OBJDUMP=$lt_OBJDUMP
17207
17208 # Method to check whether dependent libraries are shared objects.
17209 deplibs_check_method=$lt_deplibs_check_method
17210
17211 # Command to use when deplibs_check_method = "file_magic".
17212 file_magic_cmd=$lt_file_magic_cmd
17213
17214 # How to find potential files when deplibs_check_method = "file_magic".
17215 file_magic_glob=$lt_file_magic_glob
17216
17217 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17218 want_nocaseglob=$lt_want_nocaseglob
17219
17220 # DLL creation program.
17221 DLLTOOL=$lt_DLLTOOL
17222
17223 # Command to associate shared and link libraries.
17224 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17225
17226 # The archiver.
17227 AR=$lt_AR
17228
17229 # Flags to create an archive.
17230 AR_FLAGS=$lt_AR_FLAGS
17231
17232 # How to feed a file listing to the archiver.
17233 archiver_list_spec=$lt_archiver_list_spec
17234
17235 # A symbol stripping program.
17236 STRIP=$lt_STRIP
17237
17238 # Commands used to install an old-style archive.
17239 RANLIB=$lt_RANLIB
17240 old_postinstall_cmds=$lt_old_postinstall_cmds
17241 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17242
17243 # Whether to use a lock for old archive extraction.
17244 lock_old_archive_extraction=$lock_old_archive_extraction
17245
17246 # A C compiler.
17247 LTCC=$lt_CC
17248
17249 # LTCC compiler flags.
17250 LTCFLAGS=$lt_CFLAGS
17251
17252 # Take the output of nm and produce a listing of raw symbols and C names.
17253 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17254
17255 # Transform the output of nm in a proper C declaration.
17256 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17257
17258 # Transform the output of nm in a C name address pair.
17259 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17260
17261 # Transform the output of nm in a C name address pair when lib prefix is needed.
17262 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17263
17264 # Specify filename containing input files for \$NM.
17265 nm_file_list_spec=$lt_nm_file_list_spec
17266
17267 # The root where to search for dependent libraries,and in which our libraries should be installed.
17268 lt_sysroot=$lt_sysroot
17269
17270 # The name of the directory that contains temporary libtool files.
17271 objdir=$objdir
17272
17273 # Used to examine libraries when file_magic_cmd begins with "file".
17274 MAGIC_CMD=$MAGIC_CMD
17275
17276 # Must we lock files when doing compilation?
17277 need_locks=$lt_need_locks
17278
17279 # Manifest tool.
17280 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17281
17282 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17283 DSYMUTIL=$lt_DSYMUTIL
17284
17285 # Tool to change global to local symbols on Mac OS X.
17286 NMEDIT=$lt_NMEDIT
17287
17288 # Tool to manipulate fat objects and archives on Mac OS X.
17289 LIPO=$lt_LIPO
17290
17291 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17292 OTOOL=$lt_OTOOL
17293
17294 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17295 OTOOL64=$lt_OTOOL64
17296
17297 # Old archive suffix (normally "a").
17298 libext=$libext
17299
17300 # Shared library suffix (normally ".so").
17301 shrext_cmds=$lt_shrext_cmds
17302
17303 # The commands to extract the exported symbol list from a shared archive.
17304 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17305
17306 # Variables whose values should be saved in libtool wrapper scripts and
17307 # restored at link time.
17308 variables_saved_for_relink=$lt_variables_saved_for_relink
17309
17310 # Do we need the "lib" prefix for modules?
17311 need_lib_prefix=$need_lib_prefix
17312
17313 # Do we need a version for libraries?
17314 need_version=$need_version
17315
17316 # Library versioning type.
17317 version_type=$version_type
17318
17319 # Shared library runtime path variable.
17320 runpath_var=$runpath_var
17321
17322 # Shared library path variable.
17323 shlibpath_var=$shlibpath_var
17324
17325 # Is shlibpath searched before the hard-coded library search path?
17326 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17327
17328 # Format of library name prefix.
17329 libname_spec=$lt_libname_spec
17330
17331 # List of archive names.  First name is the real one, the rest are links.
17332 # The last name is the one that the linker finds with -lNAME
17333 library_names_spec=$lt_library_names_spec
17334
17335 # The coded name of the library, if different from the real name.
17336 soname_spec=$lt_soname_spec
17337
17338 # Permission mode override for installation of shared libraries.
17339 install_override_mode=$lt_install_override_mode
17340
17341 # Command to use after installation of a shared archive.
17342 postinstall_cmds=$lt_postinstall_cmds
17343
17344 # Command to use after uninstallation of a shared archive.
17345 postuninstall_cmds=$lt_postuninstall_cmds
17346
17347 # Commands used to finish a libtool library installation in a directory.
17348 finish_cmds=$lt_finish_cmds
17349
17350 # As "finish_cmds", except a single script fragment to be evaled but
17351 # not shown.
17352 finish_eval=$lt_finish_eval
17353
17354 # Whether we should hardcode library paths into libraries.
17355 hardcode_into_libs=$hardcode_into_libs
17356
17357 # Compile-time system search path for libraries.
17358 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17359
17360 # Run-time system search path for libraries.
17361 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17362
17363 # Whether dlopen is supported.
17364 dlopen_support=$enable_dlopen
17365
17366 # Whether dlopen of programs is supported.
17367 dlopen_self=$enable_dlopen_self
17368
17369 # Whether dlopen of statically linked programs is supported.
17370 dlopen_self_static=$enable_dlopen_self_static
17371
17372 # Commands to strip libraries.
17373 old_striplib=$lt_old_striplib
17374 striplib=$lt_striplib
17375
17376
17377 # The linker used to build libraries.
17378 LD=$lt_LD
17379
17380 # How to create reloadable object files.
17381 reload_flag=$lt_reload_flag
17382 reload_cmds=$lt_reload_cmds
17383
17384 # Commands used to build an old-style archive.
17385 old_archive_cmds=$lt_old_archive_cmds
17386
17387 # A language specific compiler.
17388 CC=$lt_compiler
17389
17390 # Is the compiler the GNU compiler?
17391 with_gcc=$GCC
17392
17393 # Compiler flag to turn off builtin functions.
17394 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17395
17396 # Additional compiler flags for building library objects.
17397 pic_flag=$lt_lt_prog_compiler_pic
17398
17399 # How to pass a linker flag through the compiler.
17400 wl=$lt_lt_prog_compiler_wl
17401
17402 # Compiler flag to prevent dynamic linking.
17403 link_static_flag=$lt_lt_prog_compiler_static
17404
17405 # Does compiler simultaneously support -c and -o options?
17406 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17407
17408 # Whether or not to add -lc for building shared libraries.
17409 build_libtool_need_lc=$archive_cmds_need_lc
17410
17411 # Whether or not to disallow shared libs when runtime libs are static.
17412 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17413
17414 # Compiler flag to allow reflexive dlopens.
17415 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17416
17417 # Compiler flag to generate shared objects directly from archives.
17418 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17419
17420 # Whether the compiler copes with passing no objects directly.
17421 compiler_needs_object=$lt_compiler_needs_object
17422
17423 # Create an old-style archive from a shared archive.
17424 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17425
17426 # Create a temporary old-style archive to link instead of a shared archive.
17427 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17428
17429 # Commands used to build a shared archive.
17430 archive_cmds=$lt_archive_cmds
17431 archive_expsym_cmds=$lt_archive_expsym_cmds
17432
17433 # Commands used to build a loadable module if different from building
17434 # a shared archive.
17435 module_cmds=$lt_module_cmds
17436 module_expsym_cmds=$lt_module_expsym_cmds
17437
17438 # Whether we are building with GNU ld or not.
17439 with_gnu_ld=$lt_with_gnu_ld
17440
17441 # Flag that allows shared libraries with undefined symbols to be built.
17442 allow_undefined_flag=$lt_allow_undefined_flag
17443
17444 # Flag that enforces no undefined symbols.
17445 no_undefined_flag=$lt_no_undefined_flag
17446
17447 # Flag to hardcode \$libdir into a binary during linking.
17448 # This must work even if \$libdir does not exist
17449 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17450
17451 # If ld is used when linking, flag to hardcode \$libdir into a binary
17452 # during linking.  This must work even if \$libdir does not exist.
17453 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17454
17455 # Whether we need a single "-rpath" flag with a separated argument.
17456 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17457
17458 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17459 # DIR into the resulting binary.
17460 hardcode_direct=$hardcode_direct
17461
17462 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17463 # DIR into the resulting binary and the resulting library dependency is
17464 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17465 # library is relocated.
17466 hardcode_direct_absolute=$hardcode_direct_absolute
17467
17468 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17469 # into the resulting binary.
17470 hardcode_minus_L=$hardcode_minus_L
17471
17472 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17473 # into the resulting binary.
17474 hardcode_shlibpath_var=$hardcode_shlibpath_var
17475
17476 # Set to "yes" if building a shared library automatically hardcodes DIR
17477 # into the library and all subsequent libraries and executables linked
17478 # against it.
17479 hardcode_automatic=$hardcode_automatic
17480
17481 # Set to yes if linker adds runtime paths of dependent libraries
17482 # to runtime path list.
17483 inherit_rpath=$inherit_rpath
17484
17485 # Whether libtool must link a program against all its dependency libraries.
17486 link_all_deplibs=$link_all_deplibs
17487
17488 # Set to "yes" if exported symbols are required.
17489 always_export_symbols=$always_export_symbols
17490
17491 # The commands to list exported symbols.
17492 export_symbols_cmds=$lt_export_symbols_cmds
17493
17494 # Symbols that should not be listed in the preloaded symbols.
17495 exclude_expsyms=$lt_exclude_expsyms
17496
17497 # Symbols that must always be exported.
17498 include_expsyms=$lt_include_expsyms
17499
17500 # Commands necessary for linking programs (against libraries) with templates.
17501 prelink_cmds=$lt_prelink_cmds
17502
17503 # Commands necessary for finishing linking programs.
17504 postlink_cmds=$lt_postlink_cmds
17505
17506 # Specify filename containing input files.
17507 file_list_spec=$lt_file_list_spec
17508
17509 # How to hardcode a shared library path into an executable.
17510 hardcode_action=$hardcode_action
17511
17512 # The directories searched by this compiler when creating a shared library.
17513 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17514
17515 # Dependencies to place before and after the objects being linked to
17516 # create a shared library.
17517 predep_objects=$lt_predep_objects
17518 postdep_objects=$lt_postdep_objects
17519 predeps=$lt_predeps
17520 postdeps=$lt_postdeps
17521
17522 # The library search path used internally by the compiler when linking
17523 # a shared library.
17524 compiler_lib_search_path=$lt_compiler_lib_search_path
17525
17526 # ### END LIBTOOL CONFIG
17527
17528 _LT_EOF
17529
17530   case $host_os in
17531   aix3*)
17532     cat <<\_LT_EOF >> "$cfgfile"
17533 # AIX sometimes has problems with the GCC collect2 program.  For some
17534 # reason, if we set the COLLECT_NAMES environment variable, the problems
17535 # vanish in a puff of smoke.
17536 if test "X${COLLECT_NAMES+set}" != Xset; then
17537   COLLECT_NAMES=
17538   export COLLECT_NAMES
17539 fi
17540 _LT_EOF
17541     ;;
17542   esac
17543
17544   
17545 ltmain="$ac_aux_dir/ltmain.sh"
17546
17547
17548   # We use sed instead of cat because bash on DJGPP gets confused if
17549   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17550   # text mode, it properly converts lines to CR/LF.  This bash problem
17551   # is reportedly fixed, but why not run on old versions too?
17552   sed '$q' "$ltmain" >> "$cfgfile" \
17553      || (rm -f "$cfgfile"; exit 1)
17554
17555   if test x"$xsi_shell" = xyes; then
17556   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17557 func_dirname ()\
17558 {\
17559 \    case ${1} in\
17560 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17561 \      *  ) func_dirname_result="${3}" ;;\
17562 \    esac\
17563 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17564   && mv -f "$cfgfile.tmp" "$cfgfile" \
17565     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17566 test 0 -eq $? || _lt_function_replace_fail=:
17567
17568
17569   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17570 func_basename ()\
17571 {\
17572 \    func_basename_result="${1##*/}"\
17573 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17574   && mv -f "$cfgfile.tmp" "$cfgfile" \
17575     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17576 test 0 -eq $? || _lt_function_replace_fail=:
17577
17578
17579   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17580 func_dirname_and_basename ()\
17581 {\
17582 \    case ${1} in\
17583 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17584 \      *  ) func_dirname_result="${3}" ;;\
17585 \    esac\
17586 \    func_basename_result="${1##*/}"\
17587 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17588   && mv -f "$cfgfile.tmp" "$cfgfile" \
17589     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17590 test 0 -eq $? || _lt_function_replace_fail=:
17591
17592
17593   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17594 func_stripname ()\
17595 {\
17596 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17597 \    # positional parameters, so assign one to ordinary parameter first.\
17598 \    func_stripname_result=${3}\
17599 \    func_stripname_result=${func_stripname_result#"${1}"}\
17600 \    func_stripname_result=${func_stripname_result%"${2}"}\
17601 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17602   && mv -f "$cfgfile.tmp" "$cfgfile" \
17603     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17604 test 0 -eq $? || _lt_function_replace_fail=:
17605
17606
17607   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17608 func_split_long_opt ()\
17609 {\
17610 \    func_split_long_opt_name=${1%%=*}\
17611 \    func_split_long_opt_arg=${1#*=}\
17612 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17613   && mv -f "$cfgfile.tmp" "$cfgfile" \
17614     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17615 test 0 -eq $? || _lt_function_replace_fail=:
17616
17617
17618   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17619 func_split_short_opt ()\
17620 {\
17621 \    func_split_short_opt_arg=${1#??}\
17622 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17623 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17624   && mv -f "$cfgfile.tmp" "$cfgfile" \
17625     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17626 test 0 -eq $? || _lt_function_replace_fail=:
17627
17628
17629   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17630 func_lo2o ()\
17631 {\
17632 \    case ${1} in\
17633 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17634 \      *)    func_lo2o_result=${1} ;;\
17635 \    esac\
17636 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17637   && mv -f "$cfgfile.tmp" "$cfgfile" \
17638     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17639 test 0 -eq $? || _lt_function_replace_fail=:
17640
17641
17642   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17643 func_xform ()\
17644 {\
17645     func_xform_result=${1%.*}.lo\
17646 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17647   && mv -f "$cfgfile.tmp" "$cfgfile" \
17648     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17649 test 0 -eq $? || _lt_function_replace_fail=:
17650
17651
17652   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17653 func_arith ()\
17654 {\
17655     func_arith_result=$(( $* ))\
17656 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17657   && mv -f "$cfgfile.tmp" "$cfgfile" \
17658     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17659 test 0 -eq $? || _lt_function_replace_fail=:
17660
17661
17662   sed -e '/^func_len ()$/,/^} # func_len /c\
17663 func_len ()\
17664 {\
17665     func_len_result=${#1}\
17666 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17667   && mv -f "$cfgfile.tmp" "$cfgfile" \
17668     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17669 test 0 -eq $? || _lt_function_replace_fail=:
17670
17671 fi
17672
17673 if test x"$lt_shell_append" = xyes; then
17674   sed -e '/^func_append ()$/,/^} # func_append /c\
17675 func_append ()\
17676 {\
17677     eval "${1}+=\\${2}"\
17678 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17679   && mv -f "$cfgfile.tmp" "$cfgfile" \
17680     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17681 test 0 -eq $? || _lt_function_replace_fail=:
17682
17683
17684   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17685 func_append_quoted ()\
17686 {\
17687 \    func_quote_for_eval "${2}"\
17688 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17689 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17690   && mv -f "$cfgfile.tmp" "$cfgfile" \
17691     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17692 test 0 -eq $? || _lt_function_replace_fail=:
17693
17694
17695   # Save a `func_append' function call where possible by direct use of '+='
17696   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17697     && mv -f "$cfgfile.tmp" "$cfgfile" \
17698       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17699   test 0 -eq $? || _lt_function_replace_fail=:
17700 else
17701   # Save a `func_append' function call even when '+=' is not available
17702   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17703     && mv -f "$cfgfile.tmp" "$cfgfile" \
17704       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17705   test 0 -eq $? || _lt_function_replace_fail=:
17706 fi
17707
17708 if test x"$_lt_function_replace_fail" = x":"; then
17709   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17710 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17711 fi
17712
17713
17714    mv -f "$cfgfile" "$ofile" ||
17715     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17716   chmod +x "$ofile"
17717
17718
17719     cat <<_LT_EOF >> "$ofile"
17720
17721 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17722
17723 # The linker used to build libraries.
17724 LD=$lt_LD_CXX
17725
17726 # How to create reloadable object files.
17727 reload_flag=$lt_reload_flag_CXX
17728 reload_cmds=$lt_reload_cmds_CXX
17729
17730 # Commands used to build an old-style archive.
17731 old_archive_cmds=$lt_old_archive_cmds_CXX
17732
17733 # A language specific compiler.
17734 CC=$lt_compiler_CXX
17735
17736 # Is the compiler the GNU compiler?
17737 with_gcc=$GCC_CXX
17738
17739 # Compiler flag to turn off builtin functions.
17740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17741
17742 # Additional compiler flags for building library objects.
17743 pic_flag=$lt_lt_prog_compiler_pic_CXX
17744
17745 # How to pass a linker flag through the compiler.
17746 wl=$lt_lt_prog_compiler_wl_CXX
17747
17748 # Compiler flag to prevent dynamic linking.
17749 link_static_flag=$lt_lt_prog_compiler_static_CXX
17750
17751 # Does compiler simultaneously support -c and -o options?
17752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17753
17754 # Whether or not to add -lc for building shared libraries.
17755 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17756
17757 # Whether or not to disallow shared libs when runtime libs are static.
17758 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17759
17760 # Compiler flag to allow reflexive dlopens.
17761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17762
17763 # Compiler flag to generate shared objects directly from archives.
17764 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17765
17766 # Whether the compiler copes with passing no objects directly.
17767 compiler_needs_object=$lt_compiler_needs_object_CXX
17768
17769 # Create an old-style archive from a shared archive.
17770 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17771
17772 # Create a temporary old-style archive to link instead of a shared archive.
17773 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17774
17775 # Commands used to build a shared archive.
17776 archive_cmds=$lt_archive_cmds_CXX
17777 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17778
17779 # Commands used to build a loadable module if different from building
17780 # a shared archive.
17781 module_cmds=$lt_module_cmds_CXX
17782 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17783
17784 # Whether we are building with GNU ld or not.
17785 with_gnu_ld=$lt_with_gnu_ld_CXX
17786
17787 # Flag that allows shared libraries with undefined symbols to be built.
17788 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17789
17790 # Flag that enforces no undefined symbols.
17791 no_undefined_flag=$lt_no_undefined_flag_CXX
17792
17793 # Flag to hardcode \$libdir into a binary during linking.
17794 # This must work even if \$libdir does not exist
17795 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17796
17797 # If ld is used when linking, flag to hardcode \$libdir into a binary
17798 # during linking.  This must work even if \$libdir does not exist.
17799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17800
17801 # Whether we need a single "-rpath" flag with a separated argument.
17802 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17803
17804 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17805 # DIR into the resulting binary.
17806 hardcode_direct=$hardcode_direct_CXX
17807
17808 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17809 # DIR into the resulting binary and the resulting library dependency is
17810 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17811 # library is relocated.
17812 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17813
17814 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17815 # into the resulting binary.
17816 hardcode_minus_L=$hardcode_minus_L_CXX
17817
17818 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17819 # into the resulting binary.
17820 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17821
17822 # Set to "yes" if building a shared library automatically hardcodes DIR
17823 # into the library and all subsequent libraries and executables linked
17824 # against it.
17825 hardcode_automatic=$hardcode_automatic_CXX
17826
17827 # Set to yes if linker adds runtime paths of dependent libraries
17828 # to runtime path list.
17829 inherit_rpath=$inherit_rpath_CXX
17830
17831 # Whether libtool must link a program against all its dependency libraries.
17832 link_all_deplibs=$link_all_deplibs_CXX
17833
17834 # Set to "yes" if exported symbols are required.
17835 always_export_symbols=$always_export_symbols_CXX
17836
17837 # The commands to list exported symbols.
17838 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17839
17840 # Symbols that should not be listed in the preloaded symbols.
17841 exclude_expsyms=$lt_exclude_expsyms_CXX
17842
17843 # Symbols that must always be exported.
17844 include_expsyms=$lt_include_expsyms_CXX
17845
17846 # Commands necessary for linking programs (against libraries) with templates.
17847 prelink_cmds=$lt_prelink_cmds_CXX
17848
17849 # Commands necessary for finishing linking programs.
17850 postlink_cmds=$lt_postlink_cmds_CXX
17851
17852 # Specify filename containing input files.
17853 file_list_spec=$lt_file_list_spec_CXX
17854
17855 # How to hardcode a shared library path into an executable.
17856 hardcode_action=$hardcode_action_CXX
17857
17858 # The directories searched by this compiler when creating a shared library.
17859 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17860
17861 # Dependencies to place before and after the objects being linked to
17862 # create a shared library.
17863 predep_objects=$lt_predep_objects_CXX
17864 postdep_objects=$lt_postdep_objects_CXX
17865 predeps=$lt_predeps_CXX
17866 postdeps=$lt_postdeps_CXX
17867
17868 # The library search path used internally by the compiler when linking
17869 # a shared library.
17870 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17871
17872 # ### END LIBTOOL TAG CONFIG: CXX
17873 _LT_EOF
17874
17875  ;;
17876
17877   esac
17878 done # for ac_tag
17879
17880
17881 as_fn_exit 0
17882 _ACEOF
17883 ac_clean_files=$ac_clean_files_save
17884
17885 test $ac_write_fail = 0 ||
17886   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17887
17888
17889 # configure is writing to config.log, and then calls config.status.
17890 # config.status does its own redirection, appending to config.log.
17891 # Unfortunately, on DOS this fails, as config.log is still kept open
17892 # by configure, so config.status won't be able to write to it; its
17893 # output is simply discarded.  So we exec the FD to /dev/null,
17894 # effectively closing config.log, so it can be properly (re)opened and
17895 # appended to by config.status.  When coming back to configure, we
17896 # need to make the FD available again.
17897 if test "$no_create" != yes; then
17898   ac_cs_success=:
17899   ac_config_status_args=
17900   test "$silent" = yes &&
17901     ac_config_status_args="$ac_config_status_args --quiet"
17902   exec 5>/dev/null
17903   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17904   exec 5>>config.log
17905   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17906   # would make configure fail if this is the last instruction.
17907   $ac_cs_success || as_fn_exit 1
17908 fi
17909 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17910   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17911 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17912 fi
17913