Initial commit.
[libsalac.git] / autom4te.cache / output.2
blobaa641990ae9b690fbc82a4a0b5ad05770398c3ea
1 @%:@! /bin/sh
2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.68 for libsalac 0.1.
4 @%:@
5 @%:@ Report bugs to <pulseaudio@niafc.de>.
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 ## -------------------- ##
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
38 as_nl='
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'
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   }
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"
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
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
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
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
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='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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
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; }
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.
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
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
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
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
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
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+"$@"}
242     if test x$as_have_required = xno; then :
243   $as_echo "$0: This script requires a shell more modern than all"
244   $as_echo "$0: the shells that I found on your system."
245   if test x${ZSH_VERSION+set} = xset ; then
246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248   else
249     $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: pulseaudio@niafc.de about your system, including any
251 $0: error possibly output before this message. Then install
252 $0: a modern shell, or manually run the script under such a
253 $0: shell if you do have one."
254   fi
255   exit 1
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
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
268 @%:@ as_fn_unset VAR
269 @%:@ ---------------
270 @%:@ Portably unset VAR.
271 as_fn_unset ()
273   { eval $1=; unset $1;}
275 as_unset=as_fn_unset
277 @%:@ as_fn_set_status STATUS
278 @%:@ -----------------------
279 @%:@ Set @S|@? to STATUS, without forking.
280 as_fn_set_status ()
282   return $1
283 } @%:@ as_fn_set_status
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 ()
290   set +e
291   as_fn_set_status $1
292   exit $1
293 } @%:@ as_fn_exit
295 @%:@ as_fn_mkdir_p
296 @%:@ -------------
297 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
298 as_fn_mkdir_p ()
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"
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
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
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 ()
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
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
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402   as_basename=basename
403 else
404   as_basename=false
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
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'`
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
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; }
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
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;;
481   ECHO_N='-n';;
482 esac
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
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'
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
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
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   '
539 as_executable_p=$as_test_x
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'"
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'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
551 exec 6>&1
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`
559 # Initializations.
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=
570 # Identity of this package.
571 PACKAGE_NAME='libsalac'
572 PACKAGE_TARNAME='libsalac'
573 PACKAGE_VERSION='0.1'
574 PACKAGE_STRING='libsalac 0.1'
575 PACKAGE_BUGREPORT='pulseaudio@niafc.de'
576 PACKAGE_URL='https://bugs.freedesktop.org/show_bug.cgi?id=42804'
578 # Factoring default headers for most tests.
579 ac_includes_default="\
580 #include <stdio.h>
581 #ifdef HAVE_SYS_TYPES_H
582 # include <sys/types.h>
583 #endif
584 #ifdef HAVE_SYS_STAT_H
585 # include <sys/stat.h>
586 #endif
587 #ifdef STDC_HEADERS
588 # include <stdlib.h>
589 # include <stddef.h>
590 #else
591 # ifdef HAVE_STDLIB_H
592 #  include <stdlib.h>
593 # endif
594 #endif
595 #ifdef HAVE_STRING_H
596 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
597 #  include <memory.h>
598 # endif
599 # include <string.h>
600 #endif
601 #ifdef HAVE_STRINGS_H
602 # include <strings.h>
603 #endif
604 #ifdef HAVE_INTTYPES_H
605 # include <inttypes.h>
606 #endif
607 #ifdef HAVE_STDINT_H
608 # include <stdint.h>
609 #endif
610 #ifdef HAVE_UNISTD_H
611 # include <unistd.h>
612 #endif"
614 ac_subst_vars='am__EXEEXT_FALSE
615 am__EXEEXT_TRUE
616 LTLIBOBJS
617 LIB@&t@OBJS
618 LIBSALAC_API_VERSION
619 LIBSALAC_SO_VERSION
620 CXXCPP
622 OTOOL64
623 OTOOL
624 LIPO
625 NMEDIT
626 DSYMUTIL
627 MANIFEST_TOOL
628 RANLIB
629 ac_ct_AR
631 DLLTOOL
632 OBJDUMP
633 LN_S
635 ac_ct_DUMPBIN
636 DUMPBIN
638 FGREP
639 EGREP
640 GREP
642 am__fastdepCC_FALSE
643 am__fastdepCC_TRUE
644 CCDEPMODE
645 ac_ct_CC
646 CFLAGS
648 host_os
649 host_vendor
650 host_cpu
651 host
652 build_os
653 build_vendor
654 build_cpu
655 build
656 LIBTOOL
657 am__fastdepCXX_FALSE
658 am__fastdepCXX_TRUE
659 CXXDEPMODE
660 am__nodep
661 AMDEPBACKSLASH
662 AMDEP_FALSE
663 AMDEP_TRUE
664 am__quote
665 am__include
666 DEPDIR
667 OBJEXT
668 EXEEXT
669 ac_ct_CXX
670 CPPFLAGS
671 LDFLAGS
672 CXXFLAGS
674 am__untar
675 am__tar
676 AMTAR
677 am__leading_dot
678 SET_MAKE
680 mkdir_p
681 MKDIR_P
682 INSTALL_STRIP_PROGRAM
683 STRIP
684 install_sh
685 MAKEINFO
686 AUTOHEADER
687 AUTOMAKE
688 AUTOCONF
689 ACLOCAL
690 VERSION
691 PACKAGE
692 CYGPATH_W
693 am__isrc
694 INSTALL_DATA
695 INSTALL_SCRIPT
696 INSTALL_PROGRAM
697 target_alias
698 host_alias
699 build_alias
700 LIBS
701 ECHO_T
702 ECHO_N
703 ECHO_C
704 DEFS
705 mandir
706 localedir
707 libdir
708 psdir
709 pdfdir
710 dvidir
711 htmldir
712 infodir
713 docdir
714 oldincludedir
715 includedir
716 localstatedir
717 sharedstatedir
718 sysconfdir
719 datadir
720 datarootdir
721 libexecdir
722 sbindir
723 bindir
724 program_transform_name
725 prefix
726 exec_prefix
727 PACKAGE_URL
728 PACKAGE_BUGREPORT
729 PACKAGE_STRING
730 PACKAGE_VERSION
731 PACKAGE_TARNAME
732 PACKAGE_NAME
733 PATH_SEPARATOR
734 SHELL'
735 ac_subst_files=''
736 ac_user_opts='
737 enable_option_checking
738 enable_dependency_tracking
739 enable_static
740 enable_shared
741 with_pic
742 enable_fast_install
743 with_gnu_ld
744 with_sysroot
745 enable_libtool_lock
747       ac_precious_vars='build_alias
748 host_alias
749 target_alias
751 CXXFLAGS
752 LDFLAGS
753 LIBS
754 CPPFLAGS
757 CFLAGS
759 CXXCPP'
762 # Initialize some variables set by options.
763 ac_init_help=
764 ac_init_version=false
765 ac_unrecognized_opts=
766 ac_unrecognized_sep=
767 # The variables have the same names as the options, with
768 # dashes changed to underlines.
769 cache_file=/dev/null
770 exec_prefix=NONE
771 no_create=
772 no_recursion=
773 prefix=NONE
774 program_prefix=NONE
775 program_suffix=NONE
776 program_transform_name=s,x,x,
777 silent=
778 site=
779 srcdir=
780 verbose=
781 x_includes=NONE
782 x_libraries=NONE
784 # Installation directory options.
785 # These are left unexpanded so users can "make install exec_prefix=/foo"
786 # and all the variables that are supposed to be based on exec_prefix
787 # by default will actually change.
788 # Use braces instead of parens because sh, perl, etc. also accept them.
789 # (The list follows the same order as the GNU Coding Standards.)
790 bindir='${exec_prefix}/bin'
791 sbindir='${exec_prefix}/sbin'
792 libexecdir='${exec_prefix}/libexec'
793 datarootdir='${prefix}/share'
794 datadir='${datarootdir}'
795 sysconfdir='${prefix}/etc'
796 sharedstatedir='${prefix}/com'
797 localstatedir='${prefix}/var'
798 includedir='${prefix}/include'
799 oldincludedir='/usr/include'
800 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
801 infodir='${datarootdir}/info'
802 htmldir='${docdir}'
803 dvidir='${docdir}'
804 pdfdir='${docdir}'
805 psdir='${docdir}'
806 libdir='${exec_prefix}/lib'
807 localedir='${datarootdir}/locale'
808 mandir='${datarootdir}/man'
810 ac_prev=
811 ac_dashdash=
812 for ac_option
814   # If the previous option needs an argument, assign it.
815   if test -n "$ac_prev"; then
816     eval $ac_prev=\$ac_option
817     ac_prev=
818     continue
819   fi
821   case $ac_option in
822   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
823   *=)   ac_optarg= ;;
824   *)    ac_optarg=yes ;;
825   esac
827   # Accept the important Cygnus configure options, so we can diagnose typos.
829   case $ac_dashdash$ac_option in
830   --)
831     ac_dashdash=yes ;;
833   -bindir | --bindir | --bindi | --bind | --bin | --bi)
834     ac_prev=bindir ;;
835   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
836     bindir=$ac_optarg ;;
838   -build | --build | --buil | --bui | --bu)
839     ac_prev=build_alias ;;
840   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
841     build_alias=$ac_optarg ;;
843   -cache-file | --cache-file | --cache-fil | --cache-fi \
844   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
845     ac_prev=cache_file ;;
846   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
847   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
848     cache_file=$ac_optarg ;;
850   --config-cache | -C)
851     cache_file=config.cache ;;
853   -datadir | --datadir | --datadi | --datad)
854     ac_prev=datadir ;;
855   -datadir=* | --datadir=* | --datadi=* | --datad=*)
856     datadir=$ac_optarg ;;
858   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
859   | --dataroo | --dataro | --datar)
860     ac_prev=datarootdir ;;
861   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
862   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
863     datarootdir=$ac_optarg ;;
865   -disable-* | --disable-*)
866     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867     # Reject names that are not valid shell variable names.
868     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869       as_fn_error $? "invalid feature name: $ac_useropt"
870     ac_useropt_orig=$ac_useropt
871     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872     case $ac_user_opts in
873       *"
874 "enable_$ac_useropt"
875 "*) ;;
876       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877          ac_unrecognized_sep=', ';;
878     esac
879     eval enable_$ac_useropt=no ;;
881   -docdir | --docdir | --docdi | --doc | --do)
882     ac_prev=docdir ;;
883   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
884     docdir=$ac_optarg ;;
886   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
887     ac_prev=dvidir ;;
888   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
889     dvidir=$ac_optarg ;;
891   -enable-* | --enable-*)
892     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893     # Reject names that are not valid shell variable names.
894     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895       as_fn_error $? "invalid feature name: $ac_useropt"
896     ac_useropt_orig=$ac_useropt
897     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898     case $ac_user_opts in
899       *"
900 "enable_$ac_useropt"
901 "*) ;;
902       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903          ac_unrecognized_sep=', ';;
904     esac
905     eval enable_$ac_useropt=\$ac_optarg ;;
907   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909   | --exec | --exe | --ex)
910     ac_prev=exec_prefix ;;
911   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913   | --exec=* | --exe=* | --ex=*)
914     exec_prefix=$ac_optarg ;;
916   -gas | --gas | --ga | --g)
917     # Obsolete; use --with-gas.
918     with_gas=yes ;;
920   -help | --help | --hel | --he | -h)
921     ac_init_help=long ;;
922   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
923     ac_init_help=recursive ;;
924   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
925     ac_init_help=short ;;
927   -host | --host | --hos | --ho)
928     ac_prev=host_alias ;;
929   -host=* | --host=* | --hos=* | --ho=*)
930     host_alias=$ac_optarg ;;
932   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
933     ac_prev=htmldir ;;
934   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
935   | --ht=*)
936     htmldir=$ac_optarg ;;
938   -includedir | --includedir | --includedi | --included | --include \
939   | --includ | --inclu | --incl | --inc)
940     ac_prev=includedir ;;
941   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942   | --includ=* | --inclu=* | --incl=* | --inc=*)
943     includedir=$ac_optarg ;;
945   -infodir | --infodir | --infodi | --infod | --info | --inf)
946     ac_prev=infodir ;;
947   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948     infodir=$ac_optarg ;;
950   -libdir | --libdir | --libdi | --libd)
951     ac_prev=libdir ;;
952   -libdir=* | --libdir=* | --libdi=* | --libd=*)
953     libdir=$ac_optarg ;;
955   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956   | --libexe | --libex | --libe)
957     ac_prev=libexecdir ;;
958   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959   | --libexe=* | --libex=* | --libe=*)
960     libexecdir=$ac_optarg ;;
962   -localedir | --localedir | --localedi | --localed | --locale)
963     ac_prev=localedir ;;
964   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965     localedir=$ac_optarg ;;
967   -localstatedir | --localstatedir | --localstatedi | --localstated \
968   | --localstate | --localstat | --localsta | --localst | --locals)
969     ac_prev=localstatedir ;;
970   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972     localstatedir=$ac_optarg ;;
974   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
975     ac_prev=mandir ;;
976   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
977     mandir=$ac_optarg ;;
979   -nfp | --nfp | --nf)
980     # Obsolete; use --without-fp.
981     with_fp=no ;;
983   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984   | --no-cr | --no-c | -n)
985     no_create=yes ;;
987   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
989     no_recursion=yes ;;
991   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993   | --oldin | --oldi | --old | --ol | --o)
994     ac_prev=oldincludedir ;;
995   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998     oldincludedir=$ac_optarg ;;
1000   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1001     ac_prev=prefix ;;
1002   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003     prefix=$ac_optarg ;;
1005   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006   | --program-pre | --program-pr | --program-p)
1007     ac_prev=program_prefix ;;
1008   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010     program_prefix=$ac_optarg ;;
1012   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013   | --program-suf | --program-su | --program-s)
1014     ac_prev=program_suffix ;;
1015   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017     program_suffix=$ac_optarg ;;
1019   -program-transform-name | --program-transform-name \
1020   | --program-transform-nam | --program-transform-na \
1021   | --program-transform-n | --program-transform- \
1022   | --program-transform | --program-transfor \
1023   | --program-transfo | --program-transf \
1024   | --program-trans | --program-tran \
1025   | --progr-tra | --program-tr | --program-t)
1026     ac_prev=program_transform_name ;;
1027   -program-transform-name=* | --program-transform-name=* \
1028   | --program-transform-nam=* | --program-transform-na=* \
1029   | --program-transform-n=* | --program-transform-=* \
1030   | --program-transform=* | --program-transfor=* \
1031   | --program-transfo=* | --program-transf=* \
1032   | --program-trans=* | --program-tran=* \
1033   | --progr-tra=* | --program-tr=* | --program-t=*)
1034     program_transform_name=$ac_optarg ;;
1036   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1037     ac_prev=pdfdir ;;
1038   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039     pdfdir=$ac_optarg ;;
1041   -psdir | --psdir | --psdi | --psd | --ps)
1042     ac_prev=psdir ;;
1043   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1044     psdir=$ac_optarg ;;
1046   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047   | -silent | --silent | --silen | --sile | --sil)
1048     silent=yes ;;
1050   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051     ac_prev=sbindir ;;
1052   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053   | --sbi=* | --sb=*)
1054     sbindir=$ac_optarg ;;
1056   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058   | --sharedst | --shareds | --shared | --share | --shar \
1059   | --sha | --sh)
1060     ac_prev=sharedstatedir ;;
1061   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064   | --sha=* | --sh=*)
1065     sharedstatedir=$ac_optarg ;;
1067   -site | --site | --sit)
1068     ac_prev=site ;;
1069   -site=* | --site=* | --sit=*)
1070     site=$ac_optarg ;;
1072   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073     ac_prev=srcdir ;;
1074   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075     srcdir=$ac_optarg ;;
1077   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078   | --syscon | --sysco | --sysc | --sys | --sy)
1079     ac_prev=sysconfdir ;;
1080   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082     sysconfdir=$ac_optarg ;;
1084   -target | --target | --targe | --targ | --tar | --ta | --t)
1085     ac_prev=target_alias ;;
1086   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087     target_alias=$ac_optarg ;;
1089   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1090     verbose=yes ;;
1092   -version | --version | --versio | --versi | --vers | -V)
1093     ac_init_version=: ;;
1095   -with-* | --with-*)
1096     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097     # Reject names that are not valid shell variable names.
1098     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099       as_fn_error $? "invalid package name: $ac_useropt"
1100     ac_useropt_orig=$ac_useropt
1101     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102     case $ac_user_opts in
1103       *"
1104 "with_$ac_useropt"
1105 "*) ;;
1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107          ac_unrecognized_sep=', ';;
1108     esac
1109     eval with_$ac_useropt=\$ac_optarg ;;
1111   -without-* | --without-*)
1112     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113     # Reject names that are not valid shell variable names.
1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115       as_fn_error $? "invalid package name: $ac_useropt"
1116     ac_useropt_orig=$ac_useropt
1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118     case $ac_user_opts in
1119       *"
1120 "with_$ac_useropt"
1121 "*) ;;
1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123          ac_unrecognized_sep=', ';;
1124     esac
1125     eval with_$ac_useropt=no ;;
1127   --x)
1128     # Obsolete; use --with-x.
1129     with_x=yes ;;
1131   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132   | --x-incl | --x-inc | --x-in | --x-i)
1133     ac_prev=x_includes ;;
1134   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136     x_includes=$ac_optarg ;;
1138   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140     ac_prev=x_libraries ;;
1141   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143     x_libraries=$ac_optarg ;;
1145   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information"
1147     ;;
1149   *=*)
1150     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151     # Reject names that are not valid shell variable names.
1152     case $ac_envvar in #(
1153       '' | [0-9]* | *[!_$as_cr_alnum]* )
1154       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1155     esac
1156     eval $ac_envvar=\$ac_optarg
1157     export $ac_envvar ;;
1159   *)
1160     # FIXME: should be removed in autoconf 3.0.
1161     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1165     ;;
1167   esac
1168 done
1170 if test -n "$ac_prev"; then
1171   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172   as_fn_error $? "missing argument to $ac_option"
1175 if test -n "$ac_unrecognized_opts"; then
1176   case $enable_option_checking in
1177     no) ;;
1178     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1179     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180   esac
1183 # Check all directory arguments for consistency.
1184 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185                 datadir sysconfdir sharedstatedir localstatedir includedir \
1186                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187                 libdir localedir mandir
1189   eval ac_val=\$$ac_var
1190   # Remove trailing slashes.
1191   case $ac_val in
1192     */ )
1193       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194       eval $ac_var=\$ac_val;;
1195   esac
1196   # Be sure to have absolute directory names.
1197   case $ac_val in
1198     [\\/$]* | ?:[\\/]* )  continue;;
1199     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1200   esac
1201   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1202 done
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1207 build=$build_alias
1208 host=$host_alias
1209 target=$target_alias
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x; then
1213   if test "x$build_alias" = x; then
1214     cross_compiling=maybe
1215     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1216     If a cross compiler is detected then cross compile mode will be used" >&2
1217   elif test "x$build_alias" != "x$host_alias"; then
1218     cross_compiling=yes
1219   fi
1222 ac_tool_prefix=
1223 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1225 test "$silent" = yes && exec 6>/dev/null
1228 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di=`ls -di .` &&
1230 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1231   as_fn_error $? "working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233   as_fn_error $? "pwd does not report name of working directory"
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238   ac_srcdir_defaulted=yes
1239   # Try the directory containing this script, then the parent directory.
1240   ac_confdir=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242          X"$as_myself" : 'X\(//\)[^/]' \| \
1243          X"$as_myself" : 'X\(//\)$' \| \
1244          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247             s//\1/
1248             q
1249           }
1250           /^X\(\/\/\)[^/].*/{
1251             s//\1/
1252             q
1253           }
1254           /^X\(\/\/\)$/{
1255             s//\1/
1256             q
1257           }
1258           /^X\(\/\).*/{
1259             s//\1/
1260             q
1261           }
1262           s/.*/./; q'`
1263   srcdir=$ac_confdir
1264   if test ! -r "$srcdir/$ac_unique_file"; then
1265     srcdir=..
1266   fi
1267 else
1268   ac_srcdir_defaulted=no
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1272   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 ac_abs_confdir=`(
1276         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1277         pwd)`
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280   srcdir=.
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1285 case $srcdir in
1286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 esac
1288 for ac_var in $ac_precious_vars; do
1289   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290   eval ac_env_${ac_var}_value=\$${ac_var}
1291   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293 done
1296 # Report the --help message.
1298 if test "$ac_init_help" = "long"; then
1299   # Omit some internal or obsolete options to make the list less imposing.
1300   # This message is too long to be a string in the A/UX 3.1 sh.
1301   cat <<_ACEOF
1302 \`configure' configures libsalac 0.1 to adapt to many kinds of systems.
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE.  See below for descriptions of some of the useful variables.
1309 Defaults for the options are specified in brackets.
1311 Configuration:
1312   -h, --help              display this help and exit
1313       --help=short        display options specific to this package
1314       --help=recursive    display the short help of all the included packages
1315   -V, --version           display version information and exit
1316   -q, --quiet, --silent   do not print \`checking ...' messages
1317       --cache-file=FILE   cache test results in FILE [disabled]
1318   -C, --config-cache      alias for \`--cache-file=config.cache'
1319   -n, --no-create         do not create output files
1320       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1322 Installation directories:
1323   --prefix=PREFIX         install architecture-independent files in PREFIX
1324                           @<:@@S|@ac_default_prefix@:>@
1325   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1326                           @<:@PREFIX@:>@
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1333 For better control, use the options below.
1335 Fine tuning of the installation directories:
1336   --bindir=DIR            user executables [EPREFIX/bin]
1337   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1338   --libexecdir=DIR        program executables [EPREFIX/libexec]
1339   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1340   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1341   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1342   --libdir=DIR            object code libraries [EPREFIX/lib]
1343   --includedir=DIR        C header files [PREFIX/include]
1344   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1345   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1346   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1347   --infodir=DIR           info documentation [DATAROOTDIR/info]
1348   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1349   --mandir=DIR            man documentation [DATAROOTDIR/man]
1350   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/libsalac@:>@
1351   --htmldir=DIR           html documentation [DOCDIR]
1352   --dvidir=DIR            dvi documentation [DOCDIR]
1353   --pdfdir=DIR            pdf documentation [DOCDIR]
1354   --psdir=DIR             ps documentation [DOCDIR]
1355 _ACEOF
1357   cat <<\_ACEOF
1359 Program names:
1360   --program-prefix=PREFIX            prepend PREFIX to installed program names
1361   --program-suffix=SUFFIX            append SUFFIX to installed program names
1362   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1364 System types:
1365   --build=BUILD     configure for building on BUILD [guessed]
1366   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1367 _ACEOF
1370 if test -n "$ac_init_help"; then
1371   case $ac_init_help in
1372      short | recursive ) echo "Configuration of libsalac 0.1:";;
1373    esac
1374   cat <<\_ACEOF
1376 Optional Features:
1377   --disable-option-checking  ignore unrecognized --enable/--with options
1378   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1379   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1380   --disable-dependency-tracking  speeds up one-time build
1381   --enable-dependency-tracking   do not reject slow dependency extractors
1382   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=no@:>@
1383   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1384   --enable-fast-install@<:@=PKGS@:>@ 
1385                           optimize for fast installation @<:@default=yes@:>@
1386   --disable-libtool-lock  avoid locking (might break parallel builds)
1388 Optional Packages:
1389   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1390   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1391   --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1392                           both@:>@
1393   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1394   --with-sysroot=DIR Search for dependent libraries within DIR
1395                         (or the compiler's sysroot if not specified).
1397 Some influential environment variables:
1398   CXX         C++ compiler command
1399   CXXFLAGS    C++ compiler flags
1400   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1401               nonstandard directory <lib dir>
1402   LIBS        libraries to pass to the linker, e.g. -l<library>
1403   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1404               you have headers in a nonstandard directory <include dir>
1405   CC          C compiler command
1406   CFLAGS      C compiler flags
1407   CPP         C preprocessor
1408   CXXCPP      C++ preprocessor
1410 Use these variables to override the choices made by `configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1413 Report bugs to <pulseaudio@niafc.de>.
1414 libsalac home page: <https://bugs.freedesktop.org/show_bug.cgi?id=42804>.
1415 _ACEOF
1416 ac_status=$?
1419 if test "$ac_init_help" = "recursive"; then
1420   # If there are subdirs, report their specific --help.
1421   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422     test -d "$ac_dir" ||
1423       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1424       continue
1425     ac_builddir=.
1427 case "$ac_dir" in
1428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1430   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1431   # A ".." for each directory in $ac_dir_suffix.
1432   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433   case $ac_top_builddir_sub in
1434   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436   esac ;;
1437 esac
1438 ac_abs_top_builddir=$ac_pwd
1439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440 # for backward compatibility:
1441 ac_top_builddir=$ac_top_build_prefix
1443 case $srcdir in
1444   .)  # We are building in place.
1445     ac_srcdir=.
1446     ac_top_srcdir=$ac_top_builddir_sub
1447     ac_abs_top_srcdir=$ac_pwd ;;
1448   [\\/]* | ?:[\\/]* )  # Absolute name.
1449     ac_srcdir=$srcdir$ac_dir_suffix;
1450     ac_top_srcdir=$srcdir
1451     ac_abs_top_srcdir=$srcdir ;;
1452   *) # Relative name.
1453     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454     ac_top_srcdir=$ac_top_build_prefix$srcdir
1455     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456 esac
1457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1459     cd "$ac_dir" || { ac_status=$?; continue; }
1460     # Check for guested configure.
1461     if test -f "$ac_srcdir/configure.gnu"; then
1462       echo &&
1463       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464     elif test -f "$ac_srcdir/configure"; then
1465       echo &&
1466       $SHELL "$ac_srcdir/configure" --help=recursive
1467     else
1468       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469     fi || ac_status=$?
1470     cd "$ac_pwd" || { ac_status=$?; break; }
1471   done
1474 test -n "$ac_init_help" && exit $ac_status
1475 if $ac_init_version; then
1476   cat <<\_ACEOF
1477 libsalac configure 0.1
1478 generated by GNU Autoconf 2.68
1480 Copyright (C) 2010 Free Software Foundation, Inc.
1481 This configure script is free software; the Free Software Foundation
1482 gives unlimited permission to copy, distribute and modify it.
1483 _ACEOF
1484   exit
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1491 @%:@ ac_fn_cxx_try_compile LINENO
1492 @%:@ ----------------------------
1493 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1494 ac_fn_cxx_try_compile ()
1496   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497   rm -f conftest.$ac_objext
1498   if { { ac_try="$ac_compile"
1499 case "(($ac_try" in
1500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501   *) ac_try_echo=$ac_try;;
1502 esac
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505   (eval "$ac_compile") 2>conftest.err
1506   ac_status=$?
1507   if test -s conftest.err; then
1508     grep -v '^ *+' conftest.err >conftest.er1
1509     cat conftest.er1 >&5
1510     mv -f conftest.er1 conftest.err
1511   fi
1512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513   test $ac_status = 0; } && {
1514          test -z "$ac_cxx_werror_flag" ||
1515          test ! -s conftest.err
1516        } && test -s conftest.$ac_objext; then :
1517   ac_retval=0
1518 else
1519   $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1522         ac_retval=1
1524   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525   as_fn_set_status $ac_retval
1527 } @%:@ ac_fn_cxx_try_compile
1529 @%:@ ac_fn_c_try_compile LINENO
1530 @%:@ --------------------------
1531 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535   rm -f conftest.$ac_objext
1536   if { { ac_try="$ac_compile"
1537 case "(($ac_try" in
1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539   *) ac_try_echo=$ac_try;;
1540 esac
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543   (eval "$ac_compile") 2>conftest.err
1544   ac_status=$?
1545   if test -s conftest.err; then
1546     grep -v '^ *+' conftest.err >conftest.er1
1547     cat conftest.er1 >&5
1548     mv -f conftest.er1 conftest.err
1549   fi
1550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551   test $ac_status = 0; } && {
1552          test -z "$ac_c_werror_flag" ||
1553          test ! -s conftest.err
1554        } && test -s conftest.$ac_objext; then :
1555   ac_retval=0
1556 else
1557   $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1560         ac_retval=1
1562   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563   as_fn_set_status $ac_retval
1565 } @%:@ ac_fn_c_try_compile
1567 @%:@ ac_fn_c_try_link LINENO
1568 @%:@ -----------------------
1569 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1570 ac_fn_c_try_link ()
1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573   rm -f conftest.$ac_objext conftest$ac_exeext
1574   if { { ac_try="$ac_link"
1575 case "(($ac_try" in
1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577   *) ac_try_echo=$ac_try;;
1578 esac
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581   (eval "$ac_link") 2>conftest.err
1582   ac_status=$?
1583   if test -s conftest.err; then
1584     grep -v '^ *+' conftest.err >conftest.er1
1585     cat conftest.er1 >&5
1586     mv -f conftest.er1 conftest.err
1587   fi
1588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589   test $ac_status = 0; } && {
1590          test -z "$ac_c_werror_flag" ||
1591          test ! -s conftest.err
1592        } && test -s conftest$ac_exeext && {
1593          test "$cross_compiling" = yes ||
1594          $as_test_x conftest$ac_exeext
1595        }; then :
1596   ac_retval=0
1597 else
1598   $as_echo "$as_me: failed program was:" >&5
1599 sed 's/^/| /' conftest.$ac_ext >&5
1601         ac_retval=1
1603   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1604   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1605   # interfere with the next link command; also delete a directory that is
1606   # left behind by Apple's compiler.  We do this before executing the actions.
1607   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1608   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609   as_fn_set_status $ac_retval
1611 } @%:@ ac_fn_c_try_link
1613 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1614 @%:@ -------------------------------------------------------
1615 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1616 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1617 ac_fn_c_check_header_compile ()
1619   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if eval \${$3+:} false; then :
1623   $as_echo_n "(cached) " >&6
1624 else
1625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h.  */
1628 @%:@include <$2>
1629 _ACEOF
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631   eval "$3=yes"
1632 else
1633   eval "$3=no"
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1637 eval ac_res=\$$3
1638                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1639 $as_echo "$ac_res" >&6; }
1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1642 } @%:@ ac_fn_c_check_header_compile
1644 @%:@ ac_fn_c_try_cpp LINENO
1645 @%:@ ----------------------
1646 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1647 ac_fn_c_try_cpp ()
1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650   if { { ac_try="$ac_cpp conftest.$ac_ext"
1651 case "(($ac_try" in
1652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653   *) ac_try_echo=$ac_try;;
1654 esac
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1658   ac_status=$?
1659   if test -s conftest.err; then
1660     grep -v '^ *+' conftest.err >conftest.er1
1661     cat conftest.er1 >&5
1662     mv -f conftest.er1 conftest.err
1663   fi
1664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665   test $ac_status = 0; } > conftest.i && {
1666          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1667          test ! -s conftest.err
1668        }; then :
1669   ac_retval=0
1670 else
1671   $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1674     ac_retval=1
1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677   as_fn_set_status $ac_retval
1679 } @%:@ ac_fn_c_try_cpp
1681 @%:@ ac_fn_c_try_run LINENO
1682 @%:@ ----------------------
1683 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1684 @%:@ that executables *can* be run.
1685 ac_fn_c_try_run ()
1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688   if { { ac_try="$ac_link"
1689 case "(($ac_try" in
1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691   *) ac_try_echo=$ac_try;;
1692 esac
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695   (eval "$ac_link") 2>&5
1696   ac_status=$?
1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1699   { { case "(($ac_try" in
1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701   *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705   (eval "$ac_try") 2>&5
1706   ac_status=$?
1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708   test $ac_status = 0; }; }; then :
1709   ac_retval=0
1710 else
1711   $as_echo "$as_me: program exited with status $ac_status" >&5
1712        $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1715        ac_retval=$ac_status
1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1719   as_fn_set_status $ac_retval
1721 } @%:@ ac_fn_c_try_run
1723 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1724 @%:@ ----------------------------------
1725 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1726 ac_fn_c_check_func ()
1728   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1730 $as_echo_n "checking for $2... " >&6; }
1731 if eval \${$3+:} false; then :
1732   $as_echo_n "(cached) " >&6
1733 else
1734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1735 /* end confdefs.h.  */
1736 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1738 #define $2 innocuous_$2
1740 /* System header to define __stub macros and hopefully few prototypes,
1741     which can conflict with char $2 (); below.
1742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1743     <limits.h> exists even on freestanding compilers.  */
1745 #ifdef __STDC__
1746 # include <limits.h>
1747 #else
1748 # include <assert.h>
1749 #endif
1751 #undef $2
1753 /* Override any GCC internal prototype to avoid an error.
1754    Use char because int might match the return type of a GCC
1755    builtin and then its argument prototype would still apply.  */
1756 #ifdef __cplusplus
1757 extern "C"
1758 #endif
1759 char $2 ();
1760 /* The GNU C library defines this for functions which it implements
1761     to always fail with ENOSYS.  Some functions are actually named
1762     something starting with __ and the normal name is an alias.  */
1763 #if defined __stub_$2 || defined __stub___$2
1764 choke me
1765 #endif
1768 main ()
1770 return $2 ();
1771   ;
1772   return 0;
1774 _ACEOF
1775 if ac_fn_c_try_link "$LINENO"; then :
1776   eval "$3=yes"
1777 else
1778   eval "$3=no"
1780 rm -f core conftest.err conftest.$ac_objext \
1781     conftest$ac_exeext conftest.$ac_ext
1783 eval ac_res=\$$3
1784                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 } @%:@ ac_fn_c_check_func
1790 @%:@ ac_fn_cxx_try_cpp LINENO
1791 @%:@ ------------------------
1792 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1793 ac_fn_cxx_try_cpp ()
1795   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796   if { { ac_try="$ac_cpp conftest.$ac_ext"
1797 case "(($ac_try" in
1798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799   *) ac_try_echo=$ac_try;;
1800 esac
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804   ac_status=$?
1805   if test -s conftest.err; then
1806     grep -v '^ *+' conftest.err >conftest.er1
1807     cat conftest.er1 >&5
1808     mv -f conftest.er1 conftest.err
1809   fi
1810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811   test $ac_status = 0; } > conftest.i && {
1812          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1813          test ! -s conftest.err
1814        }; then :
1815   ac_retval=0
1816 else
1817   $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1820     ac_retval=1
1822   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823   as_fn_set_status $ac_retval
1825 } @%:@ ac_fn_cxx_try_cpp
1827 @%:@ ac_fn_cxx_try_link LINENO
1828 @%:@ -------------------------
1829 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1830 ac_fn_cxx_try_link ()
1832   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833   rm -f conftest.$ac_objext conftest$ac_exeext
1834   if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837   *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841   (eval "$ac_link") 2>conftest.err
1842   ac_status=$?
1843   if test -s conftest.err; then
1844     grep -v '^ *+' conftest.err >conftest.er1
1845     cat conftest.er1 >&5
1846     mv -f conftest.er1 conftest.err
1847   fi
1848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849   test $ac_status = 0; } && {
1850          test -z "$ac_cxx_werror_flag" ||
1851          test ! -s conftest.err
1852        } && test -s conftest$ac_exeext && {
1853          test "$cross_compiling" = yes ||
1854          $as_test_x conftest$ac_exeext
1855        }; then :
1856   ac_retval=0
1857 else
1858   $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861         ac_retval=1
1863   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865   # interfere with the next link command; also delete a directory that is
1866   # left behind by Apple's compiler.  We do this before executing the actions.
1867   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869   as_fn_set_status $ac_retval
1871 } @%:@ ac_fn_cxx_try_link
1872 cat >config.log <<_ACEOF
1873 This file contains any messages produced by compilers while
1874 running configure, to aid debugging if configure makes a mistake.
1876 It was created by libsalac $as_me 0.1, which was
1877 generated by GNU Autoconf 2.68.  Invocation command line was
1879   $ $0 $@
1881 _ACEOF
1882 exec 5>>config.log
1884 cat <<_ASUNAME
1885 ## --------- ##
1886 ## Platform. ##
1887 ## --------- ##
1889 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1890 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1891 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1892 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1893 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1895 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1896 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1898 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1899 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1900 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1901 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1902 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1903 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1904 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1906 _ASUNAME
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1909 for as_dir in $PATH
1911   IFS=$as_save_IFS
1912   test -z "$as_dir" && as_dir=.
1913     $as_echo "PATH: $as_dir"
1914   done
1915 IFS=$as_save_IFS
1917 } >&5
1919 cat >&5 <<_ACEOF
1922 ## ----------- ##
1923 ## Core tests. ##
1924 ## ----------- ##
1926 _ACEOF
1929 # Keep a trace of the command line.
1930 # Strip out --no-create and --no-recursion so they do not pile up.
1931 # Strip out --silent because we don't want to record it for future runs.
1932 # Also quote any args containing shell meta-characters.
1933 # Make two passes to allow for proper duplicate-argument suppression.
1934 ac_configure_args=
1935 ac_configure_args0=
1936 ac_configure_args1=
1937 ac_must_keep_next=false
1938 for ac_pass in 1 2
1940   for ac_arg
1941   do
1942     case $ac_arg in
1943     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1944     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1945     | -silent | --silent | --silen | --sile | --sil)
1946       continue ;;
1947     *\'*)
1948       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1949     esac
1950     case $ac_pass in
1951     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1952     2)
1953       as_fn_append ac_configure_args1 " '$ac_arg'"
1954       if test $ac_must_keep_next = true; then
1955         ac_must_keep_next=false # Got value, back to normal.
1956       else
1957         case $ac_arg in
1958           *=* | --config-cache | -C | -disable-* | --disable-* \
1959           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1960           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1961           | -with-* | --with-* | -without-* | --without-* | --x)
1962             case "$ac_configure_args0 " in
1963               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1964             esac
1965             ;;
1966           -* ) ac_must_keep_next=true ;;
1967         esac
1968       fi
1969       as_fn_append ac_configure_args " '$ac_arg'"
1970       ;;
1971     esac
1972   done
1973 done
1974 { ac_configure_args0=; unset ac_configure_args0;}
1975 { ac_configure_args1=; unset ac_configure_args1;}
1977 # When interrupted or exit'd, cleanup temporary files, and complete
1978 # config.log.  We remove comments because anyway the quotes in there
1979 # would cause problems or look ugly.
1980 # WARNING: Use '\'' to represent an apostrophe within the trap.
1981 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1982 trap 'exit_status=$?
1983   # Save into config.log some information that might help in debugging.
1984   {
1985     echo
1987     $as_echo "## ---------------- ##
1988 ## Cache variables. ##
1989 ## ---------------- ##"
1990     echo
1991     # The following way of writing the cache mishandles newlines in values,
1993   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1994     eval ac_val=\$$ac_var
1995     case $ac_val in #(
1996     *${as_nl}*)
1997       case $ac_var in #(
1998       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2000       esac
2001       case $ac_var in #(
2002       _ | IFS | as_nl) ;; #(
2003       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004       *) { eval $ac_var=; unset $ac_var;} ;;
2005       esac ;;
2006     esac
2007   done
2008   (set) 2>&1 |
2009     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2010     *${as_nl}ac_space=\ *)
2011       sed -n \
2012         "s/'\''/'\''\\\\'\'''\''/g;
2013           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2014       ;; #(
2015     *)
2016       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2017       ;;
2018     esac |
2019     sort
2021     echo
2023     $as_echo "## ----------------- ##
2024 ## Output variables. ##
2025 ## ----------------- ##"
2026     echo
2027     for ac_var in $ac_subst_vars
2028     do
2029       eval ac_val=\$$ac_var
2030       case $ac_val in
2031       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032       esac
2033       $as_echo "$ac_var='\''$ac_val'\''"
2034     done | sort
2035     echo
2037     if test -n "$ac_subst_files"; then
2038       $as_echo "## ------------------- ##
2039 ## File substitutions. ##
2040 ## ------------------- ##"
2041       echo
2042       for ac_var in $ac_subst_files
2043       do
2044         eval ac_val=\$$ac_var
2045         case $ac_val in
2046         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2047         esac
2048         $as_echo "$ac_var='\''$ac_val'\''"
2049       done | sort
2050       echo
2051     fi
2053     if test -s confdefs.h; then
2054       $as_echo "## ----------- ##
2055 ## confdefs.h. ##
2056 ## ----------- ##"
2057       echo
2058       cat confdefs.h
2059       echo
2060     fi
2061     test "$ac_signal" != 0 &&
2062       $as_echo "$as_me: caught signal $ac_signal"
2063     $as_echo "$as_me: exit $exit_status"
2064   } >&5
2065   rm -f core *.core core.conftest.* &&
2066     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2067     exit $exit_status
2068 ' 0
2069 for ac_signal in 1 2 13 15; do
2070   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2071 done
2072 ac_signal=0
2074 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2075 rm -f -r conftest* confdefs.h
2077 $as_echo "/* confdefs.h */" > confdefs.h
2079 # Predefined preprocessor variables.
2081 cat >>confdefs.h <<_ACEOF
2082 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2083 _ACEOF
2085 cat >>confdefs.h <<_ACEOF
2086 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2087 _ACEOF
2089 cat >>confdefs.h <<_ACEOF
2090 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2091 _ACEOF
2093 cat >>confdefs.h <<_ACEOF
2094 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2095 _ACEOF
2097 cat >>confdefs.h <<_ACEOF
2098 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2099 _ACEOF
2101 cat >>confdefs.h <<_ACEOF
2102 @%:@define PACKAGE_URL "$PACKAGE_URL"
2103 _ACEOF
2106 # Let the site file select an alternate cache file if it wants to.
2107 # Prefer an explicitly selected file to automatically selected ones.
2108 ac_site_file1=NONE
2109 ac_site_file2=NONE
2110 if test -n "$CONFIG_SITE"; then
2111   # We do not want a PATH search for config.site.
2112   case $CONFIG_SITE in @%:@((
2113     -*)  ac_site_file1=./$CONFIG_SITE;;
2114     */*) ac_site_file1=$CONFIG_SITE;;
2115     *)   ac_site_file1=./$CONFIG_SITE;;
2116   esac
2117 elif test "x$prefix" != xNONE; then
2118   ac_site_file1=$prefix/share/config.site
2119   ac_site_file2=$prefix/etc/config.site
2120 else
2121   ac_site_file1=$ac_default_prefix/share/config.site
2122   ac_site_file2=$ac_default_prefix/etc/config.site
2124 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2126   test "x$ac_site_file" = xNONE && continue
2127   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2128     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2129 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2130     sed 's/^/| /' "$ac_site_file" >&5
2131     . "$ac_site_file" \
2132       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2134 as_fn_error $? "failed to load site script $ac_site_file
2135 See \`config.log' for more details" "$LINENO" 5; }
2136   fi
2137 done
2139 if test -r "$cache_file"; then
2140   # Some versions of bash will fail to source /dev/null (special files
2141   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2142   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2143     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2144 $as_echo "$as_me: loading cache $cache_file" >&6;}
2145     case $cache_file in
2146       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2147       *)                      . "./$cache_file";;
2148     esac
2149   fi
2150 else
2151   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2152 $as_echo "$as_me: creating cache $cache_file" >&6;}
2153   >$cache_file
2156 # Check that the precious variables saved in the cache have kept the same
2157 # value.
2158 ac_cache_corrupted=false
2159 for ac_var in $ac_precious_vars; do
2160   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2161   eval ac_new_set=\$ac_env_${ac_var}_set
2162   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2163   eval ac_new_val=\$ac_env_${ac_var}_value
2164   case $ac_old_set,$ac_new_set in
2165     set,)
2166       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2167 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2168       ac_cache_corrupted=: ;;
2169     ,set)
2170       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2171 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2172       ac_cache_corrupted=: ;;
2173     ,);;
2174     *)
2175       if test "x$ac_old_val" != "x$ac_new_val"; then
2176         # differences in whitespace do not lead to failure.
2177         ac_old_val_w=`echo x $ac_old_val`
2178         ac_new_val_w=`echo x $ac_new_val`
2179         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2180           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2181 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2182           ac_cache_corrupted=:
2183         else
2184           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2185 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2186           eval $ac_var=\$ac_old_val
2187         fi
2188         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2189 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2190         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2191 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2192       fi;;
2193   esac
2194   # Pass precious variables to config.status.
2195   if test "$ac_new_set" = set; then
2196     case $ac_new_val in
2197     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2198     *) ac_arg=$ac_var=$ac_new_val ;;
2199     esac
2200     case " $ac_configure_args " in
2201       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2202       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2203     esac
2204   fi
2205 done
2206 if $ac_cache_corrupted; then
2207   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2210 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2211   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2213 ## -------------------- ##
2214 ## Main body of script. ##
2215 ## -------------------- ##
2217 ac_ext=c
2218 ac_cpp='$CPP $CPPFLAGS'
2219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225 am__api_version='1.11'
2227 ac_aux_dir=
2228 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2229   if test -f "$ac_dir/install-sh"; then
2230     ac_aux_dir=$ac_dir
2231     ac_install_sh="$ac_aux_dir/install-sh -c"
2232     break
2233   elif test -f "$ac_dir/install.sh"; then
2234     ac_aux_dir=$ac_dir
2235     ac_install_sh="$ac_aux_dir/install.sh -c"
2236     break
2237   elif test -f "$ac_dir/shtool"; then
2238     ac_aux_dir=$ac_dir
2239     ac_install_sh="$ac_aux_dir/shtool install -c"
2240     break
2241   fi
2242 done
2243 if test -z "$ac_aux_dir"; then
2244   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2247 # These three variables are undocumented and unsupported,
2248 # and are intended to be withdrawn in a future Autoconf release.
2249 # They can cause serious problems if a builder's source tree is in a directory
2250 # whose full name contains unusual characters.
2251 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2252 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2253 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2256 # Find a good install program.  We prefer a C program (faster),
2257 # so one script is as good as another.  But avoid the broken or
2258 # incompatible versions:
2259 # SysV /etc/install, /usr/sbin/install
2260 # SunOS /usr/etc/install
2261 # IRIX /sbin/install
2262 # AIX /bin/install
2263 # AmigaOS /C/install, which installs bootblocks on floppy discs
2264 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2267 # OS/2's system install, which has a completely different semantic
2268 # ./install, which can be erroneously created by make from ./install.sh.
2269 # Reject install programs that cannot install multiple files.
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2271 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2272 if test -z "$INSTALL"; then
2273 if ${ac_cv_path_install+:} false; then :
2274   $as_echo_n "(cached) " >&6
2275 else
2276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 for as_dir in $PATH
2279   IFS=$as_save_IFS
2280   test -z "$as_dir" && as_dir=.
2281     # Account for people who put trailing slashes in PATH elements.
2282 case $as_dir/ in @%:@((
2283   ./ | .// | /[cC]/* | \
2284   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2285   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2286   /usr/ucb/* ) ;;
2287   *)
2288     # OSF1 and SCO ODT 3.0 have their own names for install.
2289     # Don't use installbsd from OSF since it installs stuff as root
2290     # by default.
2291     for ac_prog in ginstall scoinst install; do
2292       for ac_exec_ext in '' $ac_executable_extensions; do
2293         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2294           if test $ac_prog = install &&
2295             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2296             # AIX install.  It has an incompatible calling convention.
2297             :
2298           elif test $ac_prog = install &&
2299             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2300             # program-specific install script used by HP pwplus--don't use.
2301             :
2302           else
2303             rm -rf conftest.one conftest.two conftest.dir
2304             echo one > conftest.one
2305             echo two > conftest.two
2306             mkdir conftest.dir
2307             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2308               test -s conftest.one && test -s conftest.two &&
2309               test -s conftest.dir/conftest.one &&
2310               test -s conftest.dir/conftest.two
2311             then
2312               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2313               break 3
2314             fi
2315           fi
2316         fi
2317       done
2318     done
2319     ;;
2320 esac
2322   done
2323 IFS=$as_save_IFS
2325 rm -rf conftest.one conftest.two conftest.dir
2328   if test "${ac_cv_path_install+set}" = set; then
2329     INSTALL=$ac_cv_path_install
2330   else
2331     # As a last resort, use the slow shell script.  Don't cache a
2332     # value for INSTALL within a source directory, because that will
2333     # break other packages using the cache if that directory is
2334     # removed, or if the value is a relative name.
2335     INSTALL=$ac_install_sh
2336   fi
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2339 $as_echo "$INSTALL" >&6; }
2341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2342 # It thinks the first close brace ends the variable substitution.
2343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2350 $as_echo_n "checking whether build environment is sane... " >&6; }
2351 # Just in case
2352 sleep 1
2353 echo timestamp > conftest.file
2354 # Reject unsafe characters in $srcdir or the absolute working directory
2355 # name.  Accept space and tab only in the latter.
2356 am_lf='
2358 case `pwd` in
2359   *[\\\"\#\$\&\'\`$am_lf]*)
2360     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2361 esac
2362 case $srcdir in
2363   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2364     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2365 esac
2367 # Do `set' in a subshell so we don't clobber the current shell's
2368 # arguments.  Must try -L first in case configure is actually a
2369 # symlink; some systems play weird games with the mod time of symlinks
2370 # (eg FreeBSD returns the mod time of the symlink's containing
2371 # directory).
2372 if (
2373    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2374    if test "$*" = "X"; then
2375       # -L didn't work.
2376       set X `ls -t "$srcdir/configure" conftest.file`
2377    fi
2378    rm -f conftest.file
2379    if test "$*" != "X $srcdir/configure conftest.file" \
2380       && test "$*" != "X conftest.file $srcdir/configure"; then
2382       # If neither matched, then we have a broken ls.  This can happen
2383       # if, for instance, CONFIG_SHELL is bash and it inherits a
2384       # broken ls alias from the environment.  This has actually
2385       # happened.  Such a system could not be considered "sane".
2386       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2387 alias in your environment" "$LINENO" 5
2388    fi
2390    test "$2" = conftest.file
2391    )
2392 then
2393    # Ok.
2394    :
2395 else
2396    as_fn_error $? "newly created file is older than distributed files!
2397 Check your system clock" "$LINENO" 5
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2400 $as_echo "yes" >&6; }
2401 test "$program_prefix" != NONE &&
2402   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2403 # Use a double $ so make ignores it.
2404 test "$program_suffix" != NONE &&
2405   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2406 # Double any \ or $.
2407 # By default was `s,x,x', remove it if useless.
2408 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2409 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2411 # expand $ac_aux_dir to an absolute path
2412 am_aux_dir=`cd $ac_aux_dir && pwd`
2414 if test x"${MISSING+set}" != xset; then
2415   case $am_aux_dir in
2416   *\ * | *\     *)
2417     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2418   *)
2419     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2420   esac
2422 # Use eval to expand $SHELL
2423 if eval "$MISSING --run true"; then
2424   am_missing_run="$MISSING --run "
2425 else
2426   am_missing_run=
2427   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2428 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2431 if test x"${install_sh}" != xset; then
2432   case $am_aux_dir in
2433   *\ * | *\     *)
2434     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2435   *)
2436     install_sh="\${SHELL} $am_aux_dir/install-sh"
2437   esac
2440 # Installed binaries are usually stripped using `strip' when the user
2441 # run `make install-strip'.  However `strip' might not be the right
2442 # tool to use in cross-compilation environments, therefore Automake
2443 # will honor the `STRIP' environment variable to overrule this program.
2444 if test "$cross_compiling" != no; then
2445   if test -n "$ac_tool_prefix"; then
2446   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2447 set dummy ${ac_tool_prefix}strip; ac_word=$2
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2449 $as_echo_n "checking for $ac_word... " >&6; }
2450 if ${ac_cv_prog_STRIP+:} false; then :
2451   $as_echo_n "(cached) " >&6
2452 else
2453   if test -n "$STRIP"; then
2454   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2455 else
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2459   IFS=$as_save_IFS
2460   test -z "$as_dir" && as_dir=.
2461     for ac_exec_ext in '' $ac_executable_extensions; do
2462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2463     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2465     break 2
2466   fi
2467 done
2468   done
2469 IFS=$as_save_IFS
2473 STRIP=$ac_cv_prog_STRIP
2474 if test -n "$STRIP"; then
2475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2476 $as_echo "$STRIP" >&6; }
2477 else
2478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2479 $as_echo "no" >&6; }
2484 if test -z "$ac_cv_prog_STRIP"; then
2485   ac_ct_STRIP=$STRIP
2486   # Extract the first word of "strip", so it can be a program name with args.
2487 set dummy strip; ac_word=$2
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2489 $as_echo_n "checking for $ac_word... " >&6; }
2490 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2491   $as_echo_n "(cached) " >&6
2492 else
2493   if test -n "$ac_ct_STRIP"; then
2494   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2499   IFS=$as_save_IFS
2500   test -z "$as_dir" && as_dir=.
2501     for ac_exec_ext in '' $ac_executable_extensions; do
2502   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503     ac_cv_prog_ac_ct_STRIP="strip"
2504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2505     break 2
2506   fi
2507 done
2508   done
2509 IFS=$as_save_IFS
2513 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2514 if test -n "$ac_ct_STRIP"; then
2515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2516 $as_echo "$ac_ct_STRIP" >&6; }
2517 else
2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2519 $as_echo "no" >&6; }
2522   if test "x$ac_ct_STRIP" = x; then
2523     STRIP=":"
2524   else
2525     case $cross_compiling:$ac_tool_warned in
2526 yes:)
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2529 ac_tool_warned=yes ;;
2530 esac
2531     STRIP=$ac_ct_STRIP
2532   fi
2533 else
2534   STRIP="$ac_cv_prog_STRIP"
2538 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2541 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2542 if test -z "$MKDIR_P"; then
2543   if ${ac_cv_path_mkdir+:} false; then :
2544   $as_echo_n "(cached) " >&6
2545 else
2546   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2549   IFS=$as_save_IFS
2550   test -z "$as_dir" && as_dir=.
2551     for ac_prog in mkdir gmkdir; do
2552          for ac_exec_ext in '' $ac_executable_extensions; do
2553            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2554            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2555              'mkdir (GNU coreutils) '* | \
2556              'mkdir (coreutils) '* | \
2557              'mkdir (fileutils) '4.1*)
2558                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2559                break 3;;
2560            esac
2561          done
2562        done
2563   done
2564 IFS=$as_save_IFS
2568   test -d ./--version && rmdir ./--version
2569   if test "${ac_cv_path_mkdir+set}" = set; then
2570     MKDIR_P="$ac_cv_path_mkdir -p"
2571   else
2572     # As a last resort, use the slow shell script.  Don't cache a
2573     # value for MKDIR_P within a source directory, because that will
2574     # break other packages using the cache if that directory is
2575     # removed, or if the value is a relative name.
2576     MKDIR_P="$ac_install_sh -d"
2577   fi
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2580 $as_echo "$MKDIR_P" >&6; }
2582 mkdir_p="$MKDIR_P"
2583 case $mkdir_p in
2584   [\\/$]* | ?:[\\/]*) ;;
2585   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2586 esac
2588 for ac_prog in gawk mawk nawk awk
2590   # Extract the first word of "$ac_prog", so it can be a program name with args.
2591 set dummy $ac_prog; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if ${ac_cv_prog_AWK+:} false; then :
2595   $as_echo_n "(cached) " >&6
2596 else
2597   if test -n "$AWK"; then
2598   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2599 else
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 for as_dir in $PATH
2603   IFS=$as_save_IFS
2604   test -z "$as_dir" && as_dir=.
2605     for ac_exec_ext in '' $ac_executable_extensions; do
2606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2607     ac_cv_prog_AWK="$ac_prog"
2608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609     break 2
2610   fi
2611 done
2612   done
2613 IFS=$as_save_IFS
2617 AWK=$ac_cv_prog_AWK
2618 if test -n "$AWK"; then
2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2620 $as_echo "$AWK" >&6; }
2621 else
2622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2627   test -n "$AWK" && break
2628 done
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2631 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2632 set x ${MAKE-make}
2633 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2634 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2635   $as_echo_n "(cached) " >&6
2636 else
2637   cat >conftest.make <<\_ACEOF
2638 SHELL = /bin/sh
2639 all:
2640         @echo '@@@%%%=$(MAKE)=@@@%%%'
2641 _ACEOF
2642 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2643 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2644   *@@@%%%=?*=@@@%%%*)
2645     eval ac_cv_prog_make_${ac_make}_set=yes;;
2646   *)
2647     eval ac_cv_prog_make_${ac_make}_set=no;;
2648 esac
2649 rm -f conftest.make
2651 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2653 $as_echo "yes" >&6; }
2654   SET_MAKE=
2655 else
2656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2657 $as_echo "no" >&6; }
2658   SET_MAKE="MAKE=${MAKE-make}"
2661 rm -rf .tst 2>/dev/null
2662 mkdir .tst 2>/dev/null
2663 if test -d .tst; then
2664   am__leading_dot=.
2665 else
2666   am__leading_dot=_
2668 rmdir .tst 2>/dev/null
2670 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2671   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2672   # is not polluted with repeated "-I."
2673   am__isrc=' -I$(srcdir)'
2674   # test to see if srcdir already configured
2675   if test -f $srcdir/config.status; then
2676     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2677   fi
2680 # test whether we have cygpath
2681 if test -z "$CYGPATH_W"; then
2682   if (cygpath --version) >/dev/null 2>/dev/null; then
2683     CYGPATH_W='cygpath -w'
2684   else
2685     CYGPATH_W=echo
2686   fi
2690 # Define the identity of the package.
2691  PACKAGE='libsalac'
2692  VERSION='0.1'
2695 # Some tools Automake needs.
2697 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2700 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2703 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2706 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2709 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2711 # We need awk for the "check" target.  The system "awk" is bad on
2712 # some platforms.
2713 # Always define AMTAR for backward compatibility.  Yes, it's still used
2714 # in the wild :-(  We should find a proper way to deprecate it ...
2715 AMTAR='$${TAR-tar}'
2717 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2725 ac_config_headers="$ac_config_headers config.h libsalacconfig.h"
2727 ac_ext=cpp
2728 ac_cpp='$CXXCPP $CPPFLAGS'
2729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2732 if test -z "$CXX"; then
2733   if test -n "$CCC"; then
2734     CXX=$CCC
2735   else
2736     if test -n "$ac_tool_prefix"; then
2737   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2738   do
2739     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if ${ac_cv_prog_CXX+:} false; then :
2744   $as_echo_n "(cached) " >&6
2745 else
2746   if test -n "$CXX"; then
2747   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2748 else
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2752   IFS=$as_save_IFS
2753   test -z "$as_dir" && as_dir=.
2754     for ac_exec_ext in '' $ac_executable_extensions; do
2755   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2758     break 2
2759   fi
2760 done
2761   done
2762 IFS=$as_save_IFS
2766 CXX=$ac_cv_prog_CXX
2767 if test -n "$CXX"; then
2768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2769 $as_echo "$CXX" >&6; }
2770 else
2771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2776     test -n "$CXX" && break
2777   done
2779 if test -z "$CXX"; then
2780   ac_ct_CXX=$CXX
2781   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2783   # Extract the first word of "$ac_prog", so it can be a program name with args.
2784 set dummy $ac_prog; ac_word=$2
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2786 $as_echo_n "checking for $ac_word... " >&6; }
2787 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2788   $as_echo_n "(cached) " >&6
2789 else
2790   if test -n "$ac_ct_CXX"; then
2791   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2792 else
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 for as_dir in $PATH
2796   IFS=$as_save_IFS
2797   test -z "$as_dir" && as_dir=.
2798     for ac_exec_ext in '' $ac_executable_extensions; do
2799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800     ac_cv_prog_ac_ct_CXX="$ac_prog"
2801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2802     break 2
2803   fi
2804 done
2805   done
2806 IFS=$as_save_IFS
2810 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2811 if test -n "$ac_ct_CXX"; then
2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2813 $as_echo "$ac_ct_CXX" >&6; }
2814 else
2815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2816 $as_echo "no" >&6; }
2820   test -n "$ac_ct_CXX" && break
2821 done
2823   if test "x$ac_ct_CXX" = x; then
2824     CXX="g++"
2825   else
2826     case $cross_compiling:$ac_tool_warned in
2827 yes:)
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2830 ac_tool_warned=yes ;;
2831 esac
2832     CXX=$ac_ct_CXX
2833   fi
2836   fi
2838 # Provide some information about the compiler.
2839 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2840 set X $ac_compile
2841 ac_compiler=$2
2842 for ac_option in --version -v -V -qversion; do
2843   { { ac_try="$ac_compiler $ac_option >&5"
2844 case "(($ac_try" in
2845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846   *) ac_try_echo=$ac_try;;
2847 esac
2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 $as_echo "$ac_try_echo"; } >&5
2850   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2851   ac_status=$?
2852   if test -s conftest.err; then
2853     sed '10a\
2854 ... rest of stderr output deleted ...
2855          10q' conftest.err >conftest.er1
2856     cat conftest.er1 >&5
2857   fi
2858   rm -f conftest.er1 conftest.err
2859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860   test $ac_status = 0; }
2861 done
2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h.  */
2867 main ()
2870   ;
2871   return 0;
2873 _ACEOF
2874 ac_clean_files_save=$ac_clean_files
2875 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2876 # Try to create an executable without -o first, disregard a.out.
2877 # It will help us diagnose broken compilers, and finding out an intuition
2878 # of exeext.
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2880 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2881 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2883 # The possible output files:
2884 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2886 ac_rmfiles=
2887 for ac_file in $ac_files
2889   case $ac_file in
2890     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2891     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2892   esac
2893 done
2894 rm -f $ac_rmfiles
2896 if { { ac_try="$ac_link_default"
2897 case "(($ac_try" in
2898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899   *) ac_try_echo=$ac_try;;
2900 esac
2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902 $as_echo "$ac_try_echo"; } >&5
2903   (eval "$ac_link_default") 2>&5
2904   ac_status=$?
2905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2906   test $ac_status = 0; }; then :
2907   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2908 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2909 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2910 # so that the user can short-circuit this test for compilers unknown to
2911 # Autoconf.
2912 for ac_file in $ac_files ''
2914   test -f "$ac_file" || continue
2915   case $ac_file in
2916     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2917         ;;
2918     [ab].out )
2919         # We found the default executable, but exeext='' is most
2920         # certainly right.
2921         break;;
2922     *.* )
2923         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2924         then :; else
2925            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2926         fi
2927         # We set ac_cv_exeext here because the later test for it is not
2928         # safe: cross compilers may not add the suffix if given an `-o'
2929         # argument, so we may need to know it at that point already.
2930         # Even if this section looks crufty: it has the advantage of
2931         # actually working.
2932         break;;
2933     * )
2934         break;;
2935   esac
2936 done
2937 test "$ac_cv_exeext" = no && ac_cv_exeext=
2939 else
2940   ac_file=''
2942 if test -z "$ac_file"; then :
2943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2944 $as_echo "no" >&6; }
2945 $as_echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2948 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2950 as_fn_error 77 "C++ compiler cannot create executables
2951 See \`config.log' for more details" "$LINENO" 5; }
2952 else
2953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2954 $as_echo "yes" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2957 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2959 $as_echo "$ac_file" >&6; }
2960 ac_exeext=$ac_cv_exeext
2962 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2963 ac_clean_files=$ac_clean_files_save
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2965 $as_echo_n "checking for suffix of executables... " >&6; }
2966 if { { ac_try="$ac_link"
2967 case "(($ac_try" in
2968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969   *) ac_try_echo=$ac_try;;
2970 esac
2971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973   (eval "$ac_link") 2>&5
2974   ac_status=$?
2975   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976   test $ac_status = 0; }; then :
2977   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2978 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2979 # work properly (i.e., refer to `conftest.exe'), while it won't with
2980 # `rm'.
2981 for ac_file in conftest.exe conftest conftest.*; do
2982   test -f "$ac_file" || continue
2983   case $ac_file in
2984     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2985     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2986           break;;
2987     * ) break;;
2988   esac
2989 done
2990 else
2991   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2993 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2994 See \`config.log' for more details" "$LINENO" 5; }
2996 rm -f conftest conftest$ac_cv_exeext
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2998 $as_echo "$ac_cv_exeext" >&6; }
3000 rm -f conftest.$ac_ext
3001 EXEEXT=$ac_cv_exeext
3002 ac_exeext=$EXEEXT
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h.  */
3005 @%:@include <stdio.h>
3007 main ()
3009 FILE *f = fopen ("conftest.out", "w");
3010  return ferror (f) || fclose (f) != 0;
3012   ;
3013   return 0;
3015 _ACEOF
3016 ac_clean_files="$ac_clean_files conftest.out"
3017 # Check that the compiler produces executables we can run.  If not, either
3018 # the compiler is broken, or we cross compile.
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3020 $as_echo_n "checking whether we are cross compiling... " >&6; }
3021 if test "$cross_compiling" != yes; then
3022   { { ac_try="$ac_link"
3023 case "(($ac_try" in
3024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025   *) ac_try_echo=$ac_try;;
3026 esac
3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 $as_echo "$ac_try_echo"; } >&5
3029   (eval "$ac_link") 2>&5
3030   ac_status=$?
3031   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032   test $ac_status = 0; }
3033   if { ac_try='./conftest$ac_cv_exeext'
3034   { { case "(($ac_try" in
3035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036   *) ac_try_echo=$ac_try;;
3037 esac
3038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3039 $as_echo "$ac_try_echo"; } >&5
3040   (eval "$ac_try") 2>&5
3041   ac_status=$?
3042   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3043   test $ac_status = 0; }; }; then
3044     cross_compiling=no
3045   else
3046     if test "$cross_compiling" = maybe; then
3047         cross_compiling=yes
3048     else
3049         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3051 as_fn_error $? "cannot run C++ compiled programs.
3052 If you meant to cross compile, use \`--host'.
3053 See \`config.log' for more details" "$LINENO" 5; }
3054     fi
3055   fi
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3058 $as_echo "$cross_compiling" >&6; }
3060 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3061 ac_clean_files=$ac_clean_files_save
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3063 $as_echo_n "checking for suffix of object files... " >&6; }
3064 if ${ac_cv_objext+:} false; then :
3065   $as_echo_n "(cached) " >&6
3066 else
3067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h.  */
3071 main ()
3074   ;
3075   return 0;
3077 _ACEOF
3078 rm -f conftest.o conftest.obj
3079 if { { ac_try="$ac_compile"
3080 case "(($ac_try" in
3081   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082   *) ac_try_echo=$ac_try;;
3083 esac
3084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3085 $as_echo "$ac_try_echo"; } >&5
3086   (eval "$ac_compile") 2>&5
3087   ac_status=$?
3088   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089   test $ac_status = 0; }; then :
3090   for ac_file in conftest.o conftest.obj conftest.*; do
3091   test -f "$ac_file" || continue;
3092   case $ac_file in
3093     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3094     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3095        break;;
3096   esac
3097 done
3098 else
3099   $as_echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3104 as_fn_error $? "cannot compute suffix of object files: cannot compile
3105 See \`config.log' for more details" "$LINENO" 5; }
3107 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3110 $as_echo "$ac_cv_objext" >&6; }
3111 OBJEXT=$ac_cv_objext
3112 ac_objext=$OBJEXT
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3114 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3115 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3116   $as_echo_n "(cached) " >&6
3117 else
3118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h.  */
3122 main ()
3124 #ifndef __GNUC__
3125        choke me
3126 #endif
3128   ;
3129   return 0;
3131 _ACEOF
3132 if ac_fn_cxx_try_compile "$LINENO"; then :
3133   ac_compiler_gnu=yes
3134 else
3135   ac_compiler_gnu=no
3137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3138 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3142 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3143 if test $ac_compiler_gnu = yes; then
3144   GXX=yes
3145 else
3146   GXX=
3148 ac_test_CXXFLAGS=${CXXFLAGS+set}
3149 ac_save_CXXFLAGS=$CXXFLAGS
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3151 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3152 if ${ac_cv_prog_cxx_g+:} false; then :
3153   $as_echo_n "(cached) " >&6
3154 else
3155   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3156    ac_cxx_werror_flag=yes
3157    ac_cv_prog_cxx_g=no
3158    CXXFLAGS="-g"
3159    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160 /* end confdefs.h.  */
3163 main ()
3166   ;
3167   return 0;
3169 _ACEOF
3170 if ac_fn_cxx_try_compile "$LINENO"; then :
3171   ac_cv_prog_cxx_g=yes
3172 else
3173   CXXFLAGS=""
3174       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h.  */
3178 main ()
3181   ;
3182   return 0;
3184 _ACEOF
3185 if ac_fn_cxx_try_compile "$LINENO"; then :
3186   
3187 else
3188   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3189          CXXFLAGS="-g"
3190          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h.  */
3194 main ()
3197   ;
3198   return 0;
3200 _ACEOF
3201 if ac_fn_cxx_try_compile "$LINENO"; then :
3202   ac_cv_prog_cxx_g=yes
3204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3212 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3213 if test "$ac_test_CXXFLAGS" = set; then
3214   CXXFLAGS=$ac_save_CXXFLAGS
3215 elif test $ac_cv_prog_cxx_g = yes; then
3216   if test "$GXX" = yes; then
3217     CXXFLAGS="-g -O2"
3218   else
3219     CXXFLAGS="-g"
3220   fi
3221 else
3222   if test "$GXX" = yes; then
3223     CXXFLAGS="-O2"
3224   else
3225     CXXFLAGS=
3226   fi
3228 ac_ext=c
3229 ac_cpp='$CPP $CPPFLAGS'
3230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3233 DEPDIR="${am__leading_dot}deps"
3235 ac_config_commands="$ac_config_commands depfiles"
3238 am_make=${MAKE-make}
3239 cat > confinc << 'END'
3240 am__doit:
3241         @echo this is the am__doit target
3242 .PHONY: am__doit
3244 # If we don't find an include directive, just comment out the code.
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3246 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3247 am__include="#"
3248 am__quote=
3249 _am_result=none
3250 # First try GNU make style include.
3251 echo "include confinc" > confmf
3252 # Ignore all kinds of additional output from `make'.
3253 case `$am_make -s -f confmf 2> /dev/null` in #(
3254 *the\ am__doit\ target*)
3255   am__include=include
3256   am__quote=
3257   _am_result=GNU
3258   ;;
3259 esac
3260 # Now try BSD make style include.
3261 if test "$am__include" = "#"; then
3262    echo '.include "confinc"' > confmf
3263    case `$am_make -s -f confmf 2> /dev/null` in #(
3264    *the\ am__doit\ target*)
3265      am__include=.include
3266      am__quote="\""
3267      _am_result=BSD
3268      ;;
3269    esac
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3274 $as_echo "$_am_result" >&6; }
3275 rm -f confinc confmf
3277 @%:@ Check whether --enable-dependency-tracking was given.
3278 if test "${enable_dependency_tracking+set}" = set; then :
3279   enableval=$enable_dependency_tracking; 
3282 if test "x$enable_dependency_tracking" != xno; then
3283   am_depcomp="$ac_aux_dir/depcomp"
3284   AMDEPBACKSLASH='\'
3285   am__nodep='_no'
3287  if test "x$enable_dependency_tracking" != xno; then
3288   AMDEP_TRUE=
3289   AMDEP_FALSE='#'
3290 else
3291   AMDEP_TRUE='#'
3292   AMDEP_FALSE=
3297 depcc="$CXX"  am_compiler_list=
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3300 $as_echo_n "checking dependency style of $depcc... " >&6; }
3301 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3302   $as_echo_n "(cached) " >&6
3303 else
3304   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3305   # We make a subdir and do the tests there.  Otherwise we can end up
3306   # making bogus files that we don't know about and never remove.  For
3307   # instance it was reported that on HP-UX the gcc test will end up
3308   # making a dummy file named `D' -- because `-MD' means `put the output
3309   # in D'.
3310   rm -rf conftest.dir
3311   mkdir conftest.dir
3312   # Copy depcomp to subdir because otherwise we won't find it if we're
3313   # using a relative directory.
3314   cp "$am_depcomp" conftest.dir
3315   cd conftest.dir
3316   # We will build objects and dependencies in a subdirectory because
3317   # it helps to detect inapplicable dependency modes.  For instance
3318   # both Tru64's cc and ICC support -MD to output dependencies as a
3319   # side effect of compilation, but ICC will put the dependencies in
3320   # the current directory while Tru64 will put them in the object
3321   # directory.
3322   mkdir sub
3324   am_cv_CXX_dependencies_compiler_type=none
3325   if test "$am_compiler_list" = ""; then
3326      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3327   fi
3328   am__universal=false
3329   case " $depcc " in #(
3330      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3331      esac
3333   for depmode in $am_compiler_list; do
3334     # Setup a source with many dependencies, because some compilers
3335     # like to wrap large dependency lists on column 80 (with \), and
3336     # we should not choose a depcomp mode which is confused by this.
3337     #
3338     # We need to recreate these files for each test, as the compiler may
3339     # overwrite some of them when testing with obscure command lines.
3340     # This happens at least with the AIX C compiler.
3341     : > sub/conftest.c
3342     for i in 1 2 3 4 5 6; do
3343       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3344       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3345       # Solaris 8's {/usr,}/bin/sh.
3346       touch sub/conftst$i.h
3347     done
3348     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3350     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3351     # mode.  It turns out that the SunPro C++ compiler does not properly
3352     # handle `-M -o', and we need to detect this.  Also, some Intel
3353     # versions had trouble with output in subdirs
3354     am__obj=sub/conftest.${OBJEXT-o}
3355     am__minus_obj="-o $am__obj"
3356     case $depmode in
3357     gcc)
3358       # This depmode causes a compiler race in universal mode.
3359       test "$am__universal" = false || continue
3360       ;;
3361     nosideeffect)
3362       # after this tag, mechanisms are not by side-effect, so they'll
3363       # only be used when explicitly requested
3364       if test "x$enable_dependency_tracking" = xyes; then
3365         continue
3366       else
3367         break
3368       fi
3369       ;;
3370     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3371       # This compiler won't grok `-c -o', but also, the minuso test has
3372       # not run yet.  These depmodes are late enough in the game, and
3373       # so weak that their functioning should not be impacted.
3374       am__obj=conftest.${OBJEXT-o}
3375       am__minus_obj=
3376       ;;
3377     none) break ;;
3378     esac
3379     if depmode=$depmode \
3380        source=sub/conftest.c object=$am__obj \
3381        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3382        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3383          >/dev/null 2>conftest.err &&
3384        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3385        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3386        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3387        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3388       # icc doesn't choke on unknown options, it will just issue warnings
3389       # or remarks (even with -Werror).  So we grep stderr for any message
3390       # that says an option was ignored or not supported.
3391       # When given -MP, icc 7.0 and 7.1 complain thusly:
3392       #   icc: Command line warning: ignoring option '-M'; no argument required
3393       # The diagnosis changed in icc 8.0:
3394       #   icc: Command line remark: option '-MP' not supported
3395       if (grep 'ignoring option' conftest.err ||
3396           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3397         am_cv_CXX_dependencies_compiler_type=$depmode
3398         break
3399       fi
3400     fi
3401   done
3403   cd ..
3404   rm -rf conftest.dir
3405 else
3406   am_cv_CXX_dependencies_compiler_type=none
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3411 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3412 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3414  if 
3415   test "x$enable_dependency_tracking" != xno \
3416   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3417   am__fastdepCXX_TRUE=
3418   am__fastdepCXX_FALSE='#'
3419 else
3420   am__fastdepCXX_TRUE='#'
3421   am__fastdepCXX_FALSE=
3425 case `pwd` in
3426   *\ * | *\     *)
3427     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3428 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3429 esac
3433 macro_version='2.4.2'
3434 macro_revision='1.3337'
3436     
3437     
3438     
3441     
3442     
3443     
3448 ltmain="$ac_aux_dir/ltmain.sh"
3450 # Make sure we can run config.sub.
3451 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3452   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3455 $as_echo_n "checking build system type... " >&6; }
3456 if ${ac_cv_build+:} false; then :
3457   $as_echo_n "(cached) " >&6
3458 else
3459   ac_build_alias=$build_alias
3460 test "x$ac_build_alias" = x &&
3461   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3462 test "x$ac_build_alias" = x &&
3463   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3464 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3465   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3469 $as_echo "$ac_cv_build" >&6; }
3470 case $ac_cv_build in
3471 *-*-*) ;;
3472 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3473 esac
3474 build=$ac_cv_build
3475 ac_save_IFS=$IFS; IFS='-'
3476 set x $ac_cv_build
3477 shift
3478 build_cpu=$1
3479 build_vendor=$2
3480 shift; shift
3481 # Remember, the first character of IFS is used to create $*,
3482 # except with old shells:
3483 build_os=$*
3484 IFS=$ac_save_IFS
3485 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3489 $as_echo_n "checking host system type... " >&6; }
3490 if ${ac_cv_host+:} false; then :
3491   $as_echo_n "(cached) " >&6
3492 else
3493   if test "x$host_alias" = x; then
3494   ac_cv_host=$ac_cv_build
3495 else
3496   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3497     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3502 $as_echo "$ac_cv_host" >&6; }
3503 case $ac_cv_host in
3504 *-*-*) ;;
3505 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3506 esac
3507 host=$ac_cv_host
3508 ac_save_IFS=$IFS; IFS='-'
3509 set x $ac_cv_host
3510 shift
3511 host_cpu=$1
3512 host_vendor=$2
3513 shift; shift
3514 # Remember, the first character of IFS is used to create $*,
3515 # except with old shells:
3516 host_os=$*
3517 IFS=$ac_save_IFS
3518 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3521 # Backslashify metacharacters that are still active within
3522 # double-quoted strings.
3523 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3525 # Same as above, but do not quote variable references.
3526 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3528 # Sed substitution to delay expansion of an escaped shell variable in a
3529 # double_quote_subst'ed string.
3530 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3532 # Sed substitution to delay expansion of an escaped single quote.
3533 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3535 # Sed substitution to avoid accidental globbing in evaled expressions
3536 no_glob_subst='s/\*/\\\*/g'
3538 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3539 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3540 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3543 $as_echo_n "checking how to print strings... " >&6; }
3544 # Test print first, because it will be a builtin if present.
3545 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3546    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3547   ECHO='print -r --'
3548 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3549   ECHO='printf %s\n'
3550 else
3551   # Use this function as a fallback that always works.
3552   func_fallback_echo ()
3553   {
3554     eval 'cat <<_LTECHO_EOF
3556 _LTECHO_EOF'
3557   }
3558   ECHO='func_fallback_echo'
3561 # func_echo_all arg...
3562 # Invoke $ECHO with all args, space-separated.
3563 func_echo_all ()
3565     $ECHO "" 
3568 case "$ECHO" in
3569   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3570 $as_echo "printf" >&6; } ;;
3571   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3572 $as_echo "print -r" >&6; } ;;
3573   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3574 $as_echo "cat" >&6; } ;;
3575 esac
3580     
3581     
3582     
3585     
3586     
3587     
3590 ac_ext=c
3591 ac_cpp='$CPP $CPPFLAGS'
3592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3595 if test -n "$ac_tool_prefix"; then
3596   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3597 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_CC+:} false; then :
3601   $as_echo_n "(cached) " >&6
3602 else
3603   if test -n "$CC"; then
3604   ac_cv_prog_CC="$CC" # Let the user override the test.
3605 else
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 for as_dir in $PATH
3609   IFS=$as_save_IFS
3610   test -z "$as_dir" && as_dir=.
3611     for ac_exec_ext in '' $ac_executable_extensions; do
3612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3613     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615     break 2
3616   fi
3617 done
3618   done
3619 IFS=$as_save_IFS
3623 CC=$ac_cv_prog_CC
3624 if test -n "$CC"; then
3625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3626 $as_echo "$CC" >&6; }
3627 else
3628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3634 if test -z "$ac_cv_prog_CC"; then
3635   ac_ct_CC=$CC
3636   # Extract the first word of "gcc", so it can be a program name with args.
3637 set dummy gcc; ac_word=$2
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3639 $as_echo_n "checking for $ac_word... " >&6; }
3640 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3641   $as_echo_n "(cached) " >&6
3642 else
3643   if test -n "$ac_ct_CC"; then
3644   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3645 else
3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3649   IFS=$as_save_IFS
3650   test -z "$as_dir" && as_dir=.
3651     for ac_exec_ext in '' $ac_executable_extensions; do
3652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3653     ac_cv_prog_ac_ct_CC="gcc"
3654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655     break 2
3656   fi
3657 done
3658   done
3659 IFS=$as_save_IFS
3663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3664 if test -n "$ac_ct_CC"; then
3665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3666 $as_echo "$ac_ct_CC" >&6; }
3667 else
3668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3669 $as_echo "no" >&6; }
3672   if test "x$ac_ct_CC" = x; then
3673     CC=""
3674   else
3675     case $cross_compiling:$ac_tool_warned in
3676 yes:)
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3679 ac_tool_warned=yes ;;
3680 esac
3681     CC=$ac_ct_CC
3682   fi
3683 else
3684   CC="$ac_cv_prog_CC"
3687 if test -z "$CC"; then
3688           if test -n "$ac_tool_prefix"; then
3689     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3690 set dummy ${ac_tool_prefix}cc; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if ${ac_cv_prog_CC+:} false; then :
3694   $as_echo_n "(cached) " >&6
3695 else
3696   if test -n "$CC"; then
3697   ac_cv_prog_CC="$CC" # Let the user override the test.
3698 else
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 for as_dir in $PATH
3702   IFS=$as_save_IFS
3703   test -z "$as_dir" && as_dir=.
3704     for ac_exec_ext in '' $ac_executable_extensions; do
3705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706     ac_cv_prog_CC="${ac_tool_prefix}cc"
3707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3708     break 2
3709   fi
3710 done
3711   done
3712 IFS=$as_save_IFS
3716 CC=$ac_cv_prog_CC
3717 if test -n "$CC"; then
3718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3720 else
3721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3726   fi
3728 if test -z "$CC"; then
3729   # Extract the first word of "cc", so it can be a program name with args.
3730 set dummy cc; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_CC+:} false; then :
3734   $as_echo_n "(cached) " >&6
3735 else
3736   if test -n "$CC"; then
3737   ac_cv_prog_CC="$CC" # Let the user override the test.
3738 else
3739   ac_prog_rejected=no
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 for as_dir in $PATH
3743   IFS=$as_save_IFS
3744   test -z "$as_dir" && as_dir=.
3745     for ac_exec_ext in '' $ac_executable_extensions; do
3746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3747     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3748        ac_prog_rejected=yes
3749        continue
3750      fi
3751     ac_cv_prog_CC="cc"
3752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753     break 2
3754   fi
3755 done
3756   done
3757 IFS=$as_save_IFS
3759 if test $ac_prog_rejected = yes; then
3760   # We found a bogon in the path, so make sure we never use it.
3761   set dummy $ac_cv_prog_CC
3762   shift
3763   if test $@%:@ != 0; then
3764     # We chose a different compiler from the bogus one.
3765     # However, it has the same basename, so the bogon will be chosen
3766     # first if we set CC to just the basename; use the full file name.
3767     shift
3768     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3769   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; }
3784 if test -z "$CC"; then
3785   if test -n "$ac_tool_prefix"; then
3786   for ac_prog in cl.exe
3787   do
3788     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3789 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_prog_CC+:} false; then :
3793   $as_echo_n "(cached) " >&6
3794 else
3795   if test -n "$CC"; then
3796   ac_cv_prog_CC="$CC" # Let the user override the test.
3797 else
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 for as_dir in $PATH
3801   IFS=$as_save_IFS
3802   test -z "$as_dir" && as_dir=.
3803     for ac_exec_ext in '' $ac_executable_extensions; do
3804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807     break 2
3808   fi
3809 done
3810   done
3811 IFS=$as_save_IFS
3815 CC=$ac_cv_prog_CC
3816 if test -n "$CC"; then
3817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3818 $as_echo "$CC" >&6; }
3819 else
3820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825     test -n "$CC" && break
3826   done
3828 if test -z "$CC"; then
3829   ac_ct_CC=$CC
3830   for ac_prog in cl.exe
3832   # Extract the first word of "$ac_prog", so it can be a program name with args.
3833 set dummy $ac_prog; ac_word=$2
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3837   $as_echo_n "(cached) " >&6
3838 else
3839   if test -n "$ac_ct_CC"; then
3840   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3841 else
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 for as_dir in $PATH
3845   IFS=$as_save_IFS
3846   test -z "$as_dir" && as_dir=.
3847     for ac_exec_ext in '' $ac_executable_extensions; do
3848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849     ac_cv_prog_ac_ct_CC="$ac_prog"
3850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851     break 2
3852   fi
3853 done
3854   done
3855 IFS=$as_save_IFS
3859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3860 if test -n "$ac_ct_CC"; then
3861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3862 $as_echo "$ac_ct_CC" >&6; }
3863 else
3864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865 $as_echo "no" >&6; }
3869   test -n "$ac_ct_CC" && break
3870 done
3872   if test "x$ac_ct_CC" = x; then
3873     CC=""
3874   else
3875     case $cross_compiling:$ac_tool_warned in
3876 yes:)
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3879 ac_tool_warned=yes ;;
3880 esac
3881     CC=$ac_ct_CC
3882   fi
3888 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3890 as_fn_error $? "no acceptable C compiler found in \$PATH
3891 See \`config.log' for more details" "$LINENO" 5; }
3893 # Provide some information about the compiler.
3894 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3895 set X $ac_compile
3896 ac_compiler=$2
3897 for ac_option in --version -v -V -qversion; do
3898   { { ac_try="$ac_compiler $ac_option >&5"
3899 case "(($ac_try" in
3900   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3901   *) ac_try_echo=$ac_try;;
3902 esac
3903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3904 $as_echo "$ac_try_echo"; } >&5
3905   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3906   ac_status=$?
3907   if test -s conftest.err; then
3908     sed '10a\
3909 ... rest of stderr output deleted ...
3910          10q' conftest.err >conftest.er1
3911     cat conftest.er1 >&5
3912   fi
3913   rm -f conftest.er1 conftest.err
3914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915   test $ac_status = 0; }
3916 done
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3919 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3920 if ${ac_cv_c_compiler_gnu+:} false; then :
3921   $as_echo_n "(cached) " >&6
3922 else
3923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h.  */
3927 main ()
3929 #ifndef __GNUC__
3930        choke me
3931 #endif
3933   ;
3934   return 0;
3936 _ACEOF
3937 if ac_fn_c_try_compile "$LINENO"; then :
3938   ac_compiler_gnu=yes
3939 else
3940   ac_compiler_gnu=no
3942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3947 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3948 if test $ac_compiler_gnu = yes; then
3949   GCC=yes
3950 else
3951   GCC=
3953 ac_test_CFLAGS=${CFLAGS+set}
3954 ac_save_CFLAGS=$CFLAGS
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3956 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3957 if ${ac_cv_prog_cc_g+:} false; then :
3958   $as_echo_n "(cached) " >&6
3959 else
3960   ac_save_c_werror_flag=$ac_c_werror_flag
3961    ac_c_werror_flag=yes
3962    ac_cv_prog_cc_g=no
3963    CFLAGS="-g"
3964    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h.  */
3968 main ()
3971   ;
3972   return 0;
3974 _ACEOF
3975 if ac_fn_c_try_compile "$LINENO"; then :
3976   ac_cv_prog_cc_g=yes
3977 else
3978   CFLAGS=""
3979       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h.  */
3983 main ()
3986   ;
3987   return 0;
3989 _ACEOF
3990 if ac_fn_c_try_compile "$LINENO"; then :
3991   
3992 else
3993   ac_c_werror_flag=$ac_save_c_werror_flag
3994          CFLAGS="-g"
3995          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 /* end confdefs.h.  */
3999 main ()
4002   ;
4003   return 0;
4005 _ACEOF
4006 if ac_fn_c_try_compile "$LINENO"; then :
4007   ac_cv_prog_cc_g=yes
4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4014    ac_c_werror_flag=$ac_save_c_werror_flag
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4017 $as_echo "$ac_cv_prog_cc_g" >&6; }
4018 if test "$ac_test_CFLAGS" = set; then
4019   CFLAGS=$ac_save_CFLAGS
4020 elif test $ac_cv_prog_cc_g = yes; then
4021   if test "$GCC" = yes; then
4022     CFLAGS="-g -O2"
4023   else
4024     CFLAGS="-g"
4025   fi
4026 else
4027   if test "$GCC" = yes; then
4028     CFLAGS="-O2"
4029   else
4030     CFLAGS=
4031   fi
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4034 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4035 if ${ac_cv_prog_cc_c89+:} false; then :
4036   $as_echo_n "(cached) " >&6
4037 else
4038   ac_cv_prog_cc_c89=no
4039 ac_save_CC=$CC
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h.  */
4042 #include <stdarg.h>
4043 #include <stdio.h>
4044 #include <sys/types.h>
4045 #include <sys/stat.h>
4046 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4047 struct buf { int x; };
4048 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4049 static char *e (p, i)
4050      char **p;
4051      int i;
4053   return p[i];
4055 static char *f (char * (*g) (char **, int), char **p, ...)
4057   char *s;
4058   va_list v;
4059   va_start (v,p);
4060   s = g (p, va_arg (v,int));
4061   va_end (v);
4062   return s;
4065 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4066    function prototypes and stuff, but not '\xHH' hex character constants.
4067    These don't provoke an error unfortunately, instead are silently treated
4068    as 'x'.  The following induces an error, until -std is added to get
4069    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4070    array size at least.  It's necessary to write '\x00'==0 to get something
4071    that's true only with -std.  */
4072 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4074 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4075    inside strings and character constants.  */
4076 #define FOO(x) 'x'
4077 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4079 int test (int i, double x);
4080 struct s1 {int (*f) (int a);};
4081 struct s2 {int (*f) (double a);};
4082 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4083 int argc;
4084 char **argv;
4086 main ()
4088 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4089   ;
4090   return 0;
4092 _ACEOF
4093 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4094         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4096   CC="$ac_save_CC $ac_arg"
4097   if ac_fn_c_try_compile "$LINENO"; then :
4098   ac_cv_prog_cc_c89=$ac_arg
4100 rm -f core conftest.err conftest.$ac_objext
4101   test "x$ac_cv_prog_cc_c89" != "xno" && break
4102 done
4103 rm -f conftest.$ac_ext
4104 CC=$ac_save_CC
4107 # AC_CACHE_VAL
4108 case "x$ac_cv_prog_cc_c89" in
4109   x)
4110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4111 $as_echo "none needed" >&6; } ;;
4112   xno)
4113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4114 $as_echo "unsupported" >&6; } ;;
4115   *)
4116     CC="$CC $ac_cv_prog_cc_c89"
4117     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4118 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4119 esac
4120 if test "x$ac_cv_prog_cc_c89" != xno; then :
4121   
4124 ac_ext=c
4125 ac_cpp='$CPP $CPPFLAGS'
4126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4130 depcc="$CC"   am_compiler_list=
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4133 $as_echo_n "checking dependency style of $depcc... " >&6; }
4134 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4135   $as_echo_n "(cached) " >&6
4136 else
4137   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4138   # We make a subdir and do the tests there.  Otherwise we can end up
4139   # making bogus files that we don't know about and never remove.  For
4140   # instance it was reported that on HP-UX the gcc test will end up
4141   # making a dummy file named `D' -- because `-MD' means `put the output
4142   # in D'.
4143   rm -rf conftest.dir
4144   mkdir conftest.dir
4145   # Copy depcomp to subdir because otherwise we won't find it if we're
4146   # using a relative directory.
4147   cp "$am_depcomp" conftest.dir
4148   cd conftest.dir
4149   # We will build objects and dependencies in a subdirectory because
4150   # it helps to detect inapplicable dependency modes.  For instance
4151   # both Tru64's cc and ICC support -MD to output dependencies as a
4152   # side effect of compilation, but ICC will put the dependencies in
4153   # the current directory while Tru64 will put them in the object
4154   # directory.
4155   mkdir sub
4157   am_cv_CC_dependencies_compiler_type=none
4158   if test "$am_compiler_list" = ""; then
4159      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4160   fi
4161   am__universal=false
4162   case " $depcc " in #(
4163      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4164      esac
4166   for depmode in $am_compiler_list; do
4167     # Setup a source with many dependencies, because some compilers
4168     # like to wrap large dependency lists on column 80 (with \), and
4169     # we should not choose a depcomp mode which is confused by this.
4170     #
4171     # We need to recreate these files for each test, as the compiler may
4172     # overwrite some of them when testing with obscure command lines.
4173     # This happens at least with the AIX C compiler.
4174     : > sub/conftest.c
4175     for i in 1 2 3 4 5 6; do
4176       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4177       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4178       # Solaris 8's {/usr,}/bin/sh.
4179       touch sub/conftst$i.h
4180     done
4181     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4183     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4184     # mode.  It turns out that the SunPro C++ compiler does not properly
4185     # handle `-M -o', and we need to detect this.  Also, some Intel
4186     # versions had trouble with output in subdirs
4187     am__obj=sub/conftest.${OBJEXT-o}
4188     am__minus_obj="-o $am__obj"
4189     case $depmode in
4190     gcc)
4191       # This depmode causes a compiler race in universal mode.
4192       test "$am__universal" = false || continue
4193       ;;
4194     nosideeffect)
4195       # after this tag, mechanisms are not by side-effect, so they'll
4196       # only be used when explicitly requested
4197       if test "x$enable_dependency_tracking" = xyes; then
4198         continue
4199       else
4200         break
4201       fi
4202       ;;
4203     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4204       # This compiler won't grok `-c -o', but also, the minuso test has
4205       # not run yet.  These depmodes are late enough in the game, and
4206       # so weak that their functioning should not be impacted.
4207       am__obj=conftest.${OBJEXT-o}
4208       am__minus_obj=
4209       ;;
4210     none) break ;;
4211     esac
4212     if depmode=$depmode \
4213        source=sub/conftest.c object=$am__obj \
4214        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4215        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4216          >/dev/null 2>conftest.err &&
4217        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4218        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4219        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4220        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4221       # icc doesn't choke on unknown options, it will just issue warnings
4222       # or remarks (even with -Werror).  So we grep stderr for any message
4223       # that says an option was ignored or not supported.
4224       # When given -MP, icc 7.0 and 7.1 complain thusly:
4225       #   icc: Command line warning: ignoring option '-M'; no argument required
4226       # The diagnosis changed in icc 8.0:
4227       #   icc: Command line remark: option '-MP' not supported
4228       if (grep 'ignoring option' conftest.err ||
4229           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4230         am_cv_CC_dependencies_compiler_type=$depmode
4231         break
4232       fi
4233     fi
4234   done
4236   cd ..
4237   rm -rf conftest.dir
4238 else
4239   am_cv_CC_dependencies_compiler_type=none
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4244 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4245 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4247  if 
4248   test "x$enable_dependency_tracking" != xno \
4249   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4250   am__fastdepCC_TRUE=
4251   am__fastdepCC_FALSE='#'
4252 else
4253   am__fastdepCC_TRUE='#'
4254   am__fastdepCC_FALSE=
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4259 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4260 if ${ac_cv_path_SED+:} false; then :
4261   $as_echo_n "(cached) " >&6
4262 else
4263             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4264      for ac_i in 1 2 3 4 5 6 7; do
4265        ac_script="$ac_script$as_nl$ac_script"
4266      done
4267      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4268      { ac_script=; unset ac_script;}
4269      if test -z "$SED"; then
4270   ac_path_SED_found=false
4271   # Loop through the user's path and test for each of PROGNAME-LIST
4272   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273 for as_dir in $PATH
4275   IFS=$as_save_IFS
4276   test -z "$as_dir" && as_dir=.
4277     for ac_prog in sed gsed; do
4278     for ac_exec_ext in '' $ac_executable_extensions; do
4279       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4280       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4281 # Check for GNU ac_path_SED and select it if it is found.
4282   # Check for GNU $ac_path_SED
4283 case `"$ac_path_SED" --version 2>&1` in
4284 *GNU*)
4285   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4287   ac_count=0
4288   $as_echo_n 0123456789 >"conftest.in"
4289   while :
4290   do
4291     cat "conftest.in" "conftest.in" >"conftest.tmp"
4292     mv "conftest.tmp" "conftest.in"
4293     cp "conftest.in" "conftest.nl"
4294     $as_echo '' >> "conftest.nl"
4295     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4296     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4297     as_fn_arith $ac_count + 1 && ac_count=$as_val
4298     if test $ac_count -gt ${ac_path_SED_max-0}; then
4299       # Best one so far, save it but keep looking for a better one
4300       ac_cv_path_SED="$ac_path_SED"
4301       ac_path_SED_max=$ac_count
4302     fi
4303     # 10*(2^10) chars as input seems more than enough
4304     test $ac_count -gt 10 && break
4305   done
4306   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4307 esac
4309       $ac_path_SED_found && break 3
4310     done
4311   done
4312   done
4313 IFS=$as_save_IFS
4314   if test -z "$ac_cv_path_SED"; then
4315     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4316   fi
4317 else
4318   ac_cv_path_SED=$SED
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4323 $as_echo "$ac_cv_path_SED" >&6; }
4324  SED="$ac_cv_path_SED"
4325   rm -f conftest.sed
4327 test -z "$SED" && SED=sed
4328 Xsed="$SED -e 1s/^X//"
4330     
4331     
4332     
4335     
4336     
4337     
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4341 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4342 if ${ac_cv_path_GREP+:} false; then :
4343   $as_echo_n "(cached) " >&6
4344 else
4345   if test -z "$GREP"; then
4346   ac_path_GREP_found=false
4347   # Loop through the user's path and test for each of PROGNAME-LIST
4348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4351   IFS=$as_save_IFS
4352   test -z "$as_dir" && as_dir=.
4353     for ac_prog in grep ggrep; do
4354     for ac_exec_ext in '' $ac_executable_extensions; do
4355       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4356       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4357 # Check for GNU ac_path_GREP and select it if it is found.
4358   # Check for GNU $ac_path_GREP
4359 case `"$ac_path_GREP" --version 2>&1` in
4360 *GNU*)
4361   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4363   ac_count=0
4364   $as_echo_n 0123456789 >"conftest.in"
4365   while :
4366   do
4367     cat "conftest.in" "conftest.in" >"conftest.tmp"
4368     mv "conftest.tmp" "conftest.in"
4369     cp "conftest.in" "conftest.nl"
4370     $as_echo 'GREP' >> "conftest.nl"
4371     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4372     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4373     as_fn_arith $ac_count + 1 && ac_count=$as_val
4374     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4375       # Best one so far, save it but keep looking for a better one
4376       ac_cv_path_GREP="$ac_path_GREP"
4377       ac_path_GREP_max=$ac_count
4378     fi
4379     # 10*(2^10) chars as input seems more than enough
4380     test $ac_count -gt 10 && break
4381   done
4382   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4383 esac
4385       $ac_path_GREP_found && break 3
4386     done
4387   done
4388   done
4389 IFS=$as_save_IFS
4390   if test -z "$ac_cv_path_GREP"; then
4391     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4392   fi
4393 else
4394   ac_cv_path_GREP=$GREP
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4399 $as_echo "$ac_cv_path_GREP" >&6; }
4400  GREP="$ac_cv_path_GREP"
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4404 $as_echo_n "checking for egrep... " >&6; }
4405 if ${ac_cv_path_EGREP+:} false; then :
4406   $as_echo_n "(cached) " >&6
4407 else
4408   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4409    then ac_cv_path_EGREP="$GREP -E"
4410    else
4411      if test -z "$EGREP"; then
4412   ac_path_EGREP_found=false
4413   # Loop through the user's path and test for each of PROGNAME-LIST
4414   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4417   IFS=$as_save_IFS
4418   test -z "$as_dir" && as_dir=.
4419     for ac_prog in egrep; do
4420     for ac_exec_ext in '' $ac_executable_extensions; do
4421       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4422       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4423 # Check for GNU ac_path_EGREP and select it if it is found.
4424   # Check for GNU $ac_path_EGREP
4425 case `"$ac_path_EGREP" --version 2>&1` in
4426 *GNU*)
4427   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4429   ac_count=0
4430   $as_echo_n 0123456789 >"conftest.in"
4431   while :
4432   do
4433     cat "conftest.in" "conftest.in" >"conftest.tmp"
4434     mv "conftest.tmp" "conftest.in"
4435     cp "conftest.in" "conftest.nl"
4436     $as_echo 'EGREP' >> "conftest.nl"
4437     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4438     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4439     as_fn_arith $ac_count + 1 && ac_count=$as_val
4440     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4441       # Best one so far, save it but keep looking for a better one
4442       ac_cv_path_EGREP="$ac_path_EGREP"
4443       ac_path_EGREP_max=$ac_count
4444     fi
4445     # 10*(2^10) chars as input seems more than enough
4446     test $ac_count -gt 10 && break
4447   done
4448   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4449 esac
4451       $ac_path_EGREP_found && break 3
4452     done
4453   done
4454   done
4455 IFS=$as_save_IFS
4456   if test -z "$ac_cv_path_EGREP"; then
4457     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4458   fi
4459 else
4460   ac_cv_path_EGREP=$EGREP
4463    fi
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4466 $as_echo "$ac_cv_path_EGREP" >&6; }
4467  EGREP="$ac_cv_path_EGREP"
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4471 $as_echo_n "checking for fgrep... " >&6; }
4472 if ${ac_cv_path_FGREP+:} false; then :
4473   $as_echo_n "(cached) " >&6
4474 else
4475   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4476    then ac_cv_path_FGREP="$GREP -F"
4477    else
4478      if test -z "$FGREP"; then
4479   ac_path_FGREP_found=false
4480   # Loop through the user's path and test for each of PROGNAME-LIST
4481   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4482 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4484   IFS=$as_save_IFS
4485   test -z "$as_dir" && as_dir=.
4486     for ac_prog in fgrep; do
4487     for ac_exec_ext in '' $ac_executable_extensions; do
4488       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4489       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4490 # Check for GNU ac_path_FGREP and select it if it is found.
4491   # Check for GNU $ac_path_FGREP
4492 case `"$ac_path_FGREP" --version 2>&1` in
4493 *GNU*)
4494   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4496   ac_count=0
4497   $as_echo_n 0123456789 >"conftest.in"
4498   while :
4499   do
4500     cat "conftest.in" "conftest.in" >"conftest.tmp"
4501     mv "conftest.tmp" "conftest.in"
4502     cp "conftest.in" "conftest.nl"
4503     $as_echo 'FGREP' >> "conftest.nl"
4504     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4505     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4506     as_fn_arith $ac_count + 1 && ac_count=$as_val
4507     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4508       # Best one so far, save it but keep looking for a better one
4509       ac_cv_path_FGREP="$ac_path_FGREP"
4510       ac_path_FGREP_max=$ac_count
4511     fi
4512     # 10*(2^10) chars as input seems more than enough
4513     test $ac_count -gt 10 && break
4514   done
4515   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4516 esac
4518       $ac_path_FGREP_found && break 3
4519     done
4520   done
4521   done
4522 IFS=$as_save_IFS
4523   if test -z "$ac_cv_path_FGREP"; then
4524     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4525   fi
4526 else
4527   ac_cv_path_FGREP=$FGREP
4530    fi
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4533 $as_echo "$ac_cv_path_FGREP" >&6; }
4534  FGREP="$ac_cv_path_FGREP"
4537 test -z "$GREP" && GREP=grep
4539     
4540     
4541     
4544     
4545     
4546     
4549     
4550     
4551     
4557 @%:@ Check whether --with-gnu-ld was given.
4558 if test "${with_gnu_ld+set}" = set; then :
4559   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4560 else
4561   with_gnu_ld=no
4564 ac_prog=ld
4565 if test "$GCC" = yes; then
4566   # Check if gcc -print-prog-name=ld gives a path.
4567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4568 $as_echo_n "checking for ld used by $CC... " >&6; }
4569   case $host in
4570   *-*-mingw*)
4571     # gcc leaves a trailing carriage return which upsets mingw
4572     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4573   *)
4574     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4575   esac
4576   case $ac_prog in
4577     # Accept absolute paths.
4578     [\\/]* | ?:[\\/]*)
4579       re_direlt='/[^/][^/]*/\.\./'
4580       # Canonicalize the pathname of ld
4581       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4582       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4583         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4584       done
4585       test -z "$LD" && LD="$ac_prog"
4586       ;;
4587   "")
4588     # If it fails, then pretend we aren't using GCC.
4589     ac_prog=ld
4590     ;;
4591   *)
4592     # If it is relative, then search for the first ld in PATH.
4593     with_gnu_ld=unknown
4594     ;;
4595   esac
4596 elif test "$with_gnu_ld" = yes; then
4597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4598 $as_echo_n "checking for GNU ld... " >&6; }
4599 else
4600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4601 $as_echo_n "checking for non-GNU ld... " >&6; }
4603 if ${lt_cv_path_LD+:} false; then :
4604   $as_echo_n "(cached) " >&6
4605 else
4606   if test -z "$LD"; then
4607   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4608   for ac_dir in $PATH; do
4609     IFS="$lt_save_ifs"
4610     test -z "$ac_dir" && ac_dir=.
4611     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4612       lt_cv_path_LD="$ac_dir/$ac_prog"
4613       # Check to see if the program is GNU ld.  I'd rather use --version,
4614       # but apparently some variants of GNU ld only accept -v.
4615       # Break only if it was the GNU/non-GNU ld that we prefer.
4616       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4617       *GNU* | *'with BFD'*)
4618         test "$with_gnu_ld" != no && break
4619         ;;
4620       *)
4621         test "$with_gnu_ld" != yes && break
4622         ;;
4623       esac
4624     fi
4625   done
4626   IFS="$lt_save_ifs"
4627 else
4628   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4632 LD="$lt_cv_path_LD"
4633 if test -n "$LD"; then
4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4635 $as_echo "$LD" >&6; }
4636 else
4637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4640 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4642 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4643 if ${lt_cv_prog_gnu_ld+:} false; then :
4644   $as_echo_n "(cached) " >&6
4645 else
4646   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4647 case `$LD -v 2>&1 </dev/null` in
4648 *GNU* | *'with BFD'*)
4649   lt_cv_prog_gnu_ld=yes
4650   ;;
4652   lt_cv_prog_gnu_ld=no
4653   ;;
4654 esac
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4657 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4658 with_gnu_ld=$lt_cv_prog_gnu_ld
4663     
4664     
4665     
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4669 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4670 if ${lt_cv_path_NM+:} false; then :
4671   $as_echo_n "(cached) " >&6
4672 else
4673   if test -n "$NM"; then
4674   # Let the user override the test.
4675   lt_cv_path_NM="$NM"
4676 else
4677   lt_nm_to_check="${ac_tool_prefix}nm"
4678   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4679     lt_nm_to_check="$lt_nm_to_check nm"
4680   fi
4681   for lt_tmp_nm in $lt_nm_to_check; do
4682     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4683     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4684       IFS="$lt_save_ifs"
4685       test -z "$ac_dir" && ac_dir=.
4686       tmp_nm="$ac_dir/$lt_tmp_nm"
4687       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4688         # Check to see if the nm accepts a BSD-compat flag.
4689         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4690         #   nm: unknown option "B" ignored
4691         # Tru64's nm complains that /dev/null is an invalid object file
4692         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4693         */dev/null* | *'Invalid file or object type'*)
4694           lt_cv_path_NM="$tmp_nm -B"
4695           break
4696           ;;
4697         *)
4698           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4699           */dev/null*)
4700             lt_cv_path_NM="$tmp_nm -p"
4701             break
4702             ;;
4703           *)
4704             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4705             continue # so that we can try to find one that supports BSD flags
4706             ;;
4707           esac
4708           ;;
4709         esac
4710       fi
4711     done
4712     IFS="$lt_save_ifs"
4713   done
4714   : ${lt_cv_path_NM=no}
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4718 $as_echo "$lt_cv_path_NM" >&6; }
4719 if test "$lt_cv_path_NM" != "no"; then
4720   NM="$lt_cv_path_NM"
4721 else
4722   # Didn't find any BSD compatible name lister, look for dumpbin.
4723   if test -n "$DUMPBIN"; then :
4724     # Let the user override the test.
4725   else
4726     if test -n "$ac_tool_prefix"; then
4727   for ac_prog in dumpbin "link -dump"
4728   do
4729     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if ${ac_cv_prog_DUMPBIN+:} false; then :
4734   $as_echo_n "(cached) " >&6
4735 else
4736   if test -n "$DUMPBIN"; then
4737   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4738 else
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in $PATH
4742   IFS=$as_save_IFS
4743   test -z "$as_dir" && as_dir=.
4744     for ac_exec_ext in '' $ac_executable_extensions; do
4745   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4746     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748     break 2
4749   fi
4750 done
4751   done
4752 IFS=$as_save_IFS
4756 DUMPBIN=$ac_cv_prog_DUMPBIN
4757 if test -n "$DUMPBIN"; then
4758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4759 $as_echo "$DUMPBIN" >&6; }
4760 else
4761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4766     test -n "$DUMPBIN" && break
4767   done
4769 if test -z "$DUMPBIN"; then
4770   ac_ct_DUMPBIN=$DUMPBIN
4771   for ac_prog in dumpbin "link -dump"
4773   # Extract the first word of "$ac_prog", so it can be a program name with args.
4774 set dummy $ac_prog; ac_word=$2
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 $as_echo_n "checking for $ac_word... " >&6; }
4777 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4778   $as_echo_n "(cached) " >&6
4779 else
4780   if test -n "$ac_ct_DUMPBIN"; then
4781   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4782 else
4783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4784 for as_dir in $PATH
4786   IFS=$as_save_IFS
4787   test -z "$as_dir" && as_dir=.
4788     for ac_exec_ext in '' $ac_executable_extensions; do
4789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4790     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792     break 2
4793   fi
4794 done
4795   done
4796 IFS=$as_save_IFS
4800 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4801 if test -n "$ac_ct_DUMPBIN"; then
4802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4803 $as_echo "$ac_ct_DUMPBIN" >&6; }
4804 else
4805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 $as_echo "no" >&6; }
4810   test -n "$ac_ct_DUMPBIN" && break
4811 done
4813   if test "x$ac_ct_DUMPBIN" = x; then
4814     DUMPBIN=":"
4815   else
4816     case $cross_compiling:$ac_tool_warned in
4817 yes:)
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4820 ac_tool_warned=yes ;;
4821 esac
4822     DUMPBIN=$ac_ct_DUMPBIN
4823   fi
4826     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4827     *COFF*)
4828       DUMPBIN="$DUMPBIN -symbols"
4829       ;;
4830     *)
4831       DUMPBIN=:
4832       ;;
4833     esac
4834   fi
4835   
4836   if test "$DUMPBIN" != ":"; then
4837     NM="$DUMPBIN"
4838   fi
4840 test -z "$NM" && NM=nm
4843     
4844     
4845     
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4848 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4849 if ${lt_cv_nm_interface+:} false; then :
4850   $as_echo_n "(cached) " >&6
4851 else
4852   lt_cv_nm_interface="BSD nm"
4853   echo "int some_variable = 0;" > conftest.$ac_ext
4854   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4855   (eval "$ac_compile" 2>conftest.err)
4856   cat conftest.err >&5
4857   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4858   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4859   cat conftest.err >&5
4860   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4861   cat conftest.out >&5
4862   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4863     lt_cv_nm_interface="MS dumpbin"
4864   fi
4865   rm -f conftest*
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4868 $as_echo "$lt_cv_nm_interface" >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4871 $as_echo_n "checking whether ln -s works... " >&6; }
4872 LN_S=$as_ln_s
4873 if test "$LN_S" = "ln -s"; then
4874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4876 else
4877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4878 $as_echo "no, using $LN_S" >&6; }
4881 # find the maximum length of command line arguments
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4883 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4884 if ${lt_cv_sys_max_cmd_len+:} false; then :
4885   $as_echo_n "(cached) " >&6
4886 else
4887     i=0
4888   teststring="ABCD"
4890   case $build_os in
4891   msdosdjgpp*)
4892     # On DJGPP, this test can blow up pretty badly due to problems in libc
4893     # (any single argument exceeding 2000 bytes causes a buffer overrun
4894     # during glob expansion).  Even if it were fixed, the result of this
4895     # check would be larger than it should be.
4896     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4897     ;;
4899   gnu*)
4900     # Under GNU Hurd, this test is not required because there is
4901     # no limit to the length of command line arguments.
4902     # Libtool will interpret -1 as no limit whatsoever
4903     lt_cv_sys_max_cmd_len=-1;
4904     ;;
4906   cygwin* | mingw* | cegcc*)
4907     # On Win9x/ME, this test blows up -- it succeeds, but takes
4908     # about 5 minutes as the teststring grows exponentially.
4909     # Worse, since 9x/ME are not pre-emptively multitasking,
4910     # you end up with a "frozen" computer, even though with patience
4911     # the test eventually succeeds (with a max line length of 256k).
4912     # Instead, let's just punt: use the minimum linelength reported by
4913     # all of the supported platforms: 8192 (on NT/2K/XP).
4914     lt_cv_sys_max_cmd_len=8192;
4915     ;;
4917   mint*)
4918     # On MiNT this can take a long time and run out of memory.
4919     lt_cv_sys_max_cmd_len=8192;
4920     ;;
4922   amigaos*)
4923     # On AmigaOS with pdksh, this test takes hours, literally.
4924     # So we just punt and use a minimum line length of 8192.
4925     lt_cv_sys_max_cmd_len=8192;
4926     ;;
4928   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4929     # This has been around since 386BSD, at least.  Likely further.
4930     if test -x /sbin/sysctl; then
4931       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4932     elif test -x /usr/sbin/sysctl; then
4933       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4934     else
4935       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4936     fi
4937     # And add a safety zone
4938     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4939     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4940     ;;
4942   interix*)
4943     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4944     lt_cv_sys_max_cmd_len=196608
4945     ;;
4947   os2*)
4948     # The test takes a long time on OS/2.
4949     lt_cv_sys_max_cmd_len=8192
4950     ;;
4952   osf*)
4953     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4954     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4955     # nice to cause kernel panics so lets avoid the loop below.
4956     # First set a reasonable default.
4957     lt_cv_sys_max_cmd_len=16384
4958     #
4959     if test -x /sbin/sysconfig; then
4960       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4961         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4962       esac
4963     fi
4964     ;;
4965   sco3.2v5*)
4966     lt_cv_sys_max_cmd_len=102400
4967     ;;
4968   sysv5* | sco5v6* | sysv4.2uw2*)
4969     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4970     if test -n "$kargmax"; then
4971       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4972     else
4973       lt_cv_sys_max_cmd_len=32768
4974     fi
4975     ;;
4976   *)
4977     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4978     if test -n "$lt_cv_sys_max_cmd_len"; then
4979       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4980       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4981     else
4982       # Make teststring a little bigger before we do anything with it.
4983       # a 1K string should be a reasonable start.
4984       for i in 1 2 3 4 5 6 7 8 ; do
4985         teststring=$teststring$teststring
4986       done
4987       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4988       # If test is not a shell built-in, we'll probably end up computing a
4989       # maximum length that is only half of the actual maximum length, but
4990       # we can't tell.
4991       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4992                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4993               test $i != 17 # 1/2 MB should be enough
4994       do
4995         i=`expr $i + 1`
4996         teststring=$teststring$teststring
4997       done
4998       # Only check the string length outside the loop.
4999       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5000       teststring=
5001       # Add a significant safety factor because C++ compilers can tack on
5002       # massive amounts of additional arguments before passing them to the
5003       # linker.  It appears as though 1/2 is a usable value.
5004       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5005     fi
5006     ;;
5007   esac
5011 if test -n $lt_cv_sys_max_cmd_len ; then
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5013 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5014 else
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5016 $as_echo "none" >&6; }
5018 max_cmd_len=$lt_cv_sys_max_cmd_len
5020     
5021     
5022     
5025 : ${CP="cp -f"}
5026 : ${MV="mv -f"}
5027 : ${RM="rm -f"}
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5030 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5031 # Try some XSI features
5032 xsi_shell=no
5033 ( _lt_dummy="a/b/c"
5034   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5035       = c,a/b,b/c, \
5036     && eval 'test $(( 1 + 1 )) -eq 2 \
5037     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5038   && xsi_shell=yes
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5040 $as_echo "$xsi_shell" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5044 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5045 lt_shell_append=no
5046 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5047     >/dev/null 2>&1 \
5048   && lt_shell_append=yes
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5050 $as_echo "$lt_shell_append" >&6; }
5053 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5054   lt_unset=unset
5055 else
5056   lt_unset=false
5059     
5060     
5061     
5063 # test EBCDIC or ASCII
5064 case `echo X|tr X '\101'` in
5065  A) # ASCII based system
5066     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5067   lt_SP2NL='tr \040 \012'
5068   lt_NL2SP='tr \015\012 \040\040'
5069   ;;
5070  *) # EBCDIC based system
5071   lt_SP2NL='tr \100 \n'
5072   lt_NL2SP='tr \r\n \100\100'
5073   ;;
5074 esac
5076     
5077     
5078     
5080     
5081     
5082     
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5085 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5086 if ${lt_cv_to_host_file_cmd+:} false; then :
5087   $as_echo_n "(cached) " >&6
5088 else
5089   case $host in
5090   *-*-mingw* )
5091     case $build in
5092       *-*-mingw* ) # actually msys
5093         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5094         ;;
5095       *-*-cygwin* )
5096         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5097         ;;
5098       * ) # otherwise, assume *nix
5099         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5100         ;;
5101     esac
5102     ;;
5103   *-*-cygwin* )
5104     case $build in
5105       *-*-mingw* ) # actually msys
5106         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5107         ;;
5108       *-*-cygwin* )
5109         lt_cv_to_host_file_cmd=func_convert_file_noop
5110         ;;
5111       * ) # otherwise, assume *nix
5112         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5113         ;;
5114     esac
5115     ;;
5116   * ) # unhandled hosts (and "normal" native builds)
5117     lt_cv_to_host_file_cmd=func_convert_file_noop
5118     ;;
5119 esac
5123 to_host_file_cmd=$lt_cv_to_host_file_cmd
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5125 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5127     
5128     
5129     
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5132 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5133 if ${lt_cv_to_tool_file_cmd+:} false; then :
5134   $as_echo_n "(cached) " >&6
5135 else
5136   #assume ordinary cross tools, or native build.
5137 lt_cv_to_tool_file_cmd=func_convert_file_noop
5138 case $host in
5139   *-*-mingw* )
5140     case $build in
5141       *-*-mingw* ) # actually msys
5142         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5143         ;;
5144     esac
5145     ;;
5146 esac
5150 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5152 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5154     
5155     
5156     
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5159 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5160 if ${lt_cv_ld_reload_flag+:} false; then :
5161   $as_echo_n "(cached) " >&6
5162 else
5163   lt_cv_ld_reload_flag='-r'
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5166 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5167 reload_flag=$lt_cv_ld_reload_flag
5168 case $reload_flag in
5169 "" | " "*) ;;
5170 *) reload_flag=" $reload_flag" ;;
5171 esac
5172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5173 case $host_os in
5174   cygwin* | mingw* | pw32* | cegcc*)
5175     if test "$GCC" != yes; then
5176       reload_cmds=false
5177     fi
5178     ;;
5179   darwin*)
5180     if test "$GCC" = yes; then
5181       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5182     else
5183       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5184     fi
5185     ;;
5186 esac
5188     
5189     
5190     
5192     
5193     
5194     
5196 if test -n "$ac_tool_prefix"; then
5197   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_prog_OBJDUMP+:} false; then :
5202   $as_echo_n "(cached) " >&6
5203 else
5204   if test -n "$OBJDUMP"; then
5205   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5210   IFS=$as_save_IFS
5211   test -z "$as_dir" && as_dir=.
5212     for ac_exec_ext in '' $ac_executable_extensions; do
5213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216     break 2
5217   fi
5218 done
5219   done
5220 IFS=$as_save_IFS
5224 OBJDUMP=$ac_cv_prog_OBJDUMP
5225 if test -n "$OBJDUMP"; then
5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5227 $as_echo "$OBJDUMP" >&6; }
5228 else
5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test -z "$ac_cv_prog_OBJDUMP"; then
5236   ac_ct_OBJDUMP=$OBJDUMP
5237   # Extract the first word of "objdump", so it can be a program name with args.
5238 set dummy objdump; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5242   $as_echo_n "(cached) " >&6
5243 else
5244   if test -n "$ac_ct_OBJDUMP"; then
5245   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250   IFS=$as_save_IFS
5251   test -z "$as_dir" && as_dir=.
5252     for ac_exec_ext in '' $ac_executable_extensions; do
5253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256     break 2
5257   fi
5258 done
5259   done
5260 IFS=$as_save_IFS
5264 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5265 if test -n "$ac_ct_OBJDUMP"; then
5266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5267 $as_echo "$ac_ct_OBJDUMP" >&6; }
5268 else
5269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5273   if test "x$ac_ct_OBJDUMP" = x; then
5274     OBJDUMP="false"
5275   else
5276     case $cross_compiling:$ac_tool_warned in
5277 yes:)
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned=yes ;;
5281 esac
5282     OBJDUMP=$ac_ct_OBJDUMP
5283   fi
5284 else
5285   OBJDUMP="$ac_cv_prog_OBJDUMP"
5288 test -z "$OBJDUMP" && OBJDUMP=objdump
5290     
5291     
5292     
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5299 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5300 if ${lt_cv_deplibs_check_method+:} false; then :
5301   $as_echo_n "(cached) " >&6
5302 else
5303   lt_cv_file_magic_cmd='$MAGIC_CMD'
5304 lt_cv_file_magic_test_file=
5305 lt_cv_deplibs_check_method='unknown'
5306 # Need to set the preceding variable on all platforms that support
5307 # interlibrary dependencies.
5308 # 'none' -- dependencies not supported.
5309 # `unknown' -- same as none, but documents that we really don't know.
5310 # 'pass_all' -- all dependencies passed with no checks.
5311 # 'test_compile' -- check by making test program.
5312 # 'file_magic [[regex]]' -- check by looking for files in library path
5313 # which responds to the $file_magic_cmd with a given extended regex.
5314 # If you have `file' or equivalent on your system and you're not sure
5315 # whether `pass_all' will *always* work, you probably want this one.
5317 case $host_os in
5318 aix[4-9]*)
5319   lt_cv_deplibs_check_method=pass_all
5320   ;;
5322 beos*)
5323   lt_cv_deplibs_check_method=pass_all
5324   ;;
5326 bsdi[45]*)
5327   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5328   lt_cv_file_magic_cmd='/usr/bin/file -L'
5329   lt_cv_file_magic_test_file=/shlib/libc.so
5330   ;;
5332 cygwin*)
5333   # func_win32_libid is a shell function defined in ltmain.sh
5334   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5335   lt_cv_file_magic_cmd='func_win32_libid'
5336   ;;
5338 mingw* | pw32*)
5339   # Base MSYS/MinGW do not provide the 'file' command needed by
5340   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5341   # unless we find 'file', for example because we are cross-compiling.
5342   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5343   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5344     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5345     lt_cv_file_magic_cmd='func_win32_libid'
5346   else
5347     # Keep this pattern in sync with the one in func_win32_libid.
5348     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5349     lt_cv_file_magic_cmd='$OBJDUMP -f'
5350   fi
5351   ;;
5353 cegcc*)
5354   # use the weaker test based on 'objdump'. See mingw*.
5355   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5356   lt_cv_file_magic_cmd='$OBJDUMP -f'
5357   ;;
5359 darwin* | rhapsody*)
5360   lt_cv_deplibs_check_method=pass_all
5361   ;;
5363 freebsd* | dragonfly*)
5364   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5365     case $host_cpu in
5366     i*86 )
5367       # Not sure whether the presence of OpenBSD here was a mistake.
5368       # Let's accept both of them until this is cleared up.
5369       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5370       lt_cv_file_magic_cmd=/usr/bin/file
5371       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5372       ;;
5373     esac
5374   else
5375     lt_cv_deplibs_check_method=pass_all
5376   fi
5377   ;;
5379 gnu*)
5380   lt_cv_deplibs_check_method=pass_all
5381   ;;
5383 haiku*)
5384   lt_cv_deplibs_check_method=pass_all
5385   ;;
5387 hpux10.20* | hpux11*)
5388   lt_cv_file_magic_cmd=/usr/bin/file
5389   case $host_cpu in
5390   ia64*)
5391     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5392     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5393     ;;
5394   hppa*64*)
5395     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]'
5396     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5397     ;;
5398   *)
5399     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5400     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5401     ;;
5402   esac
5403   ;;
5405 interix[3-9]*)
5406   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5407   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5408   ;;
5410 irix5* | irix6* | nonstopux*)
5411   case $LD in
5412   *-32|*"-32 ") libmagic=32-bit;;
5413   *-n32|*"-n32 ") libmagic=N32;;
5414   *-64|*"-64 ") libmagic=64-bit;;
5415   *) libmagic=never-match;;
5416   esac
5417   lt_cv_deplibs_check_method=pass_all
5418   ;;
5420 # This must be glibc/ELF.
5421 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5422   lt_cv_deplibs_check_method=pass_all
5423   ;;
5425 netbsd* | netbsdelf*-gnu)
5426   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5427     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5428   else
5429     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5430   fi
5431   ;;
5433 newos6*)
5434   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5435   lt_cv_file_magic_cmd=/usr/bin/file
5436   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5437   ;;
5439 *nto* | *qnx*)
5440   lt_cv_deplibs_check_method=pass_all
5441   ;;
5443 openbsd*)
5444   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5445     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5446   else
5447     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5448   fi
5449   ;;
5451 osf3* | osf4* | osf5*)
5452   lt_cv_deplibs_check_method=pass_all
5453   ;;
5455 rdos*)
5456   lt_cv_deplibs_check_method=pass_all
5457   ;;
5459 solaris*)
5460   lt_cv_deplibs_check_method=pass_all
5461   ;;
5463 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5464   lt_cv_deplibs_check_method=pass_all
5465   ;;
5467 sysv4 | sysv4.3*)
5468   case $host_vendor in
5469   motorola)
5470     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]'
5471     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5472     ;;
5473   ncr)
5474     lt_cv_deplibs_check_method=pass_all
5475     ;;
5476   sequent)
5477     lt_cv_file_magic_cmd='/bin/file'
5478     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5479     ;;
5480   sni)
5481     lt_cv_file_magic_cmd='/bin/file'
5482     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5483     lt_cv_file_magic_test_file=/lib/libc.so
5484     ;;
5485   siemens)
5486     lt_cv_deplibs_check_method=pass_all
5487     ;;
5488   pc)
5489     lt_cv_deplibs_check_method=pass_all
5490     ;;
5491   esac
5492   ;;
5494 tpf*)
5495   lt_cv_deplibs_check_method=pass_all
5496   ;;
5497 esac
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5501 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5503 file_magic_glob=
5504 want_nocaseglob=no
5505 if test "$build" = "$host"; then
5506   case $host_os in
5507   mingw* | pw32*)
5508     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5509       want_nocaseglob=yes
5510     else
5511       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5512     fi
5513     ;;
5514   esac
5517 file_magic_cmd=$lt_cv_file_magic_cmd
5518 deplibs_check_method=$lt_cv_deplibs_check_method
5519 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5522     
5523     
5524     
5527     
5528     
5529     
5532     
5533     
5534     
5537     
5538     
5539     
5542 if test -n "$ac_tool_prefix"; then
5543   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_DLLTOOL+:} false; then :
5548   $as_echo_n "(cached) " >&6
5549 else
5550   if test -n "$DLLTOOL"; then
5551   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556   IFS=$as_save_IFS
5557   test -z "$as_dir" && as_dir=.
5558     for ac_exec_ext in '' $ac_executable_extensions; do
5559   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5562     break 2
5563   fi
5564 done
5565   done
5566 IFS=$as_save_IFS
5570 DLLTOOL=$ac_cv_prog_DLLTOOL
5571 if test -n "$DLLTOOL"; then
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5573 $as_echo "$DLLTOOL" >&6; }
5574 else
5575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_DLLTOOL"; then
5582   ac_ct_DLLTOOL=$DLLTOOL
5583   # Extract the first word of "dlltool", so it can be a program name with args.
5584 set dummy dlltool; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5588   $as_echo_n "(cached) " >&6
5589 else
5590   if test -n "$ac_ct_DLLTOOL"; then
5591   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596   IFS=$as_save_IFS
5597   test -z "$as_dir" && as_dir=.
5598     for ac_exec_ext in '' $ac_executable_extensions; do
5599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602     break 2
5603   fi
5604 done
5605   done
5606 IFS=$as_save_IFS
5610 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5611 if test -n "$ac_ct_DLLTOOL"; then
5612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5613 $as_echo "$ac_ct_DLLTOOL" >&6; }
5614 else
5615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619   if test "x$ac_ct_DLLTOOL" = x; then
5620     DLLTOOL="false"
5621   else
5622     case $cross_compiling:$ac_tool_warned in
5623 yes:)
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned=yes ;;
5627 esac
5628     DLLTOOL=$ac_ct_DLLTOOL
5629   fi
5630 else
5631   DLLTOOL="$ac_cv_prog_DLLTOOL"
5634 test -z "$DLLTOOL" && DLLTOOL=dlltool
5636     
5637     
5638     
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5646 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5647 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5648   $as_echo_n "(cached) " >&6
5649 else
5650   lt_cv_sharedlib_from_linklib_cmd='unknown'
5652 case $host_os in
5653 cygwin* | mingw* | pw32* | cegcc*)
5654   # two different shell functions defined in ltmain.sh
5655   # decide which to use based on capabilities of $DLLTOOL
5656   case `$DLLTOOL --help 2>&1` in
5657   *--identify-strict*)
5658     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5659     ;;
5660   *)
5661     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5662     ;;
5663   esac
5664   ;;
5666   # fallback: assume linklib IS sharedlib
5667   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5668   ;;
5669 esac
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5673 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5674 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5675 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5678     
5679     
5680     
5684 if test -n "$ac_tool_prefix"; then
5685   for ac_prog in ar
5686   do
5687     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_prog_AR+:} false; then :
5692   $as_echo_n "(cached) " >&6
5693 else
5694   if test -n "$AR"; then
5695   ac_cv_prog_AR="$AR" # Let the user override the test.
5696 else
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in $PATH
5700   IFS=$as_save_IFS
5701   test -z "$as_dir" && as_dir=.
5702     for ac_exec_ext in '' $ac_executable_extensions; do
5703   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5704     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706     break 2
5707   fi
5708 done
5709   done
5710 IFS=$as_save_IFS
5714 AR=$ac_cv_prog_AR
5715 if test -n "$AR"; then
5716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5717 $as_echo "$AR" >&6; }
5718 else
5719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5724     test -n "$AR" && break
5725   done
5727 if test -z "$AR"; then
5728   ac_ct_AR=$AR
5729   for ac_prog in ar
5731   # Extract the first word of "$ac_prog", so it can be a program name with args.
5732 set dummy $ac_prog; ac_word=$2
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5734 $as_echo_n "checking for $ac_word... " >&6; }
5735 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5736   $as_echo_n "(cached) " >&6
5737 else
5738   if test -n "$ac_ct_AR"; then
5739   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5740 else
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH
5744   IFS=$as_save_IFS
5745   test -z "$as_dir" && as_dir=.
5746     for ac_exec_ext in '' $ac_executable_extensions; do
5747   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5748     ac_cv_prog_ac_ct_AR="$ac_prog"
5749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5750     break 2
5751   fi
5752 done
5753   done
5754 IFS=$as_save_IFS
5758 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5759 if test -n "$ac_ct_AR"; then
5760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5761 $as_echo "$ac_ct_AR" >&6; }
5762 else
5763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 $as_echo "no" >&6; }
5768   test -n "$ac_ct_AR" && break
5769 done
5771   if test "x$ac_ct_AR" = x; then
5772     AR="false"
5773   else
5774     case $cross_compiling:$ac_tool_warned in
5775 yes:)
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778 ac_tool_warned=yes ;;
5779 esac
5780     AR=$ac_ct_AR
5781   fi
5784 : ${AR=ar}
5785 : ${AR_FLAGS=cru}
5787     
5788     
5789     
5792     
5793     
5794     
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5798 $as_echo_n "checking for archiver @FILE support... " >&6; }
5799 if ${lt_cv_ar_at_file+:} false; then :
5800   $as_echo_n "(cached) " >&6
5801 else
5802   lt_cv_ar_at_file=no
5803    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h.  */
5807 main ()
5810   ;
5811   return 0;
5813 _ACEOF
5814 if ac_fn_c_try_compile "$LINENO"; then :
5815   echo conftest.$ac_objext > conftest.lst
5816       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5817       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5818   (eval $lt_ar_try) 2>&5
5819   ac_status=$?
5820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5821   test $ac_status = 0; }
5822       if test "$ac_status" -eq 0; then
5823         # Ensure the archiver fails upon bogus file names.
5824         rm -f conftest.$ac_objext libconftest.a
5825         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5826   (eval $lt_ar_try) 2>&5
5827   ac_status=$?
5828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5829   test $ac_status = 0; }
5830         if test "$ac_status" -ne 0; then
5831           lt_cv_ar_at_file=@
5832         fi
5833       fi
5834       rm -f conftest.* libconftest.a
5835      
5837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5838   
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5841 $as_echo "$lt_cv_ar_at_file" >&6; }
5843 if test "x$lt_cv_ar_at_file" = xno; then
5844   archiver_list_spec=
5845 else
5846   archiver_list_spec=$lt_cv_ar_at_file
5849     
5850     
5851     
5855 if test -n "$ac_tool_prefix"; then
5856   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5857 set dummy ${ac_tool_prefix}strip; ac_word=$2
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5859 $as_echo_n "checking for $ac_word... " >&6; }
5860 if ${ac_cv_prog_STRIP+:} false; then :
5861   $as_echo_n "(cached) " >&6
5862 else
5863   if test -n "$STRIP"; then
5864   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5865 else
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 for as_dir in $PATH
5869   IFS=$as_save_IFS
5870   test -z "$as_dir" && as_dir=.
5871     for ac_exec_ext in '' $ac_executable_extensions; do
5872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5873     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5875     break 2
5876   fi
5877 done
5878   done
5879 IFS=$as_save_IFS
5883 STRIP=$ac_cv_prog_STRIP
5884 if test -n "$STRIP"; then
5885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5886 $as_echo "$STRIP" >&6; }
5887 else
5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5889 $as_echo "no" >&6; }
5894 if test -z "$ac_cv_prog_STRIP"; then
5895   ac_ct_STRIP=$STRIP
5896   # Extract the first word of "strip", so it can be a program name with args.
5897 set dummy strip; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5901   $as_echo_n "(cached) " >&6
5902 else
5903   if test -n "$ac_ct_STRIP"; then
5904   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5905 else
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5907 for as_dir in $PATH
5909   IFS=$as_save_IFS
5910   test -z "$as_dir" && as_dir=.
5911     for ac_exec_ext in '' $ac_executable_extensions; do
5912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5913     ac_cv_prog_ac_ct_STRIP="strip"
5914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5915     break 2
5916   fi
5917 done
5918   done
5919 IFS=$as_save_IFS
5923 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5924 if test -n "$ac_ct_STRIP"; then
5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5926 $as_echo "$ac_ct_STRIP" >&6; }
5927 else
5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5929 $as_echo "no" >&6; }
5932   if test "x$ac_ct_STRIP" = x; then
5933     STRIP=":"
5934   else
5935     case $cross_compiling:$ac_tool_warned in
5936 yes:)
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5939 ac_tool_warned=yes ;;
5940 esac
5941     STRIP=$ac_ct_STRIP
5942   fi
5943 else
5944   STRIP="$ac_cv_prog_STRIP"
5947 test -z "$STRIP" && STRIP=:
5949     
5950     
5951     
5954 if test -n "$ac_tool_prefix"; then
5955   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5956 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if ${ac_cv_prog_RANLIB+:} false; then :
5960   $as_echo_n "(cached) " >&6
5961 else
5962   if test -n "$RANLIB"; then
5963   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5968   IFS=$as_save_IFS
5969   test -z "$as_dir" && as_dir=.
5970     for ac_exec_ext in '' $ac_executable_extensions; do
5971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974     break 2
5975   fi
5976 done
5977   done
5978 IFS=$as_save_IFS
5982 RANLIB=$ac_cv_prog_RANLIB
5983 if test -n "$RANLIB"; then
5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5985 $as_echo "$RANLIB" >&6; }
5986 else
5987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5993 if test -z "$ac_cv_prog_RANLIB"; then
5994   ac_ct_RANLIB=$RANLIB
5995   # Extract the first word of "ranlib", so it can be a program name with args.
5996 set dummy ranlib; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6000   $as_echo_n "(cached) " >&6
6001 else
6002   if test -n "$ac_ct_RANLIB"; then
6003   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008   IFS=$as_save_IFS
6009   test -z "$as_dir" && as_dir=.
6010     for ac_exec_ext in '' $ac_executable_extensions; do
6011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012     ac_cv_prog_ac_ct_RANLIB="ranlib"
6013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014     break 2
6015   fi
6016 done
6017   done
6018 IFS=$as_save_IFS
6022 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6023 if test -n "$ac_ct_RANLIB"; then
6024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6025 $as_echo "$ac_ct_RANLIB" >&6; }
6026 else
6027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6031   if test "x$ac_ct_RANLIB" = x; then
6032     RANLIB=":"
6033   else
6034     case $cross_compiling:$ac_tool_warned in
6035 yes:)
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6038 ac_tool_warned=yes ;;
6039 esac
6040     RANLIB=$ac_ct_RANLIB
6041   fi
6042 else
6043   RANLIB="$ac_cv_prog_RANLIB"
6046 test -z "$RANLIB" && RANLIB=:
6048     
6049     
6050     
6053 # Determine commands to create old-style static archives.
6054 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6055 old_postinstall_cmds='chmod 644 $oldlib'
6056 old_postuninstall_cmds=
6058 if test -n "$RANLIB"; then
6059   case $host_os in
6060   openbsd*)
6061     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6062     ;;
6063   *)
6064     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6065     ;;
6066   esac
6067   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6070 case $host_os in
6071   darwin*)
6072     lock_old_archive_extraction=yes ;;
6073   *)
6074     lock_old_archive_extraction=no ;;
6075 esac
6077     
6078     
6079     
6082     
6083     
6084     
6087     
6088     
6089     
6092     
6093     
6094     
6099     
6100     
6101     
6103     
6104     
6105     
6107     
6108     
6109     
6111     
6112     
6113     
6115 # If no C compiler was specified, use CC.
6116 LTCC=${LTCC-"$CC"}
6118 # If no C compiler flags were specified, use CFLAGS.
6119 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6121 # Allow CC to be a program name with arguments.
6122 compiler=$CC
6125 # Check for command to grab the raw symbol name followed by C symbol from nm.
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6127 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6128 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6129   $as_echo_n "(cached) " >&6
6130 else
6131   
6132 # These are sane defaults that work on at least a few old systems.
6133 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6135 # Character class describing NM global symbol codes.
6136 symcode='[BCDEGRST]'
6138 # Regexp to match symbols that can be accessed directly from C.
6139 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6141 # Define system-specific variables.
6142 case $host_os in
6143 aix*)
6144   symcode='[BCDT]'
6145   ;;
6146 cygwin* | mingw* | pw32* | cegcc*)
6147   symcode='[ABCDGISTW]'
6148   ;;
6149 hpux*)
6150   if test "$host_cpu" = ia64; then
6151     symcode='[ABCDEGRST]'
6152   fi
6153   ;;
6154 irix* | nonstopux*)
6155   symcode='[BCDEGRST]'
6156   ;;
6157 osf*)
6158   symcode='[BCDEGQRST]'
6159   ;;
6160 solaris*)
6161   symcode='[BDRT]'
6162   ;;
6163 sco3.2v5*)
6164   symcode='[DT]'
6165   ;;
6166 sysv4.2uw2*)
6167   symcode='[DT]'
6168   ;;
6169 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6170   symcode='[ABDT]'
6171   ;;
6172 sysv4)
6173   symcode='[DFNSTU]'
6174   ;;
6175 esac
6177 # If we're using GNU nm, then use its standard symbol codes.
6178 case `$NM -V 2>&1` in
6179 *GNU* | *'with BFD'*)
6180   symcode='[ABCDGIRSTW]' ;;
6181 esac
6183 # Transform an extracted symbol line into a proper C declaration.
6184 # Some systems (esp. on ia64) link data and code symbols differently,
6185 # so use this general approach.
6186 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6188 # Transform an extracted symbol line into symbol name and symbol address
6189 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6190 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'"
6192 # Handle CRLF in mingw tool chain
6193 opt_cr=
6194 case $build_os in
6195 mingw*)
6196   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6197   ;;
6198 esac
6200 # Try without a prefix underscore, then with it.
6201 for ac_symprfx in "" "_"; do
6203   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6204   symxfrm="\\1 $ac_symprfx\\2 \\2"
6206   # Write the raw and C identifiers.
6207   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6208     # Fake it for dumpbin and say T for any non-static function
6209     # and D for any global variable.
6210     # Also find C++ and __fastcall symbols from MSVC++,
6211     # which start with @ or ?.
6212     lt_cv_sys_global_symbol_pipe="$AWK '"\
6213 "     {last_section=section; section=\$ 3};"\
6214 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6215 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6216 "     \$ 0!~/External *\|/{next};"\
6217 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6218 "     {if(hide[section]) next};"\
6219 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6220 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6221 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6222 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6223 "     ' prfx=^$ac_symprfx"
6224   else
6225     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6226   fi
6227   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6229   # Check to see that the pipe works correctly.
6230   pipe_works=no
6232   rm -f conftest*
6233   cat > conftest.$ac_ext <<_LT_EOF
6234 #ifdef __cplusplus
6235 extern "C" {
6236 #endif
6237 char nm_test_var;
6238 void nm_test_func(void);
6239 void nm_test_func(void){}
6240 #ifdef __cplusplus
6242 #endif
6243 int main(){nm_test_var='a';nm_test_func();return(0);}
6244 _LT_EOF
6246   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6247   (eval $ac_compile) 2>&5
6248   ac_status=$?
6249   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6250   test $ac_status = 0; }; then
6251     # Now try to grab the symbols.
6252     nlist=conftest.nm
6253     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6254   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6255   ac_status=$?
6256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6257   test $ac_status = 0; } && test -s "$nlist"; then
6258       # Try sorting and uniquifying the output.
6259       if sort "$nlist" | uniq > "$nlist"T; then
6260         mv -f "$nlist"T "$nlist"
6261       else
6262         rm -f "$nlist"T
6263       fi
6265       # Make sure that we snagged all the symbols we need.
6266       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6267         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6268           cat <<_LT_EOF > conftest.$ac_ext
6269 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6270 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6271 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6272    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6273 # define LT@&t@_DLSYM_CONST
6274 #elif defined(__osf__)
6275 /* This system does not cope well with relocations in const data.  */
6276 # define LT@&t@_DLSYM_CONST
6277 #else
6278 # define LT@&t@_DLSYM_CONST const
6279 #endif
6281 #ifdef __cplusplus
6282 extern "C" {
6283 #endif
6285 _LT_EOF
6286           # Now generate the symbol file.
6287           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6289           cat <<_LT_EOF >> conftest.$ac_ext
6291 /* The mapping between symbol names and symbols.  */
6292 LT@&t@_DLSYM_CONST struct {
6293   const char *name;
6294   void       *address;
6296 lt__PROGRAM__LTX_preloaded_symbols[] =
6298   { "@PROGRAM@", (void *) 0 },
6299 _LT_EOF
6300           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6301           cat <<\_LT_EOF >> conftest.$ac_ext
6302   {0, (void *) 0}
6305 /* This works around a problem in FreeBSD linker */
6306 #ifdef FREEBSD_WORKAROUND
6307 static const void *lt_preloaded_setup() {
6308   return lt__PROGRAM__LTX_preloaded_symbols;
6310 #endif
6312 #ifdef __cplusplus
6314 #endif
6315 _LT_EOF
6316           # Now try linking the two files.
6317           mv conftest.$ac_objext conftstm.$ac_objext
6318           lt_globsym_save_LIBS=$LIBS
6319           lt_globsym_save_CFLAGS=$CFLAGS
6320           LIBS="conftstm.$ac_objext"
6321           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6322           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6323   (eval $ac_link) 2>&5
6324   ac_status=$?
6325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6326   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6327             pipe_works=yes
6328           fi
6329           LIBS=$lt_globsym_save_LIBS
6330           CFLAGS=$lt_globsym_save_CFLAGS
6331         else
6332           echo "cannot find nm_test_func in $nlist" >&5
6333         fi
6334       else
6335         echo "cannot find nm_test_var in $nlist" >&5
6336       fi
6337     else
6338       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6339     fi
6340   else
6341     echo "$progname: failed program was:" >&5
6342     cat conftest.$ac_ext >&5
6343   fi
6344   rm -rf conftest* conftst*
6346   # Do not use the global_symbol_pipe unless it works.
6347   if test "$pipe_works" = yes; then
6348     break
6349   else
6350     lt_cv_sys_global_symbol_pipe=
6351   fi
6352 done
6356 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6357   lt_cv_sys_global_symbol_to_cdecl=
6359 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6361 $as_echo "failed" >&6; }
6362 else
6363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6364 $as_echo "ok" >&6; }
6367 # Response file support.
6368 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6369   nm_file_list_spec='@'
6370 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6371   nm_file_list_spec='@'
6375     
6376     
6377     
6380     
6381     
6382     
6385     
6386     
6387     
6390     
6391     
6392     
6395     
6396     
6397     
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6401 $as_echo_n "checking for sysroot... " >&6; }
6403 @%:@ Check whether --with-sysroot was given.
6404 if test "${with_sysroot+set}" = set; then :
6405   withval=$with_sysroot; 
6406 else
6407   with_sysroot=no
6411 lt_sysroot=
6412 case ${with_sysroot} in #(
6413  yes)
6414    if test "$GCC" = yes; then
6415      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6416    fi
6417    ;; #(
6418  /*)
6419    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6420    ;; #(
6421  no|'')
6422    ;; #(
6423  *)
6424    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6425 $as_echo "${with_sysroot}" >&6; }
6426    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6427    ;;
6428 esac
6430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6431 $as_echo "${lt_sysroot:-no}" >&6; }
6433     
6434     
6435     
6437 @%:@ Check whether --enable-libtool-lock was given.
6438 if test "${enable_libtool_lock+set}" = set; then :
6439   enableval=$enable_libtool_lock; 
6442 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6444 # Some flags need to be propagated to the compiler or linker for good
6445 # libtool support.
6446 case $host in
6447 ia64-*-hpux*)
6448   # Find out which ABI we are using.
6449   echo 'int i;' > conftest.$ac_ext
6450   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6451   (eval $ac_compile) 2>&5
6452   ac_status=$?
6453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6454   test $ac_status = 0; }; then
6455     case `/usr/bin/file conftest.$ac_objext` in
6456       *ELF-32*)
6457         HPUX_IA64_MODE="32"
6458         ;;
6459       *ELF-64*)
6460         HPUX_IA64_MODE="64"
6461         ;;
6462     esac
6463   fi
6464   rm -rf conftest*
6465   ;;
6466 *-*-irix6*)
6467   # Find out which ABI we are using.
6468   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6469   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6470   (eval $ac_compile) 2>&5
6471   ac_status=$?
6472   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6473   test $ac_status = 0; }; then
6474     if test "$lt_cv_prog_gnu_ld" = yes; then
6475       case `/usr/bin/file conftest.$ac_objext` in
6476         *32-bit*)
6477           LD="${LD-ld} -melf32bsmip"
6478           ;;
6479         *N32*)
6480           LD="${LD-ld} -melf32bmipn32"
6481           ;;
6482         *64-bit*)
6483           LD="${LD-ld} -melf64bmip"
6484         ;;
6485       esac
6486     else
6487       case `/usr/bin/file conftest.$ac_objext` in
6488         *32-bit*)
6489           LD="${LD-ld} -32"
6490           ;;
6491         *N32*)
6492           LD="${LD-ld} -n32"
6493           ;;
6494         *64-bit*)
6495           LD="${LD-ld} -64"
6496           ;;
6497       esac
6498     fi
6499   fi
6500   rm -rf conftest*
6501   ;;
6503 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6504 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6505   # Find out which ABI we are using.
6506   echo 'int i;' > conftest.$ac_ext
6507   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6508   (eval $ac_compile) 2>&5
6509   ac_status=$?
6510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6511   test $ac_status = 0; }; then
6512     case `/usr/bin/file conftest.o` in
6513       *32-bit*)
6514         case $host in
6515           x86_64-*kfreebsd*-gnu)
6516             LD="${LD-ld} -m elf_i386_fbsd"
6517             ;;
6518           x86_64-*linux*)
6519             LD="${LD-ld} -m elf_i386"
6520             ;;
6521           ppc64-*linux*|powerpc64-*linux*)
6522             LD="${LD-ld} -m elf32ppclinux"
6523             ;;
6524           s390x-*linux*)
6525             LD="${LD-ld} -m elf_s390"
6526             ;;
6527           sparc64-*linux*)
6528             LD="${LD-ld} -m elf32_sparc"
6529             ;;
6530         esac
6531         ;;
6532       *64-bit*)
6533         case $host in
6534           x86_64-*kfreebsd*-gnu)
6535             LD="${LD-ld} -m elf_x86_64_fbsd"
6536             ;;
6537           x86_64-*linux*)
6538             LD="${LD-ld} -m elf_x86_64"
6539             ;;
6540           ppc*-*linux*|powerpc*-*linux*)
6541             LD="${LD-ld} -m elf64ppc"
6542             ;;
6543           s390*-*linux*|s390*-*tpf*)
6544             LD="${LD-ld} -m elf64_s390"
6545             ;;
6546           sparc*-*linux*)
6547             LD="${LD-ld} -m elf64_sparc"
6548             ;;
6549         esac
6550         ;;
6551     esac
6552   fi
6553   rm -rf conftest*
6554   ;;
6556 *-*-sco3.2v5*)
6557   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6558   SAVE_CFLAGS="$CFLAGS"
6559   CFLAGS="$CFLAGS -belf"
6560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6561 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6562 if ${lt_cv_cc_needs_belf+:} false; then :
6563   $as_echo_n "(cached) " >&6
6564 else
6565   ac_ext=c
6566 ac_cpp='$CPP $CPPFLAGS'
6567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6571      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h.  */
6575 main ()
6578   ;
6579   return 0;
6581 _ACEOF
6582 if ac_fn_c_try_link "$LINENO"; then :
6583   lt_cv_cc_needs_belf=yes
6584 else
6585   lt_cv_cc_needs_belf=no
6587 rm -f core conftest.err conftest.$ac_objext \
6588     conftest$ac_exeext conftest.$ac_ext
6589      ac_ext=c
6590 ac_cpp='$CPP $CPPFLAGS'
6591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6597 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6598   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6599     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6600     CFLAGS="$SAVE_CFLAGS"
6601   fi
6602   ;;
6603 *-*solaris*)
6604   # Find out which ABI we are using.
6605   echo 'int i;' > conftest.$ac_ext
6606   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6607   (eval $ac_compile) 2>&5
6608   ac_status=$?
6609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6610   test $ac_status = 0; }; then
6611     case `/usr/bin/file conftest.o` in
6612     *64-bit*)
6613       case $lt_cv_prog_gnu_ld in
6614       yes*)
6615         case $host in
6616         i?86-*-solaris*)
6617           LD="${LD-ld} -m elf_x86_64"
6618           ;;
6619         sparc*-*-solaris*)
6620           LD="${LD-ld} -m elf64_sparc"
6621           ;;
6622         esac
6623         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6624         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6625           LD="${LD-ld}_sol2"
6626         fi
6627         ;;
6628       *)
6629         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6630           LD="${LD-ld} -64"
6631         fi
6632         ;;
6633       esac
6634       ;;
6635     esac
6636   fi
6637   rm -rf conftest*
6638   ;;
6639 esac
6641 need_locks="$enable_libtool_lock"
6643 if test -n "$ac_tool_prefix"; then
6644   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6645 set dummy ${ac_tool_prefix}mt; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6649   $as_echo_n "(cached) " >&6
6650 else
6651   if test -n "$MANIFEST_TOOL"; then
6652   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6657   IFS=$as_save_IFS
6658   test -z "$as_dir" && as_dir=.
6659     for ac_exec_ext in '' $ac_executable_extensions; do
6660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6661     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663     break 2
6664   fi
6665 done
6666   done
6667 IFS=$as_save_IFS
6671 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6672 if test -n "$MANIFEST_TOOL"; then
6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6674 $as_echo "$MANIFEST_TOOL" >&6; }
6675 else
6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6682 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6683   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6684   # Extract the first word of "mt", so it can be a program name with args.
6685 set dummy mt; ac_word=$2
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 $as_echo_n "checking for $ac_word... " >&6; }
6688 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6689   $as_echo_n "(cached) " >&6
6690 else
6691   if test -n "$ac_ct_MANIFEST_TOOL"; then
6692   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6693 else
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 for as_dir in $PATH
6697   IFS=$as_save_IFS
6698   test -z "$as_dir" && as_dir=.
6699     for ac_exec_ext in '' $ac_executable_extensions; do
6700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6701     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703     break 2
6704   fi
6705 done
6706   done
6707 IFS=$as_save_IFS
6711 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6712 if test -n "$ac_ct_MANIFEST_TOOL"; then
6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6714 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6715 else
6716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 $as_echo "no" >&6; }
6720   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6721     MANIFEST_TOOL=":"
6722   else
6723     case $cross_compiling:$ac_tool_warned in
6724 yes:)
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6727 ac_tool_warned=yes ;;
6728 esac
6729     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6730   fi
6731 else
6732   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6735 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6737 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6738 if ${lt_cv_path_mainfest_tool+:} false; then :
6739   $as_echo_n "(cached) " >&6
6740 else
6741   lt_cv_path_mainfest_tool=no
6742   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6743   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6744   cat conftest.err >&5
6745   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6746     lt_cv_path_mainfest_tool=yes
6747   fi
6748   rm -f conftest*
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6751 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6752 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6753   MANIFEST_TOOL=:
6756     
6757     
6758     
6761   case $host_os in
6762     rhapsody* | darwin*)
6763     if test -n "$ac_tool_prefix"; then
6764   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6765 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6767 $as_echo_n "checking for $ac_word... " >&6; }
6768 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6769   $as_echo_n "(cached) " >&6
6770 else
6771   if test -n "$DSYMUTIL"; then
6772   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6773 else
6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 for as_dir in $PATH
6777   IFS=$as_save_IFS
6778   test -z "$as_dir" && as_dir=.
6779     for ac_exec_ext in '' $ac_executable_extensions; do
6780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6783     break 2
6784   fi
6785 done
6786   done
6787 IFS=$as_save_IFS
6791 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6792 if test -n "$DSYMUTIL"; then
6793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6794 $as_echo "$DSYMUTIL" >&6; }
6795 else
6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 $as_echo "no" >&6; }
6802 if test -z "$ac_cv_prog_DSYMUTIL"; then
6803   ac_ct_DSYMUTIL=$DSYMUTIL
6804   # Extract the first word of "dsymutil", so it can be a program name with args.
6805 set dummy dsymutil; ac_word=$2
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6807 $as_echo_n "checking for $ac_word... " >&6; }
6808 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6809   $as_echo_n "(cached) " >&6
6810 else
6811   if test -n "$ac_ct_DSYMUTIL"; then
6812   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6813 else
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 for as_dir in $PATH
6817   IFS=$as_save_IFS
6818   test -z "$as_dir" && as_dir=.
6819     for ac_exec_ext in '' $ac_executable_extensions; do
6820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6821     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6823     break 2
6824   fi
6825 done
6826   done
6827 IFS=$as_save_IFS
6831 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6832 if test -n "$ac_ct_DSYMUTIL"; then
6833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6834 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6835 else
6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6837 $as_echo "no" >&6; }
6840   if test "x$ac_ct_DSYMUTIL" = x; then
6841     DSYMUTIL=":"
6842   else
6843     case $cross_compiling:$ac_tool_warned in
6844 yes:)
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6847 ac_tool_warned=yes ;;
6848 esac
6849     DSYMUTIL=$ac_ct_DSYMUTIL
6850   fi
6851 else
6852   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6855     if test -n "$ac_tool_prefix"; then
6856   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6857 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_prog_NMEDIT+:} false; then :
6861   $as_echo_n "(cached) " >&6
6862 else
6863   if test -n "$NMEDIT"; then
6864   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6865 else
6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6867 for as_dir in $PATH
6869   IFS=$as_save_IFS
6870   test -z "$as_dir" && as_dir=.
6871     for ac_exec_ext in '' $ac_executable_extensions; do
6872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6873     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6875     break 2
6876   fi
6877 done
6878   done
6879 IFS=$as_save_IFS
6883 NMEDIT=$ac_cv_prog_NMEDIT
6884 if test -n "$NMEDIT"; then
6885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6886 $as_echo "$NMEDIT" >&6; }
6887 else
6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6894 if test -z "$ac_cv_prog_NMEDIT"; then
6895   ac_ct_NMEDIT=$NMEDIT
6896   # Extract the first word of "nmedit", so it can be a program name with args.
6897 set dummy nmedit; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899 $as_echo_n "checking for $ac_word... " >&6; }
6900 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6901   $as_echo_n "(cached) " >&6
6902 else
6903   if test -n "$ac_ct_NMEDIT"; then
6904   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6905 else
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907 for as_dir in $PATH
6909   IFS=$as_save_IFS
6910   test -z "$as_dir" && as_dir=.
6911     for ac_exec_ext in '' $ac_executable_extensions; do
6912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6913     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915     break 2
6916   fi
6917 done
6918   done
6919 IFS=$as_save_IFS
6923 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6924 if test -n "$ac_ct_NMEDIT"; then
6925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6926 $as_echo "$ac_ct_NMEDIT" >&6; }
6927 else
6928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6929 $as_echo "no" >&6; }
6932   if test "x$ac_ct_NMEDIT" = x; then
6933     NMEDIT=":"
6934   else
6935     case $cross_compiling:$ac_tool_warned in
6936 yes:)
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6939 ac_tool_warned=yes ;;
6940 esac
6941     NMEDIT=$ac_ct_NMEDIT
6942   fi
6943 else
6944   NMEDIT="$ac_cv_prog_NMEDIT"
6947     if test -n "$ac_tool_prefix"; then
6948   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6949 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6951 $as_echo_n "checking for $ac_word... " >&6; }
6952 if ${ac_cv_prog_LIPO+:} false; then :
6953   $as_echo_n "(cached) " >&6
6954 else
6955   if test -n "$LIPO"; then
6956   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6957 else
6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6959 for as_dir in $PATH
6961   IFS=$as_save_IFS
6962   test -z "$as_dir" && as_dir=.
6963     for ac_exec_ext in '' $ac_executable_extensions; do
6964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6965     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6967     break 2
6968   fi
6969 done
6970   done
6971 IFS=$as_save_IFS
6975 LIPO=$ac_cv_prog_LIPO
6976 if test -n "$LIPO"; then
6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6978 $as_echo "$LIPO" >&6; }
6979 else
6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6981 $as_echo "no" >&6; }
6986 if test -z "$ac_cv_prog_LIPO"; then
6987   ac_ct_LIPO=$LIPO
6988   # Extract the first word of "lipo", so it can be a program name with args.
6989 set dummy lipo; ac_word=$2
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6991 $as_echo_n "checking for $ac_word... " >&6; }
6992 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6993   $as_echo_n "(cached) " >&6
6994 else
6995   if test -n "$ac_ct_LIPO"; then
6996   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6997 else
6998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6999 for as_dir in $PATH
7001   IFS=$as_save_IFS
7002   test -z "$as_dir" && as_dir=.
7003     for ac_exec_ext in '' $ac_executable_extensions; do
7004   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7005     ac_cv_prog_ac_ct_LIPO="lipo"
7006     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007     break 2
7008   fi
7009 done
7010   done
7011 IFS=$as_save_IFS
7015 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7016 if test -n "$ac_ct_LIPO"; then
7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7018 $as_echo "$ac_ct_LIPO" >&6; }
7019 else
7020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7021 $as_echo "no" >&6; }
7024   if test "x$ac_ct_LIPO" = x; then
7025     LIPO=":"
7026   else
7027     case $cross_compiling:$ac_tool_warned in
7028 yes:)
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7031 ac_tool_warned=yes ;;
7032 esac
7033     LIPO=$ac_ct_LIPO
7034   fi
7035 else
7036   LIPO="$ac_cv_prog_LIPO"
7039     if test -n "$ac_tool_prefix"; then
7040   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}otool; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_OTOOL+:} false; then :
7045   $as_echo_n "(cached) " >&6
7046 else
7047   if test -n "$OTOOL"; then
7048   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7049 else
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in $PATH
7053   IFS=$as_save_IFS
7054   test -z "$as_dir" && as_dir=.
7055     for ac_exec_ext in '' $ac_executable_extensions; do
7056   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7057     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059     break 2
7060   fi
7061 done
7062   done
7063 IFS=$as_save_IFS
7067 OTOOL=$ac_cv_prog_OTOOL
7068 if test -n "$OTOOL"; then
7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7070 $as_echo "$OTOOL" >&6; }
7071 else
7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7078 if test -z "$ac_cv_prog_OTOOL"; then
7079   ac_ct_OTOOL=$OTOOL
7080   # Extract the first word of "otool", so it can be a program name with args.
7081 set dummy otool; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7085   $as_echo_n "(cached) " >&6
7086 else
7087   if test -n "$ac_ct_OTOOL"; then
7088   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7089 else
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in $PATH
7093   IFS=$as_save_IFS
7094   test -z "$as_dir" && as_dir=.
7095     for ac_exec_ext in '' $ac_executable_extensions; do
7096   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7097     ac_cv_prog_ac_ct_OTOOL="otool"
7098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099     break 2
7100   fi
7101 done
7102   done
7103 IFS=$as_save_IFS
7107 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7108 if test -n "$ac_ct_OTOOL"; then
7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7110 $as_echo "$ac_ct_OTOOL" >&6; }
7111 else
7112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7116   if test "x$ac_ct_OTOOL" = x; then
7117     OTOOL=":"
7118   else
7119     case $cross_compiling:$ac_tool_warned in
7120 yes:)
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7124 esac
7125     OTOOL=$ac_ct_OTOOL
7126   fi
7127 else
7128   OTOOL="$ac_cv_prog_OTOOL"
7131     if test -n "$ac_tool_prefix"; then
7132   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7133 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7135 $as_echo_n "checking for $ac_word... " >&6; }
7136 if ${ac_cv_prog_OTOOL64+:} false; then :
7137   $as_echo_n "(cached) " >&6
7138 else
7139   if test -n "$OTOOL64"; then
7140   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7141 else
7142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7143 for as_dir in $PATH
7145   IFS=$as_save_IFS
7146   test -z "$as_dir" && as_dir=.
7147     for ac_exec_ext in '' $ac_executable_extensions; do
7148   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7149     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7151     break 2
7152   fi
7153 done
7154   done
7155 IFS=$as_save_IFS
7159 OTOOL64=$ac_cv_prog_OTOOL64
7160 if test -n "$OTOOL64"; then
7161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7162 $as_echo "$OTOOL64" >&6; }
7163 else
7164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7165 $as_echo "no" >&6; }
7170 if test -z "$ac_cv_prog_OTOOL64"; then
7171   ac_ct_OTOOL64=$OTOOL64
7172   # Extract the first word of "otool64", so it can be a program name with args.
7173 set dummy otool64; ac_word=$2
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7175 $as_echo_n "checking for $ac_word... " >&6; }
7176 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7177   $as_echo_n "(cached) " >&6
7178 else
7179   if test -n "$ac_ct_OTOOL64"; then
7180   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7181 else
7182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7183 for as_dir in $PATH
7185   IFS=$as_save_IFS
7186   test -z "$as_dir" && as_dir=.
7187     for ac_exec_ext in '' $ac_executable_extensions; do
7188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7189     ac_cv_prog_ac_ct_OTOOL64="otool64"
7190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7191     break 2
7192   fi
7193 done
7194   done
7195 IFS=$as_save_IFS
7199 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7200 if test -n "$ac_ct_OTOOL64"; then
7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7202 $as_echo "$ac_ct_OTOOL64" >&6; }
7203 else
7204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7205 $as_echo "no" >&6; }
7208   if test "x$ac_ct_OTOOL64" = x; then
7209     OTOOL64=":"
7210   else
7211     case $cross_compiling:$ac_tool_warned in
7212 yes:)
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7215 ac_tool_warned=yes ;;
7216 esac
7217     OTOOL64=$ac_ct_OTOOL64
7218   fi
7219 else
7220   OTOOL64="$ac_cv_prog_OTOOL64"
7223     
7224     
7225     
7226     
7228     
7229     
7230     
7231     
7233     
7234     
7235     
7236     
7238     
7239     
7240     
7241     
7243     
7244     
7245     
7246     
7249     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7250 $as_echo_n "checking for -single_module linker flag... " >&6; }
7251 if ${lt_cv_apple_cc_single_mod+:} false; then :
7252   $as_echo_n "(cached) " >&6
7253 else
7254   lt_cv_apple_cc_single_mod=no
7255       if test -z "${LT_MULTI_MODULE}"; then
7256         # By default we will add the -single_module flag. You can override
7257         # by either setting the environment variable LT_MULTI_MODULE
7258         # non-empty at configure time, or by adding -multi_module to the
7259         # link flags.
7260         rm -rf libconftest.dylib*
7261         echo "int foo(void){return 1;}" > conftest.c
7262         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7263 -dynamiclib -Wl,-single_module conftest.c" >&5
7264         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7265           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7266         _lt_result=$?
7267         # If there is a non-empty error log, and "single_module"
7268         # appears in it, assume the flag caused a linker warning
7269         if test -s conftest.err && $GREP single_module conftest.err; then
7270           cat conftest.err >&5
7271         # Otherwise, if the output was created with a 0 exit code from
7272         # the compiler, it worked.
7273         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7274           lt_cv_apple_cc_single_mod=yes
7275         else
7276           cat conftest.err >&5
7277         fi
7278         rm -rf libconftest.dylib*
7279         rm -f conftest.*
7280       fi
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7283 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7286 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7287 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7288   $as_echo_n "(cached) " >&6
7289 else
7290   lt_cv_ld_exported_symbols_list=no
7291       save_LDFLAGS=$LDFLAGS
7292       echo "_main" > conftest.sym
7293       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7294       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7295 /* end confdefs.h.  */
7298 main ()
7301   ;
7302   return 0;
7304 _ACEOF
7305 if ac_fn_c_try_link "$LINENO"; then :
7306   lt_cv_ld_exported_symbols_list=yes
7307 else
7308   lt_cv_ld_exported_symbols_list=no
7310 rm -f core conftest.err conftest.$ac_objext \
7311     conftest$ac_exeext conftest.$ac_ext
7312         LDFLAGS="$save_LDFLAGS"
7313     
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7316 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7318     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7319 $as_echo_n "checking for -force_load linker flag... " >&6; }
7320 if ${lt_cv_ld_force_load+:} false; then :
7321   $as_echo_n "(cached) " >&6
7322 else
7323   lt_cv_ld_force_load=no
7324       cat > conftest.c << _LT_EOF
7325 int forced_loaded() { return 2;}
7326 _LT_EOF
7327       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7328       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7329       echo "$AR cru libconftest.a conftest.o" >&5
7330       $AR cru libconftest.a conftest.o 2>&5
7331       echo "$RANLIB libconftest.a" >&5
7332       $RANLIB libconftest.a 2>&5
7333       cat > conftest.c << _LT_EOF
7334 int main() { return 0;}
7335 _LT_EOF
7336       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7337       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7338       _lt_result=$?
7339       if test -s conftest.err && $GREP force_load conftest.err; then
7340         cat conftest.err >&5
7341       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7342         lt_cv_ld_force_load=yes
7343       else
7344         cat conftest.err >&5
7345       fi
7346         rm -f conftest.err libconftest.a conftest conftest.c
7347         rm -rf conftest.dSYM
7348     
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7351 $as_echo "$lt_cv_ld_force_load" >&6; }
7352     case $host_os in
7353     rhapsody* | darwin1.[012])
7354       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7355     darwin1.*)
7356       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7357     darwin*) # darwin 5.x on
7358       # if running on 10.5 or later, the deployment target defaults
7359       # to the OS version, if on x86, and 10.4, the deployment
7360       # target defaults to 10.4. Don't you love it?
7361       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7362         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7363           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7364         10.[012]*)
7365           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7366         10.*)
7367           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7368       esac
7369     ;;
7370   esac
7371     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7372       _lt_dar_single_mod='$single_module'
7373     fi
7374     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7375       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7376     else
7377       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7378     fi
7379     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7380       _lt_dsymutil='~$DSYMUTIL $lib || :'
7381     else
7382       _lt_dsymutil=
7383     fi
7384     ;;
7385   esac
7387 ac_ext=c
7388 ac_cpp='$CPP $CPPFLAGS'
7389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7393 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7394 # On Suns, sometimes $CPP names a directory.
7395 if test -n "$CPP" && test -d "$CPP"; then
7396   CPP=
7398 if test -z "$CPP"; then
7399   if ${ac_cv_prog_CPP+:} false; then :
7400   $as_echo_n "(cached) " >&6
7401 else
7402       # Double quotes because CPP needs to be expanded
7403     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7404     do
7405       ac_preproc_ok=false
7406 for ac_c_preproc_warn_flag in '' yes
7408   # Use a header file that comes with gcc, so configuring glibc
7409   # with a fresh cross-compiler works.
7410   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7411   # <limits.h> exists even on freestanding compilers.
7412   # On the NeXT, cc -E runs the code through the compiler's parser,
7413   # not just through cpp. "Syntax error" is here to catch this case.
7414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7415 /* end confdefs.h.  */
7416 @%:@ifdef __STDC__
7417 @%:@ include <limits.h>
7418 @%:@else
7419 @%:@ include <assert.h>
7420 @%:@endif
7421                      Syntax error
7422 _ACEOF
7423 if ac_fn_c_try_cpp "$LINENO"; then :
7424   
7425 else
7426   # Broken: fails on valid input.
7427 continue
7429 rm -f conftest.err conftest.i conftest.$ac_ext
7431   # OK, works on sane cases.  Now check whether nonexistent headers
7432   # can be detected and how.
7433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7434 /* end confdefs.h.  */
7435 @%:@include <ac_nonexistent.h>
7436 _ACEOF
7437 if ac_fn_c_try_cpp "$LINENO"; then :
7438   # Broken: success on invalid input.
7439 continue
7440 else
7441   # Passes both tests.
7442 ac_preproc_ok=:
7443 break
7445 rm -f conftest.err conftest.i conftest.$ac_ext
7447 done
7448 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7449 rm -f conftest.i conftest.err conftest.$ac_ext
7450 if $ac_preproc_ok; then :
7451   break
7454     done
7455     ac_cv_prog_CPP=$CPP
7456   
7458   CPP=$ac_cv_prog_CPP
7459 else
7460   ac_cv_prog_CPP=$CPP
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7463 $as_echo "$CPP" >&6; }
7464 ac_preproc_ok=false
7465 for ac_c_preproc_warn_flag in '' yes
7467   # Use a header file that comes with gcc, so configuring glibc
7468   # with a fresh cross-compiler works.
7469   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7470   # <limits.h> exists even on freestanding compilers.
7471   # On the NeXT, cc -E runs the code through the compiler's parser,
7472   # not just through cpp. "Syntax error" is here to catch this case.
7473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474 /* end confdefs.h.  */
7475 @%:@ifdef __STDC__
7476 @%:@ include <limits.h>
7477 @%:@else
7478 @%:@ include <assert.h>
7479 @%:@endif
7480                      Syntax error
7481 _ACEOF
7482 if ac_fn_c_try_cpp "$LINENO"; then :
7483   
7484 else
7485   # Broken: fails on valid input.
7486 continue
7488 rm -f conftest.err conftest.i conftest.$ac_ext
7490   # OK, works on sane cases.  Now check whether nonexistent headers
7491   # can be detected and how.
7492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7493 /* end confdefs.h.  */
7494 @%:@include <ac_nonexistent.h>
7495 _ACEOF
7496 if ac_fn_c_try_cpp "$LINENO"; then :
7497   # Broken: success on invalid input.
7498 continue
7499 else
7500   # Passes both tests.
7501 ac_preproc_ok=:
7502 break
7504 rm -f conftest.err conftest.i conftest.$ac_ext
7506 done
7507 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7508 rm -f conftest.i conftest.err conftest.$ac_ext
7509 if $ac_preproc_ok; then :
7510   
7511 else
7512   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7514 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7515 See \`config.log' for more details" "$LINENO" 5; }
7518 ac_ext=c
7519 ac_cpp='$CPP $CPPFLAGS'
7520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7526 $as_echo_n "checking for ANSI C header files... " >&6; }
7527 if ${ac_cv_header_stdc+:} false; then :
7528   $as_echo_n "(cached) " >&6
7529 else
7530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531 /* end confdefs.h.  */
7532 #include <stdlib.h>
7533 #include <stdarg.h>
7534 #include <string.h>
7535 #include <float.h>
7538 main ()
7541   ;
7542   return 0;
7544 _ACEOF
7545 if ac_fn_c_try_compile "$LINENO"; then :
7546   ac_cv_header_stdc=yes
7547 else
7548   ac_cv_header_stdc=no
7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552 if test $ac_cv_header_stdc = yes; then
7553   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h.  */
7556 #include <string.h>
7558 _ACEOF
7559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7560   $EGREP "memchr" >/dev/null 2>&1; then :
7561   
7562 else
7563   ac_cv_header_stdc=no
7565 rm -f conftest*
7569 if test $ac_cv_header_stdc = yes; then
7570   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572 /* end confdefs.h.  */
7573 #include <stdlib.h>
7575 _ACEOF
7576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7577   $EGREP "free" >/dev/null 2>&1; then :
7578   
7579 else
7580   ac_cv_header_stdc=no
7582 rm -f conftest*
7586 if test $ac_cv_header_stdc = yes; then
7587   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7588   if test "$cross_compiling" = yes; then :
7589   :
7590 else
7591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h.  */
7593 #include <ctype.h>
7594 #include <stdlib.h>
7595 #if ((' ' & 0x0FF) == 0x020)
7596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7598 #else
7599 # define ISLOWER(c) \
7600                    (('a' <= (c) && (c) <= 'i') \
7601                      || ('j' <= (c) && (c) <= 'r') \
7602                      || ('s' <= (c) && (c) <= 'z'))
7603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7604 #endif
7606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7608 main ()
7610   int i;
7611   for (i = 0; i < 256; i++)
7612     if (XOR (islower (i), ISLOWER (i))
7613         || toupper (i) != TOUPPER (i))
7614       return 2;
7615   return 0;
7617 _ACEOF
7618 if ac_fn_c_try_run "$LINENO"; then :
7619   
7620 else
7621   ac_cv_header_stdc=no
7623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7624   conftest.$ac_objext conftest.beam conftest.$ac_ext
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7630 $as_echo "$ac_cv_header_stdc" >&6; }
7631 if test $ac_cv_header_stdc = yes; then
7632   
7633 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7637 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7638 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7639                   inttypes.h stdint.h unistd.h
7640 do :
7641   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7642 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7644 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7645   cat >>confdefs.h <<_ACEOF
7646 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7647 _ACEOF
7651 done
7654 for ac_header in dlfcn.h
7655 do :
7656   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7658 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7659   cat >>confdefs.h <<_ACEOF
7660 @%:@define HAVE_DLFCN_H 1
7661 _ACEOF
7665 done
7670 func_stripname_cnf ()
7672   case ${2} in
7673   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7674   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7675   esac
7676 } # func_stripname_cnf
7682 # Set options
7683 @%:@ Check whether --enable-static was given.
7684 if test "${enable_static+set}" = set; then :
7685   enableval=$enable_static; p=${PACKAGE-default}
7686     case $enableval in
7687     yes) enable_static=yes ;;
7688     no) enable_static=no ;;
7689     *)
7690      enable_static=no
7691       # Look at the argument we got.  We use all the common list separators.
7692       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7693       for pkg in $enableval; do
7694         IFS="$lt_save_ifs"
7695         if test "X$pkg" = "X$p"; then
7696           enable_static=yes
7697         fi
7698       done
7699       IFS="$lt_save_ifs"
7700       ;;
7701     esac
7702 else
7703   enable_static=no
7707     
7708     
7709     
7710     
7715         enable_dlopen=no
7716   
7718   enable_win32_dll=no
7719   
7721             @%:@ Check whether --enable-shared was given.
7722 if test "${enable_shared+set}" = set; then :
7723   enableval=$enable_shared; p=${PACKAGE-default}
7724     case $enableval in
7725     yes) enable_shared=yes ;;
7726     no) enable_shared=no ;;
7727     *)
7728       enable_shared=no
7729       # Look at the argument we got.  We use all the common list separators.
7730       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7731       for pkg in $enableval; do
7732         IFS="$lt_save_ifs"
7733         if test "X$pkg" = "X$p"; then
7734           enable_shared=yes
7735         fi
7736       done
7737       IFS="$lt_save_ifs"
7738       ;;
7739     esac
7740 else
7741   enable_shared=yes
7745     
7746     
7747     
7748     
7752   
7753   
7754 @%:@ Check whether --with-pic was given.
7755 if test "${with_pic+set}" = set; then :
7756   withval=$with_pic; lt_p=${PACKAGE-default}
7757     case $withval in
7758     yes|no) pic_mode=$withval ;;
7759     *)
7760       pic_mode=default
7761       # Look at the argument we got.  We use all the common list separators.
7762       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7763       for lt_pkg in $withval; do
7764         IFS="$lt_save_ifs"
7765         if test "X$lt_pkg" = "X$lt_p"; then
7766           pic_mode=yes
7767         fi
7768       done
7769       IFS="$lt_save_ifs"
7770       ;;
7771     esac
7772 else
7773   pic_mode=default
7777 test -z "$pic_mode" && pic_mode=default
7780     
7781     
7782     
7785   @%:@ Check whether --enable-fast-install was given.
7786 if test "${enable_fast_install+set}" = set; then :
7787   enableval=$enable_fast_install; p=${PACKAGE-default}
7788     case $enableval in
7789     yes) enable_fast_install=yes ;;
7790     no) enable_fast_install=no ;;
7791     *)
7792       enable_fast_install=no
7793       # Look at the argument we got.  We use all the common list separators.
7794       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7795       for pkg in $enableval; do
7796         IFS="$lt_save_ifs"
7797         if test "X$pkg" = "X$p"; then
7798           enable_fast_install=yes
7799         fi
7800       done
7801       IFS="$lt_save_ifs"
7802       ;;
7803     esac
7804 else
7805   enable_fast_install=yes
7810     
7811     
7812     
7815   
7818 # This can be used to rebuild libtool when needed
7819 LIBTOOL_DEPS="$ltmain"
7821 # Always use our own libtool.
7822 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7826     
7827     
7828     
7830     
7831     
7832     
7834     
7835     
7836     
7838     
7839     
7840     
7842     
7843     
7844     
7846     
7847     
7848     
7850     
7851     
7852     
7853 test -z "$LN_S" && LN_S="ln -s"
7855     
7856     
7857     
7859     
7860     
7861     
7863     
7864     
7865     
7868 if test -n "${ZSH_VERSION+set}" ; then
7869    setopt NO_GLOB_SUBST
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7873 $as_echo_n "checking for objdir... " >&6; }
7874 if ${lt_cv_objdir+:} false; then :
7875   $as_echo_n "(cached) " >&6
7876 else
7877   rm -f .libs 2>/dev/null
7878 mkdir .libs 2>/dev/null
7879 if test -d .libs; then
7880   lt_cv_objdir=.libs
7881 else
7882   # MS-DOS does not allow filenames that begin with a dot.
7883   lt_cv_objdir=_libs
7885 rmdir .libs 2>/dev/null
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7888 $as_echo "$lt_cv_objdir" >&6; }
7889 objdir=$lt_cv_objdir
7891     
7892     
7893     
7895 cat >>confdefs.h <<_ACEOF
7896 @%:@define LT_OBJDIR "$lt_cv_objdir/"
7897 _ACEOF
7902 case $host_os in
7903 aix3*)
7904   # AIX sometimes has problems with the GCC collect2 program.  For some
7905   # reason, if we set the COLLECT_NAMES environment variable, the problems
7906   # vanish in a puff of smoke.
7907   if test "X${COLLECT_NAMES+set}" != Xset; then
7908     COLLECT_NAMES=
7909     export COLLECT_NAMES
7910   fi
7911   ;;
7912 esac
7914 # Global variables:
7915 ofile=libtool
7916 can_build_shared=yes
7918 # All known linkers require a `.a' archive for static linking (except MSVC,
7919 # which needs '.lib').
7920 libext=a
7922 with_gnu_ld="$lt_cv_prog_gnu_ld"
7924 old_CC="$CC"
7925 old_CFLAGS="$CFLAGS"
7927 # Set sane defaults for various variables
7928 test -z "$CC" && CC=cc
7929 test -z "$LTCC" && LTCC=$CC
7930 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7931 test -z "$LD" && LD=ld
7932 test -z "$ac_objext" && ac_objext=o
7934 for cc_temp in $compiler""; do
7935   case $cc_temp in
7936     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7937     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7938     \-*) ;;
7939     *) break;;
7940   esac
7941 done
7942 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7945 # Only perform the check for file, if the check method requires it
7946 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7947 case $deplibs_check_method in
7948 file_magic*)
7949   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7950     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7951 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7952 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7953   $as_echo_n "(cached) " >&6
7954 else
7955   case $MAGIC_CMD in
7956 [\\/*] |  ?:[\\/]*)
7957   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7958   ;;
7960   lt_save_MAGIC_CMD="$MAGIC_CMD"
7961   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7962   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7963   for ac_dir in $ac_dummy; do
7964     IFS="$lt_save_ifs"
7965     test -z "$ac_dir" && ac_dir=.
7966     if test -f $ac_dir/${ac_tool_prefix}file; then
7967       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7968       if test -n "$file_magic_test_file"; then
7969         case $deplibs_check_method in
7970         "file_magic "*)
7971           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7972           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7973           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7974             $EGREP "$file_magic_regex" > /dev/null; then
7975             :
7976           else
7977             cat <<_LT_EOF 1>&2
7979 *** Warning: the command libtool uses to detect shared libraries,
7980 *** $file_magic_cmd, produces output that libtool cannot recognize.
7981 *** The result is that libtool may fail to recognize shared libraries
7982 *** as such.  This will affect the creation of libtool libraries that
7983 *** depend on shared libraries, but programs linked with such libtool
7984 *** libraries will work regardless of this problem.  Nevertheless, you
7985 *** may want to report the problem to your system manager and/or to
7986 *** bug-libtool@gnu.org
7988 _LT_EOF
7989           fi ;;
7990         esac
7991       fi
7992       break
7993     fi
7994   done
7995   IFS="$lt_save_ifs"
7996   MAGIC_CMD="$lt_save_MAGIC_CMD"
7997   ;;
7998 esac
8001 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8002 if test -n "$MAGIC_CMD"; then
8003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8004 $as_echo "$MAGIC_CMD" >&6; }
8005 else
8006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8010     
8011     
8012     
8014 if test -z "$lt_cv_path_MAGIC_CMD"; then
8015   if test -n "$ac_tool_prefix"; then
8016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8017 $as_echo_n "checking for file... " >&6; }
8018 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8019   $as_echo_n "(cached) " >&6
8020 else
8021   case $MAGIC_CMD in
8022 [\\/*] |  ?:[\\/]*)
8023   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8024   ;;
8026   lt_save_MAGIC_CMD="$MAGIC_CMD"
8027   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8028   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8029   for ac_dir in $ac_dummy; do
8030     IFS="$lt_save_ifs"
8031     test -z "$ac_dir" && ac_dir=.
8032     if test -f $ac_dir/file; then
8033       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8034       if test -n "$file_magic_test_file"; then
8035         case $deplibs_check_method in
8036         "file_magic "*)
8037           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8038           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8039           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8040             $EGREP "$file_magic_regex" > /dev/null; then
8041             :
8042           else
8043             cat <<_LT_EOF 1>&2
8045 *** Warning: the command libtool uses to detect shared libraries,
8046 *** $file_magic_cmd, produces output that libtool cannot recognize.
8047 *** The result is that libtool may fail to recognize shared libraries
8048 *** as such.  This will affect the creation of libtool libraries that
8049 *** depend on shared libraries, but programs linked with such libtool
8050 *** libraries will work regardless of this problem.  Nevertheless, you
8051 *** may want to report the problem to your system manager and/or to
8052 *** bug-libtool@gnu.org
8054 _LT_EOF
8055           fi ;;
8056         esac
8057       fi
8058       break
8059     fi
8060   done
8061   IFS="$lt_save_ifs"
8062   MAGIC_CMD="$lt_save_MAGIC_CMD"
8063   ;;
8064 esac
8067 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8068 if test -n "$MAGIC_CMD"; then
8069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8070 $as_echo "$MAGIC_CMD" >&6; }
8071 else
8072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8073 $as_echo "no" >&6; }
8077   else
8078     MAGIC_CMD=:
8079   fi
8082   fi
8083   ;;
8084 esac
8086 # Use C for the default configuration in the libtool script
8088 lt_save_CC="$CC"
8089 ac_ext=c
8090 ac_cpp='$CPP $CPPFLAGS'
8091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8096 # Source file extension for C test sources.
8097 ac_ext=c
8099 # Object file extension for compiled C test sources.
8100 objext=o
8101 objext=$objext
8103 # Code to be used in simple compile tests
8104 lt_simple_compile_test_code="int some_variable = 0;"
8106 # Code to be used in simple link tests
8107 lt_simple_link_test_code='int main(){return(0);}'
8115 # If no C compiler was specified, use CC.
8116 LTCC=${LTCC-"$CC"}
8118 # If no C compiler flags were specified, use CFLAGS.
8119 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8121 # Allow CC to be a program name with arguments.
8122 compiler=$CC
8124 # Save the default compiler, since it gets overwritten when the other
8125 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8126 compiler_DEFAULT=$CC
8128 # save warnings/boilerplate of simple test code
8129 ac_outfile=conftest.$ac_objext
8130 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8131 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8132 _lt_compiler_boilerplate=`cat conftest.err`
8133 $RM conftest*
8135 ac_outfile=conftest.$ac_objext
8136 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8137 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8138 _lt_linker_boilerplate=`cat conftest.err`
8139 $RM -r conftest*
8142 ## CAVEAT EMPTOR:
8143 ## There is no encapsulation within the following macros, do not change
8144 ## the running order or otherwise move them around unless you know exactly
8145 ## what you are doing...
8146 if test -n "$compiler"; then
8147   
8148 lt_prog_compiler_no_builtin_flag=
8150 if test "$GCC" = yes; then
8151   case $cc_basename in
8152   nvcc*)
8153     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8154   *)
8155     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8156   esac
8158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8159 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8160 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8161   $as_echo_n "(cached) " >&6
8162 else
8163   lt_cv_prog_compiler_rtti_exceptions=no
8164    ac_outfile=conftest.$ac_objext
8165    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8166    lt_compiler_flag="-fno-rtti -fno-exceptions"
8167    # Insert the option either (1) after the last *FLAGS variable, or
8168    # (2) before a word containing "conftest.", or (3) at the end.
8169    # Note that $ac_compile itself does not contain backslashes and begins
8170    # with a dollar sign (not a hyphen), so the echo should work correctly.
8171    # The option is referenced via a variable to avoid confusing sed.
8172    lt_compile=`echo "$ac_compile" | $SED \
8173    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8174    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8175    -e 's:$: $lt_compiler_flag:'`
8176    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8177    (eval "$lt_compile" 2>conftest.err)
8178    ac_status=$?
8179    cat conftest.err >&5
8180    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181    if (exit $ac_status) && test -s "$ac_outfile"; then
8182      # The compiler can only warn and ignore the option if not recognized
8183      # So say no if there are warnings other than the usual output.
8184      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8185      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8186      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8187        lt_cv_prog_compiler_rtti_exceptions=yes
8188      fi
8189    fi
8190    $RM conftest*
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8194 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8196 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8197     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8198 else
8199     :
8204     
8205     
8206     
8209   lt_prog_compiler_wl=
8210 lt_prog_compiler_pic=
8211 lt_prog_compiler_static=
8214   if test "$GCC" = yes; then
8215     lt_prog_compiler_wl='-Wl,'
8216     lt_prog_compiler_static='-static'
8218     case $host_os in
8219       aix*)
8220       # All AIX code is PIC.
8221       if test "$host_cpu" = ia64; then
8222         # AIX 5 now supports IA64 processor
8223         lt_prog_compiler_static='-Bstatic'
8224       fi
8225       ;;
8227     amigaos*)
8228       case $host_cpu in
8229       powerpc)
8230             # see comment about AmigaOS4 .so support
8231             lt_prog_compiler_pic='-fPIC'
8232         ;;
8233       m68k)
8234             # FIXME: we need at least 68020 code to build shared libraries, but
8235             # adding the `-m68020' flag to GCC prevents building anything better,
8236             # like `-m68040'.
8237             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8238         ;;
8239       esac
8240       ;;
8242     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8243       # PIC is the default for these OSes.
8244       ;;
8246     mingw* | cygwin* | pw32* | os2* | cegcc*)
8247       # This hack is so that the source file can tell whether it is being
8248       # built for inclusion in a dll (and should export symbols for example).
8249       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8250       # (--disable-auto-import) libraries
8251       lt_prog_compiler_pic='-DDLL_EXPORT'
8252       ;;
8254     darwin* | rhapsody*)
8255       # PIC is the default on this platform
8256       # Common symbols not allowed in MH_DYLIB files
8257       lt_prog_compiler_pic='-fno-common'
8258       ;;
8260     haiku*)
8261       # PIC is the default for Haiku.
8262       # The "-static" flag exists, but is broken.
8263       lt_prog_compiler_static=
8264       ;;
8266     hpux*)
8267       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8268       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8269       # sets the default TLS model and affects inlining.
8270       case $host_cpu in
8271       hppa*64*)
8272         # +Z the default
8273         ;;
8274       *)
8275         lt_prog_compiler_pic='-fPIC'
8276         ;;
8277       esac
8278       ;;
8280     interix[3-9]*)
8281       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8282       # Instead, we relocate shared libraries at runtime.
8283       ;;
8285     msdosdjgpp*)
8286       # Just because we use GCC doesn't mean we suddenly get shared libraries
8287       # on systems that don't support them.
8288       lt_prog_compiler_can_build_shared=no
8289       enable_shared=no
8290       ;;
8292     *nto* | *qnx*)
8293       # QNX uses GNU C++, but need to define -shared option too, otherwise
8294       # it will coredump.
8295       lt_prog_compiler_pic='-fPIC -shared'
8296       ;;
8298     sysv4*MP*)
8299       if test -d /usr/nec; then
8300         lt_prog_compiler_pic=-Kconform_pic
8301       fi
8302       ;;
8304     *)
8305       lt_prog_compiler_pic='-fPIC'
8306       ;;
8307     esac
8309     case $cc_basename in
8310     nvcc*) # Cuda Compiler Driver 2.2
8311       lt_prog_compiler_wl='-Xlinker '
8312       if test -n "$lt_prog_compiler_pic"; then
8313         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8314       fi
8315       ;;
8316     esac
8317   else
8318     # PORTME Check for flag to pass linker flags through the system compiler.
8319     case $host_os in
8320     aix*)
8321       lt_prog_compiler_wl='-Wl,'
8322       if test "$host_cpu" = ia64; then
8323         # AIX 5 now supports IA64 processor
8324         lt_prog_compiler_static='-Bstatic'
8325       else
8326         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8327       fi
8328       ;;
8330     mingw* | cygwin* | pw32* | os2* | cegcc*)
8331       # This hack is so that the source file can tell whether it is being
8332       # built for inclusion in a dll (and should export symbols for example).
8333       lt_prog_compiler_pic='-DDLL_EXPORT'
8334       ;;
8336     hpux9* | hpux10* | hpux11*)
8337       lt_prog_compiler_wl='-Wl,'
8338       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8339       # not for PA HP-UX.
8340       case $host_cpu in
8341       hppa*64*|ia64*)
8342         # +Z the default
8343         ;;
8344       *)
8345         lt_prog_compiler_pic='+Z'
8346         ;;
8347       esac
8348       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8349       lt_prog_compiler_static='${wl}-a ${wl}archive'
8350       ;;
8352     irix5* | irix6* | nonstopux*)
8353       lt_prog_compiler_wl='-Wl,'
8354       # PIC (with -KPIC) is the default.
8355       lt_prog_compiler_static='-non_shared'
8356       ;;
8358     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8359       case $cc_basename in
8360       # old Intel for x86_64 which still supported -KPIC.
8361       ecc*)
8362         lt_prog_compiler_wl='-Wl,'
8363         lt_prog_compiler_pic='-KPIC'
8364         lt_prog_compiler_static='-static'
8365         ;;
8366       # icc used to be incompatible with GCC.
8367       # ICC 10 doesn't accept -KPIC any more.
8368       icc* | ifort*)
8369         lt_prog_compiler_wl='-Wl,'
8370         lt_prog_compiler_pic='-fPIC'
8371         lt_prog_compiler_static='-static'
8372         ;;
8373       # Lahey Fortran 8.1.
8374       lf95*)
8375         lt_prog_compiler_wl='-Wl,'
8376         lt_prog_compiler_pic='--shared'
8377         lt_prog_compiler_static='--static'
8378         ;;
8379       nagfor*)
8380         # NAG Fortran compiler
8381         lt_prog_compiler_wl='-Wl,-Wl,,'
8382         lt_prog_compiler_pic='-PIC'
8383         lt_prog_compiler_static='-Bstatic'
8384         ;;
8385       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8386         # Portland Group compilers (*not* the Pentium gcc compiler,
8387         # which looks to be a dead project)
8388         lt_prog_compiler_wl='-Wl,'
8389         lt_prog_compiler_pic='-fpic'
8390         lt_prog_compiler_static='-Bstatic'
8391         ;;
8392       ccc*)
8393         lt_prog_compiler_wl='-Wl,'
8394         # All Alpha code is PIC.
8395         lt_prog_compiler_static='-non_shared'
8396         ;;
8397       xl* | bgxl* | bgf* | mpixl*)
8398         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8399         lt_prog_compiler_wl='-Wl,'
8400         lt_prog_compiler_pic='-qpic'
8401         lt_prog_compiler_static='-qstaticlink'
8402         ;;
8403       *)
8404         case `$CC -V 2>&1 | sed 5q` in
8405         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8406           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8407           lt_prog_compiler_pic='-KPIC'
8408           lt_prog_compiler_static='-Bstatic'
8409           lt_prog_compiler_wl=''
8410           ;;
8411         *Sun\ F* | *Sun*Fortran*)
8412           lt_prog_compiler_pic='-KPIC'
8413           lt_prog_compiler_static='-Bstatic'
8414           lt_prog_compiler_wl='-Qoption ld '
8415           ;;
8416         *Sun\ C*)
8417           # Sun C 5.9
8418           lt_prog_compiler_pic='-KPIC'
8419           lt_prog_compiler_static='-Bstatic'
8420           lt_prog_compiler_wl='-Wl,'
8421           ;;
8422         *Intel*\ [CF]*Compiler*)
8423           lt_prog_compiler_wl='-Wl,'
8424           lt_prog_compiler_pic='-fPIC'
8425           lt_prog_compiler_static='-static'
8426           ;;
8427         *Portland\ Group*)
8428           lt_prog_compiler_wl='-Wl,'
8429           lt_prog_compiler_pic='-fpic'
8430           lt_prog_compiler_static='-Bstatic'
8431           ;;
8432         esac
8433         ;;
8434       esac
8435       ;;
8437     newsos6)
8438       lt_prog_compiler_pic='-KPIC'
8439       lt_prog_compiler_static='-Bstatic'
8440       ;;
8442     *nto* | *qnx*)
8443       # QNX uses GNU C++, but need to define -shared option too, otherwise
8444       # it will coredump.
8445       lt_prog_compiler_pic='-fPIC -shared'
8446       ;;
8448     osf3* | osf4* | osf5*)
8449       lt_prog_compiler_wl='-Wl,'
8450       # All OSF/1 code is PIC.
8451       lt_prog_compiler_static='-non_shared'
8452       ;;
8454     rdos*)
8455       lt_prog_compiler_static='-non_shared'
8456       ;;
8458     solaris*)
8459       lt_prog_compiler_pic='-KPIC'
8460       lt_prog_compiler_static='-Bstatic'
8461       case $cc_basename in
8462       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8463         lt_prog_compiler_wl='-Qoption ld ';;
8464       *)
8465         lt_prog_compiler_wl='-Wl,';;
8466       esac
8467       ;;
8469     sunos4*)
8470       lt_prog_compiler_wl='-Qoption ld '
8471       lt_prog_compiler_pic='-PIC'
8472       lt_prog_compiler_static='-Bstatic'
8473       ;;
8475     sysv4 | sysv4.2uw2* | sysv4.3*)
8476       lt_prog_compiler_wl='-Wl,'
8477       lt_prog_compiler_pic='-KPIC'
8478       lt_prog_compiler_static='-Bstatic'
8479       ;;
8481     sysv4*MP*)
8482       if test -d /usr/nec ;then
8483         lt_prog_compiler_pic='-Kconform_pic'
8484         lt_prog_compiler_static='-Bstatic'
8485       fi
8486       ;;
8488     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8489       lt_prog_compiler_wl='-Wl,'
8490       lt_prog_compiler_pic='-KPIC'
8491       lt_prog_compiler_static='-Bstatic'
8492       ;;
8494     unicos*)
8495       lt_prog_compiler_wl='-Wl,'
8496       lt_prog_compiler_can_build_shared=no
8497       ;;
8499     uts4*)
8500       lt_prog_compiler_pic='-pic'
8501       lt_prog_compiler_static='-Bstatic'
8502       ;;
8504     *)
8505       lt_prog_compiler_can_build_shared=no
8506       ;;
8507     esac
8508   fi
8510 case $host_os in
8511   # For platforms which do not support PIC, -DPIC is meaningless:
8512   *djgpp*)
8513     lt_prog_compiler_pic=
8514     ;;
8515   *)
8516     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8517     ;;
8518 esac
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8521 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8522 if ${lt_cv_prog_compiler_pic+:} false; then :
8523   $as_echo_n "(cached) " >&6
8524 else
8525   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8528 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8529 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8532 # Check to make sure the PIC flag actually works.
8534 if test -n "$lt_prog_compiler_pic"; then
8535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8536 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8537 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8538   $as_echo_n "(cached) " >&6
8539 else
8540   lt_cv_prog_compiler_pic_works=no
8541    ac_outfile=conftest.$ac_objext
8542    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8543    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8544    # Insert the option either (1) after the last *FLAGS variable, or
8545    # (2) before a word containing "conftest.", or (3) at the end.
8546    # Note that $ac_compile itself does not contain backslashes and begins
8547    # with a dollar sign (not a hyphen), so the echo should work correctly.
8548    # The option is referenced via a variable to avoid confusing sed.
8549    lt_compile=`echo "$ac_compile" | $SED \
8550    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8551    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8552    -e 's:$: $lt_compiler_flag:'`
8553    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8554    (eval "$lt_compile" 2>conftest.err)
8555    ac_status=$?
8556    cat conftest.err >&5
8557    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558    if (exit $ac_status) && test -s "$ac_outfile"; then
8559      # The compiler can only warn and ignore the option if not recognized
8560      # So say no if there are warnings other than the usual output.
8561      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8562      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8563      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8564        lt_cv_prog_compiler_pic_works=yes
8565      fi
8566    fi
8567    $RM conftest*
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8571 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8573 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8574     case $lt_prog_compiler_pic in
8575      "" | " "*) ;;
8576      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8577      esac
8578 else
8579     lt_prog_compiler_pic=
8580      lt_prog_compiler_can_build_shared=no
8585     
8586     
8587     
8591     
8592     
8593     
8596 # Check to make sure the static flag actually works.
8598 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8600 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8601 if ${lt_cv_prog_compiler_static_works+:} false; then :
8602   $as_echo_n "(cached) " >&6
8603 else
8604   lt_cv_prog_compiler_static_works=no
8605    save_LDFLAGS="$LDFLAGS"
8606    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8607    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8608    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8609      # The linker can only warn and ignore the option if not recognized
8610      # So say no if there are warnings
8611      if test -s conftest.err; then
8612        # Append any errors to the config.log.
8613        cat conftest.err 1>&5
8614        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8615        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8616        if diff conftest.exp conftest.er2 >/dev/null; then
8617          lt_cv_prog_compiler_static_works=yes
8618        fi
8619      else
8620        lt_cv_prog_compiler_static_works=yes
8621      fi
8622    fi
8623    $RM -r conftest*
8624    LDFLAGS="$save_LDFLAGS"
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8628 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8630 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8631     :
8632 else
8633     lt_prog_compiler_static=
8637     
8638     
8639     
8642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8643 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8644 if ${lt_cv_prog_compiler_c_o+:} false; then :
8645   $as_echo_n "(cached) " >&6
8646 else
8647   lt_cv_prog_compiler_c_o=no
8648    $RM -r conftest 2>/dev/null
8649    mkdir conftest
8650    cd conftest
8651    mkdir out
8652    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8654    lt_compiler_flag="-o out/conftest2.$ac_objext"
8655    # Insert the option either (1) after the last *FLAGS variable, or
8656    # (2) before a word containing "conftest.", or (3) at the end.
8657    # Note that $ac_compile itself does not contain backslashes and begins
8658    # with a dollar sign (not a hyphen), so the echo should work correctly.
8659    lt_compile=`echo "$ac_compile" | $SED \
8660    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8661    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8662    -e 's:$: $lt_compiler_flag:'`
8663    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8664    (eval "$lt_compile" 2>out/conftest.err)
8665    ac_status=$?
8666    cat out/conftest.err >&5
8667    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8669    then
8670      # The compiler can only warn and ignore the option if not recognized
8671      # So say no if there are warnings
8672      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8673      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8674      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8675        lt_cv_prog_compiler_c_o=yes
8676      fi
8677    fi
8678    chmod u+w . 2>&5
8679    $RM conftest*
8680    # SGI C++ compiler will create directory out/ii_files/ for
8681    # template instantiation
8682    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8683    $RM out/* && rmdir out
8684    cd ..
8685    $RM -r conftest
8686    $RM conftest*
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8690 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8692     
8693     
8694     
8697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8698 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8699 if ${lt_cv_prog_compiler_c_o+:} false; then :
8700   $as_echo_n "(cached) " >&6
8701 else
8702   lt_cv_prog_compiler_c_o=no
8703    $RM -r conftest 2>/dev/null
8704    mkdir conftest
8705    cd conftest
8706    mkdir out
8707    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8709    lt_compiler_flag="-o out/conftest2.$ac_objext"
8710    # Insert the option either (1) after the last *FLAGS variable, or
8711    # (2) before a word containing "conftest.", or (3) at the end.
8712    # Note that $ac_compile itself does not contain backslashes and begins
8713    # with a dollar sign (not a hyphen), so the echo should work correctly.
8714    lt_compile=`echo "$ac_compile" | $SED \
8715    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8716    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8717    -e 's:$: $lt_compiler_flag:'`
8718    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8719    (eval "$lt_compile" 2>out/conftest.err)
8720    ac_status=$?
8721    cat out/conftest.err >&5
8722    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8724    then
8725      # The compiler can only warn and ignore the option if not recognized
8726      # So say no if there are warnings
8727      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8728      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8729      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8730        lt_cv_prog_compiler_c_o=yes
8731      fi
8732    fi
8733    chmod u+w . 2>&5
8734    $RM conftest*
8735    # SGI C++ compiler will create directory out/ii_files/ for
8736    # template instantiation
8737    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8738    $RM out/* && rmdir out
8739    cd ..
8740    $RM -r conftest
8741    $RM conftest*
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8745 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8750 hard_links="nottested"
8751 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8752   # do not overwrite the value of need_locks provided by the user
8753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8754 $as_echo_n "checking if we can lock with hard links... " >&6; }
8755   hard_links=yes
8756   $RM conftest*
8757   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8758   touch conftest.a
8759   ln conftest.a conftest.b 2>&5 || hard_links=no
8760   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8762 $as_echo "$hard_links" >&6; }
8763   if test "$hard_links" = no; then
8764     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8765 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8766     need_locks=warn
8767   fi
8768 else
8769   need_locks=no
8772     
8773     
8774     
8777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8778 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8780   runpath_var=
8781   allow_undefined_flag=
8782   always_export_symbols=no
8783   archive_cmds=
8784   archive_expsym_cmds=
8785   compiler_needs_object=no
8786   enable_shared_with_static_runtimes=no
8787   export_dynamic_flag_spec=
8788   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8789   hardcode_automatic=no
8790   hardcode_direct=no
8791   hardcode_direct_absolute=no
8792   hardcode_libdir_flag_spec=
8793   hardcode_libdir_separator=
8794   hardcode_minus_L=no
8795   hardcode_shlibpath_var=unsupported
8796   inherit_rpath=no
8797   link_all_deplibs=unknown
8798   module_cmds=
8799   module_expsym_cmds=
8800   old_archive_from_new_cmds=
8801   old_archive_from_expsyms_cmds=
8802   thread_safe_flag_spec=
8803   whole_archive_flag_spec=
8804   # include_expsyms should be a list of space-separated symbols to be *always*
8805   # included in the symbol list
8806   include_expsyms=
8807   # exclude_expsyms can be an extended regexp of symbols to exclude
8808   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8809   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8810   # as well as any symbol that contains `d'.
8811   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8812   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8813   # platforms (ab)use it in PIC code, but their linkers get confused if
8814   # the symbol is explicitly referenced.  Since portable code cannot
8815   # rely on this symbol name, it's probably fine to never include it in
8816   # preloaded symbol tables.
8817   # Exclude shared library initialization/finalization symbols.
8818   extract_expsyms_cmds=
8820   case $host_os in
8821   cygwin* | mingw* | pw32* | cegcc*)
8822     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8823     # When not using gcc, we currently assume that we are using
8824     # Microsoft Visual C++.
8825     if test "$GCC" != yes; then
8826       with_gnu_ld=no
8827     fi
8828     ;;
8829   interix*)
8830     # we just hope/assume this is gcc and not c89 (= MSVC++)
8831     with_gnu_ld=yes
8832     ;;
8833   openbsd*)
8834     with_gnu_ld=no
8835     ;;
8836   linux* | k*bsd*-gnu | gnu*)
8837     link_all_deplibs=no
8838     ;;
8839   esac
8841   ld_shlibs=yes
8843   # On some targets, GNU ld is compatible enough with the native linker
8844   # that we're better off using the native interface for both.
8845   lt_use_gnu_ld_interface=no
8846   if test "$with_gnu_ld" = yes; then
8847     case $host_os in
8848       aix*)
8849         # The AIX port of GNU ld has always aspired to compatibility
8850         # with the native linker.  However, as the warning in the GNU ld
8851         # block says, versions before 2.19.5* couldn't really create working
8852         # shared libraries, regardless of the interface used.
8853         case `$LD -v 2>&1` in
8854           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8855           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8856           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8857           *)
8858             lt_use_gnu_ld_interface=yes
8859             ;;
8860         esac
8861         ;;
8862       *)
8863         lt_use_gnu_ld_interface=yes
8864         ;;
8865     esac
8866   fi
8868   if test "$lt_use_gnu_ld_interface" = yes; then
8869     # If archive_cmds runs LD, not CC, wlarc should be empty
8870     wlarc='${wl}'
8872     # Set some defaults for GNU ld with shared library support. These
8873     # are reset later if shared libraries are not supported. Putting them
8874     # here allows them to be overridden if necessary.
8875     runpath_var=LD_RUN_PATH
8876     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8877     export_dynamic_flag_spec='${wl}--export-dynamic'
8878     # ancient GNU ld didn't support --whole-archive et. al.
8879     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8880       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8881     else
8882       whole_archive_flag_spec=
8883     fi
8884     supports_anon_versioning=no
8885     case `$LD -v 2>&1` in
8886       *GNU\ gold*) supports_anon_versioning=yes ;;
8887       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8888       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8889       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8890       *\ 2.11.*) ;; # other 2.11 versions
8891       *) supports_anon_versioning=yes ;;
8892     esac
8894     # See if GNU ld supports shared libraries.
8895     case $host_os in
8896     aix[3-9]*)
8897       # On AIX/PPC, the GNU linker is very broken
8898       if test "$host_cpu" != ia64; then
8899         ld_shlibs=no
8900         cat <<_LT_EOF 1>&2
8902 *** Warning: the GNU linker, at least up to release 2.19, is reported
8903 *** to be unable to reliably create shared libraries on AIX.
8904 *** Therefore, libtool is disabling shared libraries support.  If you
8905 *** really care for shared libraries, you may want to install binutils
8906 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8907 *** You will then need to restart the configuration process.
8909 _LT_EOF
8910       fi
8911       ;;
8913     amigaos*)
8914       case $host_cpu in
8915       powerpc)
8916             # see comment about AmigaOS4 .so support
8917             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8918             archive_expsym_cmds=''
8919         ;;
8920       m68k)
8921             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)'
8922             hardcode_libdir_flag_spec='-L$libdir'
8923             hardcode_minus_L=yes
8924         ;;
8925       esac
8926       ;;
8928     beos*)
8929       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8930         allow_undefined_flag=unsupported
8931         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8932         # support --undefined.  This deserves some investigation.  FIXME
8933         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8934       else
8935         ld_shlibs=no
8936       fi
8937       ;;
8939     cygwin* | mingw* | pw32* | cegcc*)
8940       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8941       # as there is no search path for DLLs.
8942       hardcode_libdir_flag_spec='-L$libdir'
8943       export_dynamic_flag_spec='${wl}--export-all-symbols'
8944       allow_undefined_flag=unsupported
8945       always_export_symbols=no
8946       enable_shared_with_static_runtimes=yes
8947       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'
8948       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8950       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8951         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8952         # If the export-symbols file already is a .def file (1st line
8953         # is EXPORTS), use it as is; otherwise, prepend...
8954         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8955           cp $export_symbols $output_objdir/$soname.def;
8956         else
8957           echo EXPORTS > $output_objdir/$soname.def;
8958           cat $export_symbols >> $output_objdir/$soname.def;
8959         fi~
8960         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8961       else
8962         ld_shlibs=no
8963       fi
8964       ;;
8966     haiku*)
8967       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968       link_all_deplibs=yes
8969       ;;
8971     interix[3-9]*)
8972       hardcode_direct=no
8973       hardcode_shlibpath_var=no
8974       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8975       export_dynamic_flag_spec='${wl}-E'
8976       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8977       # Instead, shared libraries are loaded at an image base (0x10000000 by
8978       # default) and relocated if they conflict, which is a slow very memory
8979       # consuming and fragmenting process.  To avoid this, we pick a random,
8980       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8981       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8982       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8983       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'
8984       ;;
8986     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8987       tmp_diet=no
8988       if test "$host_os" = linux-dietlibc; then
8989         case $cc_basename in
8990           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8991         esac
8992       fi
8993       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8994          && test "$tmp_diet" = no
8995       then
8996         tmp_addflag=' $pic_flag'
8997         tmp_sharedflag='-shared'
8998         case $cc_basename,$host_cpu in
8999         pgcc*)                          # Portland Group C compiler
9000           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'
9001           tmp_addflag=' $pic_flag'
9002           ;;
9003         pgf77* | pgf90* | pgf95* | pgfortran*)
9004                                         # Portland Group f77 and f90 compilers
9005           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'
9006           tmp_addflag=' $pic_flag -Mnomain' ;;
9007         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9008           tmp_addflag=' -i_dynamic' ;;
9009         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9010           tmp_addflag=' -i_dynamic -nofor_main' ;;
9011         ifc* | ifort*)                  # Intel Fortran compiler
9012           tmp_addflag=' -nofor_main' ;;
9013         lf95*)                          # Lahey Fortran 8.1
9014           whole_archive_flag_spec=
9015           tmp_sharedflag='--shared' ;;
9016         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9017           tmp_sharedflag='-qmkshrobj'
9018           tmp_addflag= ;;
9019         nvcc*)  # Cuda Compiler Driver 2.2
9020           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'
9021           compiler_needs_object=yes
9022           ;;
9023         esac
9024         case `$CC -V 2>&1 | sed 5q` in
9025         *Sun\ C*)                       # Sun C 5.9
9026           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'
9027           compiler_needs_object=yes
9028           tmp_sharedflag='-G' ;;
9029         *Sun\ F*)                       # Sun Fortran 8.3
9030           tmp_sharedflag='-G' ;;
9031         esac
9032         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9034         if test "x$supports_anon_versioning" = xyes; then
9035           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9036             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9037             echo "local: *; };" >> $output_objdir/$libname.ver~
9038             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9039         fi
9041         case $cc_basename in
9042         xlf* | bgf* | bgxlf* | mpixlf*)
9043           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9044           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9045           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9047           if test "x$supports_anon_versioning" = xyes; then
9048             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9049               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9050               echo "local: *; };" >> $output_objdir/$libname.ver~
9051               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9052           fi
9053           ;;
9054         esac
9055       else
9056         ld_shlibs=no
9057       fi
9058       ;;
9060     netbsd* | netbsdelf*-gnu)
9061       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9062         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9063         wlarc=
9064       else
9065         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9066         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9067       fi
9068       ;;
9070     solaris*)
9071       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9072         ld_shlibs=no
9073         cat <<_LT_EOF 1>&2
9075 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9076 *** create shared libraries on Solaris systems.  Therefore, libtool
9077 *** is disabling shared libraries support.  We urge you to upgrade GNU
9078 *** binutils to release 2.9.1 or newer.  Another option is to modify
9079 *** your PATH or compiler configuration so that the native linker is
9080 *** used, and then restart.
9082 _LT_EOF
9083       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9084         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9085         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9086       else
9087         ld_shlibs=no
9088       fi
9089       ;;
9091     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9092       case `$LD -v 2>&1` in
9093         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9094         ld_shlibs=no
9095         cat <<_LT_EOF 1>&2
9097 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9098 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9099 *** is disabling shared libraries support.  We urge you to upgrade GNU
9100 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9101 *** your PATH or compiler configuration so that the native linker is
9102 *** used, and then restart.
9104 _LT_EOF
9105         ;;
9106         *)
9107           # For security reasons, it is highly recommended that you always
9108           # use absolute paths for naming shared libraries, and exclude the
9109           # DT_RUNPATH tag from executables and libraries.  But doing so
9110           # requires that you compile everything twice, which is a pain.
9111           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9112             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9113             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9114             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9115           else
9116             ld_shlibs=no
9117           fi
9118         ;;
9119       esac
9120       ;;
9122     sunos4*)
9123       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9124       wlarc=
9125       hardcode_direct=yes
9126       hardcode_shlibpath_var=no
9127       ;;
9129     *)
9130       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9131         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9132         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9133       else
9134         ld_shlibs=no
9135       fi
9136       ;;
9137     esac
9139     if test "$ld_shlibs" = no; then
9140       runpath_var=
9141       hardcode_libdir_flag_spec=
9142       export_dynamic_flag_spec=
9143       whole_archive_flag_spec=
9144     fi
9145   else
9146     # PORTME fill in a description of your system's linker (not GNU ld)
9147     case $host_os in
9148     aix3*)
9149       allow_undefined_flag=unsupported
9150       always_export_symbols=yes
9151       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'
9152       # Note: this linker hardcodes the directories in LIBPATH if there
9153       # are no directories specified by -L.
9154       hardcode_minus_L=yes
9155       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9156         # Neither direct hardcoding nor static linking is supported with a
9157         # broken collect2.
9158         hardcode_direct=unsupported
9159       fi
9160       ;;
9162     aix[4-9]*)
9163       if test "$host_cpu" = ia64; then
9164         # On IA64, the linker does run time linking by default, so we don't
9165         # have to do anything special.
9166         aix_use_runtimelinking=no
9167         exp_sym_flag='-Bexport'
9168         no_entry_flag=""
9169       else
9170         # If we're using GNU nm, then we don't want the "-C" option.
9171         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9172         # Also, AIX nm treats weak defined symbols like other global
9173         # defined symbols, whereas GNU nm marks them as "W".
9174         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9175           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'
9176         else
9177           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'
9178         fi
9179         aix_use_runtimelinking=no
9181         # Test if we are trying to use run time linking or normal
9182         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9183         # need to do runtime linking.
9184         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9185           for ld_flag in $LDFLAGS; do
9186           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9187             aix_use_runtimelinking=yes
9188             break
9189           fi
9190           done
9191           ;;
9192         esac
9194         exp_sym_flag='-bexport'
9195         no_entry_flag='-bnoentry'
9196       fi
9198       # When large executables or shared objects are built, AIX ld can
9199       # have problems creating the table of contents.  If linking a library
9200       # or program results in "error TOC overflow" add -mminimal-toc to
9201       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9202       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9204       archive_cmds=''
9205       hardcode_direct=yes
9206       hardcode_direct_absolute=yes
9207       hardcode_libdir_separator=':'
9208       link_all_deplibs=yes
9209       file_list_spec='${wl}-f,'
9211       if test "$GCC" = yes; then
9212         case $host_os in aix4.[012]|aix4.[012].*)
9213         # We only want to do this on AIX 4.2 and lower, the check
9214         # below for broken collect2 doesn't work under 4.3+
9215           collect2name=`${CC} -print-prog-name=collect2`
9216           if test -f "$collect2name" &&
9217            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9218           then
9219           # We have reworked collect2
9220           :
9221           else
9222           # We have old collect2
9223           hardcode_direct=unsupported
9224           # It fails to find uninstalled libraries when the uninstalled
9225           # path is not listed in the libpath.  Setting hardcode_minus_L
9226           # to unsupported forces relinking
9227           hardcode_minus_L=yes
9228           hardcode_libdir_flag_spec='-L$libdir'
9229           hardcode_libdir_separator=
9230           fi
9231           ;;
9232         esac
9233         shared_flag='-shared'
9234         if test "$aix_use_runtimelinking" = yes; then
9235           shared_flag="$shared_flag "'${wl}-G'
9236         fi
9237         link_all_deplibs=no
9238       else
9239         # not using gcc
9240         if test "$host_cpu" = ia64; then
9241         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9242         # chokes on -Wl,-G. The following line is correct:
9243           shared_flag='-G'
9244         else
9245           if test "$aix_use_runtimelinking" = yes; then
9246             shared_flag='${wl}-G'
9247           else
9248             shared_flag='${wl}-bM:SRE'
9249           fi
9250         fi
9251       fi
9253       export_dynamic_flag_spec='${wl}-bexpall'
9254       # It seems that -bexpall does not export symbols beginning with
9255       # underscore (_), so it is better to generate a list of symbols to export.
9256       always_export_symbols=yes
9257       if test "$aix_use_runtimelinking" = yes; then
9258         # Warning - without using the other runtime loading flags (-brtl),
9259         # -berok will link without error, but may produce a broken library.
9260         allow_undefined_flag='-berok'
9261         # Determine the default libpath from the value encoded in an
9262         # empty executable.
9263         if test "${lt_cv_aix_libpath+set}" = set; then
9264   aix_libpath=$lt_cv_aix_libpath
9265 else
9266   if ${lt_cv_aix_libpath_+:} false; then :
9267   $as_echo_n "(cached) " >&6
9268 else
9269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h.  */
9273 main ()
9276   ;
9277   return 0;
9279 _ACEOF
9280 if ac_fn_c_try_link "$LINENO"; then :
9281   
9282   lt_aix_libpath_sed='
9283       /Import File Strings/,/^$/ {
9284           /^0/ {
9285               s/^0  *\([^ ]*\) *$/\1/
9286               p
9287           }
9288       }'
9289   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9290   # Check for a 64-bit object if we didn't find anything.
9291   if test -z "$lt_cv_aix_libpath_"; then
9292     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9293   fi
9295 rm -f core conftest.err conftest.$ac_objext \
9296     conftest$ac_exeext conftest.$ac_ext
9297   if test -z "$lt_cv_aix_libpath_"; then
9298     lt_cv_aix_libpath_="/usr/lib:/lib"
9299   fi
9300   
9303   aix_libpath=$lt_cv_aix_libpath_
9306         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9307         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"
9308       else
9309         if test "$host_cpu" = ia64; then
9310           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9311           allow_undefined_flag="-z nodefs"
9312           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"
9313         else
9314          # Determine the default libpath from the value encoded in an
9315          # empty executable.
9316          if test "${lt_cv_aix_libpath+set}" = set; then
9317   aix_libpath=$lt_cv_aix_libpath
9318 else
9319   if ${lt_cv_aix_libpath_+:} false; then :
9320   $as_echo_n "(cached) " >&6
9321 else
9322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h.  */
9326 main ()
9329   ;
9330   return 0;
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334   
9335   lt_aix_libpath_sed='
9336       /Import File Strings/,/^$/ {
9337           /^0/ {
9338               s/^0  *\([^ ]*\) *$/\1/
9339               p
9340           }
9341       }'
9342   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9343   # Check for a 64-bit object if we didn't find anything.
9344   if test -z "$lt_cv_aix_libpath_"; then
9345     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9346   fi
9348 rm -f core conftest.err conftest.$ac_objext \
9349     conftest$ac_exeext conftest.$ac_ext
9350   if test -z "$lt_cv_aix_libpath_"; then
9351     lt_cv_aix_libpath_="/usr/lib:/lib"
9352   fi
9353   
9356   aix_libpath=$lt_cv_aix_libpath_
9359          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9360           # Warning - without using the other run time loading flags,
9361           # -berok will link without error, but may produce a broken library.
9362           no_undefined_flag=' ${wl}-bernotok'
9363           allow_undefined_flag=' ${wl}-berok'
9364           if test "$with_gnu_ld" = yes; then
9365             # We only use this code for GNU lds that support --whole-archive.
9366             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9367           else
9368             # Exported symbols can be pulled into shared objects from archives
9369             whole_archive_flag_spec='$convenience'
9370           fi
9371           archive_cmds_need_lc=yes
9372           # This is similar to how AIX traditionally builds its shared libraries.
9373           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'
9374         fi
9375       fi
9376       ;;
9378     amigaos*)
9379       case $host_cpu in
9380       powerpc)
9381             # see comment about AmigaOS4 .so support
9382             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9383             archive_expsym_cmds=''
9384         ;;
9385       m68k)
9386             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)'
9387             hardcode_libdir_flag_spec='-L$libdir'
9388             hardcode_minus_L=yes
9389         ;;
9390       esac
9391       ;;
9393     bsdi[45]*)
9394       export_dynamic_flag_spec=-rdynamic
9395       ;;
9397     cygwin* | mingw* | pw32* | cegcc*)
9398       # When not using gcc, we currently assume that we are using
9399       # Microsoft Visual C++.
9400       # hardcode_libdir_flag_spec is actually meaningless, as there is
9401       # no search path for DLLs.
9402       case $cc_basename in
9403       cl*)
9404         # Native MSVC
9405         hardcode_libdir_flag_spec=' '
9406         allow_undefined_flag=unsupported
9407         always_export_symbols=yes
9408         file_list_spec='@'
9409         # Tell ltmain to make .lib files, not .a files.
9410         libext=lib
9411         # Tell ltmain to make .dll files, not .so files.
9412         shrext_cmds=".dll"
9413         # FIXME: Setting linknames here is a bad hack.
9414         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9415         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9416             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9417           else
9418             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9419           fi~
9420           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9421           linknames='
9422         # The linker will not automatically build a static lib if we build a DLL.
9423         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9424         enable_shared_with_static_runtimes=yes
9425         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9426         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9427         # Don't use ranlib
9428         old_postinstall_cmds='chmod 644 $oldlib'
9429         postlink_cmds='lt_outputfile="@OUTPUT@"~
9430           lt_tool_outputfile="@TOOL_OUTPUT@"~
9431           case $lt_outputfile in
9432             *.exe|*.EXE) ;;
9433             *)
9434               lt_outputfile="$lt_outputfile.exe"
9435               lt_tool_outputfile="$lt_tool_outputfile.exe"
9436               ;;
9437           esac~
9438           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9439             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9440             $RM "$lt_outputfile.manifest";
9441           fi'
9442         ;;
9443       *)
9444         # Assume MSVC wrapper
9445         hardcode_libdir_flag_spec=' '
9446         allow_undefined_flag=unsupported
9447         # Tell ltmain to make .lib files, not .a files.
9448         libext=lib
9449         # Tell ltmain to make .dll files, not .so files.
9450         shrext_cmds=".dll"
9451         # FIXME: Setting linknames here is a bad hack.
9452         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9453         # The linker will automatically build a .lib file if we build a DLL.
9454         old_archive_from_new_cmds='true'
9455         # FIXME: Should let the user specify the lib program.
9456         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9457         enable_shared_with_static_runtimes=yes
9458         ;;
9459       esac
9460       ;;
9462     darwin* | rhapsody*)
9463       
9464   
9465   archive_cmds_need_lc=no
9466   hardcode_direct=no
9467   hardcode_automatic=yes
9468   hardcode_shlibpath_var=unsupported
9469   if test "$lt_cv_ld_force_load" = "yes"; then
9470     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\"`'
9471     
9472   else
9473     whole_archive_flag_spec=''
9474   fi
9475   link_all_deplibs=yes
9476   allow_undefined_flag="$_lt_dar_allow_undefined"
9477   case $cc_basename in
9478      ifort*) _lt_dar_can_shared=yes ;;
9479      *) _lt_dar_can_shared=$GCC ;;
9480   esac
9481   if test "$_lt_dar_can_shared" = "yes"; then
9482     output_verbose_link_cmd=func_echo_all
9483     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9484     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9485     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}"
9486     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}"
9487     
9488   else
9489   ld_shlibs=no
9490   fi
9492       ;;
9494     dgux*)
9495       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9496       hardcode_libdir_flag_spec='-L$libdir'
9497       hardcode_shlibpath_var=no
9498       ;;
9500     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9501     # support.  Future versions do this automatically, but an explicit c++rt0.o
9502     # does not break anything, and helps significantly (at the cost of a little
9503     # extra space).
9504     freebsd2.2*)
9505       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9506       hardcode_libdir_flag_spec='-R$libdir'
9507       hardcode_direct=yes
9508       hardcode_shlibpath_var=no
9509       ;;
9511     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9512     freebsd2.*)
9513       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9514       hardcode_direct=yes
9515       hardcode_minus_L=yes
9516       hardcode_shlibpath_var=no
9517       ;;
9519     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9520     freebsd* | dragonfly*)
9521       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9522       hardcode_libdir_flag_spec='-R$libdir'
9523       hardcode_direct=yes
9524       hardcode_shlibpath_var=no
9525       ;;
9527     hpux9*)
9528       if test "$GCC" = yes; then
9529         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'
9530       else
9531         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'
9532       fi
9533       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9534       hardcode_libdir_separator=:
9535       hardcode_direct=yes
9537       # hardcode_minus_L: Not really in the search PATH,
9538       # but as the default location of the library.
9539       hardcode_minus_L=yes
9540       export_dynamic_flag_spec='${wl}-E'
9541       ;;
9543     hpux10*)
9544       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9545         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9546       else
9547         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9548       fi
9549       if test "$with_gnu_ld" = no; then
9550         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9551         hardcode_libdir_separator=:
9552         hardcode_direct=yes
9553         hardcode_direct_absolute=yes
9554         export_dynamic_flag_spec='${wl}-E'
9555         # hardcode_minus_L: Not really in the search PATH,
9556         # but as the default location of the library.
9557         hardcode_minus_L=yes
9558       fi
9559       ;;
9561     hpux11*)
9562       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9563         case $host_cpu in
9564         hppa*64*)
9565           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9566           ;;
9567         ia64*)
9568           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9569           ;;
9570         *)
9571           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9572           ;;
9573         esac
9574       else
9575         case $host_cpu in
9576         hppa*64*)
9577           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9578           ;;
9579         ia64*)
9580           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9581           ;;
9582         *)
9583         
9584           # Older versions of the 11.00 compiler do not understand -b yet
9585           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9586           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9587 $as_echo_n "checking if $CC understands -b... " >&6; }
9588 if ${lt_cv_prog_compiler__b+:} false; then :
9589   $as_echo_n "(cached) " >&6
9590 else
9591   lt_cv_prog_compiler__b=no
9592    save_LDFLAGS="$LDFLAGS"
9593    LDFLAGS="$LDFLAGS -b"
9594    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9595    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9596      # The linker can only warn and ignore the option if not recognized
9597      # So say no if there are warnings
9598      if test -s conftest.err; then
9599        # Append any errors to the config.log.
9600        cat conftest.err 1>&5
9601        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9602        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9603        if diff conftest.exp conftest.er2 >/dev/null; then
9604          lt_cv_prog_compiler__b=yes
9605        fi
9606      else
9607        lt_cv_prog_compiler__b=yes
9608      fi
9609    fi
9610    $RM -r conftest*
9611    LDFLAGS="$save_LDFLAGS"
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9615 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9617 if test x"$lt_cv_prog_compiler__b" = xyes; then
9618     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9619 else
9620     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9623           ;;
9624         esac
9625       fi
9626       if test "$with_gnu_ld" = no; then
9627         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9628         hardcode_libdir_separator=:
9630         case $host_cpu in
9631         hppa*64*|ia64*)
9632           hardcode_direct=no
9633           hardcode_shlibpath_var=no
9634           ;;
9635         *)
9636           hardcode_direct=yes
9637           hardcode_direct_absolute=yes
9638           export_dynamic_flag_spec='${wl}-E'
9640           # hardcode_minus_L: Not really in the search PATH,
9641           # but as the default location of the library.
9642           hardcode_minus_L=yes
9643           ;;
9644         esac
9645       fi
9646       ;;
9648     irix5* | irix6* | nonstopux*)
9649       if test "$GCC" = yes; then
9650         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'
9651         # Try to use the -exported_symbol ld option, if it does not
9652         # work, assume that -exports_file does not work either and
9653         # implicitly export all symbols.
9654         # This should be the same for all languages, so no per-tag cache variable.
9655         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9656 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9657 if ${lt_cv_irix_exported_symbol+:} false; then :
9658   $as_echo_n "(cached) " >&6
9659 else
9660   save_LDFLAGS="$LDFLAGS"
9661            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9662            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9663 /* end confdefs.h.  */
9664 int foo (void) { return 0; }
9665 _ACEOF
9666 if ac_fn_c_try_link "$LINENO"; then :
9667   lt_cv_irix_exported_symbol=yes
9668 else
9669   lt_cv_irix_exported_symbol=no
9671 rm -f core conftest.err conftest.$ac_objext \
9672     conftest$ac_exeext conftest.$ac_ext
9673            LDFLAGS="$save_LDFLAGS"
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9676 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9677         if test "$lt_cv_irix_exported_symbol" = yes; then
9678           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'
9679         fi
9680       else
9681         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'
9682         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'
9683       fi
9684       archive_cmds_need_lc='no'
9685       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9686       hardcode_libdir_separator=:
9687       inherit_rpath=yes
9688       link_all_deplibs=yes
9689       ;;
9691     netbsd* | netbsdelf*-gnu)
9692       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9693         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9694       else
9695         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9696       fi
9697       hardcode_libdir_flag_spec='-R$libdir'
9698       hardcode_direct=yes
9699       hardcode_shlibpath_var=no
9700       ;;
9702     newsos6)
9703       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9704       hardcode_direct=yes
9705       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9706       hardcode_libdir_separator=:
9707       hardcode_shlibpath_var=no
9708       ;;
9710     *nto* | *qnx*)
9711       ;;
9713     openbsd*)
9714       if test -f /usr/libexec/ld.so; then
9715         hardcode_direct=yes
9716         hardcode_shlibpath_var=no
9717         hardcode_direct_absolute=yes
9718         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9719           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9720           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9721           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9722           export_dynamic_flag_spec='${wl}-E'
9723         else
9724           case $host_os in
9725            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9726              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9727              hardcode_libdir_flag_spec='-R$libdir'
9728              ;;
9729            *)
9730              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9731              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9732              ;;
9733           esac
9734         fi
9735       else
9736         ld_shlibs=no
9737       fi
9738       ;;
9740     os2*)
9741       hardcode_libdir_flag_spec='-L$libdir'
9742       hardcode_minus_L=yes
9743       allow_undefined_flag=unsupported
9744       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'
9745       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9746       ;;
9748     osf3*)
9749       if test "$GCC" = yes; then
9750         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9751         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'
9752       else
9753         allow_undefined_flag=' -expect_unresolved \*'
9754         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'
9755       fi
9756       archive_cmds_need_lc='no'
9757       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9758       hardcode_libdir_separator=:
9759       ;;
9761     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9762       if test "$GCC" = yes; then
9763         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9764         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'
9765         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9766       else
9767         allow_undefined_flag=' -expect_unresolved \*'
9768         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'
9769         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~
9770         $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'
9772         # Both c and cxx compiler support -rpath directly
9773         hardcode_libdir_flag_spec='-rpath $libdir'
9774       fi
9775       archive_cmds_need_lc='no'
9776       hardcode_libdir_separator=:
9777       ;;
9779     solaris*)
9780       no_undefined_flag=' -z defs'
9781       if test "$GCC" = yes; then
9782         wlarc='${wl}'
9783         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9784         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9785           $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'
9786       else
9787         case `$CC -V 2>&1` in
9788         *"Compilers 5.0"*)
9789           wlarc=''
9790           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9791           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9792           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9793           ;;
9794         *)
9795           wlarc='${wl}'
9796           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9797           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9798           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9799           ;;
9800         esac
9801       fi
9802       hardcode_libdir_flag_spec='-R$libdir'
9803       hardcode_shlibpath_var=no
9804       case $host_os in
9805       solaris2.[0-5] | solaris2.[0-5].*) ;;
9806       *)
9807         # The compiler driver will combine and reorder linker options,
9808         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9809         # but is careful enough not to reorder.
9810         # Supported since Solaris 2.6 (maybe 2.5.1?)
9811         if test "$GCC" = yes; then
9812           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9813         else
9814           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9815         fi
9816         ;;
9817       esac
9818       link_all_deplibs=yes
9819       ;;
9821     sunos4*)
9822       if test "x$host_vendor" = xsequent; then
9823         # Use $CC to link under sequent, because it throws in some extra .o
9824         # files that make .init and .fini sections work.
9825         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9826       else
9827         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9828       fi
9829       hardcode_libdir_flag_spec='-L$libdir'
9830       hardcode_direct=yes
9831       hardcode_minus_L=yes
9832       hardcode_shlibpath_var=no
9833       ;;
9835     sysv4)
9836       case $host_vendor in
9837         sni)
9838           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839           hardcode_direct=yes # is this really true???
9840         ;;
9841         siemens)
9842           ## LD is ld it makes a PLAMLIB
9843           ## CC just makes a GrossModule.
9844           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9845           reload_cmds='$CC -r -o $output$reload_objs'
9846           hardcode_direct=no
9847         ;;
9848         motorola)
9849           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9851         ;;
9852       esac
9853       runpath_var='LD_RUN_PATH'
9854       hardcode_shlibpath_var=no
9855       ;;
9857     sysv4.3*)
9858       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9859       hardcode_shlibpath_var=no
9860       export_dynamic_flag_spec='-Bexport'
9861       ;;
9863     sysv4*MP*)
9864       if test -d /usr/nec; then
9865         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9866         hardcode_shlibpath_var=no
9867         runpath_var=LD_RUN_PATH
9868         hardcode_runpath_var=yes
9869         ld_shlibs=yes
9870       fi
9871       ;;
9873     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9874       no_undefined_flag='${wl}-z,text'
9875       archive_cmds_need_lc=no
9876       hardcode_shlibpath_var=no
9877       runpath_var='LD_RUN_PATH'
9879       if test "$GCC" = yes; then
9880         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9881         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9882       else
9883         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9884         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9885       fi
9886       ;;
9888     sysv5* | sco3.2v5* | sco5v6*)
9889       # Note: We can NOT use -z defs as we might desire, because we do not
9890       # link with -lc, and that would cause any symbols used from libc to
9891       # always be unresolved, which means just about no library would
9892       # ever link correctly.  If we're not using GNU ld we use -z text
9893       # though, which does catch some bad symbols but isn't as heavy-handed
9894       # as -z defs.
9895       no_undefined_flag='${wl}-z,text'
9896       allow_undefined_flag='${wl}-z,nodefs'
9897       archive_cmds_need_lc=no
9898       hardcode_shlibpath_var=no
9899       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9900       hardcode_libdir_separator=':'
9901       link_all_deplibs=yes
9902       export_dynamic_flag_spec='${wl}-Bexport'
9903       runpath_var='LD_RUN_PATH'
9905       if test "$GCC" = yes; then
9906         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908       else
9909         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9910         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9911       fi
9912       ;;
9914     uts4*)
9915       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9916       hardcode_libdir_flag_spec='-L$libdir'
9917       hardcode_shlibpath_var=no
9918       ;;
9920     *)
9921       ld_shlibs=no
9922       ;;
9923     esac
9925     if test x$host_vendor = xsni; then
9926       case $host in
9927       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9928         export_dynamic_flag_spec='${wl}-Blargedynsym'
9929         ;;
9930       esac
9931     fi
9932   fi
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9935 $as_echo "$ld_shlibs" >&6; }
9936 test "$ld_shlibs" = no && can_build_shared=no
9938 with_gnu_ld=$with_gnu_ld
9941     
9942     
9943     
9945     
9946     
9947     
9949     
9950     
9951     
9955 # Do we need to explicitly link libc?
9957 case "x$archive_cmds_need_lc" in
9958 x|xyes)
9959   # Assume -lc should be added
9960   archive_cmds_need_lc=yes
9962   if test "$enable_shared" = yes && test "$GCC" = yes; then
9963     case $archive_cmds in
9964     *'~'*)
9965       # FIXME: we may have to deal with multi-command sequences.
9966       ;;
9967     '$CC '*)
9968       # Test whether the compiler implicitly links with -lc since on some
9969       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9970       # to ld, don't add -lc before -lgcc.
9971       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9972 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9973 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9974   $as_echo_n "(cached) " >&6
9975 else
9976   $RM conftest*
9977         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9979         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9980   (eval $ac_compile) 2>&5
9981   ac_status=$?
9982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9983   test $ac_status = 0; } 2>conftest.err; then
9984           soname=conftest
9985           lib=conftest
9986           libobjs=conftest.$ac_objext
9987           deplibs=
9988           wl=$lt_prog_compiler_wl
9989           pic_flag=$lt_prog_compiler_pic
9990           compiler_flags=-v
9991           linker_flags=-v
9992           verstring=
9993           output_objdir=.
9994           libname=conftest
9995           lt_save_allow_undefined_flag=$allow_undefined_flag
9996           allow_undefined_flag=
9997           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9998   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9999   ac_status=$?
10000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10001   test $ac_status = 0; }
10002           then
10003             lt_cv_archive_cmds_need_lc=no
10004           else
10005             lt_cv_archive_cmds_need_lc=yes
10006           fi
10007           allow_undefined_flag=$lt_save_allow_undefined_flag
10008         else
10009           cat conftest.err 1>&5
10010         fi
10011         $RM conftest*
10012         
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10015 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10016       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10017       ;;
10018     esac
10019   fi
10020   ;;
10021 esac
10024     
10025     
10026     
10029     
10030     
10031     
10034     
10035     
10036     
10039     
10040     
10041     
10044     
10045     
10046     
10049     
10050     
10051     
10054     
10055     
10056     
10059     
10060     
10061     
10064     
10065     
10066     
10069     
10070     
10071     
10074     
10075     
10076     
10079     
10080     
10081     
10084     
10085     
10086     
10089     
10090     
10091     
10094     
10095     
10096     
10099     
10100     
10101     
10104     
10105     
10106     
10109     
10110     
10111     
10114     
10115     
10116     
10119     
10120     
10121     
10124     
10125     
10126     
10129     
10130     
10131     
10134     
10135     
10136     
10139     
10140     
10141     
10144     
10145     
10146     
10149     
10150     
10151     
10154     
10155     
10156     
10159     
10160     
10161     
10164     
10165     
10166     
10169     
10170     
10171     
10174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10175 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10177 if test "$GCC" = yes; then
10178   case $host_os in
10179     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10180     *) lt_awk_arg="/^libraries:/" ;;
10181   esac
10182   case $host_os in
10183     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10184     *) lt_sed_strip_eq="s,=/,/,g" ;;
10185   esac
10186   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10187   case $lt_search_path_spec in
10188   *\;*)
10189     # if the path contains ";" then we assume it to be the separator
10190     # otherwise default to the standard path separator (i.e. ":") - it is
10191     # assumed that no part of a normal pathname contains ";" but that should
10192     # okay in the real world where ";" in dirpaths is itself problematic.
10193     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10194     ;;
10195   *)
10196     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10197     ;;
10198   esac
10199   # Ok, now we have the path, separated by spaces, we can step through it
10200   # and add multilib dir if necessary.
10201   lt_tmp_lt_search_path_spec=
10202   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10203   for lt_sys_path in $lt_search_path_spec; do
10204     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10205       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10206     else
10207       test -d "$lt_sys_path" && \
10208         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10209     fi
10210   done
10211   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10212 BEGIN {RS=" "; FS="/|\n";} {
10213   lt_foo="";
10214   lt_count=0;
10215   for (lt_i = NF; lt_i > 0; lt_i--) {
10216     if ($lt_i != "" && $lt_i != ".") {
10217       if ($lt_i == "..") {
10218         lt_count++;
10219       } else {
10220         if (lt_count == 0) {
10221           lt_foo="/" $lt_i lt_foo;
10222         } else {
10223           lt_count--;
10224         }
10225       }
10226     }
10227   }
10228   if (lt_foo != "") { lt_freq[lt_foo]++; }
10229   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10231   # AWK program above erroneously prepends '/' to C:/dos/paths
10232   # for these hosts.
10233   case $host_os in
10234     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10235       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10236   esac
10237   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10238 else
10239   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10241 library_names_spec=
10242 libname_spec='lib$name'
10243 soname_spec=
10244 shrext_cmds=".so"
10245 postinstall_cmds=
10246 postuninstall_cmds=
10247 finish_cmds=
10248 finish_eval=
10249 shlibpath_var=
10250 shlibpath_overrides_runpath=unknown
10251 version_type=none
10252 dynamic_linker="$host_os ld.so"
10253 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10254 need_lib_prefix=unknown
10255 hardcode_into_libs=no
10257 # when you set need_version to no, make sure it does not cause -set_version
10258 # flags to be left without arguments
10259 need_version=unknown
10261 case $host_os in
10262 aix3*)
10263   version_type=linux # correct to gnu/linux during the next big refactor
10264   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10265   shlibpath_var=LIBPATH
10267   # AIX 3 has no versioning support, so we append a major version to the name.
10268   soname_spec='${libname}${release}${shared_ext}$major'
10269   ;;
10271 aix[4-9]*)
10272   version_type=linux # correct to gnu/linux during the next big refactor
10273   need_lib_prefix=no
10274   need_version=no
10275   hardcode_into_libs=yes
10276   if test "$host_cpu" = ia64; then
10277     # AIX 5 supports IA64
10278     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10279     shlibpath_var=LD_LIBRARY_PATH
10280   else
10281     # With GCC up to 2.95.x, collect2 would create an import file
10282     # for dependence libraries.  The import file would start with
10283     # the line `#! .'.  This would cause the generated library to
10284     # depend on `.', always an invalid library.  This was fixed in
10285     # development snapshots of GCC prior to 3.0.
10286     case $host_os in
10287       aix4 | aix4.[01] | aix4.[01].*)
10288       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10289            echo ' yes '
10290            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10291         :
10292       else
10293         can_build_shared=no
10294       fi
10295       ;;
10296     esac
10297     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10298     # soname into executable. Probably we can add versioning support to
10299     # collect2, so additional links can be useful in future.
10300     if test "$aix_use_runtimelinking" = yes; then
10301       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10302       # instead of lib<name>.a to let people know that these are not
10303       # typical AIX shared libraries.
10304       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305     else
10306       # We preserve .a as extension for shared libraries through AIX4.2
10307       # and later when we are not doing run time linking.
10308       library_names_spec='${libname}${release}.a $libname.a'
10309       soname_spec='${libname}${release}${shared_ext}$major'
10310     fi
10311     shlibpath_var=LIBPATH
10312   fi
10313   ;;
10315 amigaos*)
10316   case $host_cpu in
10317   powerpc)
10318     # Since July 2007 AmigaOS4 officially supports .so libraries.
10319     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10320     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10321     ;;
10322   m68k)
10323     library_names_spec='$libname.ixlibrary $libname.a'
10324     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10325     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'
10326     ;;
10327   esac
10328   ;;
10330 beos*)
10331   library_names_spec='${libname}${shared_ext}'
10332   dynamic_linker="$host_os ld.so"
10333   shlibpath_var=LIBRARY_PATH
10334   ;;
10336 bsdi[45]*)
10337   version_type=linux # correct to gnu/linux during the next big refactor
10338   need_version=no
10339   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340   soname_spec='${libname}${release}${shared_ext}$major'
10341   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10342   shlibpath_var=LD_LIBRARY_PATH
10343   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10344   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10345   # the default ld.so.conf also contains /usr/contrib/lib and
10346   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10347   # libtool to hard-code these into programs
10348   ;;
10350 cygwin* | mingw* | pw32* | cegcc*)
10351   version_type=windows
10352   shrext_cmds=".dll"
10353   need_version=no
10354   need_lib_prefix=no
10356   case $GCC,$cc_basename in
10357   yes,*)
10358     # gcc
10359     library_names_spec='$libname.dll.a'
10360     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10361     postinstall_cmds='base_file=`basename \${file}`~
10362       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10363       dldir=$destdir/`dirname \$dlpath`~
10364       test -d \$dldir || mkdir -p \$dldir~
10365       $install_prog $dir/$dlname \$dldir/$dlname~
10366       chmod a+x \$dldir/$dlname~
10367       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10368         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10369       fi'
10370     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10371       dlpath=$dir/\$dldll~
10372        $RM \$dlpath'
10373     shlibpath_overrides_runpath=yes
10375     case $host_os in
10376     cygwin*)
10377       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10378       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10380       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10381       ;;
10382     mingw* | cegcc*)
10383       # MinGW DLLs use traditional 'lib' prefix
10384       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10385       ;;
10386     pw32*)
10387       # pw32 DLLs use 'pw' prefix rather than 'lib'
10388       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10389       ;;
10390     esac
10391     dynamic_linker='Win32 ld.exe'
10392     ;;
10394   *,cl*)
10395     # Native MSVC
10396     libname_spec='$name'
10397     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10398     library_names_spec='${libname}.dll.lib'
10400     case $build_os in
10401     mingw*)
10402       sys_lib_search_path_spec=
10403       lt_save_ifs=$IFS
10404       IFS=';'
10405       for lt_path in $LIB
10406       do
10407         IFS=$lt_save_ifs
10408         # Let DOS variable expansion print the short 8.3 style file name.
10409         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10410         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10411       done
10412       IFS=$lt_save_ifs
10413       # Convert to MSYS style.
10414       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10415       ;;
10416     cygwin*)
10417       # Convert to unix form, then to dos form, then back to unix form
10418       # but this time dos style (no spaces!) so that the unix form looks
10419       # like /cygdrive/c/PROGRA~1:/cygdr...
10420       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10421       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10422       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10423       ;;
10424     *)
10425       sys_lib_search_path_spec="$LIB"
10426       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10427         # It is most probably a Windows format PATH.
10428         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10429       else
10430         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10431       fi
10432       # FIXME: find the short name or the path components, as spaces are
10433       # common. (e.g. "Program Files" -> "PROGRA~1")
10434       ;;
10435     esac
10437     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10438     postinstall_cmds='base_file=`basename \${file}`~
10439       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10440       dldir=$destdir/`dirname \$dlpath`~
10441       test -d \$dldir || mkdir -p \$dldir~
10442       $install_prog $dir/$dlname \$dldir/$dlname'
10443     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10444       dlpath=$dir/\$dldll~
10445        $RM \$dlpath'
10446     shlibpath_overrides_runpath=yes
10447     dynamic_linker='Win32 link.exe'
10448     ;;
10450   *)
10451     # Assume MSVC wrapper
10452     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10453     dynamic_linker='Win32 ld.exe'
10454     ;;
10455   esac
10456   # FIXME: first we should search . and the directory the executable is in
10457   shlibpath_var=PATH
10458   ;;
10460 darwin* | rhapsody*)
10461   dynamic_linker="$host_os dyld"
10462   version_type=darwin
10463   need_lib_prefix=no
10464   need_version=no
10465   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10466   soname_spec='${libname}${release}${major}$shared_ext'
10467   shlibpath_overrides_runpath=yes
10468   shlibpath_var=DYLD_LIBRARY_PATH
10469   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10471   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10472   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10473   ;;
10475 dgux*)
10476   version_type=linux # correct to gnu/linux during the next big refactor
10477   need_lib_prefix=no
10478   need_version=no
10479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10480   soname_spec='${libname}${release}${shared_ext}$major'
10481   shlibpath_var=LD_LIBRARY_PATH
10482   ;;
10484 freebsd* | dragonfly*)
10485   # DragonFly does not have aout.  When/if they implement a new
10486   # versioning mechanism, adjust this.
10487   if test -x /usr/bin/objformat; then
10488     objformat=`/usr/bin/objformat`
10489   else
10490     case $host_os in
10491     freebsd[23].*) objformat=aout ;;
10492     *) objformat=elf ;;
10493     esac
10494   fi
10495   version_type=freebsd-$objformat
10496   case $version_type in
10497     freebsd-elf*)
10498       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10499       need_version=no
10500       need_lib_prefix=no
10501       ;;
10502     freebsd-*)
10503       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10504       need_version=yes
10505       ;;
10506   esac
10507   shlibpath_var=LD_LIBRARY_PATH
10508   case $host_os in
10509   freebsd2.*)
10510     shlibpath_overrides_runpath=yes
10511     ;;
10512   freebsd3.[01]* | freebsdelf3.[01]*)
10513     shlibpath_overrides_runpath=yes
10514     hardcode_into_libs=yes
10515     ;;
10516   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10517   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10518     shlibpath_overrides_runpath=no
10519     hardcode_into_libs=yes
10520     ;;
10521   *) # from 4.6 on, and DragonFly
10522     shlibpath_overrides_runpath=yes
10523     hardcode_into_libs=yes
10524     ;;
10525   esac
10526   ;;
10528 gnu*)
10529   version_type=linux # correct to gnu/linux during the next big refactor
10530   need_lib_prefix=no
10531   need_version=no
10532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10533   soname_spec='${libname}${release}${shared_ext}$major'
10534   shlibpath_var=LD_LIBRARY_PATH
10535   shlibpath_overrides_runpath=no
10536   hardcode_into_libs=yes
10537   ;;
10539 haiku*)
10540   version_type=linux # correct to gnu/linux during the next big refactor
10541   need_lib_prefix=no
10542   need_version=no
10543   dynamic_linker="$host_os runtime_loader"
10544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10545   soname_spec='${libname}${release}${shared_ext}$major'
10546   shlibpath_var=LIBRARY_PATH
10547   shlibpath_overrides_runpath=yes
10548   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10549   hardcode_into_libs=yes
10550   ;;
10552 hpux9* | hpux10* | hpux11*)
10553   # Give a soname corresponding to the major version so that dld.sl refuses to
10554   # link against other versions.
10555   version_type=sunos
10556   need_lib_prefix=no
10557   need_version=no
10558   case $host_cpu in
10559   ia64*)
10560     shrext_cmds='.so'
10561     hardcode_into_libs=yes
10562     dynamic_linker="$host_os dld.so"
10563     shlibpath_var=LD_LIBRARY_PATH
10564     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10565     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10566     soname_spec='${libname}${release}${shared_ext}$major'
10567     if test "X$HPUX_IA64_MODE" = X32; then
10568       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10569     else
10570       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10571     fi
10572     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10573     ;;
10574   hppa*64*)
10575     shrext_cmds='.sl'
10576     hardcode_into_libs=yes
10577     dynamic_linker="$host_os dld.sl"
10578     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10579     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10580     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10581     soname_spec='${libname}${release}${shared_ext}$major'
10582     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10583     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10584     ;;
10585   *)
10586     shrext_cmds='.sl'
10587     dynamic_linker="$host_os dld.sl"
10588     shlibpath_var=SHLIB_PATH
10589     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10590     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591     soname_spec='${libname}${release}${shared_ext}$major'
10592     ;;
10593   esac
10594   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10595   postinstall_cmds='chmod 555 $lib'
10596   # or fails outright, so override atomically:
10597   install_override_mode=555
10598   ;;
10600 interix[3-9]*)
10601   version_type=linux # correct to gnu/linux during the next big refactor
10602   need_lib_prefix=no
10603   need_version=no
10604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10605   soname_spec='${libname}${release}${shared_ext}$major'
10606   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10607   shlibpath_var=LD_LIBRARY_PATH
10608   shlibpath_overrides_runpath=no
10609   hardcode_into_libs=yes
10610   ;;
10612 irix5* | irix6* | nonstopux*)
10613   case $host_os in
10614     nonstopux*) version_type=nonstopux ;;
10615     *)
10616         if test "$lt_cv_prog_gnu_ld" = yes; then
10617                 version_type=linux # correct to gnu/linux during the next big refactor
10618         else
10619                 version_type=irix
10620         fi ;;
10621   esac
10622   need_lib_prefix=no
10623   need_version=no
10624   soname_spec='${libname}${release}${shared_ext}$major'
10625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10626   case $host_os in
10627   irix5* | nonstopux*)
10628     libsuff= shlibsuff=
10629     ;;
10630   *)
10631     case $LD in # libtool.m4 will add one of these switches to LD
10632     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10633       libsuff= shlibsuff= libmagic=32-bit;;
10634     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10635       libsuff=32 shlibsuff=N32 libmagic=N32;;
10636     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10637       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10638     *) libsuff= shlibsuff= libmagic=never-match;;
10639     esac
10640     ;;
10641   esac
10642   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10643   shlibpath_overrides_runpath=no
10644   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10645   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10646   hardcode_into_libs=yes
10647   ;;
10649 # No shared lib support for Linux oldld, aout, or coff.
10650 linux*oldld* | linux*aout* | linux*coff*)
10651   dynamic_linker=no
10652   ;;
10654 # This must be glibc/ELF.
10655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10656   version_type=linux # correct to gnu/linux during the next big refactor
10657   need_lib_prefix=no
10658   need_version=no
10659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10660   soname_spec='${libname}${release}${shared_ext}$major'
10661   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10662   shlibpath_var=LD_LIBRARY_PATH
10663   shlibpath_overrides_runpath=no
10665   # Some binutils ld are patched to set DT_RUNPATH
10666   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10667   $as_echo_n "(cached) " >&6
10668 else
10669   lt_cv_shlibpath_overrides_runpath=no
10670     save_LDFLAGS=$LDFLAGS
10671     save_libdir=$libdir
10672     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10673          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10674     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10675 /* end confdefs.h.  */
10678 main ()
10681   ;
10682   return 0;
10684 _ACEOF
10685 if ac_fn_c_try_link "$LINENO"; then :
10686   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10687   lt_cv_shlibpath_overrides_runpath=yes
10690 rm -f core conftest.err conftest.$ac_objext \
10691     conftest$ac_exeext conftest.$ac_ext
10692     LDFLAGS=$save_LDFLAGS
10693     libdir=$save_libdir
10694     
10697   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10699   # This implies no fast_install, which is unacceptable.
10700   # Some rework will be needed to allow for fast_install
10701   # before this can be enabled.
10702   hardcode_into_libs=yes
10704   # Append ld.so.conf contents to the search path
10705   if test -f /etc/ld.so.conf; then
10706     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' ' '`
10707     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10708   fi
10710   # We used to test for /lib/ld.so.1 and disable shared libraries on
10711   # powerpc, because MkLinux only supported shared libraries with the
10712   # GNU dynamic linker.  Since this was broken with cross compilers,
10713   # most powerpc-linux boxes support dynamic linking these days and
10714   # people can always --disable-shared, the test was removed, and we
10715   # assume the GNU/Linux dynamic linker is in use.
10716   dynamic_linker='GNU/Linux ld.so'
10717   ;;
10719 netbsdelf*-gnu)
10720   version_type=linux
10721   need_lib_prefix=no
10722   need_version=no
10723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10724   soname_spec='${libname}${release}${shared_ext}$major'
10725   shlibpath_var=LD_LIBRARY_PATH
10726   shlibpath_overrides_runpath=no
10727   hardcode_into_libs=yes
10728   dynamic_linker='NetBSD ld.elf_so'
10729   ;;
10731 netbsd*)
10732   version_type=sunos
10733   need_lib_prefix=no
10734   need_version=no
10735   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10736     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10737     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10738     dynamic_linker='NetBSD (a.out) ld.so'
10739   else
10740     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10741     soname_spec='${libname}${release}${shared_ext}$major'
10742     dynamic_linker='NetBSD ld.elf_so'
10743   fi
10744   shlibpath_var=LD_LIBRARY_PATH
10745   shlibpath_overrides_runpath=yes
10746   hardcode_into_libs=yes
10747   ;;
10749 newsos6)
10750   version_type=linux # correct to gnu/linux during the next big refactor
10751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10752   shlibpath_var=LD_LIBRARY_PATH
10753   shlibpath_overrides_runpath=yes
10754   ;;
10756 *nto* | *qnx*)
10757   version_type=qnx
10758   need_lib_prefix=no
10759   need_version=no
10760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761   soname_spec='${libname}${release}${shared_ext}$major'
10762   shlibpath_var=LD_LIBRARY_PATH
10763   shlibpath_overrides_runpath=no
10764   hardcode_into_libs=yes
10765   dynamic_linker='ldqnx.so'
10766   ;;
10768 openbsd*)
10769   version_type=sunos
10770   sys_lib_dlsearch_path_spec="/usr/lib"
10771   need_lib_prefix=no
10772   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10773   case $host_os in
10774     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10775     *)                          need_version=no  ;;
10776   esac
10777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10778   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10779   shlibpath_var=LD_LIBRARY_PATH
10780   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10781     case $host_os in
10782       openbsd2.[89] | openbsd2.[89].*)
10783         shlibpath_overrides_runpath=no
10784         ;;
10785       *)
10786         shlibpath_overrides_runpath=yes
10787         ;;
10788       esac
10789   else
10790     shlibpath_overrides_runpath=yes
10791   fi
10792   ;;
10794 os2*)
10795   libname_spec='$name'
10796   shrext_cmds=".dll"
10797   need_lib_prefix=no
10798   library_names_spec='$libname${shared_ext} $libname.a'
10799   dynamic_linker='OS/2 ld.exe'
10800   shlibpath_var=LIBPATH
10801   ;;
10803 osf3* | osf4* | osf5*)
10804   version_type=osf
10805   need_lib_prefix=no
10806   need_version=no
10807   soname_spec='${libname}${release}${shared_ext}$major'
10808   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10809   shlibpath_var=LD_LIBRARY_PATH
10810   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10811   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10812   ;;
10814 rdos*)
10815   dynamic_linker=no
10816   ;;
10818 solaris*)
10819   version_type=linux # correct to gnu/linux during the next big refactor
10820   need_lib_prefix=no
10821   need_version=no
10822   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10823   soname_spec='${libname}${release}${shared_ext}$major'
10824   shlibpath_var=LD_LIBRARY_PATH
10825   shlibpath_overrides_runpath=yes
10826   hardcode_into_libs=yes
10827   # ldd complains unless libraries are executable
10828   postinstall_cmds='chmod +x $lib'
10829   ;;
10831 sunos4*)
10832   version_type=sunos
10833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10834   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10835   shlibpath_var=LD_LIBRARY_PATH
10836   shlibpath_overrides_runpath=yes
10837   if test "$with_gnu_ld" = yes; then
10838     need_lib_prefix=no
10839   fi
10840   need_version=yes
10841   ;;
10843 sysv4 | sysv4.3*)
10844   version_type=linux # correct to gnu/linux during the next big refactor
10845   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10846   soname_spec='${libname}${release}${shared_ext}$major'
10847   shlibpath_var=LD_LIBRARY_PATH
10848   case $host_vendor in
10849     sni)
10850       shlibpath_overrides_runpath=no
10851       need_lib_prefix=no
10852       runpath_var=LD_RUN_PATH
10853       ;;
10854     siemens)
10855       need_lib_prefix=no
10856       ;;
10857     motorola)
10858       need_lib_prefix=no
10859       need_version=no
10860       shlibpath_overrides_runpath=no
10861       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10862       ;;
10863   esac
10864   ;;
10866 sysv4*MP*)
10867   if test -d /usr/nec ;then
10868     version_type=linux # correct to gnu/linux during the next big refactor
10869     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10870     soname_spec='$libname${shared_ext}.$major'
10871     shlibpath_var=LD_LIBRARY_PATH
10872   fi
10873   ;;
10875 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10876   version_type=freebsd-elf
10877   need_lib_prefix=no
10878   need_version=no
10879   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10880   soname_spec='${libname}${release}${shared_ext}$major'
10881   shlibpath_var=LD_LIBRARY_PATH
10882   shlibpath_overrides_runpath=yes
10883   hardcode_into_libs=yes
10884   if test "$with_gnu_ld" = yes; then
10885     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10886   else
10887     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10888     case $host_os in
10889       sco3.2v5*)
10890         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10891         ;;
10892     esac
10893   fi
10894   sys_lib_dlsearch_path_spec='/usr/lib'
10895   ;;
10897 tpf*)
10898   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10899   version_type=linux # correct to gnu/linux during the next big refactor
10900   need_lib_prefix=no
10901   need_version=no
10902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10903   shlibpath_var=LD_LIBRARY_PATH
10904   shlibpath_overrides_runpath=no
10905   hardcode_into_libs=yes
10906   ;;
10908 uts4*)
10909   version_type=linux # correct to gnu/linux during the next big refactor
10910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10911   soname_spec='${libname}${release}${shared_ext}$major'
10912   shlibpath_var=LD_LIBRARY_PATH
10913   ;;
10916   dynamic_linker=no
10917   ;;
10918 esac
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10920 $as_echo "$dynamic_linker" >&6; }
10921 test "$dynamic_linker" = no && can_build_shared=no
10923 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10924 if test "$GCC" = yes; then
10925   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10928 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10929   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10931 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10932   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10936     
10937     
10938     
10941     
10942     
10943     
10946     
10947     
10948     
10951     
10952     
10953     
10956     
10957     
10958     
10961     
10962     
10963     
10966     
10967     
10968     
10971     
10972     
10973     
10976     
10977     
10978     
10981     
10982     
10983     
10986     
10987     
10988     
10991     
10992     
10993     
10996     
10997     
10998     
11001     
11002     
11003     
11006     
11007     
11008     
11011     
11012     
11013     
11016     
11017     
11018     
11021     
11022     
11023     
11026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11027 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11028 hardcode_action=
11029 if test -n "$hardcode_libdir_flag_spec" ||
11030    test -n "$runpath_var" ||
11031    test "X$hardcode_automatic" = "Xyes" ; then
11033   # We can hardcode non-existent directories.
11034   if test "$hardcode_direct" != no &&
11035      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11036      # have to relink, otherwise we might link with an installed library
11037      # when we should be linking with a yet-to-be-installed one
11038      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11039      test "$hardcode_minus_L" != no; then
11040     # Linking always hardcodes the temporary library directory.
11041     hardcode_action=relink
11042   else
11043     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11044     hardcode_action=immediate
11045   fi
11046 else
11047   # We cannot hardcode anything, or else we can only hardcode existing
11048   # directories.
11049   hardcode_action=unsupported
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11052 $as_echo "$hardcode_action" >&6; }
11054 if test "$hardcode_action" = relink ||
11055    test "$inherit_rpath" = yes; then
11056   # Fast installation is not supported
11057   enable_fast_install=no
11058 elif test "$shlibpath_overrides_runpath" = yes ||
11059      test "$enable_shared" = no; then
11060   # Fast installation is not necessary
11061   enable_fast_install=needless
11064     
11065     
11066     
11069   if test "x$enable_dlopen" != xyes; then
11070   enable_dlopen=unknown
11071   enable_dlopen_self=unknown
11072   enable_dlopen_self_static=unknown
11073 else
11074   lt_cv_dlopen=no
11075   lt_cv_dlopen_libs=
11077   case $host_os in
11078   beos*)
11079     lt_cv_dlopen="load_add_on"
11080     lt_cv_dlopen_libs=
11081     lt_cv_dlopen_self=yes
11082     ;;
11084   mingw* | pw32* | cegcc*)
11085     lt_cv_dlopen="LoadLibrary"
11086     lt_cv_dlopen_libs=
11087     ;;
11089   cygwin*)
11090     lt_cv_dlopen="dlopen"
11091     lt_cv_dlopen_libs=
11092     ;;
11094   darwin*)
11095   # if libdl is installed we need to link against it
11096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11097 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11098 if ${ac_cv_lib_dl_dlopen+:} false; then :
11099   $as_echo_n "(cached) " >&6
11100 else
11101   ac_check_lib_save_LIBS=$LIBS
11102 LIBS="-ldl  $LIBS"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h.  */
11106 /* Override any GCC internal prototype to avoid an error.
11107    Use char because int might match the return type of a GCC
11108    builtin and then its argument prototype would still apply.  */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char dlopen ();
11114 main ()
11116 return dlopen ();
11117   ;
11118   return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11122   ac_cv_lib_dl_dlopen=yes
11123 else
11124   ac_cv_lib_dl_dlopen=no
11126 rm -f core conftest.err conftest.$ac_objext \
11127     conftest$ac_exeext conftest.$ac_ext
11128 LIBS=$ac_check_lib_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11131 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11132 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11133   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11134 else
11135   
11136     lt_cv_dlopen="dyld"
11137     lt_cv_dlopen_libs=
11138     lt_cv_dlopen_self=yes
11139     
11142     ;;
11144   *)
11145     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11146 if test "x$ac_cv_func_shl_load" = xyes; then :
11147   lt_cv_dlopen="shl_load"
11148 else
11149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11150 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11151 if ${ac_cv_lib_dld_shl_load+:} false; then :
11152   $as_echo_n "(cached) " >&6
11153 else
11154   ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-ldld  $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h.  */
11159 /* Override any GCC internal prototype to avoid an error.
11160    Use char because int might match the return type of a GCC
11161    builtin and then its argument prototype would still apply.  */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char shl_load ();
11167 main ()
11169 return shl_load ();
11170   ;
11171   return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175   ac_cv_lib_dld_shl_load=yes
11176 else
11177   ac_cv_lib_dld_shl_load=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180     conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11184 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11185 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11186   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11187 else
11188   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11189 if test "x$ac_cv_func_dlopen" = xyes; then :
11190   lt_cv_dlopen="dlopen"
11191 else
11192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11193 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11194 if ${ac_cv_lib_dl_dlopen+:} false; then :
11195   $as_echo_n "(cached) " >&6
11196 else
11197   ac_check_lib_save_LIBS=$LIBS
11198 LIBS="-ldl  $LIBS"
11199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11200 /* end confdefs.h.  */
11202 /* Override any GCC internal prototype to avoid an error.
11203    Use char because int might match the return type of a GCC
11204    builtin and then its argument prototype would still apply.  */
11205 #ifdef __cplusplus
11206 extern "C"
11207 #endif
11208 char dlopen ();
11210 main ()
11212 return dlopen ();
11213   ;
11214   return 0;
11216 _ACEOF
11217 if ac_fn_c_try_link "$LINENO"; then :
11218   ac_cv_lib_dl_dlopen=yes
11219 else
11220   ac_cv_lib_dl_dlopen=no
11222 rm -f core conftest.err conftest.$ac_objext \
11223     conftest$ac_exeext conftest.$ac_ext
11224 LIBS=$ac_check_lib_save_LIBS
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11227 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11228 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11229   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11230 else
11231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11232 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11233 if ${ac_cv_lib_svld_dlopen+:} false; then :
11234   $as_echo_n "(cached) " >&6
11235 else
11236   ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lsvld  $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h.  */
11241 /* Override any GCC internal prototype to avoid an error.
11242    Use char because int might match the return type of a GCC
11243    builtin and then its argument prototype would still apply.  */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char dlopen ();
11249 main ()
11251 return dlopen ();
11252   ;
11253   return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257   ac_cv_lib_svld_dlopen=yes
11258 else
11259   ac_cv_lib_svld_dlopen=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262     conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11266 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11267 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11268   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11269 else
11270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11271 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11272 if ${ac_cv_lib_dld_dld_link+:} false; then :
11273   $as_echo_n "(cached) " >&6
11274 else
11275   ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-ldld  $LIBS"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h.  */
11280 /* Override any GCC internal prototype to avoid an error.
11281    Use char because int might match the return type of a GCC
11282    builtin and then its argument prototype would still apply.  */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char dld_link ();
11288 main ()
11290 return dld_link ();
11291   ;
11292   return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296   ac_cv_lib_dld_dld_link=yes
11297 else
11298   ac_cv_lib_dld_dld_link=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301     conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11305 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11306 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11307   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11310               
11313             
11316           
11319         
11322       
11325     ;;
11326   esac
11328   if test "x$lt_cv_dlopen" != xno; then
11329     enable_dlopen=yes
11330   else
11331     enable_dlopen=no
11332   fi
11334   case $lt_cv_dlopen in
11335   dlopen)
11336     save_CPPFLAGS="$CPPFLAGS"
11337     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11339     save_LDFLAGS="$LDFLAGS"
11340     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11342     save_LIBS="$LIBS"
11343     LIBS="$lt_cv_dlopen_libs $LIBS"
11345     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11346 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11347 if ${lt_cv_dlopen_self+:} false; then :
11348   $as_echo_n "(cached) " >&6
11349 else
11350           if test "$cross_compiling" = yes; then :
11351   lt_cv_dlopen_self=cross
11352 else
11353   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11354   lt_status=$lt_dlunknown
11355   cat > conftest.$ac_ext <<_LT_EOF
11356 #line $LINENO "configure"
11357 #include "confdefs.h"
11359 #if HAVE_DLFCN_H
11360 #include <dlfcn.h>
11361 #endif
11363 #include <stdio.h>
11365 #ifdef RTLD_GLOBAL
11366 #  define LT_DLGLOBAL           RTLD_GLOBAL
11367 #else
11368 #  ifdef DL_GLOBAL
11369 #    define LT_DLGLOBAL         DL_GLOBAL
11370 #  else
11371 #    define LT_DLGLOBAL         0
11372 #  endif
11373 #endif
11375 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11376    find out it does not work in some platform. */
11377 #ifndef LT_DLLAZY_OR_NOW
11378 #  ifdef RTLD_LAZY
11379 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11380 #  else
11381 #    ifdef DL_LAZY
11382 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11383 #    else
11384 #      ifdef RTLD_NOW
11385 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11386 #      else
11387 #        ifdef DL_NOW
11388 #          define LT_DLLAZY_OR_NOW      DL_NOW
11389 #        else
11390 #          define LT_DLLAZY_OR_NOW      0
11391 #        endif
11392 #      endif
11393 #    endif
11394 #  endif
11395 #endif
11397 /* When -fvisbility=hidden is used, assume the code has been annotated
11398    correspondingly for the symbols needed.  */
11399 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11400 int fnord () __attribute__((visibility("default")));
11401 #endif
11403 int fnord () { return 42; }
11404 int main ()
11406   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11407   int status = $lt_dlunknown;
11409   if (self)
11410     {
11411       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11412       else
11413         {
11414           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11415           else puts (dlerror ());
11416         }
11417       /* dlclose (self); */
11418     }
11419   else
11420     puts (dlerror ());
11422   return status;
11424 _LT_EOF
11425   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11426   (eval $ac_link) 2>&5
11427   ac_status=$?
11428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11429   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11430     (./conftest; exit; ) >&5 2>/dev/null
11431     lt_status=$?
11432     case x$lt_status in
11433       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11434       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11435       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11436     esac
11437   else :
11438     # compilation failed
11439     lt_cv_dlopen_self=no
11440   fi
11442 rm -fr conftest*
11444     
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11447 $as_echo "$lt_cv_dlopen_self" >&6; }
11449     if test "x$lt_cv_dlopen_self" = xyes; then
11450       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11451       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11452 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11453 if ${lt_cv_dlopen_self_static+:} false; then :
11454   $as_echo_n "(cached) " >&6
11455 else
11456           if test "$cross_compiling" = yes; then :
11457   lt_cv_dlopen_self_static=cross
11458 else
11459   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11460   lt_status=$lt_dlunknown
11461   cat > conftest.$ac_ext <<_LT_EOF
11462 #line $LINENO "configure"
11463 #include "confdefs.h"
11465 #if HAVE_DLFCN_H
11466 #include <dlfcn.h>
11467 #endif
11469 #include <stdio.h>
11471 #ifdef RTLD_GLOBAL
11472 #  define LT_DLGLOBAL           RTLD_GLOBAL
11473 #else
11474 #  ifdef DL_GLOBAL
11475 #    define LT_DLGLOBAL         DL_GLOBAL
11476 #  else
11477 #    define LT_DLGLOBAL         0
11478 #  endif
11479 #endif
11481 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11482    find out it does not work in some platform. */
11483 #ifndef LT_DLLAZY_OR_NOW
11484 #  ifdef RTLD_LAZY
11485 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11486 #  else
11487 #    ifdef DL_LAZY
11488 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11489 #    else
11490 #      ifdef RTLD_NOW
11491 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11492 #      else
11493 #        ifdef DL_NOW
11494 #          define LT_DLLAZY_OR_NOW      DL_NOW
11495 #        else
11496 #          define LT_DLLAZY_OR_NOW      0
11497 #        endif
11498 #      endif
11499 #    endif
11500 #  endif
11501 #endif
11503 /* When -fvisbility=hidden is used, assume the code has been annotated
11504    correspondingly for the symbols needed.  */
11505 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11506 int fnord () __attribute__((visibility("default")));
11507 #endif
11509 int fnord () { return 42; }
11510 int main ()
11512   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11513   int status = $lt_dlunknown;
11515   if (self)
11516     {
11517       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11518       else
11519         {
11520           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11521           else puts (dlerror ());
11522         }
11523       /* dlclose (self); */
11524     }
11525   else
11526     puts (dlerror ());
11528   return status;
11530 _LT_EOF
11531   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11532   (eval $ac_link) 2>&5
11533   ac_status=$?
11534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11535   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11536     (./conftest; exit; ) >&5 2>/dev/null
11537     lt_status=$?
11538     case x$lt_status in
11539       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11540       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11541       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11542     esac
11543   else :
11544     # compilation failed
11545     lt_cv_dlopen_self_static=no
11546   fi
11548 rm -fr conftest*
11550       
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11553 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11554     fi
11556     CPPFLAGS="$save_CPPFLAGS"
11557     LDFLAGS="$save_LDFLAGS"
11558     LIBS="$save_LIBS"
11559     ;;
11560   esac
11562   case $lt_cv_dlopen_self in
11563   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11564   *) enable_dlopen_self=unknown ;;
11565   esac
11567   case $lt_cv_dlopen_self_static in
11568   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11569   *) enable_dlopen_self_static=unknown ;;
11570   esac
11573     
11574     
11575     
11578     
11579     
11580     
11583     
11584     
11585     
11588   
11589 striplib=
11590 old_striplib=
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11592 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11593 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11594   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11595   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11597 $as_echo "yes" >&6; }
11598 else
11599 # FIXME - insert some real tests, host_os isn't really good enough
11600   case $host_os in
11601   darwin*)
11602     if test -n "$STRIP" ; then
11603       striplib="$STRIP -x"
11604       old_striplib="$STRIP -S"
11605       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11606 $as_echo "yes" >&6; }
11607     else
11608       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11609 $as_echo "no" >&6; }
11610     fi
11611     ;;
11612   *)
11613     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11615     ;;
11616   esac
11619     
11620     
11621     
11624     
11625     
11626     
11630   # Report which library types will actually be built
11631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11632 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11634 $as_echo "$can_build_shared" >&6; }
11636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11637 $as_echo_n "checking whether to build shared libraries... " >&6; }
11638   test "$can_build_shared" = "no" && enable_shared=no
11640   # On AIX, shared libraries and static libraries use the same namespace, and
11641   # are all built from PIC.
11642   case $host_os in
11643   aix3*)
11644     test "$enable_shared" = yes && enable_static=no
11645     if test -n "$RANLIB"; then
11646       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11647       postinstall_cmds='$RANLIB $lib'
11648     fi
11649     ;;
11651   aix[4-9]*)
11652     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11653       test "$enable_shared" = yes && enable_static=no
11654     fi
11655     ;;
11656   esac
11657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11658 $as_echo "$enable_shared" >&6; }
11660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11661 $as_echo_n "checking whether to build static libraries... " >&6; }
11662   # Make sure either enable_shared or enable_static is yes.
11663   test "$enable_shared" = yes || enable_static=yes
11664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11665 $as_echo "$enable_static" >&6; }
11667   
11671 ac_ext=c
11672 ac_cpp='$CPP $CPPFLAGS'
11673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11677 CC="$lt_save_CC"
11679       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11680     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11681     (test "X$CXX" != "Xg++"))) ; then
11682   ac_ext=cpp
11683 ac_cpp='$CXXCPP $CPPFLAGS'
11684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11688 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11689 if test -z "$CXXCPP"; then
11690   if ${ac_cv_prog_CXXCPP+:} false; then :
11691   $as_echo_n "(cached) " >&6
11692 else
11693       # Double quotes because CXXCPP needs to be expanded
11694     for CXXCPP in "$CXX -E" "/lib/cpp"
11695     do
11696       ac_preproc_ok=false
11697 for ac_cxx_preproc_warn_flag in '' yes
11699   # Use a header file that comes with gcc, so configuring glibc
11700   # with a fresh cross-compiler works.
11701   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11702   # <limits.h> exists even on freestanding compilers.
11703   # On the NeXT, cc -E runs the code through the compiler's parser,
11704   # not just through cpp. "Syntax error" is here to catch this case.
11705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11706 /* end confdefs.h.  */
11707 @%:@ifdef __STDC__
11708 @%:@ include <limits.h>
11709 @%:@else
11710 @%:@ include <assert.h>
11711 @%:@endif
11712                      Syntax error
11713 _ACEOF
11714 if ac_fn_cxx_try_cpp "$LINENO"; then :
11715   
11716 else
11717   # Broken: fails on valid input.
11718 continue
11720 rm -f conftest.err conftest.i conftest.$ac_ext
11722   # OK, works on sane cases.  Now check whether nonexistent headers
11723   # can be detected and how.
11724   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h.  */
11726 @%:@include <ac_nonexistent.h>
11727 _ACEOF
11728 if ac_fn_cxx_try_cpp "$LINENO"; then :
11729   # Broken: success on invalid input.
11730 continue
11731 else
11732   # Passes both tests.
11733 ac_preproc_ok=:
11734 break
11736 rm -f conftest.err conftest.i conftest.$ac_ext
11738 done
11739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11740 rm -f conftest.i conftest.err conftest.$ac_ext
11741 if $ac_preproc_ok; then :
11742   break
11745     done
11746     ac_cv_prog_CXXCPP=$CXXCPP
11747   
11749   CXXCPP=$ac_cv_prog_CXXCPP
11750 else
11751   ac_cv_prog_CXXCPP=$CXXCPP
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11754 $as_echo "$CXXCPP" >&6; }
11755 ac_preproc_ok=false
11756 for ac_cxx_preproc_warn_flag in '' yes
11758   # Use a header file that comes with gcc, so configuring glibc
11759   # with a fresh cross-compiler works.
11760   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11761   # <limits.h> exists even on freestanding compilers.
11762   # On the NeXT, cc -E runs the code through the compiler's parser,
11763   # not just through cpp. "Syntax error" is here to catch this case.
11764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h.  */
11766 @%:@ifdef __STDC__
11767 @%:@ include <limits.h>
11768 @%:@else
11769 @%:@ include <assert.h>
11770 @%:@endif
11771                      Syntax error
11772 _ACEOF
11773 if ac_fn_cxx_try_cpp "$LINENO"; then :
11774   
11775 else
11776   # Broken: fails on valid input.
11777 continue
11779 rm -f conftest.err conftest.i conftest.$ac_ext
11781   # OK, works on sane cases.  Now check whether nonexistent headers
11782   # can be detected and how.
11783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h.  */
11785 @%:@include <ac_nonexistent.h>
11786 _ACEOF
11787 if ac_fn_cxx_try_cpp "$LINENO"; then :
11788   # Broken: success on invalid input.
11789 continue
11790 else
11791   # Passes both tests.
11792 ac_preproc_ok=:
11793 break
11795 rm -f conftest.err conftest.i conftest.$ac_ext
11797 done
11798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11799 rm -f conftest.i conftest.err conftest.$ac_ext
11800 if $ac_preproc_ok; then :
11801   
11802 else
11803   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11805 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11806 See \`config.log' for more details" "$LINENO" 5; }
11809 ac_ext=c
11810 ac_cpp='$CPP $CPPFLAGS'
11811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11815 else
11816   _lt_caught_CXX_error=yes
11819 ac_ext=cpp
11820 ac_cpp='$CXXCPP $CPPFLAGS'
11821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11825 archive_cmds_need_lc_CXX=no
11826 allow_undefined_flag_CXX=
11827 always_export_symbols_CXX=no
11828 archive_expsym_cmds_CXX=
11829 compiler_needs_object_CXX=no
11830 export_dynamic_flag_spec_CXX=
11831 hardcode_direct_CXX=no
11832 hardcode_direct_absolute_CXX=no
11833 hardcode_libdir_flag_spec_CXX=
11834 hardcode_libdir_separator_CXX=
11835 hardcode_minus_L_CXX=no
11836 hardcode_shlibpath_var_CXX=unsupported
11837 hardcode_automatic_CXX=no
11838 inherit_rpath_CXX=no
11839 module_cmds_CXX=
11840 module_expsym_cmds_CXX=
11841 link_all_deplibs_CXX=unknown
11842 old_archive_cmds_CXX=$old_archive_cmds
11843 reload_flag_CXX=$reload_flag
11844 reload_cmds_CXX=$reload_cmds
11845 no_undefined_flag_CXX=
11846 whole_archive_flag_spec_CXX=
11847 enable_shared_with_static_runtimes_CXX=no
11849 # Source file extension for C++ test sources.
11850 ac_ext=cpp
11852 # Object file extension for compiled C++ test sources.
11853 objext=o
11854 objext_CXX=$objext
11856 # No sense in running all these tests if we already determined that
11857 # the CXX compiler isn't working.  Some variables (like enable_shared)
11858 # are currently assumed to apply to all compilers on this platform,
11859 # and will be corrupted by setting them based on a non-working compiler.
11860 if test "$_lt_caught_CXX_error" != yes; then
11861   # Code to be used in simple compile tests
11862   lt_simple_compile_test_code="int some_variable = 0;"
11864   # Code to be used in simple link tests
11865   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11867   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11868   
11874 # If no C compiler was specified, use CC.
11875 LTCC=${LTCC-"$CC"}
11877 # If no C compiler flags were specified, use CFLAGS.
11878 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11880 # Allow CC to be a program name with arguments.
11881 compiler=$CC
11884   # save warnings/boilerplate of simple test code
11885   ac_outfile=conftest.$ac_objext
11886 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11887 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11888 _lt_compiler_boilerplate=`cat conftest.err`
11889 $RM conftest*
11891   ac_outfile=conftest.$ac_objext
11892 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11893 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11894 _lt_linker_boilerplate=`cat conftest.err`
11895 $RM -r conftest*
11898   # Allow CC to be a program name with arguments.
11899   lt_save_CC=$CC
11900   lt_save_CFLAGS=$CFLAGS
11901   lt_save_LD=$LD
11902   lt_save_GCC=$GCC
11903   GCC=$GXX
11904   lt_save_with_gnu_ld=$with_gnu_ld
11905   lt_save_path_LD=$lt_cv_path_LD
11906   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11907     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11908   else
11909     $as_unset lt_cv_prog_gnu_ld
11910   fi
11911   if test -n "${lt_cv_path_LDCXX+set}"; then
11912     lt_cv_path_LD=$lt_cv_path_LDCXX
11913   else
11914     $as_unset lt_cv_path_LD
11915   fi
11916   test -z "${LDCXX+set}" || LD=$LDCXX
11917   CC=${CXX-"c++"}
11918   CFLAGS=$CXXFLAGS
11919   compiler=$CC
11920   compiler_CXX=$CC
11921   for cc_temp in $compiler""; do
11922   case $cc_temp in
11923     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11924     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11925     \-*) ;;
11926     *) break;;
11927   esac
11928 done
11929 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11932   if test -n "$compiler"; then
11933     # We don't want -fno-exception when compiling C++ code, so set the
11934     # no_builtin_flag separately
11935     if test "$GXX" = yes; then
11936       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11937     else
11938       lt_prog_compiler_no_builtin_flag_CXX=
11939     fi
11941     if test "$GXX" = yes; then
11942       # Set up default GNU C++ configuration
11944       
11946 @%:@ Check whether --with-gnu-ld was given.
11947 if test "${with_gnu_ld+set}" = set; then :
11948   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11949 else
11950   with_gnu_ld=no
11953 ac_prog=ld
11954 if test "$GCC" = yes; then
11955   # Check if gcc -print-prog-name=ld gives a path.
11956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11957 $as_echo_n "checking for ld used by $CC... " >&6; }
11958   case $host in
11959   *-*-mingw*)
11960     # gcc leaves a trailing carriage return which upsets mingw
11961     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11962   *)
11963     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11964   esac
11965   case $ac_prog in
11966     # Accept absolute paths.
11967     [\\/]* | ?:[\\/]*)
11968       re_direlt='/[^/][^/]*/\.\./'
11969       # Canonicalize the pathname of ld
11970       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11971       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11972         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11973       done
11974       test -z "$LD" && LD="$ac_prog"
11975       ;;
11976   "")
11977     # If it fails, then pretend we aren't using GCC.
11978     ac_prog=ld
11979     ;;
11980   *)
11981     # If it is relative, then search for the first ld in PATH.
11982     with_gnu_ld=unknown
11983     ;;
11984   esac
11985 elif test "$with_gnu_ld" = yes; then
11986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11987 $as_echo_n "checking for GNU ld... " >&6; }
11988 else
11989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11990 $as_echo_n "checking for non-GNU ld... " >&6; }
11992 if ${lt_cv_path_LD+:} false; then :
11993   $as_echo_n "(cached) " >&6
11994 else
11995   if test -z "$LD"; then
11996   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11997   for ac_dir in $PATH; do
11998     IFS="$lt_save_ifs"
11999     test -z "$ac_dir" && ac_dir=.
12000     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12001       lt_cv_path_LD="$ac_dir/$ac_prog"
12002       # Check to see if the program is GNU ld.  I'd rather use --version,
12003       # but apparently some variants of GNU ld only accept -v.
12004       # Break only if it was the GNU/non-GNU ld that we prefer.
12005       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12006       *GNU* | *'with BFD'*)
12007         test "$with_gnu_ld" != no && break
12008         ;;
12009       *)
12010         test "$with_gnu_ld" != yes && break
12011         ;;
12012       esac
12013     fi
12014   done
12015   IFS="$lt_save_ifs"
12016 else
12017   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12021 LD="$lt_cv_path_LD"
12022 if test -n "$LD"; then
12023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12024 $as_echo "$LD" >&6; }
12025 else
12026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12027 $as_echo "no" >&6; }
12029 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12031 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12032 if ${lt_cv_prog_gnu_ld+:} false; then :
12033   $as_echo_n "(cached) " >&6
12034 else
12035   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12036 case `$LD -v 2>&1 </dev/null` in
12037 *GNU* | *'with BFD'*)
12038   lt_cv_prog_gnu_ld=yes
12039   ;;
12041   lt_cv_prog_gnu_ld=no
12042   ;;
12043 esac
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12046 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12047 with_gnu_ld=$lt_cv_prog_gnu_ld
12055       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12056       # archiving commands below assume that GNU ld is being used.
12057       if test "$with_gnu_ld" = yes; then
12058         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12059         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'
12061         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12062         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12064         # If archive_cmds runs LD, not CC, wlarc should be empty
12065         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12066         #     investigate it a little bit more. (MM)
12067         wlarc='${wl}'
12069         # ancient GNU ld didn't support --whole-archive et. al.
12070         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12071           $GREP 'no-whole-archive' > /dev/null; then
12072           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12073         else
12074           whole_archive_flag_spec_CXX=
12075         fi
12076       else
12077         with_gnu_ld=no
12078         wlarc=
12080         # A generic and very simple default shared library creation
12081         # command for GNU C++ for the case where it uses the native
12082         # linker, instead of GNU ld.  If possible, this setting should
12083         # overridden to take advantage of the native linker features on
12084         # the platform it is being used on.
12085         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12086       fi
12088       # Commands to make compiler produce verbose output that lists
12089       # what "hidden" libraries, object files and flags are used when
12090       # linking a shared library.
12091       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12093     else
12094       GXX=no
12095       with_gnu_ld=no
12096       wlarc=
12097     fi
12099     # PORTME: fill in a description of your system's C++ link characteristics
12100     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12101 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12102     ld_shlibs_CXX=yes
12103     case $host_os in
12104       aix3*)
12105         # FIXME: insert proper C++ library support
12106         ld_shlibs_CXX=no
12107         ;;
12108       aix[4-9]*)
12109         if test "$host_cpu" = ia64; then
12110           # On IA64, the linker does run time linking by default, so we don't
12111           # have to do anything special.
12112           aix_use_runtimelinking=no
12113           exp_sym_flag='-Bexport'
12114           no_entry_flag=""
12115         else
12116           aix_use_runtimelinking=no
12118           # Test if we are trying to use run time linking or normal
12119           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12120           # need to do runtime linking.
12121           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12122             for ld_flag in $LDFLAGS; do
12123               case $ld_flag in
12124               *-brtl*)
12125                 aix_use_runtimelinking=yes
12126                 break
12127                 ;;
12128               esac
12129             done
12130             ;;
12131           esac
12133           exp_sym_flag='-bexport'
12134           no_entry_flag='-bnoentry'
12135         fi
12137         # When large executables or shared objects are built, AIX ld can
12138         # have problems creating the table of contents.  If linking a library
12139         # or program results in "error TOC overflow" add -mminimal-toc to
12140         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12141         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12143         archive_cmds_CXX=''
12144         hardcode_direct_CXX=yes
12145         hardcode_direct_absolute_CXX=yes
12146         hardcode_libdir_separator_CXX=':'
12147         link_all_deplibs_CXX=yes
12148         file_list_spec_CXX='${wl}-f,'
12150         if test "$GXX" = yes; then
12151           case $host_os in aix4.[012]|aix4.[012].*)
12152           # We only want to do this on AIX 4.2 and lower, the check
12153           # below for broken collect2 doesn't work under 4.3+
12154           collect2name=`${CC} -print-prog-name=collect2`
12155           if test -f "$collect2name" &&
12156              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12157           then
12158             # We have reworked collect2
12159             :
12160           else
12161             # We have old collect2
12162             hardcode_direct_CXX=unsupported
12163             # It fails to find uninstalled libraries when the uninstalled
12164             # path is not listed in the libpath.  Setting hardcode_minus_L
12165             # to unsupported forces relinking
12166             hardcode_minus_L_CXX=yes
12167             hardcode_libdir_flag_spec_CXX='-L$libdir'
12168             hardcode_libdir_separator_CXX=
12169           fi
12170           esac
12171           shared_flag='-shared'
12172           if test "$aix_use_runtimelinking" = yes; then
12173             shared_flag="$shared_flag "'${wl}-G'
12174           fi
12175         else
12176           # not using gcc
12177           if test "$host_cpu" = ia64; then
12178           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12179           # chokes on -Wl,-G. The following line is correct:
12180           shared_flag='-G'
12181           else
12182             if test "$aix_use_runtimelinking" = yes; then
12183               shared_flag='${wl}-G'
12184             else
12185               shared_flag='${wl}-bM:SRE'
12186             fi
12187           fi
12188         fi
12190         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12191         # It seems that -bexpall does not export symbols beginning with
12192         # underscore (_), so it is better to generate a list of symbols to
12193         # export.
12194         always_export_symbols_CXX=yes
12195         if test "$aix_use_runtimelinking" = yes; then
12196           # Warning - without using the other runtime loading flags (-brtl),
12197           # -berok will link without error, but may produce a broken library.
12198           allow_undefined_flag_CXX='-berok'
12199           # Determine the default libpath from the value encoded in an empty
12200           # executable.
12201           if test "${lt_cv_aix_libpath+set}" = set; then
12202   aix_libpath=$lt_cv_aix_libpath
12203 else
12204   if ${lt_cv_aix_libpath__CXX+:} false; then :
12205   $as_echo_n "(cached) " >&6
12206 else
12207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h.  */
12211 main ()
12214   ;
12215   return 0;
12217 _ACEOF
12218 if ac_fn_cxx_try_link "$LINENO"; then :
12219   
12220   lt_aix_libpath_sed='
12221       /Import File Strings/,/^$/ {
12222           /^0/ {
12223               s/^0  *\([^ ]*\) *$/\1/
12224               p
12225           }
12226       }'
12227   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12228   # Check for a 64-bit object if we didn't find anything.
12229   if test -z "$lt_cv_aix_libpath__CXX"; then
12230     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12231   fi
12233 rm -f core conftest.err conftest.$ac_objext \
12234     conftest$ac_exeext conftest.$ac_ext
12235   if test -z "$lt_cv_aix_libpath__CXX"; then
12236     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12237   fi
12238   
12241   aix_libpath=$lt_cv_aix_libpath__CXX
12244           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12246           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"
12247         else
12248           if test "$host_cpu" = ia64; then
12249             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12250             allow_undefined_flag_CXX="-z nodefs"
12251             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"
12252           else
12253             # Determine the default libpath from the value encoded in an
12254             # empty executable.
12255             if test "${lt_cv_aix_libpath+set}" = set; then
12256   aix_libpath=$lt_cv_aix_libpath
12257 else
12258   if ${lt_cv_aix_libpath__CXX+:} false; then :
12259   $as_echo_n "(cached) " >&6
12260 else
12261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h.  */
12265 main ()
12268   ;
12269   return 0;
12271 _ACEOF
12272 if ac_fn_cxx_try_link "$LINENO"; then :
12273   
12274   lt_aix_libpath_sed='
12275       /Import File Strings/,/^$/ {
12276           /^0/ {
12277               s/^0  *\([^ ]*\) *$/\1/
12278               p
12279           }
12280       }'
12281   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12282   # Check for a 64-bit object if we didn't find anything.
12283   if test -z "$lt_cv_aix_libpath__CXX"; then
12284     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12285   fi
12287 rm -f core conftest.err conftest.$ac_objext \
12288     conftest$ac_exeext conftest.$ac_ext
12289   if test -z "$lt_cv_aix_libpath__CXX"; then
12290     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12291   fi
12292   
12295   aix_libpath=$lt_cv_aix_libpath__CXX
12298             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12299             # Warning - without using the other run time loading flags,
12300             # -berok will link without error, but may produce a broken library.
12301             no_undefined_flag_CXX=' ${wl}-bernotok'
12302             allow_undefined_flag_CXX=' ${wl}-berok'
12303             if test "$with_gnu_ld" = yes; then
12304               # We only use this code for GNU lds that support --whole-archive.
12305               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12306             else
12307               # Exported symbols can be pulled into shared objects from archives
12308               whole_archive_flag_spec_CXX='$convenience'
12309             fi
12310             archive_cmds_need_lc_CXX=yes
12311             # This is similar to how AIX traditionally builds its shared
12312             # libraries.
12313             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'
12314           fi
12315         fi
12316         ;;
12318       beos*)
12319         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12320           allow_undefined_flag_CXX=unsupported
12321           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12322           # support --undefined.  This deserves some investigation.  FIXME
12323           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12324         else
12325           ld_shlibs_CXX=no
12326         fi
12327         ;;
12329       chorus*)
12330         case $cc_basename in
12331           *)
12332           # FIXME: insert proper C++ library support
12333           ld_shlibs_CXX=no
12334           ;;
12335         esac
12336         ;;
12338       cygwin* | mingw* | pw32* | cegcc*)
12339         case $GXX,$cc_basename in
12340         ,cl* | no,cl*)
12341           # Native MSVC
12342           # hardcode_libdir_flag_spec is actually meaningless, as there is
12343           # no search path for DLLs.
12344           hardcode_libdir_flag_spec_CXX=' '
12345           allow_undefined_flag_CXX=unsupported
12346           always_export_symbols_CXX=yes
12347           file_list_spec_CXX='@'
12348           # Tell ltmain to make .lib files, not .a files.
12349           libext=lib
12350           # Tell ltmain to make .dll files, not .so files.
12351           shrext_cmds=".dll"
12352           # FIXME: Setting linknames here is a bad hack.
12353           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12354           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12355               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12356             else
12357               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12358             fi~
12359             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12360             linknames='
12361           # The linker will not automatically build a static lib if we build a DLL.
12362           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12363           enable_shared_with_static_runtimes_CXX=yes
12364           # Don't use ranlib
12365           old_postinstall_cmds_CXX='chmod 644 $oldlib'
12366           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12367             lt_tool_outputfile="@TOOL_OUTPUT@"~
12368             case $lt_outputfile in
12369               *.exe|*.EXE) ;;
12370               *)
12371                 lt_outputfile="$lt_outputfile.exe"
12372                 lt_tool_outputfile="$lt_tool_outputfile.exe"
12373                 ;;
12374             esac~
12375             func_to_tool_file "$lt_outputfile"~
12376             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12377               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12378               $RM "$lt_outputfile.manifest";
12379             fi'
12380           ;;
12381         *)
12382           # g++
12383           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12384           # as there is no search path for DLLs.
12385           hardcode_libdir_flag_spec_CXX='-L$libdir'
12386           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12387           allow_undefined_flag_CXX=unsupported
12388           always_export_symbols_CXX=no
12389           enable_shared_with_static_runtimes_CXX=yes
12391           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12392             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'
12393             # If the export-symbols file already is a .def file (1st line
12394             # is EXPORTS), use it as is; otherwise, prepend...
12395             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12396               cp $export_symbols $output_objdir/$soname.def;
12397             else
12398               echo EXPORTS > $output_objdir/$soname.def;
12399               cat $export_symbols >> $output_objdir/$soname.def;
12400             fi~
12401             $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'
12402           else
12403             ld_shlibs_CXX=no
12404           fi
12405           ;;
12406         esac
12407         ;;
12408       darwin* | rhapsody*)
12409         
12410   
12411   archive_cmds_need_lc_CXX=no
12412   hardcode_direct_CXX=no
12413   hardcode_automatic_CXX=yes
12414   hardcode_shlibpath_var_CXX=unsupported
12415   if test "$lt_cv_ld_force_load" = "yes"; then
12416     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\"`'
12417     
12418   else
12419     whole_archive_flag_spec_CXX=''
12420   fi
12421   link_all_deplibs_CXX=yes
12422   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12423   case $cc_basename in
12424      ifort*) _lt_dar_can_shared=yes ;;
12425      *) _lt_dar_can_shared=$GCC ;;
12426   esac
12427   if test "$_lt_dar_can_shared" = "yes"; then
12428     output_verbose_link_cmd=func_echo_all
12429     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}"
12430     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12431     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}"
12432     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}"
12433        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12434       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}"
12435       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}"
12436     fi
12438   else
12439   ld_shlibs_CXX=no
12440   fi
12442         ;;
12444       dgux*)
12445         case $cc_basename in
12446           ec++*)
12447             # FIXME: insert proper C++ library support
12448             ld_shlibs_CXX=no
12449             ;;
12450           ghcx*)
12451             # Green Hills C++ Compiler
12452             # FIXME: insert proper C++ library support
12453             ld_shlibs_CXX=no
12454             ;;
12455           *)
12456             # FIXME: insert proper C++ library support
12457             ld_shlibs_CXX=no
12458             ;;
12459         esac
12460         ;;
12462       freebsd2.*)
12463         # C++ shared libraries reported to be fairly broken before
12464         # switch to ELF
12465         ld_shlibs_CXX=no
12466         ;;
12468       freebsd-elf*)
12469         archive_cmds_need_lc_CXX=no
12470         ;;
12472       freebsd* | dragonfly*)
12473         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12474         # conventions
12475         ld_shlibs_CXX=yes
12476         ;;
12478       gnu*)
12479         ;;
12481       haiku*)
12482         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12483         link_all_deplibs_CXX=yes
12484         ;;
12486       hpux9*)
12487         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12488         hardcode_libdir_separator_CXX=:
12489         export_dynamic_flag_spec_CXX='${wl}-E'
12490         hardcode_direct_CXX=yes
12491         hardcode_minus_L_CXX=yes # Not in the search PATH,
12492                                              # but as the default
12493                                              # location of the library.
12495         case $cc_basename in
12496           CC*)
12497             # FIXME: insert proper C++ library support
12498             ld_shlibs_CXX=no
12499             ;;
12500           aCC*)
12501             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'
12502             # Commands to make compiler produce verbose output that lists
12503             # what "hidden" libraries, object files and flags are used when
12504             # linking a shared library.
12505             #
12506             # There doesn't appear to be a way to prevent this compiler from
12507             # explicitly linking system object files so we need to strip them
12508             # from the output so that they don't get included in the library
12509             # dependencies.
12510             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"'
12511             ;;
12512           *)
12513             if test "$GXX" = yes; then
12514               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'
12515             else
12516               # FIXME: insert proper C++ library support
12517               ld_shlibs_CXX=no
12518             fi
12519             ;;
12520         esac
12521         ;;
12523       hpux10*|hpux11*)
12524         if test $with_gnu_ld = no; then
12525           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12526           hardcode_libdir_separator_CXX=:
12528           case $host_cpu in
12529             hppa*64*|ia64*)
12530               ;;
12531             *)
12532               export_dynamic_flag_spec_CXX='${wl}-E'
12533               ;;
12534           esac
12535         fi
12536         case $host_cpu in
12537           hppa*64*|ia64*)
12538             hardcode_direct_CXX=no
12539             hardcode_shlibpath_var_CXX=no
12540             ;;
12541           *)
12542             hardcode_direct_CXX=yes
12543             hardcode_direct_absolute_CXX=yes
12544             hardcode_minus_L_CXX=yes # Not in the search PATH,
12545                                                  # but as the default
12546                                                  # location of the library.
12547             ;;
12548         esac
12550         case $cc_basename in
12551           CC*)
12552             # FIXME: insert proper C++ library support
12553             ld_shlibs_CXX=no
12554             ;;
12555           aCC*)
12556             case $host_cpu in
12557               hppa*64*)
12558                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12559                 ;;
12560               ia64*)
12561                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12562                 ;;
12563               *)
12564                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12565                 ;;
12566             esac
12567             # Commands to make compiler produce verbose output that lists
12568             # what "hidden" libraries, object files and flags are used when
12569             # linking a shared library.
12570             #
12571             # There doesn't appear to be a way to prevent this compiler from
12572             # explicitly linking system object files so we need to strip them
12573             # from the output so that they don't get included in the library
12574             # dependencies.
12575             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $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"'
12576             ;;
12577           *)
12578             if test "$GXX" = yes; then
12579               if test $with_gnu_ld = no; then
12580                 case $host_cpu in
12581                   hppa*64*)
12582                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12583                     ;;
12584                   ia64*)
12585                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12586                     ;;
12587                   *)
12588                     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'
12589                     ;;
12590                 esac
12591               fi
12592             else
12593               # FIXME: insert proper C++ library support
12594               ld_shlibs_CXX=no
12595             fi
12596             ;;
12597         esac
12598         ;;
12600       interix[3-9]*)
12601         hardcode_direct_CXX=no
12602         hardcode_shlibpath_var_CXX=no
12603         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12604         export_dynamic_flag_spec_CXX='${wl}-E'
12605         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12606         # Instead, shared libraries are loaded at an image base (0x10000000 by
12607         # default) and relocated if they conflict, which is a slow very memory
12608         # consuming and fragmenting process.  To avoid this, we pick a random,
12609         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12610         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12611         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'
12612         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'
12613         ;;
12614       irix5* | irix6*)
12615         case $cc_basename in
12616           CC*)
12617             # SGI C++
12618             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'
12620             # Archives containing C++ object files must be created using
12621             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12622             # necessary to make sure instantiated templates are included
12623             # in the archive.
12624             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12625             ;;
12626           *)
12627             if test "$GXX" = yes; then
12628               if test "$with_gnu_ld" = no; then
12629                 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'
12630               else
12631                 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'
12632               fi
12633             fi
12634             link_all_deplibs_CXX=yes
12635             ;;
12636         esac
12637         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12638         hardcode_libdir_separator_CXX=:
12639         inherit_rpath_CXX=yes
12640         ;;
12642       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12643         case $cc_basename in
12644           KCC*)
12645             # Kuck and Associates, Inc. (KAI) C++ Compiler
12647             # KCC will only create a shared library if the output file
12648             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12649             # to its proper name (with version) after linking.
12650             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'
12651             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'
12652             # Commands to make compiler produce verbose output that lists
12653             # what "hidden" libraries, object files and flags are used when
12654             # linking a shared library.
12655             #
12656             # There doesn't appear to be a way to prevent this compiler from
12657             # explicitly linking system object files so we need to strip them
12658             # from the output so that they don't get included in the library
12659             # dependencies.
12660             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"'
12662             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12663             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12665             # Archives containing C++ object files must be created using
12666             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12667             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12668             ;;
12669           icpc* | ecpc* )
12670             # Intel C++
12671             with_gnu_ld=yes
12672             # version 8.0 and above of icpc choke on multiply defined symbols
12673             # if we add $predep_objects and $postdep_objects, however 7.1 and
12674             # earlier do not add the objects themselves.
12675             case `$CC -V 2>&1` in
12676               *"Version 7."*)
12677                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12678                 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'
12679                 ;;
12680               *)  # Version 8.0 or newer
12681                 tmp_idyn=
12682                 case $host_cpu in
12683                   ia64*) tmp_idyn=' -i_dynamic';;
12684                 esac
12685                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12686                 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'
12687                 ;;
12688             esac
12689             archive_cmds_need_lc_CXX=no
12690             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12691             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12692             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12693             ;;
12694           pgCC* | pgcpp*)
12695             # Portland Group C++ compiler
12696             case `$CC -V` in
12697             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12698               prelink_cmds_CXX='tpldir=Template.dir~
12699                 rm -rf $tpldir~
12700                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12701                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12702               old_archive_cmds_CXX='tpldir=Template.dir~
12703                 rm -rf $tpldir~
12704                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12705                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12706                 $RANLIB $oldlib'
12707               archive_cmds_CXX='tpldir=Template.dir~
12708                 rm -rf $tpldir~
12709                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12710                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12711               archive_expsym_cmds_CXX='tpldir=Template.dir~
12712                 rm -rf $tpldir~
12713                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12714                 $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'
12715               ;;
12716             *) # Version 6 and above use weak symbols
12717               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12718               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'
12719               ;;
12720             esac
12722             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12723             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12724             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'
12725             ;;
12726           cxx*)
12727             # Compaq C++
12728             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12729             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'
12731             runpath_var=LD_RUN_PATH
12732             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12733             hardcode_libdir_separator_CXX=:
12735             # Commands to make compiler produce verbose output that lists
12736             # what "hidden" libraries, object files and flags are used when
12737             # linking a shared library.
12738             #
12739             # There doesn't appear to be a way to prevent this compiler from
12740             # explicitly linking system object files so we need to strip them
12741             # from the output so that they don't get included in the library
12742             # dependencies.
12743             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'
12744             ;;
12745           xl* | mpixl* | bgxl*)
12746             # IBM XL 8.0 on PPC, with GNU ld
12747             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12748             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12749             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12750             if test "x$supports_anon_versioning" = xyes; then
12751               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12752                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12753                 echo "local: *; };" >> $output_objdir/$libname.ver~
12754                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12755             fi
12756             ;;
12757           *)
12758             case `$CC -V 2>&1 | sed 5q` in
12759             *Sun\ C*)
12760               # Sun C++ 5.9
12761               no_undefined_flag_CXX=' -zdefs'
12762               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763               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'
12764               hardcode_libdir_flag_spec_CXX='-R$libdir'
12765               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'
12766               compiler_needs_object_CXX=yes
12768               # Not sure whether something based on
12769               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12770               # would be better.
12771               output_verbose_link_cmd='func_echo_all'
12773               # Archives containing C++ object files must be created using
12774               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12775               # necessary to make sure instantiated templates are included
12776               # in the archive.
12777               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12778               ;;
12779             esac
12780             ;;
12781         esac
12782         ;;
12784       lynxos*)
12785         # FIXME: insert proper C++ library support
12786         ld_shlibs_CXX=no
12787         ;;
12789       m88k*)
12790         # FIXME: insert proper C++ library support
12791         ld_shlibs_CXX=no
12792         ;;
12794       mvs*)
12795         case $cc_basename in
12796           cxx*)
12797             # FIXME: insert proper C++ library support
12798             ld_shlibs_CXX=no
12799             ;;
12800           *)
12801             # FIXME: insert proper C++ library support
12802             ld_shlibs_CXX=no
12803             ;;
12804         esac
12805         ;;
12807       netbsd*)
12808         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12809           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12810           wlarc=
12811           hardcode_libdir_flag_spec_CXX='-R$libdir'
12812           hardcode_direct_CXX=yes
12813           hardcode_shlibpath_var_CXX=no
12814         fi
12815         # Workaround some broken pre-1.5 toolchains
12816         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12817         ;;
12819       *nto* | *qnx*)
12820         ld_shlibs_CXX=yes
12821         ;;
12823       openbsd2*)
12824         # C++ shared libraries are fairly broken
12825         ld_shlibs_CXX=no
12826         ;;
12828       openbsd*)
12829         if test -f /usr/libexec/ld.so; then
12830           hardcode_direct_CXX=yes
12831           hardcode_shlibpath_var_CXX=no
12832           hardcode_direct_absolute_CXX=yes
12833           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12834           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12835           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12836             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12837             export_dynamic_flag_spec_CXX='${wl}-E'
12838             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12839           fi
12840           output_verbose_link_cmd=func_echo_all
12841         else
12842           ld_shlibs_CXX=no
12843         fi
12844         ;;
12846       osf3* | osf4* | osf5*)
12847         case $cc_basename in
12848           KCC*)
12849             # Kuck and Associates, Inc. (KAI) C++ Compiler
12851             # KCC will only create a shared library if the output file
12852             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12853             # to its proper name (with version) after linking.
12854             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'
12856             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12857             hardcode_libdir_separator_CXX=:
12859             # Archives containing C++ object files must be created using
12860             # the KAI C++ compiler.
12861             case $host in
12862               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12863               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12864             esac
12865             ;;
12866           RCC*)
12867             # Rational C++ 2.4.1
12868             # FIXME: insert proper C++ library support
12869             ld_shlibs_CXX=no
12870             ;;
12871           cxx*)
12872             case $host in
12873               osf3*)
12874                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12875                 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'
12876                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12877                 ;;
12878               *)
12879                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12880                 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'
12881                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12882                   echo "-hidden">> $lib.exp~
12883                   $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~
12884                   $RM $lib.exp'
12885                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12886                 ;;
12887             esac
12889             hardcode_libdir_separator_CXX=:
12891             # Commands to make compiler produce verbose output that lists
12892             # what "hidden" libraries, object files and flags are used when
12893             # linking a shared library.
12894             #
12895             # There doesn't appear to be a way to prevent this compiler from
12896             # explicitly linking system object files so we need to strip them
12897             # from the output so that they don't get included in the library
12898             # dependencies.
12899             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"'
12900             ;;
12901           *)
12902             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12903               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12904               case $host in
12905                 osf3*)
12906                   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'
12907                   ;;
12908                 *)
12909                   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'
12910                   ;;
12911               esac
12913               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12914               hardcode_libdir_separator_CXX=:
12916               # Commands to make compiler produce verbose output that lists
12917               # what "hidden" libraries, object files and flags are used when
12918               # linking a shared library.
12919               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12921             else
12922               # FIXME: insert proper C++ library support
12923               ld_shlibs_CXX=no
12924             fi
12925             ;;
12926         esac
12927         ;;
12929       psos*)
12930         # FIXME: insert proper C++ library support
12931         ld_shlibs_CXX=no
12932         ;;
12934       sunos4*)
12935         case $cc_basename in
12936           CC*)
12937             # Sun C++ 4.x
12938             # FIXME: insert proper C++ library support
12939             ld_shlibs_CXX=no
12940             ;;
12941           lcc*)
12942             # Lucid
12943             # FIXME: insert proper C++ library support
12944             ld_shlibs_CXX=no
12945             ;;
12946           *)
12947             # FIXME: insert proper C++ library support
12948             ld_shlibs_CXX=no
12949             ;;
12950         esac
12951         ;;
12953       solaris*)
12954         case $cc_basename in
12955           CC* | sunCC*)
12956             # Sun C++ 4.2, 5.x and Centerline C++
12957             archive_cmds_need_lc_CXX=yes
12958             no_undefined_flag_CXX=' -zdefs'
12959             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12960             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12961               $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'
12963             hardcode_libdir_flag_spec_CXX='-R$libdir'
12964             hardcode_shlibpath_var_CXX=no
12965             case $host_os in
12966               solaris2.[0-5] | solaris2.[0-5].*) ;;
12967               *)
12968                 # The compiler driver will combine and reorder linker options,
12969                 # but understands `-z linker_flag'.
12970                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12971                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12972                 ;;
12973             esac
12974             link_all_deplibs_CXX=yes
12976             output_verbose_link_cmd='func_echo_all'
12978             # Archives containing C++ object files must be created using
12979             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12980             # necessary to make sure instantiated templates are included
12981             # in the archive.
12982             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12983             ;;
12984           gcx*)
12985             # Green Hills C++ Compiler
12986             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12988             # The C++ compiler must be used to create the archive.
12989             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12990             ;;
12991           *)
12992             # GNU C++ compiler with Solaris linker
12993             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12994               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12995               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12996                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12997                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12998                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13000                 # Commands to make compiler produce verbose output that lists
13001                 # what "hidden" libraries, object files and flags are used when
13002                 # linking a shared library.
13003                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13004               else
13005                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13006                 # platform.
13007                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13008                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13009                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13011                 # Commands to make compiler produce verbose output that lists
13012                 # what "hidden" libraries, object files and flags are used when
13013                 # linking a shared library.
13014                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13015               fi
13017               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13018               case $host_os in
13019                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13020                 *)
13021                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13022                   ;;
13023               esac
13024             fi
13025             ;;
13026         esac
13027         ;;
13029     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13030       no_undefined_flag_CXX='${wl}-z,text'
13031       archive_cmds_need_lc_CXX=no
13032       hardcode_shlibpath_var_CXX=no
13033       runpath_var='LD_RUN_PATH'
13035       case $cc_basename in
13036         CC*)
13037           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13038           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13039           ;;
13040         *)
13041           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13042           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13043           ;;
13044       esac
13045       ;;
13047       sysv5* | sco3.2v5* | sco5v6*)
13048         # Note: We can NOT use -z defs as we might desire, because we do not
13049         # link with -lc, and that would cause any symbols used from libc to
13050         # always be unresolved, which means just about no library would
13051         # ever link correctly.  If we're not using GNU ld we use -z text
13052         # though, which does catch some bad symbols but isn't as heavy-handed
13053         # as -z defs.
13054         no_undefined_flag_CXX='${wl}-z,text'
13055         allow_undefined_flag_CXX='${wl}-z,nodefs'
13056         archive_cmds_need_lc_CXX=no
13057         hardcode_shlibpath_var_CXX=no
13058         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13059         hardcode_libdir_separator_CXX=':'
13060         link_all_deplibs_CXX=yes
13061         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13062         runpath_var='LD_RUN_PATH'
13064         case $cc_basename in
13065           CC*)
13066             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13067             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13068             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13069               '"$old_archive_cmds_CXX"
13070             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13071               '"$reload_cmds_CXX"
13072             ;;
13073           *)
13074             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13076             ;;
13077         esac
13078       ;;
13080       tandem*)
13081         case $cc_basename in
13082           NCC*)
13083             # NonStop-UX NCC 3.20
13084             # FIXME: insert proper C++ library support
13085             ld_shlibs_CXX=no
13086             ;;
13087           *)
13088             # FIXME: insert proper C++ library support
13089             ld_shlibs_CXX=no
13090             ;;
13091         esac
13092         ;;
13094       vxworks*)
13095         # FIXME: insert proper C++ library support
13096         ld_shlibs_CXX=no
13097         ;;
13099       *)
13100         # FIXME: insert proper C++ library support
13101         ld_shlibs_CXX=no
13102         ;;
13103     esac
13105     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13106 $as_echo "$ld_shlibs_CXX" >&6; }
13107     test "$ld_shlibs_CXX" = no && can_build_shared=no
13109     GCC_CXX="$GXX"
13110     LD_CXX="$LD"
13112     ## CAVEAT EMPTOR:
13113     ## There is no encapsulation within the following macros, do not change
13114     ## the running order or otherwise move them around unless you know exactly
13115     ## what you are doing...
13116     # Dependencies to place before and after the object being linked:
13117 predep_objects_CXX=
13118 postdep_objects_CXX=
13119 predeps_CXX=
13120 postdeps_CXX=
13121 compiler_lib_search_path_CXX=
13123 cat > conftest.$ac_ext <<_LT_EOF
13124 class Foo
13126 public:
13127   Foo (void) { a = 0; }
13128 private:
13129   int a;
13131 _LT_EOF
13134 _lt_libdeps_save_CFLAGS=$CFLAGS
13135 case "$CC $CFLAGS " in #(
13136 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13137 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13138 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13139 esac
13141 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13142   (eval $ac_compile) 2>&5
13143   ac_status=$?
13144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13145   test $ac_status = 0; }; then
13146   # Parse the compiler output and extract the necessary
13147   # objects, libraries and library flags.
13149   # Sentinel used to keep track of whether or not we are before
13150   # the conftest object file.
13151   pre_test_object_deps_done=no
13153   for p in `eval "$output_verbose_link_cmd"`; do
13154     case ${prev}${p} in
13156     -L* | -R* | -l*)
13157        # Some compilers place space between "-{L,R}" and the path.
13158        # Remove the space.
13159        if test $p = "-L" ||
13160           test $p = "-R"; then
13161          prev=$p
13162          continue
13163        fi
13165        # Expand the sysroot to ease extracting the directories later.
13166        if test -z "$prev"; then
13167          case $p in
13168          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13169          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13170          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13171          esac
13172        fi
13173        case $p in
13174        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13175        esac
13176        if test "$pre_test_object_deps_done" = no; then
13177          case ${prev} in
13178          -L | -R)
13179            # Internal compiler library paths should come after those
13180            # provided the user.  The postdeps already come after the
13181            # user supplied libs so there is no need to process them.
13182            if test -z "$compiler_lib_search_path_CXX"; then
13183              compiler_lib_search_path_CXX="${prev}${p}"
13184            else
13185              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13186            fi
13187            ;;
13188          # The "-l" case would never come before the object being
13189          # linked, so don't bother handling this case.
13190          esac
13191        else
13192          if test -z "$postdeps_CXX"; then
13193            postdeps_CXX="${prev}${p}"
13194          else
13195            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13196          fi
13197        fi
13198        prev=
13199        ;;
13201     *.lto.$objext) ;; # Ignore GCC LTO objects
13202     *.$objext)
13203        # This assumes that the test object file only shows up
13204        # once in the compiler output.
13205        if test "$p" = "conftest.$objext"; then
13206          pre_test_object_deps_done=yes
13207          continue
13208        fi
13210        if test "$pre_test_object_deps_done" = no; then
13211          if test -z "$predep_objects_CXX"; then
13212            predep_objects_CXX="$p"
13213          else
13214            predep_objects_CXX="$predep_objects_CXX $p"
13215          fi
13216        else
13217          if test -z "$postdep_objects_CXX"; then
13218            postdep_objects_CXX="$p"
13219          else
13220            postdep_objects_CXX="$postdep_objects_CXX $p"
13221          fi
13222        fi
13223        ;;
13225     *) ;; # Ignore the rest.
13227     esac
13228   done
13230   # Clean up.
13231   rm -f a.out a.exe
13232 else
13233   echo "libtool.m4: error: problem compiling CXX test program"
13236 $RM -f confest.$objext
13237 CFLAGS=$_lt_libdeps_save_CFLAGS
13239 # PORTME: override above test on systems where it is broken
13240 case $host_os in
13241 interix[3-9]*)
13242   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13243   # hack all around it, let's just trust "g++" to DTRT.
13244   predep_objects_CXX=
13245   postdep_objects_CXX=
13246   postdeps_CXX=
13247   ;;
13249 linux*)
13250   case `$CC -V 2>&1 | sed 5q` in
13251   *Sun\ C*)
13252     # Sun C++ 5.9
13254     # The more standards-conforming stlport4 library is
13255     # incompatible with the Cstd library. Avoid specifying
13256     # it if it's in CXXFLAGS. Ignore libCrun as
13257     # -library=stlport4 depends on it.
13258     case " $CXX $CXXFLAGS " in
13259     *" -library=stlport4 "*)
13260       solaris_use_stlport4=yes
13261       ;;
13262     esac
13264     if test "$solaris_use_stlport4" != yes; then
13265       postdeps_CXX='-library=Cstd -library=Crun'
13266     fi
13267     ;;
13268   esac
13269   ;;
13271 solaris*)
13272   case $cc_basename in
13273   CC* | sunCC*)
13274     # The more standards-conforming stlport4 library is
13275     # incompatible with the Cstd library. Avoid specifying
13276     # it if it's in CXXFLAGS. Ignore libCrun as
13277     # -library=stlport4 depends on it.
13278     case " $CXX $CXXFLAGS " in
13279     *" -library=stlport4 "*)
13280       solaris_use_stlport4=yes
13281       ;;
13282     esac
13284     # Adding this requires a known-good setup of shared libraries for
13285     # Sun compiler versions before 5.6, else PIC objects from an old
13286     # archive will be linked into the output, leading to subtle bugs.
13287     if test "$solaris_use_stlport4" != yes; then
13288       postdeps_CXX='-library=Cstd -library=Crun'
13289     fi
13290     ;;
13291   esac
13292   ;;
13293 esac
13296 case " $postdeps_CXX " in
13297 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13298 esac
13299  compiler_lib_search_dirs_CXX=
13300 if test -n "${compiler_lib_search_path_CXX}"; then
13301  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13304     
13305     
13306     
13309     
13310     
13311     
13314     
13315     
13316     
13319     
13320     
13321     
13324     
13325     
13326     
13329     
13330     
13331     
13334     lt_prog_compiler_wl_CXX=
13335 lt_prog_compiler_pic_CXX=
13336 lt_prog_compiler_static_CXX=
13339   # C++ specific cases for pic, static, wl, etc.
13340   if test "$GXX" = yes; then
13341     lt_prog_compiler_wl_CXX='-Wl,'
13342     lt_prog_compiler_static_CXX='-static'
13344     case $host_os in
13345     aix*)
13346       # All AIX code is PIC.
13347       if test "$host_cpu" = ia64; then
13348         # AIX 5 now supports IA64 processor
13349         lt_prog_compiler_static_CXX='-Bstatic'
13350       fi
13351       ;;
13353     amigaos*)
13354       case $host_cpu in
13355       powerpc)
13356             # see comment about AmigaOS4 .so support
13357             lt_prog_compiler_pic_CXX='-fPIC'
13358         ;;
13359       m68k)
13360             # FIXME: we need at least 68020 code to build shared libraries, but
13361             # adding the `-m68020' flag to GCC prevents building anything better,
13362             # like `-m68040'.
13363             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13364         ;;
13365       esac
13366       ;;
13368     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13369       # PIC is the default for these OSes.
13370       ;;
13371     mingw* | cygwin* | os2* | pw32* | cegcc*)
13372       # This hack is so that the source file can tell whether it is being
13373       # built for inclusion in a dll (and should export symbols for example).
13374       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13375       # (--disable-auto-import) libraries
13376       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13377       ;;
13378     darwin* | rhapsody*)
13379       # PIC is the default on this platform
13380       # Common symbols not allowed in MH_DYLIB files
13381       lt_prog_compiler_pic_CXX='-fno-common'
13382       ;;
13383     *djgpp*)
13384       # DJGPP does not support shared libraries at all
13385       lt_prog_compiler_pic_CXX=
13386       ;;
13387     haiku*)
13388       # PIC is the default for Haiku.
13389       # The "-static" flag exists, but is broken.
13390       lt_prog_compiler_static_CXX=
13391       ;;
13392     interix[3-9]*)
13393       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13394       # Instead, we relocate shared libraries at runtime.
13395       ;;
13396     sysv4*MP*)
13397       if test -d /usr/nec; then
13398         lt_prog_compiler_pic_CXX=-Kconform_pic
13399       fi
13400       ;;
13401     hpux*)
13402       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13403       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13404       # sets the default TLS model and affects inlining.
13405       case $host_cpu in
13406       hppa*64*)
13407         ;;
13408       *)
13409         lt_prog_compiler_pic_CXX='-fPIC'
13410         ;;
13411       esac
13412       ;;
13413     *qnx* | *nto*)
13414       # QNX uses GNU C++, but need to define -shared option too, otherwise
13415       # it will coredump.
13416       lt_prog_compiler_pic_CXX='-fPIC -shared'
13417       ;;
13418     *)
13419       lt_prog_compiler_pic_CXX='-fPIC'
13420       ;;
13421     esac
13422   else
13423     case $host_os in
13424       aix[4-9]*)
13425         # All AIX code is PIC.
13426         if test "$host_cpu" = ia64; then
13427           # AIX 5 now supports IA64 processor
13428           lt_prog_compiler_static_CXX='-Bstatic'
13429         else
13430           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13431         fi
13432         ;;
13433       chorus*)
13434         case $cc_basename in
13435         cxch68*)
13436           # Green Hills C++ Compiler
13437           # _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"
13438           ;;
13439         esac
13440         ;;
13441       mingw* | cygwin* | os2* | pw32* | cegcc*)
13442         # This hack is so that the source file can tell whether it is being
13443         # built for inclusion in a dll (and should export symbols for example).
13444         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13445         ;;
13446       dgux*)
13447         case $cc_basename in
13448           ec++*)
13449             lt_prog_compiler_pic_CXX='-KPIC'
13450             ;;
13451           ghcx*)
13452             # Green Hills C++ Compiler
13453             lt_prog_compiler_pic_CXX='-pic'
13454             ;;
13455           *)
13456             ;;
13457         esac
13458         ;;
13459       freebsd* | dragonfly*)
13460         # FreeBSD uses GNU C++
13461         ;;
13462       hpux9* | hpux10* | hpux11*)
13463         case $cc_basename in
13464           CC*)
13465             lt_prog_compiler_wl_CXX='-Wl,'
13466             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13467             if test "$host_cpu" != ia64; then
13468               lt_prog_compiler_pic_CXX='+Z'
13469             fi
13470             ;;
13471           aCC*)
13472             lt_prog_compiler_wl_CXX='-Wl,'
13473             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13474             case $host_cpu in
13475             hppa*64*|ia64*)
13476               # +Z the default
13477               ;;
13478             *)
13479               lt_prog_compiler_pic_CXX='+Z'
13480               ;;
13481             esac
13482             ;;
13483           *)
13484             ;;
13485         esac
13486         ;;
13487       interix*)
13488         # This is c89, which is MS Visual C++ (no shared libs)
13489         # Anyone wants to do a port?
13490         ;;
13491       irix5* | irix6* | nonstopux*)
13492         case $cc_basename in
13493           CC*)
13494             lt_prog_compiler_wl_CXX='-Wl,'
13495             lt_prog_compiler_static_CXX='-non_shared'
13496             # CC pic flag -KPIC is the default.
13497             ;;
13498           *)
13499             ;;
13500         esac
13501         ;;
13502       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13503         case $cc_basename in
13504           KCC*)
13505             # KAI C++ Compiler
13506             lt_prog_compiler_wl_CXX='--backend -Wl,'
13507             lt_prog_compiler_pic_CXX='-fPIC'
13508             ;;
13509           ecpc* )
13510             # old Intel C++ for x86_64 which still supported -KPIC.
13511             lt_prog_compiler_wl_CXX='-Wl,'
13512             lt_prog_compiler_pic_CXX='-KPIC'
13513             lt_prog_compiler_static_CXX='-static'
13514             ;;
13515           icpc* )
13516             # Intel C++, used to be incompatible with GCC.
13517             # ICC 10 doesn't accept -KPIC any more.
13518             lt_prog_compiler_wl_CXX='-Wl,'
13519             lt_prog_compiler_pic_CXX='-fPIC'
13520             lt_prog_compiler_static_CXX='-static'
13521             ;;
13522           pgCC* | pgcpp*)
13523             # Portland Group C++ compiler
13524             lt_prog_compiler_wl_CXX='-Wl,'
13525             lt_prog_compiler_pic_CXX='-fpic'
13526             lt_prog_compiler_static_CXX='-Bstatic'
13527             ;;
13528           cxx*)
13529             # Compaq C++
13530             # Make sure the PIC flag is empty.  It appears that all Alpha
13531             # Linux and Compaq Tru64 Unix objects are PIC.
13532             lt_prog_compiler_pic_CXX=
13533             lt_prog_compiler_static_CXX='-non_shared'
13534             ;;
13535           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13536             # IBM XL 8.0, 9.0 on PPC and BlueGene
13537             lt_prog_compiler_wl_CXX='-Wl,'
13538             lt_prog_compiler_pic_CXX='-qpic'
13539             lt_prog_compiler_static_CXX='-qstaticlink'
13540             ;;
13541           *)
13542             case `$CC -V 2>&1 | sed 5q` in
13543             *Sun\ C*)
13544               # Sun C++ 5.9
13545               lt_prog_compiler_pic_CXX='-KPIC'
13546               lt_prog_compiler_static_CXX='-Bstatic'
13547               lt_prog_compiler_wl_CXX='-Qoption ld '
13548               ;;
13549             esac
13550             ;;
13551         esac
13552         ;;
13553       lynxos*)
13554         ;;
13555       m88k*)
13556         ;;
13557       mvs*)
13558         case $cc_basename in
13559           cxx*)
13560             lt_prog_compiler_pic_CXX='-W c,exportall'
13561             ;;
13562           *)
13563             ;;
13564         esac
13565         ;;
13566       netbsd* | netbsdelf*-gnu)
13567         ;;
13568       *qnx* | *nto*)
13569         # QNX uses GNU C++, but need to define -shared option too, otherwise
13570         # it will coredump.
13571         lt_prog_compiler_pic_CXX='-fPIC -shared'
13572         ;;
13573       osf3* | osf4* | osf5*)
13574         case $cc_basename in
13575           KCC*)
13576             lt_prog_compiler_wl_CXX='--backend -Wl,'
13577             ;;
13578           RCC*)
13579             # Rational C++ 2.4.1
13580             lt_prog_compiler_pic_CXX='-pic'
13581             ;;
13582           cxx*)
13583             # Digital/Compaq C++
13584             lt_prog_compiler_wl_CXX='-Wl,'
13585             # Make sure the PIC flag is empty.  It appears that all Alpha
13586             # Linux and Compaq Tru64 Unix objects are PIC.
13587             lt_prog_compiler_pic_CXX=
13588             lt_prog_compiler_static_CXX='-non_shared'
13589             ;;
13590           *)
13591             ;;
13592         esac
13593         ;;
13594       psos*)
13595         ;;
13596       solaris*)
13597         case $cc_basename in
13598           CC* | sunCC*)
13599             # Sun C++ 4.2, 5.x and Centerline C++
13600             lt_prog_compiler_pic_CXX='-KPIC'
13601             lt_prog_compiler_static_CXX='-Bstatic'
13602             lt_prog_compiler_wl_CXX='-Qoption ld '
13603             ;;
13604           gcx*)
13605             # Green Hills C++ Compiler
13606             lt_prog_compiler_pic_CXX='-PIC'
13607             ;;
13608           *)
13609             ;;
13610         esac
13611         ;;
13612       sunos4*)
13613         case $cc_basename in
13614           CC*)
13615             # Sun C++ 4.x
13616             lt_prog_compiler_pic_CXX='-pic'
13617             lt_prog_compiler_static_CXX='-Bstatic'
13618             ;;
13619           lcc*)
13620             # Lucid
13621             lt_prog_compiler_pic_CXX='-pic'
13622             ;;
13623           *)
13624             ;;
13625         esac
13626         ;;
13627       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13628         case $cc_basename in
13629           CC*)
13630             lt_prog_compiler_wl_CXX='-Wl,'
13631             lt_prog_compiler_pic_CXX='-KPIC'
13632             lt_prog_compiler_static_CXX='-Bstatic'
13633             ;;
13634         esac
13635         ;;
13636       tandem*)
13637         case $cc_basename in
13638           NCC*)
13639             # NonStop-UX NCC 3.20
13640             lt_prog_compiler_pic_CXX='-KPIC'
13641             ;;
13642           *)
13643             ;;
13644         esac
13645         ;;
13646       vxworks*)
13647         ;;
13648       *)
13649         lt_prog_compiler_can_build_shared_CXX=no
13650         ;;
13651     esac
13652   fi
13654 case $host_os in
13655   # For platforms which do not support PIC, -DPIC is meaningless:
13656   *djgpp*)
13657     lt_prog_compiler_pic_CXX=
13658     ;;
13659   *)
13660     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13661     ;;
13662 esac
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13665 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13666 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13667   $as_echo_n "(cached) " >&6
13668 else
13669   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13672 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13673 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13676 # Check to make sure the PIC flag actually works.
13678 if test -n "$lt_prog_compiler_pic_CXX"; then
13679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13680 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13681 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13682   $as_echo_n "(cached) " >&6
13683 else
13684   lt_cv_prog_compiler_pic_works_CXX=no
13685    ac_outfile=conftest.$ac_objext
13686    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13687    lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13688    # Insert the option either (1) after the last *FLAGS variable, or
13689    # (2) before a word containing "conftest.", or (3) at the end.
13690    # Note that $ac_compile itself does not contain backslashes and begins
13691    # with a dollar sign (not a hyphen), so the echo should work correctly.
13692    # The option is referenced via a variable to avoid confusing sed.
13693    lt_compile=`echo "$ac_compile" | $SED \
13694    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13695    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13696    -e 's:$: $lt_compiler_flag:'`
13697    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13698    (eval "$lt_compile" 2>conftest.err)
13699    ac_status=$?
13700    cat conftest.err >&5
13701    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702    if (exit $ac_status) && test -s "$ac_outfile"; then
13703      # The compiler can only warn and ignore the option if not recognized
13704      # So say no if there are warnings other than the usual output.
13705      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13706      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13707      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13708        lt_cv_prog_compiler_pic_works_CXX=yes
13709      fi
13710    fi
13711    $RM conftest*
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13715 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13717 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13718     case $lt_prog_compiler_pic_CXX in
13719      "" | " "*) ;;
13720      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13721      esac
13722 else
13723     lt_prog_compiler_pic_CXX=
13724      lt_prog_compiler_can_build_shared_CXX=no
13734 # Check to make sure the static flag actually works.
13736 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13738 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13739 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13740   $as_echo_n "(cached) " >&6
13741 else
13742   lt_cv_prog_compiler_static_works_CXX=no
13743    save_LDFLAGS="$LDFLAGS"
13744    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13745    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13746    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13747      # The linker can only warn and ignore the option if not recognized
13748      # So say no if there are warnings
13749      if test -s conftest.err; then
13750        # Append any errors to the config.log.
13751        cat conftest.err 1>&5
13752        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13753        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13754        if diff conftest.exp conftest.er2 >/dev/null; then
13755          lt_cv_prog_compiler_static_works_CXX=yes
13756        fi
13757      else
13758        lt_cv_prog_compiler_static_works_CXX=yes
13759      fi
13760    fi
13761    $RM -r conftest*
13762    LDFLAGS="$save_LDFLAGS"
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13766 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13768 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13769     :
13770 else
13771     lt_prog_compiler_static_CXX=
13777     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13778 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13779 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13780   $as_echo_n "(cached) " >&6
13781 else
13782   lt_cv_prog_compiler_c_o_CXX=no
13783    $RM -r conftest 2>/dev/null
13784    mkdir conftest
13785    cd conftest
13786    mkdir out
13787    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13789    lt_compiler_flag="-o out/conftest2.$ac_objext"
13790    # Insert the option either (1) after the last *FLAGS variable, or
13791    # (2) before a word containing "conftest.", or (3) at the end.
13792    # Note that $ac_compile itself does not contain backslashes and begins
13793    # with a dollar sign (not a hyphen), so the echo should work correctly.
13794    lt_compile=`echo "$ac_compile" | $SED \
13795    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13796    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13797    -e 's:$: $lt_compiler_flag:'`
13798    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13799    (eval "$lt_compile" 2>out/conftest.err)
13800    ac_status=$?
13801    cat out/conftest.err >&5
13802    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13804    then
13805      # The compiler can only warn and ignore the option if not recognized
13806      # So say no if there are warnings
13807      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13808      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13809      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13810        lt_cv_prog_compiler_c_o_CXX=yes
13811      fi
13812    fi
13813    chmod u+w . 2>&5
13814    $RM conftest*
13815    # SGI C++ compiler will create directory out/ii_files/ for
13816    # template instantiation
13817    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13818    $RM out/* && rmdir out
13819    cd ..
13820    $RM -r conftest
13821    $RM conftest*
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13825 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13829     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13830 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13831 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13832   $as_echo_n "(cached) " >&6
13833 else
13834   lt_cv_prog_compiler_c_o_CXX=no
13835    $RM -r conftest 2>/dev/null
13836    mkdir conftest
13837    cd conftest
13838    mkdir out
13839    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13841    lt_compiler_flag="-o out/conftest2.$ac_objext"
13842    # Insert the option either (1) after the last *FLAGS variable, or
13843    # (2) before a word containing "conftest.", or (3) at the end.
13844    # Note that $ac_compile itself does not contain backslashes and begins
13845    # with a dollar sign (not a hyphen), so the echo should work correctly.
13846    lt_compile=`echo "$ac_compile" | $SED \
13847    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13848    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13849    -e 's:$: $lt_compiler_flag:'`
13850    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13851    (eval "$lt_compile" 2>out/conftest.err)
13852    ac_status=$?
13853    cat out/conftest.err >&5
13854    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13856    then
13857      # The compiler can only warn and ignore the option if not recognized
13858      # So say no if there are warnings
13859      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13860      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13861      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13862        lt_cv_prog_compiler_c_o_CXX=yes
13863      fi
13864    fi
13865    chmod u+w . 2>&5
13866    $RM conftest*
13867    # SGI C++ compiler will create directory out/ii_files/ for
13868    # template instantiation
13869    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13870    $RM out/* && rmdir out
13871    cd ..
13872    $RM -r conftest
13873    $RM conftest*
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13877 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13882 hard_links="nottested"
13883 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13884   # do not overwrite the value of need_locks provided by the user
13885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13886 $as_echo_n "checking if we can lock with hard links... " >&6; }
13887   hard_links=yes
13888   $RM conftest*
13889   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13890   touch conftest.a
13891   ln conftest.a conftest.b 2>&5 || hard_links=no
13892   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13894 $as_echo "$hard_links" >&6; }
13895   if test "$hard_links" = no; then
13896     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13897 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13898     need_locks=warn
13899   fi
13900 else
13901   need_locks=no
13906     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13907 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13909   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13910   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13911   case $host_os in
13912   aix[4-9]*)
13913     # If we're using GNU nm, then we don't want the "-C" option.
13914     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13915     # Also, AIX nm treats weak defined symbols like other global defined
13916     # symbols, whereas GNU nm marks them as "W".
13917     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13918       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'
13919     else
13920       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'
13921     fi
13922     ;;
13923   pw32*)
13924     export_symbols_cmds_CXX="$ltdll_cmds"
13925     ;;
13926   cygwin* | mingw* | cegcc*)
13927     case $cc_basename in
13928     cl*)
13929       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
13930       ;;
13931     *)
13932       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'
13933       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13934       ;;
13935     esac
13936     ;;
13937   linux* | k*bsd*-gnu | gnu*)
13938     link_all_deplibs_CXX=no
13939     ;;
13940   *)
13941     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13942     ;;
13943   esac
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13946 $as_echo "$ld_shlibs_CXX" >&6; }
13947 test "$ld_shlibs_CXX" = no && can_build_shared=no
13949 with_gnu_ld_CXX=$with_gnu_ld
13957 # Do we need to explicitly link libc?
13959 case "x$archive_cmds_need_lc_CXX" in
13960 x|xyes)
13961   # Assume -lc should be added
13962   archive_cmds_need_lc_CXX=yes
13964   if test "$enable_shared" = yes && test "$GCC" = yes; then
13965     case $archive_cmds_CXX in
13966     *'~'*)
13967       # FIXME: we may have to deal with multi-command sequences.
13968       ;;
13969     '$CC '*)
13970       # Test whether the compiler implicitly links with -lc since on some
13971       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13972       # to ld, don't add -lc before -lgcc.
13973       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13974 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13975 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
13976   $as_echo_n "(cached) " >&6
13977 else
13978   $RM conftest*
13979         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13981         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13982   (eval $ac_compile) 2>&5
13983   ac_status=$?
13984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13985   test $ac_status = 0; } 2>conftest.err; then
13986           soname=conftest
13987           lib=conftest
13988           libobjs=conftest.$ac_objext
13989           deplibs=
13990           wl=$lt_prog_compiler_wl_CXX
13991           pic_flag=$lt_prog_compiler_pic_CXX
13992           compiler_flags=-v
13993           linker_flags=-v
13994           verstring=
13995           output_objdir=.
13996           libname=conftest
13997           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13998           allow_undefined_flag_CXX=
13999           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14000   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14001   ac_status=$?
14002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14003   test $ac_status = 0; }
14004           then
14005             lt_cv_archive_cmds_need_lc_CXX=no
14006           else
14007             lt_cv_archive_cmds_need_lc_CXX=yes
14008           fi
14009           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14010         else
14011           cat conftest.err 1>&5
14012         fi
14013         $RM conftest*
14014         
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14017 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14018       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14019       ;;
14020     esac
14021   fi
14022   ;;
14023 esac
14086     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14087 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14089 library_names_spec=
14090 libname_spec='lib$name'
14091 soname_spec=
14092 shrext_cmds=".so"
14093 postinstall_cmds=
14094 postuninstall_cmds=
14095 finish_cmds=
14096 finish_eval=
14097 shlibpath_var=
14098 shlibpath_overrides_runpath=unknown
14099 version_type=none
14100 dynamic_linker="$host_os ld.so"
14101 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14102 need_lib_prefix=unknown
14103 hardcode_into_libs=no
14105 # when you set need_version to no, make sure it does not cause -set_version
14106 # flags to be left without arguments
14107 need_version=unknown
14109 case $host_os in
14110 aix3*)
14111   version_type=linux # correct to gnu/linux during the next big refactor
14112   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14113   shlibpath_var=LIBPATH
14115   # AIX 3 has no versioning support, so we append a major version to the name.
14116   soname_spec='${libname}${release}${shared_ext}$major'
14117   ;;
14119 aix[4-9]*)
14120   version_type=linux # correct to gnu/linux during the next big refactor
14121   need_lib_prefix=no
14122   need_version=no
14123   hardcode_into_libs=yes
14124   if test "$host_cpu" = ia64; then
14125     # AIX 5 supports IA64
14126     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14127     shlibpath_var=LD_LIBRARY_PATH
14128   else
14129     # With GCC up to 2.95.x, collect2 would create an import file
14130     # for dependence libraries.  The import file would start with
14131     # the line `#! .'.  This would cause the generated library to
14132     # depend on `.', always an invalid library.  This was fixed in
14133     # development snapshots of GCC prior to 3.0.
14134     case $host_os in
14135       aix4 | aix4.[01] | aix4.[01].*)
14136       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14137            echo ' yes '
14138            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14139         :
14140       else
14141         can_build_shared=no
14142       fi
14143       ;;
14144     esac
14145     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14146     # soname into executable. Probably we can add versioning support to
14147     # collect2, so additional links can be useful in future.
14148     if test "$aix_use_runtimelinking" = yes; then
14149       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14150       # instead of lib<name>.a to let people know that these are not
14151       # typical AIX shared libraries.
14152       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14153     else
14154       # We preserve .a as extension for shared libraries through AIX4.2
14155       # and later when we are not doing run time linking.
14156       library_names_spec='${libname}${release}.a $libname.a'
14157       soname_spec='${libname}${release}${shared_ext}$major'
14158     fi
14159     shlibpath_var=LIBPATH
14160   fi
14161   ;;
14163 amigaos*)
14164   case $host_cpu in
14165   powerpc)
14166     # Since July 2007 AmigaOS4 officially supports .so libraries.
14167     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14168     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14169     ;;
14170   m68k)
14171     library_names_spec='$libname.ixlibrary $libname.a'
14172     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14173     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'
14174     ;;
14175   esac
14176   ;;
14178 beos*)
14179   library_names_spec='${libname}${shared_ext}'
14180   dynamic_linker="$host_os ld.so"
14181   shlibpath_var=LIBRARY_PATH
14182   ;;
14184 bsdi[45]*)
14185   version_type=linux # correct to gnu/linux during the next big refactor
14186   need_version=no
14187   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14188   soname_spec='${libname}${release}${shared_ext}$major'
14189   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14190   shlibpath_var=LD_LIBRARY_PATH
14191   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14192   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14193   # the default ld.so.conf also contains /usr/contrib/lib and
14194   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14195   # libtool to hard-code these into programs
14196   ;;
14198 cygwin* | mingw* | pw32* | cegcc*)
14199   version_type=windows
14200   shrext_cmds=".dll"
14201   need_version=no
14202   need_lib_prefix=no
14204   case $GCC,$cc_basename in
14205   yes,*)
14206     # gcc
14207     library_names_spec='$libname.dll.a'
14208     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14209     postinstall_cmds='base_file=`basename \${file}`~
14210       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14211       dldir=$destdir/`dirname \$dlpath`~
14212       test -d \$dldir || mkdir -p \$dldir~
14213       $install_prog $dir/$dlname \$dldir/$dlname~
14214       chmod a+x \$dldir/$dlname~
14215       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14216         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14217       fi'
14218     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14219       dlpath=$dir/\$dldll~
14220        $RM \$dlpath'
14221     shlibpath_overrides_runpath=yes
14223     case $host_os in
14224     cygwin*)
14225       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14226       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14228       ;;
14229     mingw* | cegcc*)
14230       # MinGW DLLs use traditional 'lib' prefix
14231       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14232       ;;
14233     pw32*)
14234       # pw32 DLLs use 'pw' prefix rather than 'lib'
14235       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14236       ;;
14237     esac
14238     dynamic_linker='Win32 ld.exe'
14239     ;;
14241   *,cl*)
14242     # Native MSVC
14243     libname_spec='$name'
14244     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14245     library_names_spec='${libname}.dll.lib'
14247     case $build_os in
14248     mingw*)
14249       sys_lib_search_path_spec=
14250       lt_save_ifs=$IFS
14251       IFS=';'
14252       for lt_path in $LIB
14253       do
14254         IFS=$lt_save_ifs
14255         # Let DOS variable expansion print the short 8.3 style file name.
14256         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14257         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14258       done
14259       IFS=$lt_save_ifs
14260       # Convert to MSYS style.
14261       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14262       ;;
14263     cygwin*)
14264       # Convert to unix form, then to dos form, then back to unix form
14265       # but this time dos style (no spaces!) so that the unix form looks
14266       # like /cygdrive/c/PROGRA~1:/cygdr...
14267       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14268       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14269       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14270       ;;
14271     *)
14272       sys_lib_search_path_spec="$LIB"
14273       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14274         # It is most probably a Windows format PATH.
14275         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14276       else
14277         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14278       fi
14279       # FIXME: find the short name or the path components, as spaces are
14280       # common. (e.g. "Program Files" -> "PROGRA~1")
14281       ;;
14282     esac
14284     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14285     postinstall_cmds='base_file=`basename \${file}`~
14286       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14287       dldir=$destdir/`dirname \$dlpath`~
14288       test -d \$dldir || mkdir -p \$dldir~
14289       $install_prog $dir/$dlname \$dldir/$dlname'
14290     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14291       dlpath=$dir/\$dldll~
14292        $RM \$dlpath'
14293     shlibpath_overrides_runpath=yes
14294     dynamic_linker='Win32 link.exe'
14295     ;;
14297   *)
14298     # Assume MSVC wrapper
14299     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14300     dynamic_linker='Win32 ld.exe'
14301     ;;
14302   esac
14303   # FIXME: first we should search . and the directory the executable is in
14304   shlibpath_var=PATH
14305   ;;
14307 darwin* | rhapsody*)
14308   dynamic_linker="$host_os dyld"
14309   version_type=darwin
14310   need_lib_prefix=no
14311   need_version=no
14312   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14313   soname_spec='${libname}${release}${major}$shared_ext'
14314   shlibpath_overrides_runpath=yes
14315   shlibpath_var=DYLD_LIBRARY_PATH
14316   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14318   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14319   ;;
14321 dgux*)
14322   version_type=linux # correct to gnu/linux during the next big refactor
14323   need_lib_prefix=no
14324   need_version=no
14325   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14326   soname_spec='${libname}${release}${shared_ext}$major'
14327   shlibpath_var=LD_LIBRARY_PATH
14328   ;;
14330 freebsd* | dragonfly*)
14331   # DragonFly does not have aout.  When/if they implement a new
14332   # versioning mechanism, adjust this.
14333   if test -x /usr/bin/objformat; then
14334     objformat=`/usr/bin/objformat`
14335   else
14336     case $host_os in
14337     freebsd[23].*) objformat=aout ;;
14338     *) objformat=elf ;;
14339     esac
14340   fi
14341   version_type=freebsd-$objformat
14342   case $version_type in
14343     freebsd-elf*)
14344       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14345       need_version=no
14346       need_lib_prefix=no
14347       ;;
14348     freebsd-*)
14349       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14350       need_version=yes
14351       ;;
14352   esac
14353   shlibpath_var=LD_LIBRARY_PATH
14354   case $host_os in
14355   freebsd2.*)
14356     shlibpath_overrides_runpath=yes
14357     ;;
14358   freebsd3.[01]* | freebsdelf3.[01]*)
14359     shlibpath_overrides_runpath=yes
14360     hardcode_into_libs=yes
14361     ;;
14362   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14363   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14364     shlibpath_overrides_runpath=no
14365     hardcode_into_libs=yes
14366     ;;
14367   *) # from 4.6 on, and DragonFly
14368     shlibpath_overrides_runpath=yes
14369     hardcode_into_libs=yes
14370     ;;
14371   esac
14372   ;;
14374 gnu*)
14375   version_type=linux # correct to gnu/linux during the next big refactor
14376   need_lib_prefix=no
14377   need_version=no
14378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14379   soname_spec='${libname}${release}${shared_ext}$major'
14380   shlibpath_var=LD_LIBRARY_PATH
14381   shlibpath_overrides_runpath=no
14382   hardcode_into_libs=yes
14383   ;;
14385 haiku*)
14386   version_type=linux # correct to gnu/linux during the next big refactor
14387   need_lib_prefix=no
14388   need_version=no
14389   dynamic_linker="$host_os runtime_loader"
14390   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14391   soname_spec='${libname}${release}${shared_ext}$major'
14392   shlibpath_var=LIBRARY_PATH
14393   shlibpath_overrides_runpath=yes
14394   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14395   hardcode_into_libs=yes
14396   ;;
14398 hpux9* | hpux10* | hpux11*)
14399   # Give a soname corresponding to the major version so that dld.sl refuses to
14400   # link against other versions.
14401   version_type=sunos
14402   need_lib_prefix=no
14403   need_version=no
14404   case $host_cpu in
14405   ia64*)
14406     shrext_cmds='.so'
14407     hardcode_into_libs=yes
14408     dynamic_linker="$host_os dld.so"
14409     shlibpath_var=LD_LIBRARY_PATH
14410     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14411     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412     soname_spec='${libname}${release}${shared_ext}$major'
14413     if test "X$HPUX_IA64_MODE" = X32; then
14414       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14415     else
14416       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14417     fi
14418     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14419     ;;
14420   hppa*64*)
14421     shrext_cmds='.sl'
14422     hardcode_into_libs=yes
14423     dynamic_linker="$host_os dld.sl"
14424     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14425     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14426     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14427     soname_spec='${libname}${release}${shared_ext}$major'
14428     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14429     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14430     ;;
14431   *)
14432     shrext_cmds='.sl'
14433     dynamic_linker="$host_os dld.sl"
14434     shlibpath_var=SHLIB_PATH
14435     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14436     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437     soname_spec='${libname}${release}${shared_ext}$major'
14438     ;;
14439   esac
14440   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14441   postinstall_cmds='chmod 555 $lib'
14442   # or fails outright, so override atomically:
14443   install_override_mode=555
14444   ;;
14446 interix[3-9]*)
14447   version_type=linux # correct to gnu/linux during the next big refactor
14448   need_lib_prefix=no
14449   need_version=no
14450   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14451   soname_spec='${libname}${release}${shared_ext}$major'
14452   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14453   shlibpath_var=LD_LIBRARY_PATH
14454   shlibpath_overrides_runpath=no
14455   hardcode_into_libs=yes
14456   ;;
14458 irix5* | irix6* | nonstopux*)
14459   case $host_os in
14460     nonstopux*) version_type=nonstopux ;;
14461     *)
14462         if test "$lt_cv_prog_gnu_ld" = yes; then
14463                 version_type=linux # correct to gnu/linux during the next big refactor
14464         else
14465                 version_type=irix
14466         fi ;;
14467   esac
14468   need_lib_prefix=no
14469   need_version=no
14470   soname_spec='${libname}${release}${shared_ext}$major'
14471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14472   case $host_os in
14473   irix5* | nonstopux*)
14474     libsuff= shlibsuff=
14475     ;;
14476   *)
14477     case $LD in # libtool.m4 will add one of these switches to LD
14478     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14479       libsuff= shlibsuff= libmagic=32-bit;;
14480     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14481       libsuff=32 shlibsuff=N32 libmagic=N32;;
14482     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14483       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14484     *) libsuff= shlibsuff= libmagic=never-match;;
14485     esac
14486     ;;
14487   esac
14488   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14489   shlibpath_overrides_runpath=no
14490   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14491   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14492   hardcode_into_libs=yes
14493   ;;
14495 # No shared lib support for Linux oldld, aout, or coff.
14496 linux*oldld* | linux*aout* | linux*coff*)
14497   dynamic_linker=no
14498   ;;
14500 # This must be glibc/ELF.
14501 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14502   version_type=linux # correct to gnu/linux during the next big refactor
14503   need_lib_prefix=no
14504   need_version=no
14505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14506   soname_spec='${libname}${release}${shared_ext}$major'
14507   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14508   shlibpath_var=LD_LIBRARY_PATH
14509   shlibpath_overrides_runpath=no
14511   # Some binutils ld are patched to set DT_RUNPATH
14512   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14513   $as_echo_n "(cached) " >&6
14514 else
14515   lt_cv_shlibpath_overrides_runpath=no
14516     save_LDFLAGS=$LDFLAGS
14517     save_libdir=$libdir
14518     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14519          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14520     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h.  */
14524 main ()
14527   ;
14528   return 0;
14530 _ACEOF
14531 if ac_fn_cxx_try_link "$LINENO"; then :
14532   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14533   lt_cv_shlibpath_overrides_runpath=yes
14536 rm -f core conftest.err conftest.$ac_objext \
14537     conftest$ac_exeext conftest.$ac_ext
14538     LDFLAGS=$save_LDFLAGS
14539     libdir=$save_libdir
14540     
14543   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14545   # This implies no fast_install, which is unacceptable.
14546   # Some rework will be needed to allow for fast_install
14547   # before this can be enabled.
14548   hardcode_into_libs=yes
14550   # Append ld.so.conf contents to the search path
14551   if test -f /etc/ld.so.conf; then
14552     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' ' '`
14553     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14554   fi
14556   # We used to test for /lib/ld.so.1 and disable shared libraries on
14557   # powerpc, because MkLinux only supported shared libraries with the
14558   # GNU dynamic linker.  Since this was broken with cross compilers,
14559   # most powerpc-linux boxes support dynamic linking these days and
14560   # people can always --disable-shared, the test was removed, and we
14561   # assume the GNU/Linux dynamic linker is in use.
14562   dynamic_linker='GNU/Linux ld.so'
14563   ;;
14565 netbsdelf*-gnu)
14566   version_type=linux
14567   need_lib_prefix=no
14568   need_version=no
14569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570   soname_spec='${libname}${release}${shared_ext}$major'
14571   shlibpath_var=LD_LIBRARY_PATH
14572   shlibpath_overrides_runpath=no
14573   hardcode_into_libs=yes
14574   dynamic_linker='NetBSD ld.elf_so'
14575   ;;
14577 netbsd*)
14578   version_type=sunos
14579   need_lib_prefix=no
14580   need_version=no
14581   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14582     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14583     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14584     dynamic_linker='NetBSD (a.out) ld.so'
14585   else
14586     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14587     soname_spec='${libname}${release}${shared_ext}$major'
14588     dynamic_linker='NetBSD ld.elf_so'
14589   fi
14590   shlibpath_var=LD_LIBRARY_PATH
14591   shlibpath_overrides_runpath=yes
14592   hardcode_into_libs=yes
14593   ;;
14595 newsos6)
14596   version_type=linux # correct to gnu/linux during the next big refactor
14597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14598   shlibpath_var=LD_LIBRARY_PATH
14599   shlibpath_overrides_runpath=yes
14600   ;;
14602 *nto* | *qnx*)
14603   version_type=qnx
14604   need_lib_prefix=no
14605   need_version=no
14606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14607   soname_spec='${libname}${release}${shared_ext}$major'
14608   shlibpath_var=LD_LIBRARY_PATH
14609   shlibpath_overrides_runpath=no
14610   hardcode_into_libs=yes
14611   dynamic_linker='ldqnx.so'
14612   ;;
14614 openbsd*)
14615   version_type=sunos
14616   sys_lib_dlsearch_path_spec="/usr/lib"
14617   need_lib_prefix=no
14618   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14619   case $host_os in
14620     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14621     *)                          need_version=no  ;;
14622   esac
14623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14624   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14625   shlibpath_var=LD_LIBRARY_PATH
14626   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14627     case $host_os in
14628       openbsd2.[89] | openbsd2.[89].*)
14629         shlibpath_overrides_runpath=no
14630         ;;
14631       *)
14632         shlibpath_overrides_runpath=yes
14633         ;;
14634       esac
14635   else
14636     shlibpath_overrides_runpath=yes
14637   fi
14638   ;;
14640 os2*)
14641   libname_spec='$name'
14642   shrext_cmds=".dll"
14643   need_lib_prefix=no
14644   library_names_spec='$libname${shared_ext} $libname.a'
14645   dynamic_linker='OS/2 ld.exe'
14646   shlibpath_var=LIBPATH
14647   ;;
14649 osf3* | osf4* | osf5*)
14650   version_type=osf
14651   need_lib_prefix=no
14652   need_version=no
14653   soname_spec='${libname}${release}${shared_ext}$major'
14654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14655   shlibpath_var=LD_LIBRARY_PATH
14656   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14657   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14658   ;;
14660 rdos*)
14661   dynamic_linker=no
14662   ;;
14664 solaris*)
14665   version_type=linux # correct to gnu/linux during the next big refactor
14666   need_lib_prefix=no
14667   need_version=no
14668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14669   soname_spec='${libname}${release}${shared_ext}$major'
14670   shlibpath_var=LD_LIBRARY_PATH
14671   shlibpath_overrides_runpath=yes
14672   hardcode_into_libs=yes
14673   # ldd complains unless libraries are executable
14674   postinstall_cmds='chmod +x $lib'
14675   ;;
14677 sunos4*)
14678   version_type=sunos
14679   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14680   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14681   shlibpath_var=LD_LIBRARY_PATH
14682   shlibpath_overrides_runpath=yes
14683   if test "$with_gnu_ld" = yes; then
14684     need_lib_prefix=no
14685   fi
14686   need_version=yes
14687   ;;
14689 sysv4 | sysv4.3*)
14690   version_type=linux # correct to gnu/linux during the next big refactor
14691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14692   soname_spec='${libname}${release}${shared_ext}$major'
14693   shlibpath_var=LD_LIBRARY_PATH
14694   case $host_vendor in
14695     sni)
14696       shlibpath_overrides_runpath=no
14697       need_lib_prefix=no
14698       runpath_var=LD_RUN_PATH
14699       ;;
14700     siemens)
14701       need_lib_prefix=no
14702       ;;
14703     motorola)
14704       need_lib_prefix=no
14705       need_version=no
14706       shlibpath_overrides_runpath=no
14707       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14708       ;;
14709   esac
14710   ;;
14712 sysv4*MP*)
14713   if test -d /usr/nec ;then
14714     version_type=linux # correct to gnu/linux during the next big refactor
14715     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14716     soname_spec='$libname${shared_ext}.$major'
14717     shlibpath_var=LD_LIBRARY_PATH
14718   fi
14719   ;;
14721 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14722   version_type=freebsd-elf
14723   need_lib_prefix=no
14724   need_version=no
14725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14726   soname_spec='${libname}${release}${shared_ext}$major'
14727   shlibpath_var=LD_LIBRARY_PATH
14728   shlibpath_overrides_runpath=yes
14729   hardcode_into_libs=yes
14730   if test "$with_gnu_ld" = yes; then
14731     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14732   else
14733     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14734     case $host_os in
14735       sco3.2v5*)
14736         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14737         ;;
14738     esac
14739   fi
14740   sys_lib_dlsearch_path_spec='/usr/lib'
14741   ;;
14743 tpf*)
14744   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14745   version_type=linux # correct to gnu/linux during the next big refactor
14746   need_lib_prefix=no
14747   need_version=no
14748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14749   shlibpath_var=LD_LIBRARY_PATH
14750   shlibpath_overrides_runpath=no
14751   hardcode_into_libs=yes
14752   ;;
14754 uts4*)
14755   version_type=linux # correct to gnu/linux during the next big refactor
14756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14757   soname_spec='${libname}${release}${shared_ext}$major'
14758   shlibpath_var=LD_LIBRARY_PATH
14759   ;;
14762   dynamic_linker=no
14763   ;;
14764 esac
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14766 $as_echo "$dynamic_linker" >&6; }
14767 test "$dynamic_linker" = no && can_build_shared=no
14769 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14770 if test "$GCC" = yes; then
14771   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14774 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14775   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14777 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14778   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14819 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14820 hardcode_action_CXX=
14821 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14822    test -n "$runpath_var_CXX" ||
14823    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14825   # We can hardcode non-existent directories.
14826   if test "$hardcode_direct_CXX" != no &&
14827      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14828      # have to relink, otherwise we might link with an installed library
14829      # when we should be linking with a yet-to-be-installed one
14830      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14831      test "$hardcode_minus_L_CXX" != no; then
14832     # Linking always hardcodes the temporary library directory.
14833     hardcode_action_CXX=relink
14834   else
14835     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14836     hardcode_action_CXX=immediate
14837   fi
14838 else
14839   # We cannot hardcode anything, or else we can only hardcode existing
14840   # directories.
14841   hardcode_action_CXX=unsupported
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14844 $as_echo "$hardcode_action_CXX" >&6; }
14846 if test "$hardcode_action_CXX" = relink ||
14847    test "$inherit_rpath_CXX" = yes; then
14848   # Fast installation is not supported
14849   enable_fast_install=no
14850 elif test "$shlibpath_overrides_runpath" = yes ||
14851      test "$enable_shared" = no; then
14852   # Fast installation is not necessary
14853   enable_fast_install=needless
14859     
14862   fi # test -n "$compiler"
14864   CC=$lt_save_CC
14865   CFLAGS=$lt_save_CFLAGS
14866   LDCXX=$LD
14867   LD=$lt_save_LD
14868   GCC=$lt_save_GCC
14869   with_gnu_ld=$lt_save_with_gnu_ld
14870   lt_cv_path_LDCXX=$lt_cv_path_LD
14871   lt_cv_path_LD=$lt_save_path_LD
14872   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14873   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14874 fi # test "$_lt_caught_CXX_error" != yes
14876 ac_ext=c
14877 ac_cpp='$CPP $CPPFLAGS'
14878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14889        
14890        
14896         ac_config_commands="$ac_config_commands libtool"
14901 # Only expand once:
14905 LIBSALAC_SO_VERSION=1:0:0
14907 LIBSALAC_API_VERSION=1.0
14910 ac_config_files="$ac_config_files Makefile libsalac-${LIBSALAC_API_VERSION}.pc:libsalac.pc.in"
14912 cat >confcache <<\_ACEOF
14913 # This file is a shell script that caches the results of configure
14914 # tests run on this system so they can be shared between configure
14915 # scripts and configure runs, see configure's option --config-cache.
14916 # It is not useful on other systems.  If it contains results you don't
14917 # want to keep, you may remove or edit it.
14919 # config.status only pays attention to the cache file if you give it
14920 # the --recheck option to rerun configure.
14922 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14923 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14924 # following values.
14926 _ACEOF
14928 # The following way of writing the cache mishandles newlines in values,
14929 # but we know of no workaround that is simple, portable, and efficient.
14930 # So, we kill variables containing newlines.
14931 # Ultrix sh set writes to stderr and can't be redirected directly,
14932 # and sets the high bit in the cache file unless we assign to the vars.
14934   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14935     eval ac_val=\$$ac_var
14936     case $ac_val in #(
14937     *${as_nl}*)
14938       case $ac_var in #(
14939       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14940 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14941       esac
14942       case $ac_var in #(
14943       _ | IFS | as_nl) ;; #(
14944       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14945       *) { eval $ac_var=; unset $ac_var;} ;;
14946       esac ;;
14947     esac
14948   done
14950   (set) 2>&1 |
14951     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14952     *${as_nl}ac_space=\ *)
14953       # `set' does not quote correctly, so add quotes: double-quote
14954       # substitution turns \\\\ into \\, and sed turns \\ into \.
14955       sed -n \
14956         "s/'/'\\\\''/g;
14957           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14958       ;; #(
14959     *)
14960       # `set' quotes correctly as required by POSIX, so do not add quotes.
14961       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14962       ;;
14963     esac |
14964     sort
14965 ) |
14966   sed '
14967      /^ac_cv_env_/b end
14968      t clear
14969      :clear
14970      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14971      t end
14972      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14973      :end' >>confcache
14974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14975   if test -w "$cache_file"; then
14976     if test "x$cache_file" != "x/dev/null"; then
14977       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14978 $as_echo "$as_me: updating cache $cache_file" >&6;}
14979       if test ! -f "$cache_file" || test -h "$cache_file"; then
14980         cat confcache >"$cache_file"
14981       else
14982         case $cache_file in #(
14983         */* | ?:*)
14984           mv -f confcache "$cache_file"$$ &&
14985           mv -f "$cache_file"$$ "$cache_file" ;; #(
14986         *)
14987           mv -f confcache "$cache_file" ;;
14988         esac
14989       fi
14990     fi
14991   else
14992     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14993 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14994   fi
14996 rm -f confcache
14998 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14999 # Let make expand exec_prefix.
15000 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15002 DEFS=-DHAVE_CONFIG_H
15004 ac_libobjs=
15005 ac_ltlibobjs=
15007 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15008   # 1. Remove the extension, and $U if already installed.
15009   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15010   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15011   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15012   #    will be set to the directory where LIBOBJS objects are built.
15013   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15014   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15015 done
15016 LIB@&t@OBJS=$ac_libobjs
15018 LTLIBOBJS=$ac_ltlibobjs
15021  if test -n "$EXEEXT"; then
15022   am__EXEEXT_TRUE=
15023   am__EXEEXT_FALSE='#'
15024 else
15025   am__EXEEXT_TRUE='#'
15026   am__EXEEXT_FALSE=
15029 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15030   as_fn_error $? "conditional \"AMDEP\" was never defined.
15031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15033 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15034   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15037 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15038   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15042 : "${CONFIG_STATUS=./config.status}"
15043 ac_write_fail=0
15044 ac_clean_files_save=$ac_clean_files
15045 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15047 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15048 as_write_fail=0
15049 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15050 #! $SHELL
15051 # Generated by $as_me.
15052 # Run this file to recreate the current configuration.
15053 # Compiler output produced by configure, useful for debugging
15054 # configure, is in config.log if it exists.
15056 debug=false
15057 ac_cs_recheck=false
15058 ac_cs_silent=false
15060 SHELL=\${CONFIG_SHELL-$SHELL}
15061 export SHELL
15062 _ASEOF
15063 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15064 ## -------------------- ##
15065 ## M4sh Initialization. ##
15066 ## -------------------- ##
15068 # Be more Bourne compatible
15069 DUALCASE=1; export DUALCASE # for MKS sh
15070 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15071   emulate sh
15072   NULLCMD=:
15073   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15074   # is contrary to our usage.  Disable this feature.
15075   alias -g '${1+"$@"}'='"$@"'
15076   setopt NO_GLOB_SUBST
15077 else
15078   case `(set -o) 2>/dev/null` in @%:@(
15079   *posix*) :
15080     set -o posix ;; @%:@(
15081   *) :
15082      ;;
15083 esac
15087 as_nl='
15089 export as_nl
15090 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15091 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15092 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15093 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15094 # Prefer a ksh shell builtin over an external printf program on Solaris,
15095 # but without wasting forks for bash or zsh.
15096 if test -z "$BASH_VERSION$ZSH_VERSION" \
15097     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15098   as_echo='print -r --'
15099   as_echo_n='print -rn --'
15100 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15101   as_echo='printf %s\n'
15102   as_echo_n='printf %s'
15103 else
15104   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15105     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15106     as_echo_n='/usr/ucb/echo -n'
15107   else
15108     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15109     as_echo_n_body='eval
15110       arg=$1;
15111       case $arg in @%:@(
15112       *"$as_nl"*)
15113         expr "X$arg" : "X\\(.*\\)$as_nl";
15114         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15115       esac;
15116       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15117     '
15118     export as_echo_n_body
15119     as_echo_n='sh -c $as_echo_n_body as_echo'
15120   fi
15121   export as_echo_body
15122   as_echo='sh -c $as_echo_body as_echo'
15125 # The user is always right.
15126 if test "${PATH_SEPARATOR+set}" != set; then
15127   PATH_SEPARATOR=:
15128   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15129     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15130       PATH_SEPARATOR=';'
15131   }
15135 # IFS
15136 # We need space, tab and new line, in precisely that order.  Quoting is
15137 # there to prevent editors from complaining about space-tab.
15138 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15139 # splitting by setting IFS to empty value.)
15140 IFS=" ""        $as_nl"
15142 # Find who we are.  Look in the path if we contain no directory separator.
15143 as_myself=
15144 case $0 in @%:@((
15145   *[\\/]* ) as_myself=$0 ;;
15146   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15147 for as_dir in $PATH
15149   IFS=$as_save_IFS
15150   test -z "$as_dir" && as_dir=.
15151     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15152   done
15153 IFS=$as_save_IFS
15155      ;;
15156 esac
15157 # We did not find ourselves, most probably we were run as `sh COMMAND'
15158 # in which case we are not to be found in the path.
15159 if test "x$as_myself" = x; then
15160   as_myself=$0
15162 if test ! -f "$as_myself"; then
15163   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15164   exit 1
15167 # Unset variables that we do not need and which cause bugs (e.g. in
15168 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15169 # suppresses any "Segmentation fault" message there.  '((' could
15170 # trigger a bug in pdksh 5.2.14.
15171 for as_var in BASH_ENV ENV MAIL MAILPATH
15172 do eval test x\${$as_var+set} = xset \
15173   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15174 done
15175 PS1='$ '
15176 PS2='> '
15177 PS4='+ '
15179 # NLS nuisances.
15180 LC_ALL=C
15181 export LC_ALL
15182 LANGUAGE=C
15183 export LANGUAGE
15185 # CDPATH.
15186 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15189 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15190 @%:@ ----------------------------------------
15191 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15192 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15193 @%:@ script with STATUS, using 1 if that was 0.
15194 as_fn_error ()
15196   as_status=$1; test $as_status -eq 0 && as_status=1
15197   if test "$4"; then
15198     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15199     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15200   fi
15201   $as_echo "$as_me: error: $2" >&2
15202   as_fn_exit $as_status
15203 } @%:@ as_fn_error
15206 @%:@ as_fn_set_status STATUS
15207 @%:@ -----------------------
15208 @%:@ Set @S|@? to STATUS, without forking.
15209 as_fn_set_status ()
15211   return $1
15212 } @%:@ as_fn_set_status
15214 @%:@ as_fn_exit STATUS
15215 @%:@ -----------------
15216 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15217 as_fn_exit ()
15219   set +e
15220   as_fn_set_status $1
15221   exit $1
15222 } @%:@ as_fn_exit
15224 @%:@ as_fn_unset VAR
15225 @%:@ ---------------
15226 @%:@ Portably unset VAR.
15227 as_fn_unset ()
15229   { eval $1=; unset $1;}
15231 as_unset=as_fn_unset
15232 @%:@ as_fn_append VAR VALUE
15233 @%:@ ----------------------
15234 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15235 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15236 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15237 @%:@ implementations.
15238 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15239   eval 'as_fn_append ()
15240   {
15241     eval $1+=\$2
15242   }'
15243 else
15244   as_fn_append ()
15245   {
15246     eval $1=\$$1\$2
15247   }
15248 fi # as_fn_append
15250 @%:@ as_fn_arith ARG...
15251 @%:@ ------------------
15252 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15253 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15254 @%:@ must be portable across @S|@(()) and expr.
15255 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15256   eval 'as_fn_arith ()
15257   {
15258     as_val=$(( $* ))
15259   }'
15260 else
15261   as_fn_arith ()
15262   {
15263     as_val=`expr "$@" || test $? -eq 1`
15264   }
15265 fi # as_fn_arith
15268 if expr a : '\(a\)' >/dev/null 2>&1 &&
15269    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15270   as_expr=expr
15271 else
15272   as_expr=false
15275 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15276   as_basename=basename
15277 else
15278   as_basename=false
15281 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15282   as_dirname=dirname
15283 else
15284   as_dirname=false
15287 as_me=`$as_basename -- "$0" ||
15288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15289          X"$0" : 'X\(//\)$' \| \
15290          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15291 $as_echo X/"$0" |
15292     sed '/^.*\/\([^/][^/]*\)\/*$/{
15293             s//\1/
15294             q
15295           }
15296           /^X\/\(\/\/\)$/{
15297             s//\1/
15298             q
15299           }
15300           /^X\/\(\/\).*/{
15301             s//\1/
15302             q
15303           }
15304           s/.*/./; q'`
15306 # Avoid depending upon Character Ranges.
15307 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15308 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15309 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15310 as_cr_digits='0123456789'
15311 as_cr_alnum=$as_cr_Letters$as_cr_digits
15313 ECHO_C= ECHO_N= ECHO_T=
15314 case `echo -n x` in @%:@(((((
15315 -n*)
15316   case `echo 'xy\c'` in
15317   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15318   xy)  ECHO_C='\c';;
15319   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15320        ECHO_T=' ';;
15321   esac;;
15323   ECHO_N='-n';;
15324 esac
15326 rm -f conf$$ conf$$.exe conf$$.file
15327 if test -d conf$$.dir; then
15328   rm -f conf$$.dir/conf$$.file
15329 else
15330   rm -f conf$$.dir
15331   mkdir conf$$.dir 2>/dev/null
15333 if (echo >conf$$.file) 2>/dev/null; then
15334   if ln -s conf$$.file conf$$ 2>/dev/null; then
15335     as_ln_s='ln -s'
15336     # ... but there are two gotchas:
15337     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15338     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15339     # In both cases, we have to default to `cp -p'.
15340     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15341       as_ln_s='cp -p'
15342   elif ln conf$$.file conf$$ 2>/dev/null; then
15343     as_ln_s=ln
15344   else
15345     as_ln_s='cp -p'
15346   fi
15347 else
15348   as_ln_s='cp -p'
15350 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15351 rmdir conf$$.dir 2>/dev/null
15354 @%:@ as_fn_mkdir_p
15355 @%:@ -------------
15356 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15357 as_fn_mkdir_p ()
15360   case $as_dir in #(
15361   -*) as_dir=./$as_dir;;
15362   esac
15363   test -d "$as_dir" || eval $as_mkdir_p || {
15364     as_dirs=
15365     while :; do
15366       case $as_dir in #(
15367       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15368       *) as_qdir=$as_dir;;
15369       esac
15370       as_dirs="'$as_qdir' $as_dirs"
15371       as_dir=`$as_dirname -- "$as_dir" ||
15372 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15373          X"$as_dir" : 'X\(//\)[^/]' \| \
15374          X"$as_dir" : 'X\(//\)$' \| \
15375          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15376 $as_echo X"$as_dir" |
15377     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15378             s//\1/
15379             q
15380           }
15381           /^X\(\/\/\)[^/].*/{
15382             s//\1/
15383             q
15384           }
15385           /^X\(\/\/\)$/{
15386             s//\1/
15387             q
15388           }
15389           /^X\(\/\).*/{
15390             s//\1/
15391             q
15392           }
15393           s/.*/./; q'`
15394       test -d "$as_dir" && break
15395     done
15396     test -z "$as_dirs" || eval "mkdir $as_dirs"
15397   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15400 } @%:@ as_fn_mkdir_p
15401 if mkdir -p . 2>/dev/null; then
15402   as_mkdir_p='mkdir -p "$as_dir"'
15403 else
15404   test -d ./-p && rmdir ./-p
15405   as_mkdir_p=false
15408 if test -x / >/dev/null 2>&1; then
15409   as_test_x='test -x'
15410 else
15411   if ls -dL / >/dev/null 2>&1; then
15412     as_ls_L_option=L
15413   else
15414     as_ls_L_option=
15415   fi
15416   as_test_x='
15417     eval sh -c '\''
15418       if test -d "$1"; then
15419         test -d "$1/.";
15420       else
15421         case $1 in @%:@(
15422         -*)set "./$1";;
15423         esac;
15424         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
15425         ???[sx]*):;;*)false;;esac;fi
15426     '\'' sh
15427   '
15429 as_executable_p=$as_test_x
15431 # Sed expression to map a string onto a valid CPP name.
15432 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15434 # Sed expression to map a string onto a valid variable name.
15435 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15438 exec 6>&1
15439 ## ----------------------------------- ##
15440 ## Main body of $CONFIG_STATUS script. ##
15441 ## ----------------------------------- ##
15442 _ASEOF
15443 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15445 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15446 # Save the log message, to keep $0 and so on meaningful, and to
15447 # report actual input values of CONFIG_FILES etc. instead of their
15448 # values after options handling.
15449 ac_log="
15450 This file was extended by libsalac $as_me 0.1, which was
15451 generated by GNU Autoconf 2.68.  Invocation command line was
15453   CONFIG_FILES    = $CONFIG_FILES
15454   CONFIG_HEADERS  = $CONFIG_HEADERS
15455   CONFIG_LINKS    = $CONFIG_LINKS
15456   CONFIG_COMMANDS = $CONFIG_COMMANDS
15457   $ $0 $@
15459 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15462 _ACEOF
15464 case $ac_config_files in *"
15465 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15466 esac
15468 case $ac_config_headers in *"
15469 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15470 esac
15473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15474 # Files that config.status was made for.
15475 config_files="$ac_config_files"
15476 config_headers="$ac_config_headers"
15477 config_commands="$ac_config_commands"
15479 _ACEOF
15481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15482 ac_cs_usage="\
15483 \`$as_me' instantiates files and other configuration actions
15484 from templates according to the current configuration.  Unless the files
15485 and actions are specified as TAGs, all are instantiated by default.
15487 Usage: $0 [OPTION]... [TAG]...
15489   -h, --help       print this help, then exit
15490   -V, --version    print version number and configuration settings, then exit
15491       --config     print configuration, then exit
15492   -q, --quiet, --silent
15493                    do not print progress messages
15494   -d, --debug      don't remove temporary files
15495       --recheck    update $as_me by reconfiguring in the same conditions
15496       --file=FILE[:TEMPLATE] 
15497                    instantiate the configuration file FILE
15498       --header=FILE[:TEMPLATE] 
15499                    instantiate the configuration header FILE
15501 Configuration files:
15502 $config_files
15504 Configuration headers:
15505 $config_headers
15507 Configuration commands:
15508 $config_commands
15510 Report bugs to <pulseaudio@niafc.de>.
15511 libsalac home page: <https://bugs.freedesktop.org/show_bug.cgi?id=42804>."
15513 _ACEOF
15514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15515 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15516 ac_cs_version="\\
15517 libsalac config.status 0.1
15518 configured by $0, generated by GNU Autoconf 2.68,
15519   with options \\"\$ac_cs_config\\"
15521 Copyright (C) 2010 Free Software Foundation, Inc.
15522 This config.status script is free software; the Free Software Foundation
15523 gives unlimited permission to copy, distribute and modify it."
15525 ac_pwd='$ac_pwd'
15526 srcdir='$srcdir'
15527 INSTALL='$INSTALL'
15528 MKDIR_P='$MKDIR_P'
15529 AWK='$AWK'
15530 test -n "\$AWK" || AWK=awk
15531 _ACEOF
15533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15534 # The default lists apply if the user does not specify any file.
15535 ac_need_defaults=:
15536 while test $# != 0
15538   case $1 in
15539   --*=?*)
15540     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15541     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15542     ac_shift=:
15543     ;;
15544   --*=)
15545     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15546     ac_optarg=
15547     ac_shift=:
15548     ;;
15549   *)
15550     ac_option=$1
15551     ac_optarg=$2
15552     ac_shift=shift
15553     ;;
15554   esac
15556   case $ac_option in
15557   # Handling of the options.
15558   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15559     ac_cs_recheck=: ;;
15560   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15561     $as_echo "$ac_cs_version"; exit ;;
15562   --config | --confi | --conf | --con | --co | --c )
15563     $as_echo "$ac_cs_config"; exit ;;
15564   --debug | --debu | --deb | --de | --d | -d )
15565     debug=: ;;
15566   --file | --fil | --fi | --f )
15567     $ac_shift
15568     case $ac_optarg in
15569     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15570     '') as_fn_error $? "missing file argument" ;;
15571     esac
15572     as_fn_append CONFIG_FILES " '$ac_optarg'"
15573     ac_need_defaults=false;;
15574   --header | --heade | --head | --hea )
15575     $ac_shift
15576     case $ac_optarg in
15577     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15578     esac
15579     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15580     ac_need_defaults=false;;
15581   --he | --h)
15582     # Conflict between --help and --header
15583     as_fn_error $? "ambiguous option: \`$1'
15584 Try \`$0 --help' for more information.";;
15585   --help | --hel | -h )
15586     $as_echo "$ac_cs_usage"; exit ;;
15587   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15588   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15589     ac_cs_silent=: ;;
15591   # This is an error.
15592   -*) as_fn_error $? "unrecognized option: \`$1'
15593 Try \`$0 --help' for more information." ;;
15595   *) as_fn_append ac_config_targets " $1"
15596      ac_need_defaults=false ;;
15598   esac
15599   shift
15600 done
15602 ac_configure_extra_args=
15604 if $ac_cs_silent; then
15605   exec 6>/dev/null
15606   ac_configure_extra_args="$ac_configure_extra_args --silent"
15609 _ACEOF
15610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15611 if \$ac_cs_recheck; then
15612   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15613   shift
15614   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15615   CONFIG_SHELL='$SHELL'
15616   export CONFIG_SHELL
15617   exec "\$@"
15620 _ACEOF
15621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15622 exec 5>>config.log
15624   echo
15625   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
15626 @%:@@%:@ Running $as_me. @%:@@%:@
15627 _ASBOX
15628   $as_echo "$ac_log"
15629 } >&5
15631 _ACEOF
15632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15634 # INIT-COMMANDS
15636 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15639 # The HP-UX ksh and POSIX shell print the target directory to stdout
15640 # if CDPATH is set.
15641 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15643 sed_quote_subst='$sed_quote_subst'
15644 double_quote_subst='$double_quote_subst'
15645 delay_variable_subst='$delay_variable_subst'
15646 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15647 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15648 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15649 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15650 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15651 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15652 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15653 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15654 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15655 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15656 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15657 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15658 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15659 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15660 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15661 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15662 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15663 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15664 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15665 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15666 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15667 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15668 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15669 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15670 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15671 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15672 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15673 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15674 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15675 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15676 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15677 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15678 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15679 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15680 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15681 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15682 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15683 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15684 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15685 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15686 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15687 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15688 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15689 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15690 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15691 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15692 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15693 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15694 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15695 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15696 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15697 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15698 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15699 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15700 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15701 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15702 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"`'
15703 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15704 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15705 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15706 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15707 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15708 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15709 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15710 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15711 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15712 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15713 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15714 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15715 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15716 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15717 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15718 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15719 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15720 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15721 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15722 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15723 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15724 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15725 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15726 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15727 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15728 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15729 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15730 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15731 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15732 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15733 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15734 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15735 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15736 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15737 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15738 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15739 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15740 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15741 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15742 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15743 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15744 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15745 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15746 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15747 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15748 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15749 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15750 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15751 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15752 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15753 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15754 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15755 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15756 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15757 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15758 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15759 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15760 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15761 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15762 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15763 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15764 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15765 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15766 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15767 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15768 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15769 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15770 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15771 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15772 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15773 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15774 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15775 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15776 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
15777 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
15778 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
15779 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
15780 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
15781 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
15782 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
15783 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
15784 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15785 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15786 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
15787 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
15788 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
15789 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
15790 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
15791 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
15792 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
15793 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
15794 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
15795 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15796 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15797 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
15798 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15799 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15800 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15801 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15802 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15803 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15804 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
15805 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15806 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
15807 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
15808 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
15809 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
15810 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
15811 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
15812 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
15813 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
15814 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
15815 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
15816 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
15817 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15818 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15819 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
15820 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15821 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
15822 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
15823 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
15824 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
15825 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15826 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
15827 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
15828 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
15829 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
15831 LTCC='$LTCC'
15832 LTCFLAGS='$LTCFLAGS'
15833 compiler='$compiler_DEFAULT'
15835 # A function that is used when there is no print builtin or printf.
15836 func_fallback_echo ()
15838   eval 'cat <<_LTECHO_EOF
15840 _LTECHO_EOF'
15843 # Quote evaled strings.
15844 for var in SHELL \
15845 ECHO \
15846 PATH_SEPARATOR \
15847 SED \
15848 GREP \
15849 EGREP \
15850 FGREP \
15851 LD \
15852 NM \
15853 LN_S \
15854 lt_SP2NL \
15855 lt_NL2SP \
15856 reload_flag \
15857 OBJDUMP \
15858 deplibs_check_method \
15859 file_magic_cmd \
15860 file_magic_glob \
15861 want_nocaseglob \
15862 DLLTOOL \
15863 sharedlib_from_linklib_cmd \
15864 AR \
15865 AR_FLAGS \
15866 archiver_list_spec \
15867 STRIP \
15868 RANLIB \
15869 CC \
15870 CFLAGS \
15871 compiler \
15872 lt_cv_sys_global_symbol_pipe \
15873 lt_cv_sys_global_symbol_to_cdecl \
15874 lt_cv_sys_global_symbol_to_c_name_address \
15875 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15876 nm_file_list_spec \
15877 lt_prog_compiler_no_builtin_flag \
15878 lt_prog_compiler_pic \
15879 lt_prog_compiler_wl \
15880 lt_prog_compiler_static \
15881 lt_cv_prog_compiler_c_o \
15882 need_locks \
15883 MANIFEST_TOOL \
15884 DSYMUTIL \
15885 NMEDIT \
15886 LIPO \
15887 OTOOL \
15888 OTOOL64 \
15889 shrext_cmds \
15890 export_dynamic_flag_spec \
15891 whole_archive_flag_spec \
15892 compiler_needs_object \
15893 with_gnu_ld \
15894 allow_undefined_flag \
15895 no_undefined_flag \
15896 hardcode_libdir_flag_spec \
15897 hardcode_libdir_separator \
15898 exclude_expsyms \
15899 include_expsyms \
15900 file_list_spec \
15901 variables_saved_for_relink \
15902 libname_spec \
15903 library_names_spec \
15904 soname_spec \
15905 install_override_mode \
15906 finish_eval \
15907 old_striplib \
15908 striplib \
15909 compiler_lib_search_dirs \
15910 predep_objects \
15911 postdep_objects \
15912 predeps \
15913 postdeps \
15914 compiler_lib_search_path \
15915 LD_CXX \
15916 reload_flag_CXX \
15917 compiler_CXX \
15918 lt_prog_compiler_no_builtin_flag_CXX \
15919 lt_prog_compiler_pic_CXX \
15920 lt_prog_compiler_wl_CXX \
15921 lt_prog_compiler_static_CXX \
15922 lt_cv_prog_compiler_c_o_CXX \
15923 export_dynamic_flag_spec_CXX \
15924 whole_archive_flag_spec_CXX \
15925 compiler_needs_object_CXX \
15926 with_gnu_ld_CXX \
15927 allow_undefined_flag_CXX \
15928 no_undefined_flag_CXX \
15929 hardcode_libdir_flag_spec_CXX \
15930 hardcode_libdir_separator_CXX \
15931 exclude_expsyms_CXX \
15932 include_expsyms_CXX \
15933 file_list_spec_CXX \
15934 compiler_lib_search_dirs_CXX \
15935 predep_objects_CXX \
15936 postdep_objects_CXX \
15937 predeps_CXX \
15938 postdeps_CXX \
15939 compiler_lib_search_path_CXX; do
15940     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15941     *[\\\\\\\`\\"\\\$]*)
15942       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15943       ;;
15944     *)
15945       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15946       ;;
15947     esac
15948 done
15950 # Double-quote double-evaled strings.
15951 for var in reload_cmds \
15952 old_postinstall_cmds \
15953 old_postuninstall_cmds \
15954 old_archive_cmds \
15955 extract_expsyms_cmds \
15956 old_archive_from_new_cmds \
15957 old_archive_from_expsyms_cmds \
15958 archive_cmds \
15959 archive_expsym_cmds \
15960 module_cmds \
15961 module_expsym_cmds \
15962 export_symbols_cmds \
15963 prelink_cmds \
15964 postlink_cmds \
15965 postinstall_cmds \
15966 postuninstall_cmds \
15967 finish_cmds \
15968 sys_lib_search_path_spec \
15969 sys_lib_dlsearch_path_spec \
15970 reload_cmds_CXX \
15971 old_archive_cmds_CXX \
15972 old_archive_from_new_cmds_CXX \
15973 old_archive_from_expsyms_cmds_CXX \
15974 archive_cmds_CXX \
15975 archive_expsym_cmds_CXX \
15976 module_cmds_CXX \
15977 module_expsym_cmds_CXX \
15978 export_symbols_cmds_CXX \
15979 prelink_cmds_CXX \
15980 postlink_cmds_CXX; do
15981     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15982     *[\\\\\\\`\\"\\\$]*)
15983       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15984       ;;
15985     *)
15986       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15987       ;;
15988     esac
15989 done
15991 ac_aux_dir='$ac_aux_dir'
15992 xsi_shell='$xsi_shell'
15993 lt_shell_append='$lt_shell_append'
15995 # See if we are running on zsh, and set the options which allow our
15996 # commands through without removal of \ escapes INIT.
15997 if test -n "\${ZSH_VERSION+set}" ; then
15998    setopt NO_GLOB_SUBST
16002     PACKAGE='$PACKAGE'
16003     VERSION='$VERSION'
16004     TIMESTAMP='$TIMESTAMP'
16005     RM='$RM'
16006     ofile='$ofile'
16013 _ACEOF
16015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16017 # Handling of arguments.
16018 for ac_config_target in $ac_config_targets
16020   case $ac_config_target in
16021     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16022     "libsalacconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS libsalacconfig.h" ;;
16023     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16024     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16025     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16026     "libsalac-${LIBSALAC_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES libsalac-${LIBSALAC_API_VERSION}.pc:libsalac.pc.in" ;;
16028   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16029   esac
16030 done
16033 # If the user did not use the arguments to specify the items to instantiate,
16034 # then the envvar interface is used.  Set only those that are not.
16035 # We use the long form for the default assignment because of an extremely
16036 # bizarre bug on SunOS 4.1.3.
16037 if $ac_need_defaults; then
16038   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16039   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16040   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16043 # Have a temporary directory for convenience.  Make it in the build tree
16044 # simply because there is no reason against having it here, and in addition,
16045 # creating and moving files from /tmp can sometimes cause problems.
16046 # Hook for its removal unless debugging.
16047 # Note that there is a small window in which the directory will not be cleaned:
16048 # after its creation but before its name has been assigned to `$tmp'.
16049 $debug ||
16051   tmp= ac_tmp=
16052   trap 'exit_status=$?
16053   : "${ac_tmp:=$tmp}"
16054   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16055 ' 0
16056   trap 'as_fn_exit 1' 1 2 13 15
16058 # Create a (secure) tmp directory for tmp files.
16061   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16062   test -d "$tmp"
16063 }  ||
16065   tmp=./conf$$-$RANDOM
16066   (umask 077 && mkdir "$tmp")
16067 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16068 ac_tmp=$tmp
16070 # Set up the scripts for CONFIG_FILES section.
16071 # No need to generate them if there are no CONFIG_FILES.
16072 # This happens for instance with `./config.status config.h'.
16073 if test -n "$CONFIG_FILES"; then
16076 ac_cr=`echo X | tr X '\015'`
16077 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16078 # But we know of no other shell where ac_cr would be empty at this
16079 # point, so we can use a bashism as a fallback.
16080 if test "x$ac_cr" = x; then
16081   eval ac_cr=\$\'\\r\'
16083 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16084 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16085   ac_cs_awk_cr='\\r'
16086 else
16087   ac_cs_awk_cr=$ac_cr
16090 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16091 _ACEOF
16095   echo "cat >conf$$subs.awk <<_ACEOF" &&
16096   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16097   echo "_ACEOF"
16098 } >conf$$subs.sh ||
16099   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16100 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16101 ac_delim='%!_!# '
16102 for ac_last_try in false false false false false :; do
16103   . ./conf$$subs.sh ||
16104     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16106   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16107   if test $ac_delim_n = $ac_delim_num; then
16108     break
16109   elif $ac_last_try; then
16110     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16111   else
16112     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16113   fi
16114 done
16115 rm -f conf$$subs.sh
16117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16118 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16119 _ACEOF
16120 sed -n '
16122 s/^/S["/; s/!.*/"]=/
16125 s/^[^!]*!//
16126 :repl
16127 t repl
16128 s/'"$ac_delim"'$//
16129 t delim
16132 s/\(.\{148\}\)..*/\1/
16133 t more1
16134 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16137 b repl
16138 :more1
16139 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16142 s/.\{148\}//
16143 t nl
16144 :delim
16146 s/\(.\{148\}\)..*/\1/
16147 t more2
16148 s/["\\]/\\&/g; s/^/"/; s/$/"/
16151 :more2
16152 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16155 s/.\{148\}//
16156 t delim
16157 ' <conf$$subs.awk | sed '
16158 /^[^""]/{
16159   N
16160   s/\n//
16162 ' >>$CONFIG_STATUS || ac_write_fail=1
16163 rm -f conf$$subs.awk
16164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16165 _ACAWK
16166 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16167   for (key in S) S_is_set[key] = 1
16168   FS = "\a"
16172   line = $ 0
16173   nfields = split(line, field, "@")
16174   substed = 0
16175   len = length(field[1])
16176   for (i = 2; i < nfields; i++) {
16177     key = field[i]
16178     keylen = length(key)
16179     if (S_is_set[key]) {
16180       value = S[key]
16181       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16182       len += length(value) + length(field[++i])
16183       substed = 1
16184     } else
16185       len += 1 + keylen
16186   }
16188   print line
16191 _ACAWK
16192 _ACEOF
16193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16194 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16195   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16196 else
16197   cat
16198 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16199   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16200 _ACEOF
16202 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16203 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16204 # trailing colons and then remove the whole line if VPATH becomes empty
16205 # (actually we leave an empty line to preserve line numbers).
16206 if test "x$srcdir" = x.; then
16207   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16209 s///
16210 s/^/:/
16211 s/[      ]*$/:/
16212 s/:\$(srcdir):/:/g
16213 s/:\${srcdir}:/:/g
16214 s/:@srcdir@:/:/g
16215 s/^:*//
16216 s/:*$//
16218 s/\(=[   ]*\).*/\1/
16220 s/\n//
16221 s/^[^=]*=[       ]*$//
16225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16226 fi # test -n "$CONFIG_FILES"
16228 # Set up the scripts for CONFIG_HEADERS section.
16229 # No need to generate them if there are no CONFIG_HEADERS.
16230 # This happens for instance with `./config.status Makefile'.
16231 if test -n "$CONFIG_HEADERS"; then
16232 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16233 BEGIN {
16234 _ACEOF
16236 # Transform confdefs.h into an awk script `defines.awk', embedded as
16237 # here-document in config.status, that substitutes the proper values into
16238 # config.h.in to produce config.h.
16240 # Create a delimiter string that does not exist in confdefs.h, to ease
16241 # handling of long lines.
16242 ac_delim='%!_!# '
16243 for ac_last_try in false false :; do
16244   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16245   if test -z "$ac_tt"; then
16246     break
16247   elif $ac_last_try; then
16248     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16249   else
16250     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16251   fi
16252 done
16254 # For the awk script, D is an array of macro values keyed by name,
16255 # likewise P contains macro parameters if any.  Preserve backslash
16256 # newline sequences.
16258 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16259 sed -n '
16260 s/.\{148\}/&'"$ac_delim"'/g
16261 t rset
16262 :rset
16263 s/^[     ]*#[    ]*define[       ][      ]*/ /
16264 t def
16266 :def
16267 s/\\$//
16268 t bsnl
16269 s/["\\]/\\&/g
16270 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16271 D["\1"]=" \3"/p
16272 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16274 :bsnl
16275 s/["\\]/\\&/g
16276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16277 D["\1"]=" \3\\\\\\n"\\/p
16278 t cont
16279 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16280 t cont
16282 :cont
16284 s/.\{148\}/&'"$ac_delim"'/g
16285 t clear
16286 :clear
16287 s/\\$//
16288 t bsnlc
16289 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16291 :bsnlc
16292 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16293 b cont
16294 ' <confdefs.h | sed '
16295 s/'"$ac_delim"'/"\\\
16296 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16299   for (key in D) D_is_set[key] = 1
16300   FS = "\a"
16302 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16303   line = \$ 0
16304   split(line, arg, " ")
16305   if (arg[1] == "#") {
16306     defundef = arg[2]
16307     mac1 = arg[3]
16308   } else {
16309     defundef = substr(arg[1], 2)
16310     mac1 = arg[2]
16311   }
16312   split(mac1, mac2, "(") #)
16313   macro = mac2[1]
16314   prefix = substr(line, 1, index(line, defundef) - 1)
16315   if (D_is_set[macro]) {
16316     # Preserve the white space surrounding the "#".
16317     print prefix "define", macro P[macro] D[macro]
16318     next
16319   } else {
16320     # Replace #undef with comments.  This is necessary, for example,
16321     # in the case of _POSIX_SOURCE, which is predefined and required
16322     # on some systems where configure will not decide to define it.
16323     if (defundef == "undef") {
16324       print "/*", prefix defundef, macro, "*/"
16325       next
16326     }
16327   }
16329 { print }
16330 _ACAWK
16331 _ACEOF
16332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16333   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16334 fi # test -n "$CONFIG_HEADERS"
16337 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16338 shift
16339 for ac_tag
16341   case $ac_tag in
16342   :[FHLC]) ac_mode=$ac_tag; continue;;
16343   esac
16344   case $ac_mode$ac_tag in
16345   :[FHL]*:*);;
16346   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16347   :[FH]-) ac_tag=-:-;;
16348   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16349   esac
16350   ac_save_IFS=$IFS
16351   IFS=:
16352   set x $ac_tag
16353   IFS=$ac_save_IFS
16354   shift
16355   ac_file=$1
16356   shift
16358   case $ac_mode in
16359   :L) ac_source=$1;;
16360   :[FH])
16361     ac_file_inputs=
16362     for ac_f
16363     do
16364       case $ac_f in
16365       -) ac_f="$ac_tmp/stdin";;
16366       *) # Look for the file first in the build tree, then in the source tree
16367          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16368          # because $ac_f cannot contain `:'.
16369          test -f "$ac_f" ||
16370            case $ac_f in
16371            [\\/$]*) false;;
16372            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16373            esac ||
16374            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16375       esac
16376       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16377       as_fn_append ac_file_inputs " '$ac_f'"
16378     done
16380     # Let's still pretend it is `configure' which instantiates (i.e., don't
16381     # use $as_me), people would be surprised to read:
16382     #    /* config.h.  Generated by config.status.  */
16383     configure_input='Generated from '`
16384           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16385         `' by configure.'
16386     if test x"$ac_file" != x-; then
16387       configure_input="$ac_file.  $configure_input"
16388       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16389 $as_echo "$as_me: creating $ac_file" >&6;}
16390     fi
16391     # Neutralize special characters interpreted by sed in replacement strings.
16392     case $configure_input in #(
16393     *\&* | *\|* | *\\* )
16394        ac_sed_conf_input=`$as_echo "$configure_input" |
16395        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16396     *) ac_sed_conf_input=$configure_input;;
16397     esac
16399     case $ac_tag in
16400     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16401       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16402     esac
16403     ;;
16404   esac
16406   ac_dir=`$as_dirname -- "$ac_file" ||
16407 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16408          X"$ac_file" : 'X\(//\)[^/]' \| \
16409          X"$ac_file" : 'X\(//\)$' \| \
16410          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16411 $as_echo X"$ac_file" |
16412     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16413             s//\1/
16414             q
16415           }
16416           /^X\(\/\/\)[^/].*/{
16417             s//\1/
16418             q
16419           }
16420           /^X\(\/\/\)$/{
16421             s//\1/
16422             q
16423           }
16424           /^X\(\/\).*/{
16425             s//\1/
16426             q
16427           }
16428           s/.*/./; q'`
16429   as_dir="$ac_dir"; as_fn_mkdir_p
16430   ac_builddir=.
16432 case "$ac_dir" in
16433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16435   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16436   # A ".." for each directory in $ac_dir_suffix.
16437   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16438   case $ac_top_builddir_sub in
16439   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16440   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16441   esac ;;
16442 esac
16443 ac_abs_top_builddir=$ac_pwd
16444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16445 # for backward compatibility:
16446 ac_top_builddir=$ac_top_build_prefix
16448 case $srcdir in
16449   .)  # We are building in place.
16450     ac_srcdir=.
16451     ac_top_srcdir=$ac_top_builddir_sub
16452     ac_abs_top_srcdir=$ac_pwd ;;
16453   [\\/]* | ?:[\\/]* )  # Absolute name.
16454     ac_srcdir=$srcdir$ac_dir_suffix;
16455     ac_top_srcdir=$srcdir
16456     ac_abs_top_srcdir=$srcdir ;;
16457   *) # Relative name.
16458     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16459     ac_top_srcdir=$ac_top_build_prefix$srcdir
16460     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16461 esac
16462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16465   case $ac_mode in
16466   :F)
16467   #
16468   # CONFIG_FILE
16469   #
16471   case $INSTALL in
16472   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16473   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16474   esac
16475   ac_MKDIR_P=$MKDIR_P
16476   case $MKDIR_P in
16477   [\\/$]* | ?:[\\/]* ) ;;
16478   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16479   esac
16480 _ACEOF
16482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16483 # If the template does not know about datarootdir, expand it.
16484 # FIXME: This hack should be removed a few years after 2.60.
16485 ac_datarootdir_hack=; ac_datarootdir_seen=
16486 ac_sed_dataroot='
16487 /datarootdir/ {
16488   p
16489   q
16491 /@datadir@/p
16492 /@docdir@/p
16493 /@infodir@/p
16494 /@localedir@/p
16495 /@mandir@/p'
16496 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16497 *datarootdir*) ac_datarootdir_seen=yes;;
16498 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16499   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16500 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16501 _ACEOF
16502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16503   ac_datarootdir_hack='
16504   s&@datadir@&$datadir&g
16505   s&@docdir@&$docdir&g
16506   s&@infodir@&$infodir&g
16507   s&@localedir@&$localedir&g
16508   s&@mandir@&$mandir&g
16509   s&\\\${datarootdir}&$datarootdir&g' ;;
16510 esac
16511 _ACEOF
16513 # Neutralize VPATH when `$srcdir' = `.'.
16514 # Shell code in configure.ac might set extrasub.
16515 # FIXME: do we really want to maintain this feature?
16516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16517 ac_sed_extra="$ac_vpsub
16518 $extrasub
16519 _ACEOF
16520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16522 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16523 s|@configure_input@|$ac_sed_conf_input|;t t
16524 s&@top_builddir@&$ac_top_builddir_sub&;t t
16525 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16526 s&@srcdir@&$ac_srcdir&;t t
16527 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16528 s&@top_srcdir@&$ac_top_srcdir&;t t
16529 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16530 s&@builddir@&$ac_builddir&;t t
16531 s&@abs_builddir@&$ac_abs_builddir&;t t
16532 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16533 s&@INSTALL@&$ac_INSTALL&;t t
16534 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16535 $ac_datarootdir_hack
16537 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16538   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16540 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16541   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16542   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16543       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16544   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16545 which seems to be undefined.  Please make sure it is defined" >&5
16546 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16547 which seems to be undefined.  Please make sure it is defined" >&2;}
16549   rm -f "$ac_tmp/stdin"
16550   case $ac_file in
16551   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16552   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16553   esac \
16554   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16555  ;;
16556   :H)
16557   #
16558   # CONFIG_HEADER
16559   #
16560   if test x"$ac_file" != x-; then
16561     {
16562       $as_echo "/* $configure_input  */" \
16563       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16564     } >"$ac_tmp/config.h" \
16565       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16566     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16567       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16568 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16569     else
16570       rm -f "$ac_file"
16571       mv "$ac_tmp/config.h" "$ac_file" \
16572         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16573     fi
16574   else
16575     $as_echo "/* $configure_input  */" \
16576       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16577       || as_fn_error $? "could not create -" "$LINENO" 5
16578   fi
16579 # Compute "$ac_file"'s index in $config_headers.
16580 _am_arg="$ac_file"
16581 _am_stamp_count=1
16582 for _am_header in $config_headers :; do
16583   case $_am_header in
16584     $_am_arg | $_am_arg:* )
16585       break ;;
16586     * )
16587       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16588   esac
16589 done
16590 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16591 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16592          X"$_am_arg" : 'X\(//\)[^/]' \| \
16593          X"$_am_arg" : 'X\(//\)$' \| \
16594          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16595 $as_echo X"$_am_arg" |
16596     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16597             s//\1/
16598             q
16599           }
16600           /^X\(\/\/\)[^/].*/{
16601             s//\1/
16602             q
16603           }
16604           /^X\(\/\/\)$/{
16605             s//\1/
16606             q
16607           }
16608           /^X\(\/\).*/{
16609             s//\1/
16610             q
16611           }
16612           s/.*/./; q'`/stamp-h$_am_stamp_count
16613  ;;
16614   
16615   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16616 $as_echo "$as_me: executing $ac_file commands" >&6;}
16617  ;;
16618   esac
16621   case $ac_file$ac_mode in
16622     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16623   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16624   # are listed without --file.  Let's play safe and only enable the eval
16625   # if we detect the quoting.
16626   case $CONFIG_FILES in
16627   *\'*) eval set x "$CONFIG_FILES" ;;
16628   *)   set x $CONFIG_FILES ;;
16629   esac
16630   shift
16631   for mf
16632   do
16633     # Strip MF so we end up with the name of the file.
16634     mf=`echo "$mf" | sed -e 's/:.*$//'`
16635     # Check whether this is an Automake generated Makefile or not.
16636     # We used to match only the files named `Makefile.in', but
16637     # some people rename them; so instead we look at the file content.
16638     # Grep'ing the first line is not enough: some people post-process
16639     # each Makefile.in and add a new line on top of each file to say so.
16640     # Grep'ing the whole file is not good either: AIX grep has a line
16641     # limit of 2048, but all sed's we know have understand at least 4000.
16642     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16643       dirpart=`$as_dirname -- "$mf" ||
16644 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16645          X"$mf" : 'X\(//\)[^/]' \| \
16646          X"$mf" : 'X\(//\)$' \| \
16647          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16648 $as_echo X"$mf" |
16649     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16650             s//\1/
16651             q
16652           }
16653           /^X\(\/\/\)[^/].*/{
16654             s//\1/
16655             q
16656           }
16657           /^X\(\/\/\)$/{
16658             s//\1/
16659             q
16660           }
16661           /^X\(\/\).*/{
16662             s//\1/
16663             q
16664           }
16665           s/.*/./; q'`
16666     else
16667       continue
16668     fi
16669     # Extract the definition of DEPDIR, am__include, and am__quote
16670     # from the Makefile without running `make'.
16671     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16672     test -z "$DEPDIR" && continue
16673     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16674     test -z "am__include" && continue
16675     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16676     # When using ansi2knr, U may be empty or an underscore; expand it
16677     U=`sed -n 's/^U = //p' < "$mf"`
16678     # Find all dependency output files, they are included files with
16679     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16680     # simplest approach to changing $(DEPDIR) to its actual value in the
16681     # expansion.
16682     for file in `sed -n "
16683       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16684          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16685       # Make sure the directory exists.
16686       test -f "$dirpart/$file" && continue
16687       fdir=`$as_dirname -- "$file" ||
16688 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16689          X"$file" : 'X\(//\)[^/]' \| \
16690          X"$file" : 'X\(//\)$' \| \
16691          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16692 $as_echo X"$file" |
16693     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16694             s//\1/
16695             q
16696           }
16697           /^X\(\/\/\)[^/].*/{
16698             s//\1/
16699             q
16700           }
16701           /^X\(\/\/\)$/{
16702             s//\1/
16703             q
16704           }
16705           /^X\(\/\).*/{
16706             s//\1/
16707             q
16708           }
16709           s/.*/./; q'`
16710       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16711       # echo "creating $dirpart/$file"
16712       echo '# dummy' > "$dirpart/$file"
16713     done
16714   done
16716  ;;
16717     "libtool":C) 
16718     
16719     # See if we are running on zsh, and set the options which allow our
16720     # commands through without removal of \ escapes.
16721     if test -n "${ZSH_VERSION+set}" ; then
16722       setopt NO_GLOB_SUBST
16723     fi
16725     cfgfile="${ofile}T"
16726     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16727     $RM "$cfgfile"
16729     cat <<_LT_EOF >> "$cfgfile"
16730 #! $SHELL
16732 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16733 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16734 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16735 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16737 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16738 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16739 #                 Foundation, Inc.
16740 #   Written by Gordon Matzigkeit, 1996
16742 #   This file is part of GNU Libtool.
16744 # GNU Libtool is free software; you can redistribute it and/or
16745 # modify it under the terms of the GNU General Public License as
16746 # published by the Free Software Foundation; either version 2 of
16747 # the License, or (at your option) any later version.
16749 # As a special exception to the GNU General Public License,
16750 # if you distribute this file as part of a program or library that
16751 # is built using GNU Libtool, you may include this file under the
16752 # same distribution terms that you use for the rest of that program.
16754 # GNU Libtool is distributed in the hope that it will be useful,
16755 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16756 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16757 # GNU General Public License for more details.
16759 # You should have received a copy of the GNU General Public License
16760 # along with GNU Libtool; see the file COPYING.  If not, a copy
16761 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16762 # obtained by writing to the Free Software Foundation, Inc.,
16763 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16766 # The names of the tagged configurations supported by this script.
16767 available_tags="CXX "
16769 # ### BEGIN LIBTOOL CONFIG
16771 # Which release of libtool.m4 was used?
16772 macro_version=$macro_version
16773 macro_revision=$macro_revision
16775 # Whether or not to build static libraries.
16776 build_old_libs=$enable_static
16778 # Whether or not to build shared libraries.
16779 build_libtool_libs=$enable_shared
16781 # What type of objects to build.
16782 pic_mode=$pic_mode
16784 # Whether or not to optimize for fast installation.
16785 fast_install=$enable_fast_install
16787 # Shell to use when invoking shell scripts.
16788 SHELL=$lt_SHELL
16790 # An echo program that protects backslashes.
16791 ECHO=$lt_ECHO
16793 # The PATH separator for the build system.
16794 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16796 # The host system.
16797 host_alias=$host_alias
16798 host=$host
16799 host_os=$host_os
16801 # The build system.
16802 build_alias=$build_alias
16803 build=$build
16804 build_os=$build_os
16806 # A sed program that does not truncate output.
16807 SED=$lt_SED
16809 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16810 Xsed="\$SED -e 1s/^X//"
16812 # A grep program that handles long lines.
16813 GREP=$lt_GREP
16815 # An ERE matcher.
16816 EGREP=$lt_EGREP
16818 # A literal string matcher.
16819 FGREP=$lt_FGREP
16821 # A BSD- or MS-compatible name lister.
16822 NM=$lt_NM
16824 # Whether we need soft or hard links.
16825 LN_S=$lt_LN_S
16827 # What is the maximum length of a command?
16828 max_cmd_len=$max_cmd_len
16830 # Object file suffix (normally "o").
16831 objext=$ac_objext
16833 # Executable file suffix (normally "").
16834 exeext=$exeext
16836 # whether the shell understands "unset".
16837 lt_unset=$lt_unset
16839 # turn spaces into newlines.
16840 SP2NL=$lt_lt_SP2NL
16842 # turn newlines into spaces.
16843 NL2SP=$lt_lt_NL2SP
16845 # convert \$build file names to \$host format.
16846 to_host_file_cmd=$lt_cv_to_host_file_cmd
16848 # convert \$build files to toolchain format.
16849 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16851 # An object symbol dumper.
16852 OBJDUMP=$lt_OBJDUMP
16854 # Method to check whether dependent libraries are shared objects.
16855 deplibs_check_method=$lt_deplibs_check_method
16857 # Command to use when deplibs_check_method = "file_magic".
16858 file_magic_cmd=$lt_file_magic_cmd
16860 # How to find potential files when deplibs_check_method = "file_magic".
16861 file_magic_glob=$lt_file_magic_glob
16863 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16864 want_nocaseglob=$lt_want_nocaseglob
16866 # DLL creation program.
16867 DLLTOOL=$lt_DLLTOOL
16869 # Command to associate shared and link libraries.
16870 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16872 # The archiver.
16873 AR=$lt_AR
16875 # Flags to create an archive.
16876 AR_FLAGS=$lt_AR_FLAGS
16878 # How to feed a file listing to the archiver.
16879 archiver_list_spec=$lt_archiver_list_spec
16881 # A symbol stripping program.
16882 STRIP=$lt_STRIP
16884 # Commands used to install an old-style archive.
16885 RANLIB=$lt_RANLIB
16886 old_postinstall_cmds=$lt_old_postinstall_cmds
16887 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16889 # Whether to use a lock for old archive extraction.
16890 lock_old_archive_extraction=$lock_old_archive_extraction
16892 # A C compiler.
16893 LTCC=$lt_CC
16895 # LTCC compiler flags.
16896 LTCFLAGS=$lt_CFLAGS
16898 # Take the output of nm and produce a listing of raw symbols and C names.
16899 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16901 # Transform the output of nm in a proper C declaration.
16902 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16904 # Transform the output of nm in a C name address pair.
16905 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16907 # Transform the output of nm in a C name address pair when lib prefix is needed.
16908 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16910 # Specify filename containing input files for \$NM.
16911 nm_file_list_spec=$lt_nm_file_list_spec
16913 # The root where to search for dependent libraries,and in which our libraries should be installed.
16914 lt_sysroot=$lt_sysroot
16916 # The name of the directory that contains temporary libtool files.
16917 objdir=$objdir
16919 # Used to examine libraries when file_magic_cmd begins with "file".
16920 MAGIC_CMD=$MAGIC_CMD
16922 # Must we lock files when doing compilation?
16923 need_locks=$lt_need_locks
16925 # Manifest tool.
16926 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16928 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16929 DSYMUTIL=$lt_DSYMUTIL
16931 # Tool to change global to local symbols on Mac OS X.
16932 NMEDIT=$lt_NMEDIT
16934 # Tool to manipulate fat objects and archives on Mac OS X.
16935 LIPO=$lt_LIPO
16937 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16938 OTOOL=$lt_OTOOL
16940 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16941 OTOOL64=$lt_OTOOL64
16943 # Old archive suffix (normally "a").
16944 libext=$libext
16946 # Shared library suffix (normally ".so").
16947 shrext_cmds=$lt_shrext_cmds
16949 # The commands to extract the exported symbol list from a shared archive.
16950 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16952 # Variables whose values should be saved in libtool wrapper scripts and
16953 # restored at link time.
16954 variables_saved_for_relink=$lt_variables_saved_for_relink
16956 # Do we need the "lib" prefix for modules?
16957 need_lib_prefix=$need_lib_prefix
16959 # Do we need a version for libraries?
16960 need_version=$need_version
16962 # Library versioning type.
16963 version_type=$version_type
16965 # Shared library runtime path variable.
16966 runpath_var=$runpath_var
16968 # Shared library path variable.
16969 shlibpath_var=$shlibpath_var
16971 # Is shlibpath searched before the hard-coded library search path?
16972 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16974 # Format of library name prefix.
16975 libname_spec=$lt_libname_spec
16977 # List of archive names.  First name is the real one, the rest are links.
16978 # The last name is the one that the linker finds with -lNAME
16979 library_names_spec=$lt_library_names_spec
16981 # The coded name of the library, if different from the real name.
16982 soname_spec=$lt_soname_spec
16984 # Permission mode override for installation of shared libraries.
16985 install_override_mode=$lt_install_override_mode
16987 # Command to use after installation of a shared archive.
16988 postinstall_cmds=$lt_postinstall_cmds
16990 # Command to use after uninstallation of a shared archive.
16991 postuninstall_cmds=$lt_postuninstall_cmds
16993 # Commands used to finish a libtool library installation in a directory.
16994 finish_cmds=$lt_finish_cmds
16996 # As "finish_cmds", except a single script fragment to be evaled but
16997 # not shown.
16998 finish_eval=$lt_finish_eval
17000 # Whether we should hardcode library paths into libraries.
17001 hardcode_into_libs=$hardcode_into_libs
17003 # Compile-time system search path for libraries.
17004 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17006 # Run-time system search path for libraries.
17007 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17009 # Whether dlopen is supported.
17010 dlopen_support=$enable_dlopen
17012 # Whether dlopen of programs is supported.
17013 dlopen_self=$enable_dlopen_self
17015 # Whether dlopen of statically linked programs is supported.
17016 dlopen_self_static=$enable_dlopen_self_static
17018 # Commands to strip libraries.
17019 old_striplib=$lt_old_striplib
17020 striplib=$lt_striplib
17023 # The linker used to build libraries.
17024 LD=$lt_LD
17026 # How to create reloadable object files.
17027 reload_flag=$lt_reload_flag
17028 reload_cmds=$lt_reload_cmds
17030 # Commands used to build an old-style archive.
17031 old_archive_cmds=$lt_old_archive_cmds
17033 # A language specific compiler.
17034 CC=$lt_compiler
17036 # Is the compiler the GNU compiler?
17037 with_gcc=$GCC
17039 # Compiler flag to turn off builtin functions.
17040 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17042 # Additional compiler flags for building library objects.
17043 pic_flag=$lt_lt_prog_compiler_pic
17045 # How to pass a linker flag through the compiler.
17046 wl=$lt_lt_prog_compiler_wl
17048 # Compiler flag to prevent dynamic linking.
17049 link_static_flag=$lt_lt_prog_compiler_static
17051 # Does compiler simultaneously support -c and -o options?
17052 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17054 # Whether or not to add -lc for building shared libraries.
17055 build_libtool_need_lc=$archive_cmds_need_lc
17057 # Whether or not to disallow shared libs when runtime libs are static.
17058 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17060 # Compiler flag to allow reflexive dlopens.
17061 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17063 # Compiler flag to generate shared objects directly from archives.
17064 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17066 # Whether the compiler copes with passing no objects directly.
17067 compiler_needs_object=$lt_compiler_needs_object
17069 # Create an old-style archive from a shared archive.
17070 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17072 # Create a temporary old-style archive to link instead of a shared archive.
17073 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17075 # Commands used to build a shared archive.
17076 archive_cmds=$lt_archive_cmds
17077 archive_expsym_cmds=$lt_archive_expsym_cmds
17079 # Commands used to build a loadable module if different from building
17080 # a shared archive.
17081 module_cmds=$lt_module_cmds
17082 module_expsym_cmds=$lt_module_expsym_cmds
17084 # Whether we are building with GNU ld or not.
17085 with_gnu_ld=$lt_with_gnu_ld
17087 # Flag that allows shared libraries with undefined symbols to be built.
17088 allow_undefined_flag=$lt_allow_undefined_flag
17090 # Flag that enforces no undefined symbols.
17091 no_undefined_flag=$lt_no_undefined_flag
17093 # Flag to hardcode \$libdir into a binary during linking.
17094 # This must work even if \$libdir does not exist
17095 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17097 # Whether we need a single "-rpath" flag with a separated argument.
17098 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17100 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17101 # DIR into the resulting binary.
17102 hardcode_direct=$hardcode_direct
17104 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17105 # DIR into the resulting binary and the resulting library dependency is
17106 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17107 # library is relocated.
17108 hardcode_direct_absolute=$hardcode_direct_absolute
17110 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17111 # into the resulting binary.
17112 hardcode_minus_L=$hardcode_minus_L
17114 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17115 # into the resulting binary.
17116 hardcode_shlibpath_var=$hardcode_shlibpath_var
17118 # Set to "yes" if building a shared library automatically hardcodes DIR
17119 # into the library and all subsequent libraries and executables linked
17120 # against it.
17121 hardcode_automatic=$hardcode_automatic
17123 # Set to yes if linker adds runtime paths of dependent libraries
17124 # to runtime path list.
17125 inherit_rpath=$inherit_rpath
17127 # Whether libtool must link a program against all its dependency libraries.
17128 link_all_deplibs=$link_all_deplibs
17130 # Set to "yes" if exported symbols are required.
17131 always_export_symbols=$always_export_symbols
17133 # The commands to list exported symbols.
17134 export_symbols_cmds=$lt_export_symbols_cmds
17136 # Symbols that should not be listed in the preloaded symbols.
17137 exclude_expsyms=$lt_exclude_expsyms
17139 # Symbols that must always be exported.
17140 include_expsyms=$lt_include_expsyms
17142 # Commands necessary for linking programs (against libraries) with templates.
17143 prelink_cmds=$lt_prelink_cmds
17145 # Commands necessary for finishing linking programs.
17146 postlink_cmds=$lt_postlink_cmds
17148 # Specify filename containing input files.
17149 file_list_spec=$lt_file_list_spec
17151 # How to hardcode a shared library path into an executable.
17152 hardcode_action=$hardcode_action
17154 # The directories searched by this compiler when creating a shared library.
17155 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17157 # Dependencies to place before and after the objects being linked to
17158 # create a shared library.
17159 predep_objects=$lt_predep_objects
17160 postdep_objects=$lt_postdep_objects
17161 predeps=$lt_predeps
17162 postdeps=$lt_postdeps
17164 # The library search path used internally by the compiler when linking
17165 # a shared library.
17166 compiler_lib_search_path=$lt_compiler_lib_search_path
17168 # ### END LIBTOOL CONFIG
17170 _LT_EOF
17172   case $host_os in
17173   aix3*)
17174     cat <<\_LT_EOF >> "$cfgfile"
17175 # AIX sometimes has problems with the GCC collect2 program.  For some
17176 # reason, if we set the COLLECT_NAMES environment variable, the problems
17177 # vanish in a puff of smoke.
17178 if test "X${COLLECT_NAMES+set}" != Xset; then
17179   COLLECT_NAMES=
17180   export COLLECT_NAMES
17182 _LT_EOF
17183     ;;
17184   esac
17186   
17187 ltmain="$ac_aux_dir/ltmain.sh"
17190   # We use sed instead of cat because bash on DJGPP gets confused if
17191   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17192   # text mode, it properly converts lines to CR/LF.  This bash problem
17193   # is reportedly fixed, but why not run on old versions too?
17194   sed '$q' "$ltmain" >> "$cfgfile" \
17195      || (rm -f "$cfgfile"; exit 1)
17197   if test x"$xsi_shell" = xyes; then
17198   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17199 func_dirname ()\
17201 \    case ${1} in\
17202 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17203 \      *  ) func_dirname_result="${3}" ;;\
17204 \    esac\
17205 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17206   && mv -f "$cfgfile.tmp" "$cfgfile" \
17207     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17208 test 0 -eq $? || _lt_function_replace_fail=:
17211   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17212 func_basename ()\
17214 \    func_basename_result="${1##*/}"\
17215 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17216   && mv -f "$cfgfile.tmp" "$cfgfile" \
17217     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17218 test 0 -eq $? || _lt_function_replace_fail=:
17221   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17222 func_dirname_and_basename ()\
17224 \    case ${1} in\
17225 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17226 \      *  ) func_dirname_result="${3}" ;;\
17227 \    esac\
17228 \    func_basename_result="${1##*/}"\
17229 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17230   && mv -f "$cfgfile.tmp" "$cfgfile" \
17231     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17232 test 0 -eq $? || _lt_function_replace_fail=:
17235   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17236 func_stripname ()\
17238 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17239 \    # positional parameters, so assign one to ordinary parameter first.\
17240 \    func_stripname_result=${3}\
17241 \    func_stripname_result=${func_stripname_result#"${1}"}\
17242 \    func_stripname_result=${func_stripname_result%"${2}"}\
17243 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17244   && mv -f "$cfgfile.tmp" "$cfgfile" \
17245     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17246 test 0 -eq $? || _lt_function_replace_fail=:
17249   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17250 func_split_long_opt ()\
17252 \    func_split_long_opt_name=${1%%=*}\
17253 \    func_split_long_opt_arg=${1#*=}\
17254 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17255   && mv -f "$cfgfile.tmp" "$cfgfile" \
17256     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17257 test 0 -eq $? || _lt_function_replace_fail=:
17260   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17261 func_split_short_opt ()\
17263 \    func_split_short_opt_arg=${1#??}\
17264 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17265 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17266   && mv -f "$cfgfile.tmp" "$cfgfile" \
17267     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17268 test 0 -eq $? || _lt_function_replace_fail=:
17271   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17272 func_lo2o ()\
17274 \    case ${1} in\
17275 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17276 \      *)    func_lo2o_result=${1} ;;\
17277 \    esac\
17278 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17279   && mv -f "$cfgfile.tmp" "$cfgfile" \
17280     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17281 test 0 -eq $? || _lt_function_replace_fail=:
17284   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17285 func_xform ()\
17287     func_xform_result=${1%.*}.lo\
17288 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17289   && mv -f "$cfgfile.tmp" "$cfgfile" \
17290     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17291 test 0 -eq $? || _lt_function_replace_fail=:
17294   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17295 func_arith ()\
17297     func_arith_result=$(( $* ))\
17298 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17299   && mv -f "$cfgfile.tmp" "$cfgfile" \
17300     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17301 test 0 -eq $? || _lt_function_replace_fail=:
17304   sed -e '/^func_len ()$/,/^} # func_len /c\
17305 func_len ()\
17307     func_len_result=${#1}\
17308 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17309   && mv -f "$cfgfile.tmp" "$cfgfile" \
17310     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17311 test 0 -eq $? || _lt_function_replace_fail=:
17315 if test x"$lt_shell_append" = xyes; then
17316   sed -e '/^func_append ()$/,/^} # func_append /c\
17317 func_append ()\
17319     eval "${1}+=\\${2}"\
17320 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17321   && mv -f "$cfgfile.tmp" "$cfgfile" \
17322     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17323 test 0 -eq $? || _lt_function_replace_fail=:
17326   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17327 func_append_quoted ()\
17329 \    func_quote_for_eval "${2}"\
17330 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17331 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17332   && mv -f "$cfgfile.tmp" "$cfgfile" \
17333     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17334 test 0 -eq $? || _lt_function_replace_fail=:
17337   # Save a `func_append' function call where possible by direct use of '+='
17338   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17339     && mv -f "$cfgfile.tmp" "$cfgfile" \
17340       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17341   test 0 -eq $? || _lt_function_replace_fail=:
17342 else
17343   # Save a `func_append' function call even when '+=' is not available
17344   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17345     && mv -f "$cfgfile.tmp" "$cfgfile" \
17346       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17347   test 0 -eq $? || _lt_function_replace_fail=:
17350 if test x"$_lt_function_replace_fail" = x":"; then
17351   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17352 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17356    mv -f "$cfgfile" "$ofile" ||
17357     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17358   chmod +x "$ofile"
17361     cat <<_LT_EOF >> "$ofile"
17363 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17365 # The linker used to build libraries.
17366 LD=$lt_LD_CXX
17368 # How to create reloadable object files.
17369 reload_flag=$lt_reload_flag_CXX
17370 reload_cmds=$lt_reload_cmds_CXX
17372 # Commands used to build an old-style archive.
17373 old_archive_cmds=$lt_old_archive_cmds_CXX
17375 # A language specific compiler.
17376 CC=$lt_compiler_CXX
17378 # Is the compiler the GNU compiler?
17379 with_gcc=$GCC_CXX
17381 # Compiler flag to turn off builtin functions.
17382 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17384 # Additional compiler flags for building library objects.
17385 pic_flag=$lt_lt_prog_compiler_pic_CXX
17387 # How to pass a linker flag through the compiler.
17388 wl=$lt_lt_prog_compiler_wl_CXX
17390 # Compiler flag to prevent dynamic linking.
17391 link_static_flag=$lt_lt_prog_compiler_static_CXX
17393 # Does compiler simultaneously support -c and -o options?
17394 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17396 # Whether or not to add -lc for building shared libraries.
17397 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17399 # Whether or not to disallow shared libs when runtime libs are static.
17400 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17402 # Compiler flag to allow reflexive dlopens.
17403 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17405 # Compiler flag to generate shared objects directly from archives.
17406 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17408 # Whether the compiler copes with passing no objects directly.
17409 compiler_needs_object=$lt_compiler_needs_object_CXX
17411 # Create an old-style archive from a shared archive.
17412 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17414 # Create a temporary old-style archive to link instead of a shared archive.
17415 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17417 # Commands used to build a shared archive.
17418 archive_cmds=$lt_archive_cmds_CXX
17419 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17421 # Commands used to build a loadable module if different from building
17422 # a shared archive.
17423 module_cmds=$lt_module_cmds_CXX
17424 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17426 # Whether we are building with GNU ld or not.
17427 with_gnu_ld=$lt_with_gnu_ld_CXX
17429 # Flag that allows shared libraries with undefined symbols to be built.
17430 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17432 # Flag that enforces no undefined symbols.
17433 no_undefined_flag=$lt_no_undefined_flag_CXX
17435 # Flag to hardcode \$libdir into a binary during linking.
17436 # This must work even if \$libdir does not exist
17437 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17439 # Whether we need a single "-rpath" flag with a separated argument.
17440 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17442 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17443 # DIR into the resulting binary.
17444 hardcode_direct=$hardcode_direct_CXX
17446 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17447 # DIR into the resulting binary and the resulting library dependency is
17448 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17449 # library is relocated.
17450 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17452 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17453 # into the resulting binary.
17454 hardcode_minus_L=$hardcode_minus_L_CXX
17456 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17457 # into the resulting binary.
17458 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17460 # Set to "yes" if building a shared library automatically hardcodes DIR
17461 # into the library and all subsequent libraries and executables linked
17462 # against it.
17463 hardcode_automatic=$hardcode_automatic_CXX
17465 # Set to yes if linker adds runtime paths of dependent libraries
17466 # to runtime path list.
17467 inherit_rpath=$inherit_rpath_CXX
17469 # Whether libtool must link a program against all its dependency libraries.
17470 link_all_deplibs=$link_all_deplibs_CXX
17472 # Set to "yes" if exported symbols are required.
17473 always_export_symbols=$always_export_symbols_CXX
17475 # The commands to list exported symbols.
17476 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17478 # Symbols that should not be listed in the preloaded symbols.
17479 exclude_expsyms=$lt_exclude_expsyms_CXX
17481 # Symbols that must always be exported.
17482 include_expsyms=$lt_include_expsyms_CXX
17484 # Commands necessary for linking programs (against libraries) with templates.
17485 prelink_cmds=$lt_prelink_cmds_CXX
17487 # Commands necessary for finishing linking programs.
17488 postlink_cmds=$lt_postlink_cmds_CXX
17490 # Specify filename containing input files.
17491 file_list_spec=$lt_file_list_spec_CXX
17493 # How to hardcode a shared library path into an executable.
17494 hardcode_action=$hardcode_action_CXX
17496 # The directories searched by this compiler when creating a shared library.
17497 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17499 # Dependencies to place before and after the objects being linked to
17500 # create a shared library.
17501 predep_objects=$lt_predep_objects_CXX
17502 postdep_objects=$lt_postdep_objects_CXX
17503 predeps=$lt_predeps_CXX
17504 postdeps=$lt_postdeps_CXX
17506 # The library search path used internally by the compiler when linking
17507 # a shared library.
17508 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17510 # ### END LIBTOOL TAG CONFIG: CXX
17511 _LT_EOF
17513  ;;
17515   esac
17516 done # for ac_tag
17519 as_fn_exit 0
17520 _ACEOF
17521 ac_clean_files=$ac_clean_files_save
17523 test $ac_write_fail = 0 ||
17524   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17527 # configure is writing to config.log, and then calls config.status.
17528 # config.status does its own redirection, appending to config.log.
17529 # Unfortunately, on DOS this fails, as config.log is still kept open
17530 # by configure, so config.status won't be able to write to it; its
17531 # output is simply discarded.  So we exec the FD to /dev/null,
17532 # effectively closing config.log, so it can be properly (re)opened and
17533 # appended to by config.status.  When coming back to configure, we
17534 # need to make the FD available again.
17535 if test "$no_create" != yes; then
17536   ac_cs_success=:
17537   ac_config_status_args=
17538   test "$silent" = yes &&
17539     ac_config_status_args="$ac_config_status_args --quiet"
17540   exec 5>/dev/null
17541   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17542   exec 5>>config.log
17543   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17544   # would make configure fail if this is the last instruction.
17545   $ac_cs_success || as_fn_exit 1
17547 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17548   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17549 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}