Initial commit.
[libsalac.git] / autom4te.cache / output.1
blob3063c79a279a6c3018013fa03b8f536cc977733f
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 ALAC_LIBS
658 ALAC_CFLAGS
659 PKG_CONFIG_LIBDIR
660 PKG_CONFIG_PATH
661 PKG_CONFIG
662 am__fastdepCXX_FALSE
663 am__fastdepCXX_TRUE
664 CXXDEPMODE
665 am__nodep
666 AMDEPBACKSLASH
667 AMDEP_FALSE
668 AMDEP_TRUE
669 am__quote
670 am__include
671 DEPDIR
672 OBJEXT
673 EXEEXT
674 ac_ct_CXX
675 CPPFLAGS
676 LDFLAGS
677 CXXFLAGS
679 am__untar
680 am__tar
681 AMTAR
682 am__leading_dot
683 SET_MAKE
685 mkdir_p
686 MKDIR_P
687 INSTALL_STRIP_PROGRAM
688 STRIP
689 install_sh
690 MAKEINFO
691 AUTOHEADER
692 AUTOMAKE
693 AUTOCONF
694 ACLOCAL
695 VERSION
696 PACKAGE
697 CYGPATH_W
698 am__isrc
699 INSTALL_DATA
700 INSTALL_SCRIPT
701 INSTALL_PROGRAM
702 target_alias
703 host_alias
704 build_alias
705 LIBS
706 ECHO_T
707 ECHO_N
708 ECHO_C
709 DEFS
710 mandir
711 localedir
712 libdir
713 psdir
714 pdfdir
715 dvidir
716 htmldir
717 infodir
718 docdir
719 oldincludedir
720 includedir
721 localstatedir
722 sharedstatedir
723 sysconfdir
724 datadir
725 datarootdir
726 libexecdir
727 sbindir
728 bindir
729 program_transform_name
730 prefix
731 exec_prefix
732 PACKAGE_URL
733 PACKAGE_BUGREPORT
734 PACKAGE_STRING
735 PACKAGE_VERSION
736 PACKAGE_TARNAME
737 PACKAGE_NAME
738 PATH_SEPARATOR
739 SHELL'
740 ac_subst_files=''
741 ac_user_opts='
742 enable_option_checking
743 enable_dependency_tracking
744 enable_static
745 enable_shared
746 with_pic
747 enable_fast_install
748 with_gnu_ld
749 with_sysroot
750 enable_libtool_lock
752       ac_precious_vars='build_alias
753 host_alias
754 target_alias
756 CXXFLAGS
757 LDFLAGS
758 LIBS
759 CPPFLAGS
761 PKG_CONFIG
762 PKG_CONFIG_PATH
763 PKG_CONFIG_LIBDIR
764 ALAC_CFLAGS
765 ALAC_LIBS
767 CFLAGS
769 CXXCPP'
772 # Initialize some variables set by options.
773 ac_init_help=
774 ac_init_version=false
775 ac_unrecognized_opts=
776 ac_unrecognized_sep=
777 # The variables have the same names as the options, with
778 # dashes changed to underlines.
779 cache_file=/dev/null
780 exec_prefix=NONE
781 no_create=
782 no_recursion=
783 prefix=NONE
784 program_prefix=NONE
785 program_suffix=NONE
786 program_transform_name=s,x,x,
787 silent=
788 site=
789 srcdir=
790 verbose=
791 x_includes=NONE
792 x_libraries=NONE
794 # Installation directory options.
795 # These are left unexpanded so users can "make install exec_prefix=/foo"
796 # and all the variables that are supposed to be based on exec_prefix
797 # by default will actually change.
798 # Use braces instead of parens because sh, perl, etc. also accept them.
799 # (The list follows the same order as the GNU Coding Standards.)
800 bindir='${exec_prefix}/bin'
801 sbindir='${exec_prefix}/sbin'
802 libexecdir='${exec_prefix}/libexec'
803 datarootdir='${prefix}/share'
804 datadir='${datarootdir}'
805 sysconfdir='${prefix}/etc'
806 sharedstatedir='${prefix}/com'
807 localstatedir='${prefix}/var'
808 includedir='${prefix}/include'
809 oldincludedir='/usr/include'
810 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
811 infodir='${datarootdir}/info'
812 htmldir='${docdir}'
813 dvidir='${docdir}'
814 pdfdir='${docdir}'
815 psdir='${docdir}'
816 libdir='${exec_prefix}/lib'
817 localedir='${datarootdir}/locale'
818 mandir='${datarootdir}/man'
820 ac_prev=
821 ac_dashdash=
822 for ac_option
824   # If the previous option needs an argument, assign it.
825   if test -n "$ac_prev"; then
826     eval $ac_prev=\$ac_option
827     ac_prev=
828     continue
829   fi
831   case $ac_option in
832   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
833   *=)   ac_optarg= ;;
834   *)    ac_optarg=yes ;;
835   esac
837   # Accept the important Cygnus configure options, so we can diagnose typos.
839   case $ac_dashdash$ac_option in
840   --)
841     ac_dashdash=yes ;;
843   -bindir | --bindir | --bindi | --bind | --bin | --bi)
844     ac_prev=bindir ;;
845   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
846     bindir=$ac_optarg ;;
848   -build | --build | --buil | --bui | --bu)
849     ac_prev=build_alias ;;
850   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
851     build_alias=$ac_optarg ;;
853   -cache-file | --cache-file | --cache-fil | --cache-fi \
854   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
855     ac_prev=cache_file ;;
856   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
857   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
858     cache_file=$ac_optarg ;;
860   --config-cache | -C)
861     cache_file=config.cache ;;
863   -datadir | --datadir | --datadi | --datad)
864     ac_prev=datadir ;;
865   -datadir=* | --datadir=* | --datadi=* | --datad=*)
866     datadir=$ac_optarg ;;
868   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
869   | --dataroo | --dataro | --datar)
870     ac_prev=datarootdir ;;
871   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
872   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
873     datarootdir=$ac_optarg ;;
875   -disable-* | --disable-*)
876     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
877     # Reject names that are not valid shell variable names.
878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879       as_fn_error $? "invalid feature name: $ac_useropt"
880     ac_useropt_orig=$ac_useropt
881     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882     case $ac_user_opts in
883       *"
884 "enable_$ac_useropt"
885 "*) ;;
886       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
887          ac_unrecognized_sep=', ';;
888     esac
889     eval enable_$ac_useropt=no ;;
891   -docdir | --docdir | --docdi | --doc | --do)
892     ac_prev=docdir ;;
893   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
894     docdir=$ac_optarg ;;
896   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897     ac_prev=dvidir ;;
898   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
899     dvidir=$ac_optarg ;;
901   -enable-* | --enable-*)
902     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903     # Reject names that are not valid shell variable names.
904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
905       as_fn_error $? "invalid feature name: $ac_useropt"
906     ac_useropt_orig=$ac_useropt
907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908     case $ac_user_opts in
909       *"
910 "enable_$ac_useropt"
911 "*) ;;
912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
913          ac_unrecognized_sep=', ';;
914     esac
915     eval enable_$ac_useropt=\$ac_optarg ;;
917   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
918   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
919   | --exec | --exe | --ex)
920     ac_prev=exec_prefix ;;
921   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
922   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
923   | --exec=* | --exe=* | --ex=*)
924     exec_prefix=$ac_optarg ;;
926   -gas | --gas | --ga | --g)
927     # Obsolete; use --with-gas.
928     with_gas=yes ;;
930   -help | --help | --hel | --he | -h)
931     ac_init_help=long ;;
932   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
933     ac_init_help=recursive ;;
934   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
935     ac_init_help=short ;;
937   -host | --host | --hos | --ho)
938     ac_prev=host_alias ;;
939   -host=* | --host=* | --hos=* | --ho=*)
940     host_alias=$ac_optarg ;;
942   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
943     ac_prev=htmldir ;;
944   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
945   | --ht=*)
946     htmldir=$ac_optarg ;;
948   -includedir | --includedir | --includedi | --included | --include \
949   | --includ | --inclu | --incl | --inc)
950     ac_prev=includedir ;;
951   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
952   | --includ=* | --inclu=* | --incl=* | --inc=*)
953     includedir=$ac_optarg ;;
955   -infodir | --infodir | --infodi | --infod | --info | --inf)
956     ac_prev=infodir ;;
957   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
958     infodir=$ac_optarg ;;
960   -libdir | --libdir | --libdi | --libd)
961     ac_prev=libdir ;;
962   -libdir=* | --libdir=* | --libdi=* | --libd=*)
963     libdir=$ac_optarg ;;
965   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
966   | --libexe | --libex | --libe)
967     ac_prev=libexecdir ;;
968   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
969   | --libexe=* | --libex=* | --libe=*)
970     libexecdir=$ac_optarg ;;
972   -localedir | --localedir | --localedi | --localed | --locale)
973     ac_prev=localedir ;;
974   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
975     localedir=$ac_optarg ;;
977   -localstatedir | --localstatedir | --localstatedi | --localstated \
978   | --localstate | --localstat | --localsta | --localst | --locals)
979     ac_prev=localstatedir ;;
980   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
981   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
982     localstatedir=$ac_optarg ;;
984   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
985     ac_prev=mandir ;;
986   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
987     mandir=$ac_optarg ;;
989   -nfp | --nfp | --nf)
990     # Obsolete; use --without-fp.
991     with_fp=no ;;
993   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
994   | --no-cr | --no-c | -n)
995     no_create=yes ;;
997   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
998   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
999     no_recursion=yes ;;
1001   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1002   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1003   | --oldin | --oldi | --old | --ol | --o)
1004     ac_prev=oldincludedir ;;
1005   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1006   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1007   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1008     oldincludedir=$ac_optarg ;;
1010   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1011     ac_prev=prefix ;;
1012   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1013     prefix=$ac_optarg ;;
1015   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1016   | --program-pre | --program-pr | --program-p)
1017     ac_prev=program_prefix ;;
1018   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1019   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1020     program_prefix=$ac_optarg ;;
1022   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1023   | --program-suf | --program-su | --program-s)
1024     ac_prev=program_suffix ;;
1025   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1026   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1027     program_suffix=$ac_optarg ;;
1029   -program-transform-name | --program-transform-name \
1030   | --program-transform-nam | --program-transform-na \
1031   | --program-transform-n | --program-transform- \
1032   | --program-transform | --program-transfor \
1033   | --program-transfo | --program-transf \
1034   | --program-trans | --program-tran \
1035   | --progr-tra | --program-tr | --program-t)
1036     ac_prev=program_transform_name ;;
1037   -program-transform-name=* | --program-transform-name=* \
1038   | --program-transform-nam=* | --program-transform-na=* \
1039   | --program-transform-n=* | --program-transform-=* \
1040   | --program-transform=* | --program-transfor=* \
1041   | --program-transfo=* | --program-transf=* \
1042   | --program-trans=* | --program-tran=* \
1043   | --progr-tra=* | --program-tr=* | --program-t=*)
1044     program_transform_name=$ac_optarg ;;
1046   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1047     ac_prev=pdfdir ;;
1048   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1049     pdfdir=$ac_optarg ;;
1051   -psdir | --psdir | --psdi | --psd | --ps)
1052     ac_prev=psdir ;;
1053   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1054     psdir=$ac_optarg ;;
1056   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057   | -silent | --silent | --silen | --sile | --sil)
1058     silent=yes ;;
1060   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1061     ac_prev=sbindir ;;
1062   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1063   | --sbi=* | --sb=*)
1064     sbindir=$ac_optarg ;;
1066   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1067   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1068   | --sharedst | --shareds | --shared | --share | --shar \
1069   | --sha | --sh)
1070     ac_prev=sharedstatedir ;;
1071   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1072   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1073   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1074   | --sha=* | --sh=*)
1075     sharedstatedir=$ac_optarg ;;
1077   -site | --site | --sit)
1078     ac_prev=site ;;
1079   -site=* | --site=* | --sit=*)
1080     site=$ac_optarg ;;
1082   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1083     ac_prev=srcdir ;;
1084   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1085     srcdir=$ac_optarg ;;
1087   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1088   | --syscon | --sysco | --sysc | --sys | --sy)
1089     ac_prev=sysconfdir ;;
1090   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1091   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1092     sysconfdir=$ac_optarg ;;
1094   -target | --target | --targe | --targ | --tar | --ta | --t)
1095     ac_prev=target_alias ;;
1096   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1097     target_alias=$ac_optarg ;;
1099   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1100     verbose=yes ;;
1102   -version | --version | --versio | --versi | --vers | -V)
1103     ac_init_version=: ;;
1105   -with-* | --with-*)
1106     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1107     # Reject names that are not valid shell variable names.
1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109       as_fn_error $? "invalid package name: $ac_useropt"
1110     ac_useropt_orig=$ac_useropt
1111     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112     case $ac_user_opts in
1113       *"
1114 "with_$ac_useropt"
1115 "*) ;;
1116       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1117          ac_unrecognized_sep=', ';;
1118     esac
1119     eval with_$ac_useropt=\$ac_optarg ;;
1121   -without-* | --without-*)
1122     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123     # Reject names that are not valid shell variable names.
1124     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125       as_fn_error $? "invalid package name: $ac_useropt"
1126     ac_useropt_orig=$ac_useropt
1127     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128     case $ac_user_opts in
1129       *"
1130 "with_$ac_useropt"
1131 "*) ;;
1132       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1133          ac_unrecognized_sep=', ';;
1134     esac
1135     eval with_$ac_useropt=no ;;
1137   --x)
1138     # Obsolete; use --with-x.
1139     with_x=yes ;;
1141   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1142   | --x-incl | --x-inc | --x-in | --x-i)
1143     ac_prev=x_includes ;;
1144   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1145   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1146     x_includes=$ac_optarg ;;
1148   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1149   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1150     ac_prev=x_libraries ;;
1151   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1152   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1153     x_libraries=$ac_optarg ;;
1155   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1156 Try \`$0 --help' for more information"
1157     ;;
1159   *=*)
1160     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1161     # Reject names that are not valid shell variable names.
1162     case $ac_envvar in #(
1163       '' | [0-9]* | *[!_$as_cr_alnum]* )
1164       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1165     esac
1166     eval $ac_envvar=\$ac_optarg
1167     export $ac_envvar ;;
1169   *)
1170     # FIXME: should be removed in autoconf 3.0.
1171     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1175     ;;
1177   esac
1178 done
1180 if test -n "$ac_prev"; then
1181   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1182   as_fn_error $? "missing argument to $ac_option"
1185 if test -n "$ac_unrecognized_opts"; then
1186   case $enable_option_checking in
1187     no) ;;
1188     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1189     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1190   esac
1193 # Check all directory arguments for consistency.
1194 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1195                 datadir sysconfdir sharedstatedir localstatedir includedir \
1196                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1197                 libdir localedir mandir
1199   eval ac_val=\$$ac_var
1200   # Remove trailing slashes.
1201   case $ac_val in
1202     */ )
1203       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1204       eval $ac_var=\$ac_val;;
1205   esac
1206   # Be sure to have absolute directory names.
1207   case $ac_val in
1208     [\\/$]* | ?:[\\/]* )  continue;;
1209     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1210   esac
1211   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1212 done
1214 # There might be people who depend on the old broken behavior: `$host'
1215 # used to hold the argument of --host etc.
1216 # FIXME: To remove some day.
1217 build=$build_alias
1218 host=$host_alias
1219 target=$target_alias
1221 # FIXME: To remove some day.
1222 if test "x$host_alias" != x; then
1223   if test "x$build_alias" = x; then
1224     cross_compiling=maybe
1225     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1226     If a cross compiler is detected then cross compile mode will be used" >&2
1227   elif test "x$build_alias" != "x$host_alias"; then
1228     cross_compiling=yes
1229   fi
1232 ac_tool_prefix=
1233 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1235 test "$silent" = yes && exec 6>/dev/null
1238 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1239 ac_ls_di=`ls -di .` &&
1240 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1241   as_fn_error $? "working directory cannot be determined"
1242 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1243   as_fn_error $? "pwd does not report name of working directory"
1246 # Find the source files, if location was not specified.
1247 if test -z "$srcdir"; then
1248   ac_srcdir_defaulted=yes
1249   # Try the directory containing this script, then the parent directory.
1250   ac_confdir=`$as_dirname -- "$as_myself" ||
1251 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1252          X"$as_myself" : 'X\(//\)[^/]' \| \
1253          X"$as_myself" : 'X\(//\)$' \| \
1254          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1255 $as_echo X"$as_myself" |
1256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1257             s//\1/
1258             q
1259           }
1260           /^X\(\/\/\)[^/].*/{
1261             s//\1/
1262             q
1263           }
1264           /^X\(\/\/\)$/{
1265             s//\1/
1266             q
1267           }
1268           /^X\(\/\).*/{
1269             s//\1/
1270             q
1271           }
1272           s/.*/./; q'`
1273   srcdir=$ac_confdir
1274   if test ! -r "$srcdir/$ac_unique_file"; then
1275     srcdir=..
1276   fi
1277 else
1278   ac_srcdir_defaulted=no
1280 if test ! -r "$srcdir/$ac_unique_file"; then
1281   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1282   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1284 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1285 ac_abs_confdir=`(
1286         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287         pwd)`
1288 # When building in place, set srcdir=.
1289 if test "$ac_abs_confdir" = "$ac_pwd"; then
1290   srcdir=.
1292 # Remove unnecessary trailing slashes from srcdir.
1293 # Double slashes in file names in object file debugging info
1294 # mess up M-x gdb in Emacs.
1295 case $srcdir in
1296 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 esac
1298 for ac_var in $ac_precious_vars; do
1299   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1300   eval ac_env_${ac_var}_value=\$${ac_var}
1301   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1302   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1303 done
1306 # Report the --help message.
1308 if test "$ac_init_help" = "long"; then
1309   # Omit some internal or obsolete options to make the list less imposing.
1310   # This message is too long to be a string in the A/UX 3.1 sh.
1311   cat <<_ACEOF
1312 \`configure' configures libsalac 0.1 to adapt to many kinds of systems.
1314 Usage: $0 [OPTION]... [VAR=VALUE]...
1316 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1317 VAR=VALUE.  See below for descriptions of some of the useful variables.
1319 Defaults for the options are specified in brackets.
1321 Configuration:
1322   -h, --help              display this help and exit
1323       --help=short        display options specific to this package
1324       --help=recursive    display the short help of all the included packages
1325   -V, --version           display version information and exit
1326   -q, --quiet, --silent   do not print \`checking ...' messages
1327       --cache-file=FILE   cache test results in FILE [disabled]
1328   -C, --config-cache      alias for \`--cache-file=config.cache'
1329   -n, --no-create         do not create output files
1330       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1332 Installation directories:
1333   --prefix=PREFIX         install architecture-independent files in PREFIX
1334                           @<:@@S|@ac_default_prefix@:>@
1335   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1336                           @<:@PREFIX@:>@
1338 By default, \`make install' will install all the files in
1339 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1340 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1341 for instance \`--prefix=\$HOME'.
1343 For better control, use the options below.
1345 Fine tuning of the installation directories:
1346   --bindir=DIR            user executables [EPREFIX/bin]
1347   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1348   --libexecdir=DIR        program executables [EPREFIX/libexec]
1349   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1350   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1351   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1352   --libdir=DIR            object code libraries [EPREFIX/lib]
1353   --includedir=DIR        C header files [PREFIX/include]
1354   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1355   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1356   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1357   --infodir=DIR           info documentation [DATAROOTDIR/info]
1358   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1359   --mandir=DIR            man documentation [DATAROOTDIR/man]
1360   --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/libsalac@:>@
1361   --htmldir=DIR           html documentation [DOCDIR]
1362   --dvidir=DIR            dvi documentation [DOCDIR]
1363   --pdfdir=DIR            pdf documentation [DOCDIR]
1364   --psdir=DIR             ps documentation [DOCDIR]
1365 _ACEOF
1367   cat <<\_ACEOF
1369 Program names:
1370   --program-prefix=PREFIX            prepend PREFIX to installed program names
1371   --program-suffix=SUFFIX            append SUFFIX to installed program names
1372   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1374 System types:
1375   --build=BUILD     configure for building on BUILD [guessed]
1376   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1377 _ACEOF
1380 if test -n "$ac_init_help"; then
1381   case $ac_init_help in
1382      short | recursive ) echo "Configuration of libsalac 0.1:";;
1383    esac
1384   cat <<\_ACEOF
1386 Optional Features:
1387   --disable-option-checking  ignore unrecognized --enable/--with options
1388   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1389   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1390   --disable-dependency-tracking  speeds up one-time build
1391   --enable-dependency-tracking   do not reject slow dependency extractors
1392   --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=no@:>@
1393   --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
1394   --enable-fast-install@<:@=PKGS@:>@ 
1395                           optimize for fast installation @<:@default=yes@:>@
1396   --disable-libtool-lock  avoid locking (might break parallel builds)
1398 Optional Packages:
1399   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1400   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1401   --with-pic@<:@=PKGS@:>@       try to use only PIC/non-PIC objects @<:@default=use
1402                           both@:>@
1403   --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
1404   --with-sysroot=DIR Search for dependent libraries within DIR
1405                         (or the compiler's sysroot if not specified).
1407 Some influential environment variables:
1408   CXX         C++ compiler command
1409   CXXFLAGS    C++ compiler flags
1410   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1411               nonstandard directory <lib dir>
1412   LIBS        libraries to pass to the linker, e.g. -l<library>
1413   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1414               you have headers in a nonstandard directory <include dir>
1415   PKG_CONFIG  path to pkg-config utility
1416   PKG_CONFIG_PATH 
1417               directories to add to pkg-config's search path
1418   PKG_CONFIG_LIBDIR 
1419               path overriding pkg-config's built-in search path
1420   ALAC_CFLAGS C compiler flags for ALAC, overriding pkg-config
1421   ALAC_LIBS   linker flags for ALAC, overriding pkg-config
1422   CC          C compiler command
1423   CFLAGS      C compiler flags
1424   CPP         C preprocessor
1425   CXXCPP      C++ preprocessor
1427 Use these variables to override the choices made by `configure' or to help
1428 it to find libraries and programs with nonstandard names/locations.
1430 Report bugs to <pulseaudio@niafc.de>.
1431 libsalac home page: <https://bugs.freedesktop.org/show_bug.cgi?id=42804>.
1432 _ACEOF
1433 ac_status=$?
1436 if test "$ac_init_help" = "recursive"; then
1437   # If there are subdirs, report their specific --help.
1438   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439     test -d "$ac_dir" ||
1440       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1441       continue
1442     ac_builddir=.
1444 case "$ac_dir" in
1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1448   # A ".." for each directory in $ac_dir_suffix.
1449   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1450   case $ac_top_builddir_sub in
1451   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453   esac ;;
1454 esac
1455 ac_abs_top_builddir=$ac_pwd
1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir=$ac_top_build_prefix
1460 case $srcdir in
1461   .)  # We are building in place.
1462     ac_srcdir=.
1463     ac_top_srcdir=$ac_top_builddir_sub
1464     ac_abs_top_srcdir=$ac_pwd ;;
1465   [\\/]* | ?:[\\/]* )  # Absolute name.
1466     ac_srcdir=$srcdir$ac_dir_suffix;
1467     ac_top_srcdir=$srcdir
1468     ac_abs_top_srcdir=$srcdir ;;
1469   *) # Relative name.
1470     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471     ac_top_srcdir=$ac_top_build_prefix$srcdir
1472     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473 esac
1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1476     cd "$ac_dir" || { ac_status=$?; continue; }
1477     # Check for guested configure.
1478     if test -f "$ac_srcdir/configure.gnu"; then
1479       echo &&
1480       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481     elif test -f "$ac_srcdir/configure"; then
1482       echo &&
1483       $SHELL "$ac_srcdir/configure" --help=recursive
1484     else
1485       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486     fi || ac_status=$?
1487     cd "$ac_pwd" || { ac_status=$?; break; }
1488   done
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1493   cat <<\_ACEOF
1494 libsalac configure 0.1
1495 generated by GNU Autoconf 2.68
1497 Copyright (C) 2010 Free Software Foundation, Inc.
1498 This configure script is free software; the Free Software Foundation
1499 gives unlimited permission to copy, distribute and modify it.
1500 _ACEOF
1501   exit
1504 ## ------------------------ ##
1505 ## Autoconf initialization. ##
1506 ## ------------------------ ##
1508 @%:@ ac_fn_cxx_try_compile LINENO
1509 @%:@ ----------------------------
1510 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1511 ac_fn_cxx_try_compile ()
1513   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1514   rm -f conftest.$ac_objext
1515   if { { ac_try="$ac_compile"
1516 case "(($ac_try" in
1517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1518   *) ac_try_echo=$ac_try;;
1519 esac
1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1521 $as_echo "$ac_try_echo"; } >&5
1522   (eval "$ac_compile") 2>conftest.err
1523   ac_status=$?
1524   if test -s conftest.err; then
1525     grep -v '^ *+' conftest.err >conftest.er1
1526     cat conftest.er1 >&5
1527     mv -f conftest.er1 conftest.err
1528   fi
1529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1530   test $ac_status = 0; } && {
1531          test -z "$ac_cxx_werror_flag" ||
1532          test ! -s conftest.err
1533        } && test -s conftest.$ac_objext; then :
1534   ac_retval=0
1535 else
1536   $as_echo "$as_me: failed program was:" >&5
1537 sed 's/^/| /' conftest.$ac_ext >&5
1539         ac_retval=1
1541   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1542   as_fn_set_status $ac_retval
1544 } @%:@ ac_fn_cxx_try_compile
1546 @%:@ ac_fn_c_try_compile LINENO
1547 @%:@ --------------------------
1548 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1549 ac_fn_c_try_compile ()
1551   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1552   rm -f conftest.$ac_objext
1553   if { { ac_try="$ac_compile"
1554 case "(($ac_try" in
1555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1556   *) ac_try_echo=$ac_try;;
1557 esac
1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560   (eval "$ac_compile") 2>conftest.err
1561   ac_status=$?
1562   if test -s conftest.err; then
1563     grep -v '^ *+' conftest.err >conftest.er1
1564     cat conftest.er1 >&5
1565     mv -f conftest.er1 conftest.err
1566   fi
1567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568   test $ac_status = 0; } && {
1569          test -z "$ac_c_werror_flag" ||
1570          test ! -s conftest.err
1571        } && test -s conftest.$ac_objext; then :
1572   ac_retval=0
1573 else
1574   $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1577         ac_retval=1
1579   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580   as_fn_set_status $ac_retval
1582 } @%:@ ac_fn_c_try_compile
1584 @%:@ ac_fn_c_try_link LINENO
1585 @%:@ -----------------------
1586 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1587 ac_fn_c_try_link ()
1589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590   rm -f conftest.$ac_objext conftest$ac_exeext
1591   if { { ac_try="$ac_link"
1592 case "(($ac_try" in
1593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594   *) ac_try_echo=$ac_try;;
1595 esac
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598   (eval "$ac_link") 2>conftest.err
1599   ac_status=$?
1600   if test -s conftest.err; then
1601     grep -v '^ *+' conftest.err >conftest.er1
1602     cat conftest.er1 >&5
1603     mv -f conftest.er1 conftest.err
1604   fi
1605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606   test $ac_status = 0; } && {
1607          test -z "$ac_c_werror_flag" ||
1608          test ! -s conftest.err
1609        } && test -s conftest$ac_exeext && {
1610          test "$cross_compiling" = yes ||
1611          $as_test_x conftest$ac_exeext
1612        }; then :
1613   ac_retval=0
1614 else
1615   $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1618         ac_retval=1
1620   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1621   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1622   # interfere with the next link command; also delete a directory that is
1623   # left behind by Apple's compiler.  We do this before executing the actions.
1624   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626   as_fn_set_status $ac_retval
1628 } @%:@ ac_fn_c_try_link
1630 @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1631 @%:@ -------------------------------------------------------
1632 @%:@ Tests whether HEADER exists and can be compiled using the include files in
1633 @%:@ INCLUDES, setting the cache variable VAR accordingly.
1634 ac_fn_c_check_header_compile ()
1636   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1638 $as_echo_n "checking for $2... " >&6; }
1639 if eval \${$3+:} false; then :
1640   $as_echo_n "(cached) " >&6
1641 else
1642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h.  */
1645 @%:@include <$2>
1646 _ACEOF
1647 if ac_fn_c_try_compile "$LINENO"; then :
1648   eval "$3=yes"
1649 else
1650   eval "$3=no"
1652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1654 eval ac_res=\$$3
1655                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1656 $as_echo "$ac_res" >&6; }
1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1659 } @%:@ ac_fn_c_check_header_compile
1661 @%:@ ac_fn_c_try_cpp LINENO
1662 @%:@ ----------------------
1663 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_cpp ()
1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667   if { { ac_try="$ac_cpp conftest.$ac_ext"
1668 case "(($ac_try" in
1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670   *) ac_try_echo=$ac_try;;
1671 esac
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1675   ac_status=$?
1676   if test -s conftest.err; then
1677     grep -v '^ *+' conftest.err >conftest.er1
1678     cat conftest.er1 >&5
1679     mv -f conftest.er1 conftest.err
1680   fi
1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682   test $ac_status = 0; } > conftest.i && {
1683          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1684          test ! -s conftest.err
1685        }; then :
1686   ac_retval=0
1687 else
1688   $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1691     ac_retval=1
1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694   as_fn_set_status $ac_retval
1696 } @%:@ ac_fn_c_try_cpp
1698 @%:@ ac_fn_c_try_run LINENO
1699 @%:@ ----------------------
1700 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1701 @%:@ that executables *can* be run.
1702 ac_fn_c_try_run ()
1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705   if { { ac_try="$ac_link"
1706 case "(($ac_try" in
1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708   *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712   (eval "$ac_link") 2>&5
1713   ac_status=$?
1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1716   { { case "(($ac_try" in
1717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718   *) ac_try_echo=$ac_try;;
1719 esac
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722   (eval "$ac_try") 2>&5
1723   ac_status=$?
1724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725   test $ac_status = 0; }; }; then :
1726   ac_retval=0
1727 else
1728   $as_echo "$as_me: program exited with status $ac_status" >&5
1729        $as_echo "$as_me: failed program was:" >&5
1730 sed 's/^/| /' conftest.$ac_ext >&5
1732        ac_retval=$ac_status
1734   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736   as_fn_set_status $ac_retval
1738 } @%:@ ac_fn_c_try_run
1740 @%:@ ac_fn_c_check_func LINENO FUNC VAR
1741 @%:@ ----------------------------------
1742 @%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1743 ac_fn_c_check_func ()
1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval \${$3+:} false; then :
1749   $as_echo_n "(cached) " >&6
1750 else
1751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752 /* end confdefs.h.  */
1753 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1755 #define $2 innocuous_$2
1757 /* System header to define __stub macros and hopefully few prototypes,
1758     which can conflict with char $2 (); below.
1759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1760     <limits.h> exists even on freestanding compilers.  */
1762 #ifdef __STDC__
1763 # include <limits.h>
1764 #else
1765 # include <assert.h>
1766 #endif
1768 #undef $2
1770 /* Override any GCC internal prototype to avoid an error.
1771    Use char because int might match the return type of a GCC
1772    builtin and then its argument prototype would still apply.  */
1773 #ifdef __cplusplus
1774 extern "C"
1775 #endif
1776 char $2 ();
1777 /* The GNU C library defines this for functions which it implements
1778     to always fail with ENOSYS.  Some functions are actually named
1779     something starting with __ and the normal name is an alias.  */
1780 #if defined __stub_$2 || defined __stub___$2
1781 choke me
1782 #endif
1785 main ()
1787 return $2 ();
1788   ;
1789   return 0;
1791 _ACEOF
1792 if ac_fn_c_try_link "$LINENO"; then :
1793   eval "$3=yes"
1794 else
1795   eval "$3=no"
1797 rm -f core conftest.err conftest.$ac_objext \
1798     conftest$ac_exeext conftest.$ac_ext
1800 eval ac_res=\$$3
1801                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1803   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 } @%:@ ac_fn_c_check_func
1807 @%:@ ac_fn_cxx_try_cpp LINENO
1808 @%:@ ------------------------
1809 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1810 ac_fn_cxx_try_cpp ()
1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813   if { { ac_try="$ac_cpp conftest.$ac_ext"
1814 case "(($ac_try" in
1815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816   *) ac_try_echo=$ac_try;;
1817 esac
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1821   ac_status=$?
1822   if test -s conftest.err; then
1823     grep -v '^ *+' conftest.err >conftest.er1
1824     cat conftest.er1 >&5
1825     mv -f conftest.er1 conftest.err
1826   fi
1827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828   test $ac_status = 0; } > conftest.i && {
1829          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1830          test ! -s conftest.err
1831        }; then :
1832   ac_retval=0
1833 else
1834   $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1837     ac_retval=1
1839   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840   as_fn_set_status $ac_retval
1842 } @%:@ ac_fn_cxx_try_cpp
1844 @%:@ ac_fn_cxx_try_link LINENO
1845 @%:@ -------------------------
1846 @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1847 ac_fn_cxx_try_link ()
1849   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850   rm -f conftest.$ac_objext conftest$ac_exeext
1851   if { { ac_try="$ac_link"
1852 case "(($ac_try" in
1853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854   *) ac_try_echo=$ac_try;;
1855 esac
1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858   (eval "$ac_link") 2>conftest.err
1859   ac_status=$?
1860   if test -s conftest.err; then
1861     grep -v '^ *+' conftest.err >conftest.er1
1862     cat conftest.er1 >&5
1863     mv -f conftest.er1 conftest.err
1864   fi
1865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866   test $ac_status = 0; } && {
1867          test -z "$ac_cxx_werror_flag" ||
1868          test ! -s conftest.err
1869        } && test -s conftest$ac_exeext && {
1870          test "$cross_compiling" = yes ||
1871          $as_test_x conftest$ac_exeext
1872        }; then :
1873   ac_retval=0
1874 else
1875   $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1878         ac_retval=1
1880   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1881   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1882   # interfere with the next link command; also delete a directory that is
1883   # left behind by Apple's compiler.  We do this before executing the actions.
1884   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1885   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886   as_fn_set_status $ac_retval
1888 } @%:@ ac_fn_cxx_try_link
1889 cat >config.log <<_ACEOF
1890 This file contains any messages produced by compilers while
1891 running configure, to aid debugging if configure makes a mistake.
1893 It was created by libsalac $as_me 0.1, which was
1894 generated by GNU Autoconf 2.68.  Invocation command line was
1896   $ $0 $@
1898 _ACEOF
1899 exec 5>>config.log
1901 cat <<_ASUNAME
1902 ## --------- ##
1903 ## Platform. ##
1904 ## --------- ##
1906 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1907 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1908 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1909 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1910 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1912 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1913 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1915 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1916 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1917 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1918 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1919 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1920 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1921 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1923 _ASUNAME
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1926 for as_dir in $PATH
1928   IFS=$as_save_IFS
1929   test -z "$as_dir" && as_dir=.
1930     $as_echo "PATH: $as_dir"
1931   done
1932 IFS=$as_save_IFS
1934 } >&5
1936 cat >&5 <<_ACEOF
1939 ## ----------- ##
1940 ## Core tests. ##
1941 ## ----------- ##
1943 _ACEOF
1946 # Keep a trace of the command line.
1947 # Strip out --no-create and --no-recursion so they do not pile up.
1948 # Strip out --silent because we don't want to record it for future runs.
1949 # Also quote any args containing shell meta-characters.
1950 # Make two passes to allow for proper duplicate-argument suppression.
1951 ac_configure_args=
1952 ac_configure_args0=
1953 ac_configure_args1=
1954 ac_must_keep_next=false
1955 for ac_pass in 1 2
1957   for ac_arg
1958   do
1959     case $ac_arg in
1960     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1961     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1962     | -silent | --silent | --silen | --sile | --sil)
1963       continue ;;
1964     *\'*)
1965       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1966     esac
1967     case $ac_pass in
1968     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1969     2)
1970       as_fn_append ac_configure_args1 " '$ac_arg'"
1971       if test $ac_must_keep_next = true; then
1972         ac_must_keep_next=false # Got value, back to normal.
1973       else
1974         case $ac_arg in
1975           *=* | --config-cache | -C | -disable-* | --disable-* \
1976           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1977           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1978           | -with-* | --with-* | -without-* | --without-* | --x)
1979             case "$ac_configure_args0 " in
1980               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1981             esac
1982             ;;
1983           -* ) ac_must_keep_next=true ;;
1984         esac
1985       fi
1986       as_fn_append ac_configure_args " '$ac_arg'"
1987       ;;
1988     esac
1989   done
1990 done
1991 { ac_configure_args0=; unset ac_configure_args0;}
1992 { ac_configure_args1=; unset ac_configure_args1;}
1994 # When interrupted or exit'd, cleanup temporary files, and complete
1995 # config.log.  We remove comments because anyway the quotes in there
1996 # would cause problems or look ugly.
1997 # WARNING: Use '\'' to represent an apostrophe within the trap.
1998 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1999 trap 'exit_status=$?
2000   # Save into config.log some information that might help in debugging.
2001   {
2002     echo
2004     $as_echo "## ---------------- ##
2005 ## Cache variables. ##
2006 ## ---------------- ##"
2007     echo
2008     # The following way of writing the cache mishandles newlines in values,
2010   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2011     eval ac_val=\$$ac_var
2012     case $ac_val in #(
2013     *${as_nl}*)
2014       case $ac_var in #(
2015       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2016 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2017       esac
2018       case $ac_var in #(
2019       _ | IFS | as_nl) ;; #(
2020       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2021       *) { eval $ac_var=; unset $ac_var;} ;;
2022       esac ;;
2023     esac
2024   done
2025   (set) 2>&1 |
2026     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2027     *${as_nl}ac_space=\ *)
2028       sed -n \
2029         "s/'\''/'\''\\\\'\'''\''/g;
2030           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2031       ;; #(
2032     *)
2033       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2034       ;;
2035     esac |
2036     sort
2038     echo
2040     $as_echo "## ----------------- ##
2041 ## Output variables. ##
2042 ## ----------------- ##"
2043     echo
2044     for ac_var in $ac_subst_vars
2045     do
2046       eval ac_val=\$$ac_var
2047       case $ac_val in
2048       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2049       esac
2050       $as_echo "$ac_var='\''$ac_val'\''"
2051     done | sort
2052     echo
2054     if test -n "$ac_subst_files"; then
2055       $as_echo "## ------------------- ##
2056 ## File substitutions. ##
2057 ## ------------------- ##"
2058       echo
2059       for ac_var in $ac_subst_files
2060       do
2061         eval ac_val=\$$ac_var
2062         case $ac_val in
2063         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2064         esac
2065         $as_echo "$ac_var='\''$ac_val'\''"
2066       done | sort
2067       echo
2068     fi
2070     if test -s confdefs.h; then
2071       $as_echo "## ----------- ##
2072 ## confdefs.h. ##
2073 ## ----------- ##"
2074       echo
2075       cat confdefs.h
2076       echo
2077     fi
2078     test "$ac_signal" != 0 &&
2079       $as_echo "$as_me: caught signal $ac_signal"
2080     $as_echo "$as_me: exit $exit_status"
2081   } >&5
2082   rm -f core *.core core.conftest.* &&
2083     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2084     exit $exit_status
2085 ' 0
2086 for ac_signal in 1 2 13 15; do
2087   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2088 done
2089 ac_signal=0
2091 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2092 rm -f -r conftest* confdefs.h
2094 $as_echo "/* confdefs.h */" > confdefs.h
2096 # Predefined preprocessor variables.
2098 cat >>confdefs.h <<_ACEOF
2099 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
2100 _ACEOF
2102 cat >>confdefs.h <<_ACEOF
2103 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2104 _ACEOF
2106 cat >>confdefs.h <<_ACEOF
2107 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2108 _ACEOF
2110 cat >>confdefs.h <<_ACEOF
2111 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
2112 _ACEOF
2114 cat >>confdefs.h <<_ACEOF
2115 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2116 _ACEOF
2118 cat >>confdefs.h <<_ACEOF
2119 @%:@define PACKAGE_URL "$PACKAGE_URL"
2120 _ACEOF
2123 # Let the site file select an alternate cache file if it wants to.
2124 # Prefer an explicitly selected file to automatically selected ones.
2125 ac_site_file1=NONE
2126 ac_site_file2=NONE
2127 if test -n "$CONFIG_SITE"; then
2128   # We do not want a PATH search for config.site.
2129   case $CONFIG_SITE in @%:@((
2130     -*)  ac_site_file1=./$CONFIG_SITE;;
2131     */*) ac_site_file1=$CONFIG_SITE;;
2132     *)   ac_site_file1=./$CONFIG_SITE;;
2133   esac
2134 elif test "x$prefix" != xNONE; then
2135   ac_site_file1=$prefix/share/config.site
2136   ac_site_file2=$prefix/etc/config.site
2137 else
2138   ac_site_file1=$ac_default_prefix/share/config.site
2139   ac_site_file2=$ac_default_prefix/etc/config.site
2141 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2143   test "x$ac_site_file" = xNONE && continue
2144   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2145     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2146 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2147     sed 's/^/| /' "$ac_site_file" >&5
2148     . "$ac_site_file" \
2149       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2151 as_fn_error $? "failed to load site script $ac_site_file
2152 See \`config.log' for more details" "$LINENO" 5; }
2153   fi
2154 done
2156 if test -r "$cache_file"; then
2157   # Some versions of bash will fail to source /dev/null (special files
2158   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2159   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2160     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2161 $as_echo "$as_me: loading cache $cache_file" >&6;}
2162     case $cache_file in
2163       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2164       *)                      . "./$cache_file";;
2165     esac
2166   fi
2167 else
2168   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2169 $as_echo "$as_me: creating cache $cache_file" >&6;}
2170   >$cache_file
2173 # Check that the precious variables saved in the cache have kept the same
2174 # value.
2175 ac_cache_corrupted=false
2176 for ac_var in $ac_precious_vars; do
2177   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2178   eval ac_new_set=\$ac_env_${ac_var}_set
2179   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2180   eval ac_new_val=\$ac_env_${ac_var}_value
2181   case $ac_old_set,$ac_new_set in
2182     set,)
2183       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2184 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2185       ac_cache_corrupted=: ;;
2186     ,set)
2187       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2188 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2189       ac_cache_corrupted=: ;;
2190     ,);;
2191     *)
2192       if test "x$ac_old_val" != "x$ac_new_val"; then
2193         # differences in whitespace do not lead to failure.
2194         ac_old_val_w=`echo x $ac_old_val`
2195         ac_new_val_w=`echo x $ac_new_val`
2196         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2197           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2198 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2199           ac_cache_corrupted=:
2200         else
2201           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2202 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2203           eval $ac_var=\$ac_old_val
2204         fi
2205         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2206 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2207         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2208 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2209       fi;;
2210   esac
2211   # Pass precious variables to config.status.
2212   if test "$ac_new_set" = set; then
2213     case $ac_new_val in
2214     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2215     *) ac_arg=$ac_var=$ac_new_val ;;
2216     esac
2217     case " $ac_configure_args " in
2218       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2219       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2220     esac
2221   fi
2222 done
2223 if $ac_cache_corrupted; then
2224   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2226   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2227 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2228   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2230 ## -------------------- ##
2231 ## Main body of script. ##
2232 ## -------------------- ##
2234 ac_ext=c
2235 ac_cpp='$CPP $CPPFLAGS'
2236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2242 am__api_version='1.11'
2244 ac_aux_dir=
2245 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2246   if test -f "$ac_dir/install-sh"; then
2247     ac_aux_dir=$ac_dir
2248     ac_install_sh="$ac_aux_dir/install-sh -c"
2249     break
2250   elif test -f "$ac_dir/install.sh"; then
2251     ac_aux_dir=$ac_dir
2252     ac_install_sh="$ac_aux_dir/install.sh -c"
2253     break
2254   elif test -f "$ac_dir/shtool"; then
2255     ac_aux_dir=$ac_dir
2256     ac_install_sh="$ac_aux_dir/shtool install -c"
2257     break
2258   fi
2259 done
2260 if test -z "$ac_aux_dir"; then
2261   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2264 # These three variables are undocumented and unsupported,
2265 # and are intended to be withdrawn in a future Autoconf release.
2266 # They can cause serious problems if a builder's source tree is in a directory
2267 # whose full name contains unusual characters.
2268 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2269 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2270 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2273 # Find a good install program.  We prefer a C program (faster),
2274 # so one script is as good as another.  But avoid the broken or
2275 # incompatible versions:
2276 # SysV /etc/install, /usr/sbin/install
2277 # SunOS /usr/etc/install
2278 # IRIX /sbin/install
2279 # AIX /bin/install
2280 # AmigaOS /C/install, which installs bootblocks on floppy discs
2281 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2282 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2283 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2284 # OS/2's system install, which has a completely different semantic
2285 # ./install, which can be erroneously created by make from ./install.sh.
2286 # Reject install programs that cannot install multiple files.
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2288 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2289 if test -z "$INSTALL"; then
2290 if ${ac_cv_path_install+:} false; then :
2291   $as_echo_n "(cached) " >&6
2292 else
2293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2296   IFS=$as_save_IFS
2297   test -z "$as_dir" && as_dir=.
2298     # Account for people who put trailing slashes in PATH elements.
2299 case $as_dir/ in @%:@((
2300   ./ | .// | /[cC]/* | \
2301   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2302   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2303   /usr/ucb/* ) ;;
2304   *)
2305     # OSF1 and SCO ODT 3.0 have their own names for install.
2306     # Don't use installbsd from OSF since it installs stuff as root
2307     # by default.
2308     for ac_prog in ginstall scoinst install; do
2309       for ac_exec_ext in '' $ac_executable_extensions; do
2310         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2311           if test $ac_prog = install &&
2312             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2313             # AIX install.  It has an incompatible calling convention.
2314             :
2315           elif test $ac_prog = install &&
2316             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2317             # program-specific install script used by HP pwplus--don't use.
2318             :
2319           else
2320             rm -rf conftest.one conftest.two conftest.dir
2321             echo one > conftest.one
2322             echo two > conftest.two
2323             mkdir conftest.dir
2324             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2325               test -s conftest.one && test -s conftest.two &&
2326               test -s conftest.dir/conftest.one &&
2327               test -s conftest.dir/conftest.two
2328             then
2329               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2330               break 3
2331             fi
2332           fi
2333         fi
2334       done
2335     done
2336     ;;
2337 esac
2339   done
2340 IFS=$as_save_IFS
2342 rm -rf conftest.one conftest.two conftest.dir
2345   if test "${ac_cv_path_install+set}" = set; then
2346     INSTALL=$ac_cv_path_install
2347   else
2348     # As a last resort, use the slow shell script.  Don't cache a
2349     # value for INSTALL within a source directory, because that will
2350     # break other packages using the cache if that directory is
2351     # removed, or if the value is a relative name.
2352     INSTALL=$ac_install_sh
2353   fi
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2356 $as_echo "$INSTALL" >&6; }
2358 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2359 # It thinks the first close brace ends the variable substitution.
2360 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2362 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2364 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2367 $as_echo_n "checking whether build environment is sane... " >&6; }
2368 # Just in case
2369 sleep 1
2370 echo timestamp > conftest.file
2371 # Reject unsafe characters in $srcdir or the absolute working directory
2372 # name.  Accept space and tab only in the latter.
2373 am_lf='
2375 case `pwd` in
2376   *[\\\"\#\$\&\'\`$am_lf]*)
2377     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2378 esac
2379 case $srcdir in
2380   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2381     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2382 esac
2384 # Do `set' in a subshell so we don't clobber the current shell's
2385 # arguments.  Must try -L first in case configure is actually a
2386 # symlink; some systems play weird games with the mod time of symlinks
2387 # (eg FreeBSD returns the mod time of the symlink's containing
2388 # directory).
2389 if (
2390    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2391    if test "$*" = "X"; then
2392       # -L didn't work.
2393       set X `ls -t "$srcdir/configure" conftest.file`
2394    fi
2395    rm -f conftest.file
2396    if test "$*" != "X $srcdir/configure conftest.file" \
2397       && test "$*" != "X conftest.file $srcdir/configure"; then
2399       # If neither matched, then we have a broken ls.  This can happen
2400       # if, for instance, CONFIG_SHELL is bash and it inherits a
2401       # broken ls alias from the environment.  This has actually
2402       # happened.  Such a system could not be considered "sane".
2403       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2404 alias in your environment" "$LINENO" 5
2405    fi
2407    test "$2" = conftest.file
2408    )
2409 then
2410    # Ok.
2411    :
2412 else
2413    as_fn_error $? "newly created file is older than distributed files!
2414 Check your system clock" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2417 $as_echo "yes" >&6; }
2418 test "$program_prefix" != NONE &&
2419   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2420 # Use a double $ so make ignores it.
2421 test "$program_suffix" != NONE &&
2422   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2423 # Double any \ or $.
2424 # By default was `s,x,x', remove it if useless.
2425 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2426 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2428 # expand $ac_aux_dir to an absolute path
2429 am_aux_dir=`cd $ac_aux_dir && pwd`
2431 if test x"${MISSING+set}" != xset; then
2432   case $am_aux_dir in
2433   *\ * | *\     *)
2434     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2435   *)
2436     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2437   esac
2439 # Use eval to expand $SHELL
2440 if eval "$MISSING --run true"; then
2441   am_missing_run="$MISSING --run "
2442 else
2443   am_missing_run=
2444   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2445 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2448 if test x"${install_sh}" != xset; then
2449   case $am_aux_dir in
2450   *\ * | *\     *)
2451     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2452   *)
2453     install_sh="\${SHELL} $am_aux_dir/install-sh"
2454   esac
2457 # Installed binaries are usually stripped using `strip' when the user
2458 # run `make install-strip'.  However `strip' might not be the right
2459 # tool to use in cross-compilation environments, therefore Automake
2460 # will honor the `STRIP' environment variable to overrule this program.
2461 if test "$cross_compiling" != no; then
2462   if test -n "$ac_tool_prefix"; then
2463   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2464 set dummy ${ac_tool_prefix}strip; ac_word=$2
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2466 $as_echo_n "checking for $ac_word... " >&6; }
2467 if ${ac_cv_prog_STRIP+:} false; then :
2468   $as_echo_n "(cached) " >&6
2469 else
2470   if test -n "$STRIP"; then
2471   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2472 else
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2476   IFS=$as_save_IFS
2477   test -z "$as_dir" && as_dir=.
2478     for ac_exec_ext in '' $ac_executable_extensions; do
2479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2480     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2482     break 2
2483   fi
2484 done
2485   done
2486 IFS=$as_save_IFS
2490 STRIP=$ac_cv_prog_STRIP
2491 if test -n "$STRIP"; then
2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2493 $as_echo "$STRIP" >&6; }
2494 else
2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2496 $as_echo "no" >&6; }
2501 if test -z "$ac_cv_prog_STRIP"; then
2502   ac_ct_STRIP=$STRIP
2503   # Extract the first word of "strip", so it can be a program name with args.
2504 set dummy strip; ac_word=$2
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2506 $as_echo_n "checking for $ac_word... " >&6; }
2507 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2508   $as_echo_n "(cached) " >&6
2509 else
2510   if test -n "$ac_ct_STRIP"; then
2511   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2512 else
2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 for as_dir in $PATH
2516   IFS=$as_save_IFS
2517   test -z "$as_dir" && as_dir=.
2518     for ac_exec_ext in '' $ac_executable_extensions; do
2519   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520     ac_cv_prog_ac_ct_STRIP="strip"
2521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2522     break 2
2523   fi
2524 done
2525   done
2526 IFS=$as_save_IFS
2530 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2531 if test -n "$ac_ct_STRIP"; then
2532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2533 $as_echo "$ac_ct_STRIP" >&6; }
2534 else
2535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2536 $as_echo "no" >&6; }
2539   if test "x$ac_ct_STRIP" = x; then
2540     STRIP=":"
2541   else
2542     case $cross_compiling:$ac_tool_warned in
2543 yes:)
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2546 ac_tool_warned=yes ;;
2547 esac
2548     STRIP=$ac_ct_STRIP
2549   fi
2550 else
2551   STRIP="$ac_cv_prog_STRIP"
2555 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2558 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2559 if test -z "$MKDIR_P"; then
2560   if ${ac_cv_path_mkdir+:} false; then :
2561   $as_echo_n "(cached) " >&6
2562 else
2563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2566   IFS=$as_save_IFS
2567   test -z "$as_dir" && as_dir=.
2568     for ac_prog in mkdir gmkdir; do
2569          for ac_exec_ext in '' $ac_executable_extensions; do
2570            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2571            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2572              'mkdir (GNU coreutils) '* | \
2573              'mkdir (coreutils) '* | \
2574              'mkdir (fileutils) '4.1*)
2575                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2576                break 3;;
2577            esac
2578          done
2579        done
2580   done
2581 IFS=$as_save_IFS
2585   test -d ./--version && rmdir ./--version
2586   if test "${ac_cv_path_mkdir+set}" = set; then
2587     MKDIR_P="$ac_cv_path_mkdir -p"
2588   else
2589     # As a last resort, use the slow shell script.  Don't cache a
2590     # value for MKDIR_P within a source directory, because that will
2591     # break other packages using the cache if that directory is
2592     # removed, or if the value is a relative name.
2593     MKDIR_P="$ac_install_sh -d"
2594   fi
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2597 $as_echo "$MKDIR_P" >&6; }
2599 mkdir_p="$MKDIR_P"
2600 case $mkdir_p in
2601   [\\/$]* | ?:[\\/]*) ;;
2602   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2603 esac
2605 for ac_prog in gawk mawk nawk awk
2607   # Extract the first word of "$ac_prog", so it can be a program name with args.
2608 set dummy $ac_prog; ac_word=$2
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2610 $as_echo_n "checking for $ac_word... " >&6; }
2611 if ${ac_cv_prog_AWK+:} false; then :
2612   $as_echo_n "(cached) " >&6
2613 else
2614   if test -n "$AWK"; then
2615   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2616 else
2617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618 for as_dir in $PATH
2620   IFS=$as_save_IFS
2621   test -z "$as_dir" && as_dir=.
2622     for ac_exec_ext in '' $ac_executable_extensions; do
2623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624     ac_cv_prog_AWK="$ac_prog"
2625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2626     break 2
2627   fi
2628 done
2629   done
2630 IFS=$as_save_IFS
2634 AWK=$ac_cv_prog_AWK
2635 if test -n "$AWK"; then
2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2637 $as_echo "$AWK" >&6; }
2638 else
2639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2644   test -n "$AWK" && break
2645 done
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2648 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2649 set x ${MAKE-make}
2650 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2651 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2652   $as_echo_n "(cached) " >&6
2653 else
2654   cat >conftest.make <<\_ACEOF
2655 SHELL = /bin/sh
2656 all:
2657         @echo '@@@%%%=$(MAKE)=@@@%%%'
2658 _ACEOF
2659 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2660 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2661   *@@@%%%=?*=@@@%%%*)
2662     eval ac_cv_prog_make_${ac_make}_set=yes;;
2663   *)
2664     eval ac_cv_prog_make_${ac_make}_set=no;;
2665 esac
2666 rm -f conftest.make
2668 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2670 $as_echo "yes" >&6; }
2671   SET_MAKE=
2672 else
2673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2675   SET_MAKE="MAKE=${MAKE-make}"
2678 rm -rf .tst 2>/dev/null
2679 mkdir .tst 2>/dev/null
2680 if test -d .tst; then
2681   am__leading_dot=.
2682 else
2683   am__leading_dot=_
2685 rmdir .tst 2>/dev/null
2687 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2688   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2689   # is not polluted with repeated "-I."
2690   am__isrc=' -I$(srcdir)'
2691   # test to see if srcdir already configured
2692   if test -f $srcdir/config.status; then
2693     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2694   fi
2697 # test whether we have cygpath
2698 if test -z "$CYGPATH_W"; then
2699   if (cygpath --version) >/dev/null 2>/dev/null; then
2700     CYGPATH_W='cygpath -w'
2701   else
2702     CYGPATH_W=echo
2703   fi
2707 # Define the identity of the package.
2708  PACKAGE='libsalac'
2709  VERSION='0.1'
2712 # Some tools Automake needs.
2714 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2717 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2720 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2723 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2726 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2728 # We need awk for the "check" target.  The system "awk" is bad on
2729 # some platforms.
2730 # Always define AMTAR for backward compatibility.  Yes, it's still used
2731 # in the wild :-(  We should find a proper way to deprecate it ...
2732 AMTAR='$${TAR-tar}'
2734 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2742 ac_config_headers="$ac_config_headers config.h libsalacconfig.h"
2744 ac_ext=cpp
2745 ac_cpp='$CXXCPP $CPPFLAGS'
2746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2749 if test -z "$CXX"; then
2750   if test -n "$CCC"; then
2751     CXX=$CCC
2752   else
2753     if test -n "$ac_tool_prefix"; then
2754   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2755   do
2756     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759 $as_echo_n "checking for $ac_word... " >&6; }
2760 if ${ac_cv_prog_CXX+:} false; then :
2761   $as_echo_n "(cached) " >&6
2762 else
2763   if test -n "$CXX"; then
2764   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2765 else
2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 for as_dir in $PATH
2769   IFS=$as_save_IFS
2770   test -z "$as_dir" && as_dir=.
2771     for ac_exec_ext in '' $ac_executable_extensions; do
2772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2773     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2775     break 2
2776   fi
2777 done
2778   done
2779 IFS=$as_save_IFS
2783 CXX=$ac_cv_prog_CXX
2784 if test -n "$CXX"; then
2785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2786 $as_echo "$CXX" >&6; }
2787 else
2788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2789 $as_echo "no" >&6; }
2793     test -n "$CXX" && break
2794   done
2796 if test -z "$CXX"; then
2797   ac_ct_CXX=$CXX
2798   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2800   # Extract the first word of "$ac_prog", so it can be a program name with args.
2801 set dummy $ac_prog; ac_word=$2
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2803 $as_echo_n "checking for $ac_word... " >&6; }
2804 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2805   $as_echo_n "(cached) " >&6
2806 else
2807   if test -n "$ac_ct_CXX"; then
2808   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2809 else
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811 for as_dir in $PATH
2813   IFS=$as_save_IFS
2814   test -z "$as_dir" && as_dir=.
2815     for ac_exec_ext in '' $ac_executable_extensions; do
2816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2817     ac_cv_prog_ac_ct_CXX="$ac_prog"
2818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2819     break 2
2820   fi
2821 done
2822   done
2823 IFS=$as_save_IFS
2827 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2828 if test -n "$ac_ct_CXX"; then
2829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2830 $as_echo "$ac_ct_CXX" >&6; }
2831 else
2832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2833 $as_echo "no" >&6; }
2837   test -n "$ac_ct_CXX" && break
2838 done
2840   if test "x$ac_ct_CXX" = x; then
2841     CXX="g++"
2842   else
2843     case $cross_compiling:$ac_tool_warned in
2844 yes:)
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned=yes ;;
2848 esac
2849     CXX=$ac_ct_CXX
2850   fi
2853   fi
2855 # Provide some information about the compiler.
2856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2857 set X $ac_compile
2858 ac_compiler=$2
2859 for ac_option in --version -v -V -qversion; do
2860   { { ac_try="$ac_compiler $ac_option >&5"
2861 case "(($ac_try" in
2862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863   *) ac_try_echo=$ac_try;;
2864 esac
2865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866 $as_echo "$ac_try_echo"; } >&5
2867   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2868   ac_status=$?
2869   if test -s conftest.err; then
2870     sed '10a\
2871 ... rest of stderr output deleted ...
2872          10q' conftest.err >conftest.er1
2873     cat conftest.er1 >&5
2874   fi
2875   rm -f conftest.er1 conftest.err
2876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877   test $ac_status = 0; }
2878 done
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h.  */
2884 main ()
2887   ;
2888   return 0;
2890 _ACEOF
2891 ac_clean_files_save=$ac_clean_files
2892 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2893 # Try to create an executable without -o first, disregard a.out.
2894 # It will help us diagnose broken compilers, and finding out an intuition
2895 # of exeext.
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2897 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2898 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2900 # The possible output files:
2901 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2903 ac_rmfiles=
2904 for ac_file in $ac_files
2906   case $ac_file in
2907     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2908     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2909   esac
2910 done
2911 rm -f $ac_rmfiles
2913 if { { ac_try="$ac_link_default"
2914 case "(($ac_try" in
2915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2916   *) ac_try_echo=$ac_try;;
2917 esac
2918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2919 $as_echo "$ac_try_echo"; } >&5
2920   (eval "$ac_link_default") 2>&5
2921   ac_status=$?
2922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2923   test $ac_status = 0; }; then :
2924   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2925 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2926 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2927 # so that the user can short-circuit this test for compilers unknown to
2928 # Autoconf.
2929 for ac_file in $ac_files ''
2931   test -f "$ac_file" || continue
2932   case $ac_file in
2933     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2934         ;;
2935     [ab].out )
2936         # We found the default executable, but exeext='' is most
2937         # certainly right.
2938         break;;
2939     *.* )
2940         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2941         then :; else
2942            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2943         fi
2944         # We set ac_cv_exeext here because the later test for it is not
2945         # safe: cross compilers may not add the suffix if given an `-o'
2946         # argument, so we may need to know it at that point already.
2947         # Even if this section looks crufty: it has the advantage of
2948         # actually working.
2949         break;;
2950     * )
2951         break;;
2952   esac
2953 done
2954 test "$ac_cv_exeext" = no && ac_cv_exeext=
2956 else
2957   ac_file=''
2959 if test -z "$ac_file"; then :
2960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2961 $as_echo "no" >&6; }
2962 $as_echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.$ac_ext >&5
2965 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2966 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2967 as_fn_error 77 "C++ compiler cannot create executables
2968 See \`config.log' for more details" "$LINENO" 5; }
2969 else
2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2971 $as_echo "yes" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
2974 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2976 $as_echo "$ac_file" >&6; }
2977 ac_exeext=$ac_cv_exeext
2979 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2980 ac_clean_files=$ac_clean_files_save
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2982 $as_echo_n "checking for suffix of executables... " >&6; }
2983 if { { ac_try="$ac_link"
2984 case "(($ac_try" in
2985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2986   *) ac_try_echo=$ac_try;;
2987 esac
2988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2989 $as_echo "$ac_try_echo"; } >&5
2990   (eval "$ac_link") 2>&5
2991   ac_status=$?
2992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2993   test $ac_status = 0; }; then :
2994   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2995 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2996 # work properly (i.e., refer to `conftest.exe'), while it won't with
2997 # `rm'.
2998 for ac_file in conftest.exe conftest conftest.*; do
2999   test -f "$ac_file" || continue
3000   case $ac_file in
3001     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3002     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3003           break;;
3004     * ) break;;
3005   esac
3006 done
3007 else
3008   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3010 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details" "$LINENO" 5; }
3013 rm -f conftest conftest$ac_cv_exeext
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3015 $as_echo "$ac_cv_exeext" >&6; }
3017 rm -f conftest.$ac_ext
3018 EXEEXT=$ac_cv_exeext
3019 ac_exeext=$EXEEXT
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h.  */
3022 @%:@include <stdio.h>
3024 main ()
3026 FILE *f = fopen ("conftest.out", "w");
3027  return ferror (f) || fclose (f) != 0;
3029   ;
3030   return 0;
3032 _ACEOF
3033 ac_clean_files="$ac_clean_files conftest.out"
3034 # Check that the compiler produces executables we can run.  If not, either
3035 # the compiler is broken, or we cross compile.
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3037 $as_echo_n "checking whether we are cross compiling... " >&6; }
3038 if test "$cross_compiling" != yes; then
3039   { { ac_try="$ac_link"
3040 case "(($ac_try" in
3041   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042   *) ac_try_echo=$ac_try;;
3043 esac
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046   (eval "$ac_link") 2>&5
3047   ac_status=$?
3048   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049   test $ac_status = 0; }
3050   if { ac_try='./conftest$ac_cv_exeext'
3051   { { case "(($ac_try" in
3052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053   *) ac_try_echo=$ac_try;;
3054 esac
3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057   (eval "$ac_try") 2>&5
3058   ac_status=$?
3059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060   test $ac_status = 0; }; }; then
3061     cross_compiling=no
3062   else
3063     if test "$cross_compiling" = maybe; then
3064         cross_compiling=yes
3065     else
3066         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3067 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3068 as_fn_error $? "cannot run C++ compiled programs.
3069 If you meant to cross compile, use \`--host'.
3070 See \`config.log' for more details" "$LINENO" 5; }
3071     fi
3072   fi
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3075 $as_echo "$cross_compiling" >&6; }
3077 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3078 ac_clean_files=$ac_clean_files_save
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3080 $as_echo_n "checking for suffix of object files... " >&6; }
3081 if ${ac_cv_objext+:} false; then :
3082   $as_echo_n "(cached) " >&6
3083 else
3084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 /* end confdefs.h.  */
3088 main ()
3091   ;
3092   return 0;
3094 _ACEOF
3095 rm -f conftest.o conftest.obj
3096 if { { ac_try="$ac_compile"
3097 case "(($ac_try" in
3098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099   *) ac_try_echo=$ac_try;;
3100 esac
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103   (eval "$ac_compile") 2>&5
3104   ac_status=$?
3105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106   test $ac_status = 0; }; then :
3107   for ac_file in conftest.o conftest.obj conftest.*; do
3108   test -f "$ac_file" || continue;
3109   case $ac_file in
3110     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3111     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3112        break;;
3113   esac
3114 done
3115 else
3116   $as_echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 as_fn_error $? "cannot compute suffix of object files: cannot compile
3122 See \`config.log' for more details" "$LINENO" 5; }
3124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3127 $as_echo "$ac_cv_objext" >&6; }
3128 OBJEXT=$ac_cv_objext
3129 ac_objext=$OBJEXT
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3131 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3132 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3133   $as_echo_n "(cached) " >&6
3134 else
3135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h.  */
3139 main ()
3141 #ifndef __GNUC__
3142        choke me
3143 #endif
3145   ;
3146   return 0;
3148 _ACEOF
3149 if ac_fn_cxx_try_compile "$LINENO"; then :
3150   ac_compiler_gnu=yes
3151 else
3152   ac_compiler_gnu=no
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3159 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3160 if test $ac_compiler_gnu = yes; then
3161   GXX=yes
3162 else
3163   GXX=
3165 ac_test_CXXFLAGS=${CXXFLAGS+set}
3166 ac_save_CXXFLAGS=$CXXFLAGS
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3168 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3169 if ${ac_cv_prog_cxx_g+:} false; then :
3170   $as_echo_n "(cached) " >&6
3171 else
3172   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3173    ac_cxx_werror_flag=yes
3174    ac_cv_prog_cxx_g=no
3175    CXXFLAGS="-g"
3176    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h.  */
3180 main ()
3183   ;
3184   return 0;
3186 _ACEOF
3187 if ac_fn_cxx_try_compile "$LINENO"; then :
3188   ac_cv_prog_cxx_g=yes
3189 else
3190   CXXFLAGS=""
3191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3192 /* end confdefs.h.  */
3195 main ()
3198   ;
3199   return 0;
3201 _ACEOF
3202 if ac_fn_cxx_try_compile "$LINENO"; then :
3203   
3204 else
3205   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3206          CXXFLAGS="-g"
3207          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h.  */
3211 main ()
3214   ;
3215   return 0;
3217 _ACEOF
3218 if ac_fn_cxx_try_compile "$LINENO"; then :
3219   ac_cv_prog_cxx_g=yes
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3226    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3229 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3230 if test "$ac_test_CXXFLAGS" = set; then
3231   CXXFLAGS=$ac_save_CXXFLAGS
3232 elif test $ac_cv_prog_cxx_g = yes; then
3233   if test "$GXX" = yes; then
3234     CXXFLAGS="-g -O2"
3235   else
3236     CXXFLAGS="-g"
3237   fi
3238 else
3239   if test "$GXX" = yes; then
3240     CXXFLAGS="-O2"
3241   else
3242     CXXFLAGS=
3243   fi
3245 ac_ext=c
3246 ac_cpp='$CPP $CPPFLAGS'
3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250 DEPDIR="${am__leading_dot}deps"
3252 ac_config_commands="$ac_config_commands depfiles"
3255 am_make=${MAKE-make}
3256 cat > confinc << 'END'
3257 am__doit:
3258         @echo this is the am__doit target
3259 .PHONY: am__doit
3261 # If we don't find an include directive, just comment out the code.
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3263 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3264 am__include="#"
3265 am__quote=
3266 _am_result=none
3267 # First try GNU make style include.
3268 echo "include confinc" > confmf
3269 # Ignore all kinds of additional output from `make'.
3270 case `$am_make -s -f confmf 2> /dev/null` in #(
3271 *the\ am__doit\ target*)
3272   am__include=include
3273   am__quote=
3274   _am_result=GNU
3275   ;;
3276 esac
3277 # Now try BSD make style include.
3278 if test "$am__include" = "#"; then
3279    echo '.include "confinc"' > confmf
3280    case `$am_make -s -f confmf 2> /dev/null` in #(
3281    *the\ am__doit\ target*)
3282      am__include=.include
3283      am__quote="\""
3284      _am_result=BSD
3285      ;;
3286    esac
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3291 $as_echo "$_am_result" >&6; }
3292 rm -f confinc confmf
3294 @%:@ Check whether --enable-dependency-tracking was given.
3295 if test "${enable_dependency_tracking+set}" = set; then :
3296   enableval=$enable_dependency_tracking; 
3299 if test "x$enable_dependency_tracking" != xno; then
3300   am_depcomp="$ac_aux_dir/depcomp"
3301   AMDEPBACKSLASH='\'
3302   am__nodep='_no'
3304  if test "x$enable_dependency_tracking" != xno; then
3305   AMDEP_TRUE=
3306   AMDEP_FALSE='#'
3307 else
3308   AMDEP_TRUE='#'
3309   AMDEP_FALSE=
3314 depcc="$CXX"  am_compiler_list=
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3317 $as_echo_n "checking dependency style of $depcc... " >&6; }
3318 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3319   $as_echo_n "(cached) " >&6
3320 else
3321   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3322   # We make a subdir and do the tests there.  Otherwise we can end up
3323   # making bogus files that we don't know about and never remove.  For
3324   # instance it was reported that on HP-UX the gcc test will end up
3325   # making a dummy file named `D' -- because `-MD' means `put the output
3326   # in D'.
3327   rm -rf conftest.dir
3328   mkdir conftest.dir
3329   # Copy depcomp to subdir because otherwise we won't find it if we're
3330   # using a relative directory.
3331   cp "$am_depcomp" conftest.dir
3332   cd conftest.dir
3333   # We will build objects and dependencies in a subdirectory because
3334   # it helps to detect inapplicable dependency modes.  For instance
3335   # both Tru64's cc and ICC support -MD to output dependencies as a
3336   # side effect of compilation, but ICC will put the dependencies in
3337   # the current directory while Tru64 will put them in the object
3338   # directory.
3339   mkdir sub
3341   am_cv_CXX_dependencies_compiler_type=none
3342   if test "$am_compiler_list" = ""; then
3343      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3344   fi
3345   am__universal=false
3346   case " $depcc " in #(
3347      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3348      esac
3350   for depmode in $am_compiler_list; do
3351     # Setup a source with many dependencies, because some compilers
3352     # like to wrap large dependency lists on column 80 (with \), and
3353     # we should not choose a depcomp mode which is confused by this.
3354     #
3355     # We need to recreate these files for each test, as the compiler may
3356     # overwrite some of them when testing with obscure command lines.
3357     # This happens at least with the AIX C compiler.
3358     : > sub/conftest.c
3359     for i in 1 2 3 4 5 6; do
3360       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3361       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3362       # Solaris 8's {/usr,}/bin/sh.
3363       touch sub/conftst$i.h
3364     done
3365     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3367     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3368     # mode.  It turns out that the SunPro C++ compiler does not properly
3369     # handle `-M -o', and we need to detect this.  Also, some Intel
3370     # versions had trouble with output in subdirs
3371     am__obj=sub/conftest.${OBJEXT-o}
3372     am__minus_obj="-o $am__obj"
3373     case $depmode in
3374     gcc)
3375       # This depmode causes a compiler race in universal mode.
3376       test "$am__universal" = false || continue
3377       ;;
3378     nosideeffect)
3379       # after this tag, mechanisms are not by side-effect, so they'll
3380       # only be used when explicitly requested
3381       if test "x$enable_dependency_tracking" = xyes; then
3382         continue
3383       else
3384         break
3385       fi
3386       ;;
3387     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3388       # This compiler won't grok `-c -o', but also, the minuso test has
3389       # not run yet.  These depmodes are late enough in the game, and
3390       # so weak that their functioning should not be impacted.
3391       am__obj=conftest.${OBJEXT-o}
3392       am__minus_obj=
3393       ;;
3394     none) break ;;
3395     esac
3396     if depmode=$depmode \
3397        source=sub/conftest.c object=$am__obj \
3398        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3399        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3400          >/dev/null 2>conftest.err &&
3401        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3402        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3403        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3404        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3405       # icc doesn't choke on unknown options, it will just issue warnings
3406       # or remarks (even with -Werror).  So we grep stderr for any message
3407       # that says an option was ignored or not supported.
3408       # When given -MP, icc 7.0 and 7.1 complain thusly:
3409       #   icc: Command line warning: ignoring option '-M'; no argument required
3410       # The diagnosis changed in icc 8.0:
3411       #   icc: Command line remark: option '-MP' not supported
3412       if (grep 'ignoring option' conftest.err ||
3413           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3414         am_cv_CXX_dependencies_compiler_type=$depmode
3415         break
3416       fi
3417     fi
3418   done
3420   cd ..
3421   rm -rf conftest.dir
3422 else
3423   am_cv_CXX_dependencies_compiler_type=none
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3428 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3429 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3431  if 
3432   test "x$enable_dependency_tracking" != xno \
3433   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3434   am__fastdepCXX_TRUE=
3435   am__fastdepCXX_FALSE='#'
3436 else
3437   am__fastdepCXX_TRUE='#'
3438   am__fastdepCXX_FALSE=
3450 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3451         if test -n "$ac_tool_prefix"; then
3452   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3453 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3455 $as_echo_n "checking for $ac_word... " >&6; }
3456 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3457   $as_echo_n "(cached) " >&6
3458 else
3459   case $PKG_CONFIG in
3460   [\\/]* | ?:[\\/]*)
3461   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3462   ;;
3463   *)
3464   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 for as_dir in $PATH
3467   IFS=$as_save_IFS
3468   test -z "$as_dir" && as_dir=.
3469     for ac_exec_ext in '' $ac_executable_extensions; do
3470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3471     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3473     break 2
3474   fi
3475 done
3476   done
3477 IFS=$as_save_IFS
3479   ;;
3480 esac
3482 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3483 if test -n "$PKG_CONFIG"; then
3484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3485 $as_echo "$PKG_CONFIG" >&6; }
3486 else
3487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3493 if test -z "$ac_cv_path_PKG_CONFIG"; then
3494   ac_pt_PKG_CONFIG=$PKG_CONFIG
3495   # Extract the first word of "pkg-config", so it can be a program name with args.
3496 set dummy pkg-config; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3500   $as_echo_n "(cached) " >&6
3501 else
3502   case $ac_pt_PKG_CONFIG in
3503   [\\/]* | ?:[\\/]*)
3504   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3505   ;;
3506   *)
3507   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3508 for as_dir in $PATH
3510   IFS=$as_save_IFS
3511   test -z "$as_dir" && as_dir=.
3512     for ac_exec_ext in '' $ac_executable_extensions; do
3513   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3516     break 2
3517   fi
3518 done
3519   done
3520 IFS=$as_save_IFS
3522   ;;
3523 esac
3525 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3526 if test -n "$ac_pt_PKG_CONFIG"; then
3527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3528 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3529 else
3530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3531 $as_echo "no" >&6; }
3534   if test "x$ac_pt_PKG_CONFIG" = x; then
3535     PKG_CONFIG=""
3536   else
3537     case $cross_compiling:$ac_tool_warned in
3538 yes:)
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3541 ac_tool_warned=yes ;;
3542 esac
3543     PKG_CONFIG=$ac_pt_PKG_CONFIG
3544   fi
3545 else
3546   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3550 if test -n "$PKG_CONFIG"; then
3551         _pkg_min_version=0.9.0
3552         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3553 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3554         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3555                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3556 $as_echo "yes" >&6; }
3557         else
3558                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3560                 PKG_CONFIG=""
3561         fi
3564 pkg_failed=no
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALAC" >&5
3566 $as_echo_n "checking for ALAC... " >&6; }
3568 if test -n "$ALAC_CFLAGS"; then
3569     pkg_cv_ALAC_CFLAGS="$ALAC_CFLAGS"
3570  elif test -n "$PKG_CONFIG"; then
3571     if test -n "$PKG_CONFIG" && \
3572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alac >= 0.0\""; } >&5
3573   ($PKG_CONFIG --exists --print-errors "alac >= 0.0") 2>&5
3574   ac_status=$?
3575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576   test $ac_status = 0; }; then
3577   pkg_cv_ALAC_CFLAGS=`$PKG_CONFIG --cflags "alac >= 0.0" 2>/dev/null`
3578                       test "x$?" != "x0" && pkg_failed=yes 
3579 else
3580   pkg_failed=yes
3582  else
3583     pkg_failed=untried
3585 if test -n "$ALAC_LIBS"; then
3586     pkg_cv_ALAC_LIBS="$ALAC_LIBS"
3587  elif test -n "$PKG_CONFIG"; then
3588     if test -n "$PKG_CONFIG" && \
3589     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alac >= 0.0\""; } >&5
3590   ($PKG_CONFIG --exists --print-errors "alac >= 0.0") 2>&5
3591   ac_status=$?
3592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3593   test $ac_status = 0; }; then
3594   pkg_cv_ALAC_LIBS=`$PKG_CONFIG --libs "alac >= 0.0" 2>/dev/null`
3595                       test "x$?" != "x0" && pkg_failed=yes 
3596 else
3597   pkg_failed=yes
3599  else
3600     pkg_failed=untried
3605 if test $pkg_failed = yes; then
3606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3608         
3609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3610         _pkg_short_errors_supported=yes
3611 else
3612         _pkg_short_errors_supported=no
3614         if test $_pkg_short_errors_supported = yes; then
3615                 ALAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alac >= 0.0" 2>&1`
3616         else 
3617                 ALAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alac >= 0.0" 2>&1`
3618         fi
3619         # Put the nasty error message in config.log where it belongs
3620         echo "$ALAC_PKG_ERRORS" >&5
3622         as_fn_error $? "Package requirements (alac >= 0.0) were not met:
3624 $ALAC_PKG_ERRORS
3626 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3627 installed software in a non-standard prefix.
3629 Alternatively, you may set the environment variables ALAC_CFLAGS
3630 and ALAC_LIBS to avoid the need to call pkg-config.
3631 See the pkg-config man page for more details." "$LINENO" 5        
3632 elif test $pkg_failed = untried; then
3633         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3635         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3637 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
3638 is in your PATH or set the PKG_CONFIG environment variable to the full
3639 path to pkg-config.
3641 Alternatively, you may set the environment variables ALAC_CFLAGS
3642 and ALAC_LIBS to avoid the need to call pkg-config.
3643 See the pkg-config man page for more details.
3645 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3646 See \`config.log' for more details" "$LINENO" 5; }        
3647 else
3648         ALAC_CFLAGS=$pkg_cv_ALAC_CFLAGS
3649         ALAC_LIBS=$pkg_cv_ALAC_LIBS
3650         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3651 $as_echo "yes" >&6; }
3652         
3654 case `pwd` in
3655   *\ * | *\     *)
3656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3657 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3658 esac
3662 macro_version='2.4.2'
3663 macro_revision='1.3337'
3665     
3666     
3667     
3670     
3671     
3672     
3677 ltmain="$ac_aux_dir/ltmain.sh"
3679 # Make sure we can run config.sub.
3680 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3681   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3684 $as_echo_n "checking build system type... " >&6; }
3685 if ${ac_cv_build+:} false; then :
3686   $as_echo_n "(cached) " >&6
3687 else
3688   ac_build_alias=$build_alias
3689 test "x$ac_build_alias" = x &&
3690   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3691 test "x$ac_build_alias" = x &&
3692   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3693 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3694   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3698 $as_echo "$ac_cv_build" >&6; }
3699 case $ac_cv_build in
3700 *-*-*) ;;
3701 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3702 esac
3703 build=$ac_cv_build
3704 ac_save_IFS=$IFS; IFS='-'
3705 set x $ac_cv_build
3706 shift
3707 build_cpu=$1
3708 build_vendor=$2
3709 shift; shift
3710 # Remember, the first character of IFS is used to create $*,
3711 # except with old shells:
3712 build_os=$*
3713 IFS=$ac_save_IFS
3714 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3718 $as_echo_n "checking host system type... " >&6; }
3719 if ${ac_cv_host+:} false; then :
3720   $as_echo_n "(cached) " >&6
3721 else
3722   if test "x$host_alias" = x; then
3723   ac_cv_host=$ac_cv_build
3724 else
3725   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3726     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3731 $as_echo "$ac_cv_host" >&6; }
3732 case $ac_cv_host in
3733 *-*-*) ;;
3734 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3735 esac
3736 host=$ac_cv_host
3737 ac_save_IFS=$IFS; IFS='-'
3738 set x $ac_cv_host
3739 shift
3740 host_cpu=$1
3741 host_vendor=$2
3742 shift; shift
3743 # Remember, the first character of IFS is used to create $*,
3744 # except with old shells:
3745 host_os=$*
3746 IFS=$ac_save_IFS
3747 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3750 # Backslashify metacharacters that are still active within
3751 # double-quoted strings.
3752 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3754 # Same as above, but do not quote variable references.
3755 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3757 # Sed substitution to delay expansion of an escaped shell variable in a
3758 # double_quote_subst'ed string.
3759 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3761 # Sed substitution to delay expansion of an escaped single quote.
3762 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3764 # Sed substitution to avoid accidental globbing in evaled expressions
3765 no_glob_subst='s/\*/\\\*/g'
3767 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3768 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3769 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3772 $as_echo_n "checking how to print strings... " >&6; }
3773 # Test print first, because it will be a builtin if present.
3774 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3775    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3776   ECHO='print -r --'
3777 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3778   ECHO='printf %s\n'
3779 else
3780   # Use this function as a fallback that always works.
3781   func_fallback_echo ()
3782   {
3783     eval 'cat <<_LTECHO_EOF
3785 _LTECHO_EOF'
3786   }
3787   ECHO='func_fallback_echo'
3790 # func_echo_all arg...
3791 # Invoke $ECHO with all args, space-separated.
3792 func_echo_all ()
3794     $ECHO "" 
3797 case "$ECHO" in
3798   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3799 $as_echo "printf" >&6; } ;;
3800   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3801 $as_echo "print -r" >&6; } ;;
3802   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3803 $as_echo "cat" >&6; } ;;
3804 esac
3809     
3810     
3811     
3814     
3815     
3816     
3819 ac_ext=c
3820 ac_cpp='$CPP $CPPFLAGS'
3821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3824 if test -n "$ac_tool_prefix"; then
3825   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3826 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if ${ac_cv_prog_CC+:} false; then :
3830   $as_echo_n "(cached) " >&6
3831 else
3832   if test -n "$CC"; then
3833   ac_cv_prog_CC="$CC" # Let the user override the test.
3834 else
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836 for as_dir in $PATH
3838   IFS=$as_save_IFS
3839   test -z "$as_dir" && as_dir=.
3840     for ac_exec_ext in '' $ac_executable_extensions; do
3841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3842     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3844     break 2
3845   fi
3846 done
3847   done
3848 IFS=$as_save_IFS
3852 CC=$ac_cv_prog_CC
3853 if test -n "$CC"; then
3854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3855 $as_echo "$CC" >&6; }
3856 else
3857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3863 if test -z "$ac_cv_prog_CC"; then
3864   ac_ct_CC=$CC
3865   # Extract the first word of "gcc", so it can be a program name with args.
3866 set dummy gcc; ac_word=$2
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3868 $as_echo_n "checking for $ac_word... " >&6; }
3869 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3870   $as_echo_n "(cached) " >&6
3871 else
3872   if test -n "$ac_ct_CC"; then
3873   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3874 else
3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3876 for as_dir in $PATH
3878   IFS=$as_save_IFS
3879   test -z "$as_dir" && as_dir=.
3880     for ac_exec_ext in '' $ac_executable_extensions; do
3881   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3882     ac_cv_prog_ac_ct_CC="gcc"
3883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3884     break 2
3885   fi
3886 done
3887   done
3888 IFS=$as_save_IFS
3892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3893 if test -n "$ac_ct_CC"; then
3894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3895 $as_echo "$ac_ct_CC" >&6; }
3896 else
3897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3898 $as_echo "no" >&6; }
3901   if test "x$ac_ct_CC" = x; then
3902     CC=""
3903   else
3904     case $cross_compiling:$ac_tool_warned in
3905 yes:)
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3908 ac_tool_warned=yes ;;
3909 esac
3910     CC=$ac_ct_CC
3911   fi
3912 else
3913   CC="$ac_cv_prog_CC"
3916 if test -z "$CC"; then
3917           if test -n "$ac_tool_prefix"; then
3918     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3919 set dummy ${ac_tool_prefix}cc; ac_word=$2
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3921 $as_echo_n "checking for $ac_word... " >&6; }
3922 if ${ac_cv_prog_CC+:} false; then :
3923   $as_echo_n "(cached) " >&6
3924 else
3925   if test -n "$CC"; then
3926   ac_cv_prog_CC="$CC" # Let the user override the test.
3927 else
3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929 for as_dir in $PATH
3931   IFS=$as_save_IFS
3932   test -z "$as_dir" && as_dir=.
3933     for ac_exec_ext in '' $ac_executable_extensions; do
3934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3935     ac_cv_prog_CC="${ac_tool_prefix}cc"
3936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937     break 2
3938   fi
3939 done
3940   done
3941 IFS=$as_save_IFS
3945 CC=$ac_cv_prog_CC
3946 if test -n "$CC"; then
3947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3948 $as_echo "$CC" >&6; }
3949 else
3950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3955   fi
3957 if test -z "$CC"; then
3958   # Extract the first word of "cc", so it can be a program name with args.
3959 set dummy cc; ac_word=$2
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3961 $as_echo_n "checking for $ac_word... " >&6; }
3962 if ${ac_cv_prog_CC+:} false; then :
3963   $as_echo_n "(cached) " >&6
3964 else
3965   if test -n "$CC"; then
3966   ac_cv_prog_CC="$CC" # Let the user override the test.
3967 else
3968   ac_prog_rejected=no
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972   IFS=$as_save_IFS
3973   test -z "$as_dir" && as_dir=.
3974     for ac_exec_ext in '' $ac_executable_extensions; do
3975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3976     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3977        ac_prog_rejected=yes
3978        continue
3979      fi
3980     ac_cv_prog_CC="cc"
3981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982     break 2
3983   fi
3984 done
3985   done
3986 IFS=$as_save_IFS
3988 if test $ac_prog_rejected = yes; then
3989   # We found a bogon in the path, so make sure we never use it.
3990   set dummy $ac_cv_prog_CC
3991   shift
3992   if test $@%:@ != 0; then
3993     # We chose a different compiler from the bogus one.
3994     # However, it has the same basename, so the bogon will be chosen
3995     # first if we set CC to just the basename; use the full file name.
3996     shift
3997     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3998   fi
4002 CC=$ac_cv_prog_CC
4003 if test -n "$CC"; then
4004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4005 $as_echo "$CC" >&6; }
4006 else
4007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4013 if test -z "$CC"; then
4014   if test -n "$ac_tool_prefix"; then
4015   for ac_prog in cl.exe
4016   do
4017     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_prog_CC+:} false; then :
4022   $as_echo_n "(cached) " >&6
4023 else
4024   if test -n "$CC"; then
4025   ac_cv_prog_CC="$CC" # Let the user override the test.
4026 else
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4028 for as_dir in $PATH
4030   IFS=$as_save_IFS
4031   test -z "$as_dir" && as_dir=.
4032     for ac_exec_ext in '' $ac_executable_extensions; do
4033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4034     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036     break 2
4037   fi
4038 done
4039   done
4040 IFS=$as_save_IFS
4044 CC=$ac_cv_prog_CC
4045 if test -n "$CC"; then
4046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4047 $as_echo "$CC" >&6; }
4048 else
4049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4054     test -n "$CC" && break
4055   done
4057 if test -z "$CC"; then
4058   ac_ct_CC=$CC
4059   for ac_prog in cl.exe
4061   # Extract the first word of "$ac_prog", so it can be a program name with args.
4062 set dummy $ac_prog; ac_word=$2
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064 $as_echo_n "checking for $ac_word... " >&6; }
4065 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4066   $as_echo_n "(cached) " >&6
4067 else
4068   if test -n "$ac_ct_CC"; then
4069   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4070 else
4071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4072 for as_dir in $PATH
4074   IFS=$as_save_IFS
4075   test -z "$as_dir" && as_dir=.
4076     for ac_exec_ext in '' $ac_executable_extensions; do
4077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4078     ac_cv_prog_ac_ct_CC="$ac_prog"
4079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080     break 2
4081   fi
4082 done
4083   done
4084 IFS=$as_save_IFS
4088 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4089 if test -n "$ac_ct_CC"; then
4090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4091 $as_echo "$ac_ct_CC" >&6; }
4092 else
4093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094 $as_echo "no" >&6; }
4098   test -n "$ac_ct_CC" && break
4099 done
4101   if test "x$ac_ct_CC" = x; then
4102     CC=""
4103   else
4104     case $cross_compiling:$ac_tool_warned in
4105 yes:)
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4108 ac_tool_warned=yes ;;
4109 esac
4110     CC=$ac_ct_CC
4111   fi
4117 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error $? "no acceptable C compiler found in \$PATH
4120 See \`config.log' for more details" "$LINENO" 5; }
4122 # Provide some information about the compiler.
4123 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4124 set X $ac_compile
4125 ac_compiler=$2
4126 for ac_option in --version -v -V -qversion; do
4127   { { ac_try="$ac_compiler $ac_option >&5"
4128 case "(($ac_try" in
4129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130   *) ac_try_echo=$ac_try;;
4131 esac
4132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4133 $as_echo "$ac_try_echo"; } >&5
4134   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4135   ac_status=$?
4136   if test -s conftest.err; then
4137     sed '10a\
4138 ... rest of stderr output deleted ...
4139          10q' conftest.err >conftest.er1
4140     cat conftest.er1 >&5
4141   fi
4142   rm -f conftest.er1 conftest.err
4143   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4144   test $ac_status = 0; }
4145 done
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4148 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4149 if ${ac_cv_c_compiler_gnu+:} false; then :
4150   $as_echo_n "(cached) " >&6
4151 else
4152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h.  */
4156 main ()
4158 #ifndef __GNUC__
4159        choke me
4160 #endif
4162   ;
4163   return 0;
4165 _ACEOF
4166 if ac_fn_c_try_compile "$LINENO"; then :
4167   ac_compiler_gnu=yes
4168 else
4169   ac_compiler_gnu=no
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4172 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4176 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4177 if test $ac_compiler_gnu = yes; then
4178   GCC=yes
4179 else
4180   GCC=
4182 ac_test_CFLAGS=${CFLAGS+set}
4183 ac_save_CFLAGS=$CFLAGS
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4185 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4186 if ${ac_cv_prog_cc_g+:} false; then :
4187   $as_echo_n "(cached) " >&6
4188 else
4189   ac_save_c_werror_flag=$ac_c_werror_flag
4190    ac_c_werror_flag=yes
4191    ac_cv_prog_cc_g=no
4192    CFLAGS="-g"
4193    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h.  */
4197 main ()
4200   ;
4201   return 0;
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205   ac_cv_prog_cc_g=yes
4206 else
4207   CFLAGS=""
4208       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h.  */
4212 main ()
4215   ;
4216   return 0;
4218 _ACEOF
4219 if ac_fn_c_try_compile "$LINENO"; then :
4220   
4221 else
4222   ac_c_werror_flag=$ac_save_c_werror_flag
4223          CFLAGS="-g"
4224          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h.  */
4228 main ()
4231   ;
4232   return 0;
4234 _ACEOF
4235 if ac_fn_c_try_compile "$LINENO"; then :
4236   ac_cv_prog_cc_g=yes
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243    ac_c_werror_flag=$ac_save_c_werror_flag
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4246 $as_echo "$ac_cv_prog_cc_g" >&6; }
4247 if test "$ac_test_CFLAGS" = set; then
4248   CFLAGS=$ac_save_CFLAGS
4249 elif test $ac_cv_prog_cc_g = yes; then
4250   if test "$GCC" = yes; then
4251     CFLAGS="-g -O2"
4252   else
4253     CFLAGS="-g"
4254   fi
4255 else
4256   if test "$GCC" = yes; then
4257     CFLAGS="-O2"
4258   else
4259     CFLAGS=
4260   fi
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4263 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4264 if ${ac_cv_prog_cc_c89+:} false; then :
4265   $as_echo_n "(cached) " >&6
4266 else
4267   ac_cv_prog_cc_c89=no
4268 ac_save_CC=$CC
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h.  */
4271 #include <stdarg.h>
4272 #include <stdio.h>
4273 #include <sys/types.h>
4274 #include <sys/stat.h>
4275 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4276 struct buf { int x; };
4277 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4278 static char *e (p, i)
4279      char **p;
4280      int i;
4282   return p[i];
4284 static char *f (char * (*g) (char **, int), char **p, ...)
4286   char *s;
4287   va_list v;
4288   va_start (v,p);
4289   s = g (p, va_arg (v,int));
4290   va_end (v);
4291   return s;
4294 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4295    function prototypes and stuff, but not '\xHH' hex character constants.
4296    These don't provoke an error unfortunately, instead are silently treated
4297    as 'x'.  The following induces an error, until -std is added to get
4298    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4299    array size at least.  It's necessary to write '\x00'==0 to get something
4300    that's true only with -std.  */
4301 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4303 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4304    inside strings and character constants.  */
4305 #define FOO(x) 'x'
4306 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4308 int test (int i, double x);
4309 struct s1 {int (*f) (int a);};
4310 struct s2 {int (*f) (double a);};
4311 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4312 int argc;
4313 char **argv;
4315 main ()
4317 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4318   ;
4319   return 0;
4321 _ACEOF
4322 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4323         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4325   CC="$ac_save_CC $ac_arg"
4326   if ac_fn_c_try_compile "$LINENO"; then :
4327   ac_cv_prog_cc_c89=$ac_arg
4329 rm -f core conftest.err conftest.$ac_objext
4330   test "x$ac_cv_prog_cc_c89" != "xno" && break
4331 done
4332 rm -f conftest.$ac_ext
4333 CC=$ac_save_CC
4336 # AC_CACHE_VAL
4337 case "x$ac_cv_prog_cc_c89" in
4338   x)
4339     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4340 $as_echo "none needed" >&6; } ;;
4341   xno)
4342     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4343 $as_echo "unsupported" >&6; } ;;
4344   *)
4345     CC="$CC $ac_cv_prog_cc_c89"
4346     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4347 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4348 esac
4349 if test "x$ac_cv_prog_cc_c89" != xno; then :
4350   
4353 ac_ext=c
4354 ac_cpp='$CPP $CPPFLAGS'
4355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4359 depcc="$CC"   am_compiler_list=
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4362 $as_echo_n "checking dependency style of $depcc... " >&6; }
4363 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4364   $as_echo_n "(cached) " >&6
4365 else
4366   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4367   # We make a subdir and do the tests there.  Otherwise we can end up
4368   # making bogus files that we don't know about and never remove.  For
4369   # instance it was reported that on HP-UX the gcc test will end up
4370   # making a dummy file named `D' -- because `-MD' means `put the output
4371   # in D'.
4372   rm -rf conftest.dir
4373   mkdir conftest.dir
4374   # Copy depcomp to subdir because otherwise we won't find it if we're
4375   # using a relative directory.
4376   cp "$am_depcomp" conftest.dir
4377   cd conftest.dir
4378   # We will build objects and dependencies in a subdirectory because
4379   # it helps to detect inapplicable dependency modes.  For instance
4380   # both Tru64's cc and ICC support -MD to output dependencies as a
4381   # side effect of compilation, but ICC will put the dependencies in
4382   # the current directory while Tru64 will put them in the object
4383   # directory.
4384   mkdir sub
4386   am_cv_CC_dependencies_compiler_type=none
4387   if test "$am_compiler_list" = ""; then
4388      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4389   fi
4390   am__universal=false
4391   case " $depcc " in #(
4392      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4393      esac
4395   for depmode in $am_compiler_list; do
4396     # Setup a source with many dependencies, because some compilers
4397     # like to wrap large dependency lists on column 80 (with \), and
4398     # we should not choose a depcomp mode which is confused by this.
4399     #
4400     # We need to recreate these files for each test, as the compiler may
4401     # overwrite some of them when testing with obscure command lines.
4402     # This happens at least with the AIX C compiler.
4403     : > sub/conftest.c
4404     for i in 1 2 3 4 5 6; do
4405       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4406       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4407       # Solaris 8's {/usr,}/bin/sh.
4408       touch sub/conftst$i.h
4409     done
4410     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4412     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4413     # mode.  It turns out that the SunPro C++ compiler does not properly
4414     # handle `-M -o', and we need to detect this.  Also, some Intel
4415     # versions had trouble with output in subdirs
4416     am__obj=sub/conftest.${OBJEXT-o}
4417     am__minus_obj="-o $am__obj"
4418     case $depmode in
4419     gcc)
4420       # This depmode causes a compiler race in universal mode.
4421       test "$am__universal" = false || continue
4422       ;;
4423     nosideeffect)
4424       # after this tag, mechanisms are not by side-effect, so they'll
4425       # only be used when explicitly requested
4426       if test "x$enable_dependency_tracking" = xyes; then
4427         continue
4428       else
4429         break
4430       fi
4431       ;;
4432     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4433       # This compiler won't grok `-c -o', but also, the minuso test has
4434       # not run yet.  These depmodes are late enough in the game, and
4435       # so weak that their functioning should not be impacted.
4436       am__obj=conftest.${OBJEXT-o}
4437       am__minus_obj=
4438       ;;
4439     none) break ;;
4440     esac
4441     if depmode=$depmode \
4442        source=sub/conftest.c object=$am__obj \
4443        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4444        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4445          >/dev/null 2>conftest.err &&
4446        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4447        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4448        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4449        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4450       # icc doesn't choke on unknown options, it will just issue warnings
4451       # or remarks (even with -Werror).  So we grep stderr for any message
4452       # that says an option was ignored or not supported.
4453       # When given -MP, icc 7.0 and 7.1 complain thusly:
4454       #   icc: Command line warning: ignoring option '-M'; no argument required
4455       # The diagnosis changed in icc 8.0:
4456       #   icc: Command line remark: option '-MP' not supported
4457       if (grep 'ignoring option' conftest.err ||
4458           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4459         am_cv_CC_dependencies_compiler_type=$depmode
4460         break
4461       fi
4462     fi
4463   done
4465   cd ..
4466   rm -rf conftest.dir
4467 else
4468   am_cv_CC_dependencies_compiler_type=none
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4473 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4474 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4476  if 
4477   test "x$enable_dependency_tracking" != xno \
4478   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4479   am__fastdepCC_TRUE=
4480   am__fastdepCC_FALSE='#'
4481 else
4482   am__fastdepCC_TRUE='#'
4483   am__fastdepCC_FALSE=
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4488 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4489 if ${ac_cv_path_SED+:} false; then :
4490   $as_echo_n "(cached) " >&6
4491 else
4492             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4493      for ac_i in 1 2 3 4 5 6 7; do
4494        ac_script="$ac_script$as_nl$ac_script"
4495      done
4496      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4497      { ac_script=; unset ac_script;}
4498      if test -z "$SED"; then
4499   ac_path_SED_found=false
4500   # Loop through the user's path and test for each of PROGNAME-LIST
4501   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 for as_dir in $PATH
4504   IFS=$as_save_IFS
4505   test -z "$as_dir" && as_dir=.
4506     for ac_prog in sed gsed; do
4507     for ac_exec_ext in '' $ac_executable_extensions; do
4508       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4509       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4510 # Check for GNU ac_path_SED and select it if it is found.
4511   # Check for GNU $ac_path_SED
4512 case `"$ac_path_SED" --version 2>&1` in
4513 *GNU*)
4514   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4516   ac_count=0
4517   $as_echo_n 0123456789 >"conftest.in"
4518   while :
4519   do
4520     cat "conftest.in" "conftest.in" >"conftest.tmp"
4521     mv "conftest.tmp" "conftest.in"
4522     cp "conftest.in" "conftest.nl"
4523     $as_echo '' >> "conftest.nl"
4524     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4525     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4526     as_fn_arith $ac_count + 1 && ac_count=$as_val
4527     if test $ac_count -gt ${ac_path_SED_max-0}; then
4528       # Best one so far, save it but keep looking for a better one
4529       ac_cv_path_SED="$ac_path_SED"
4530       ac_path_SED_max=$ac_count
4531     fi
4532     # 10*(2^10) chars as input seems more than enough
4533     test $ac_count -gt 10 && break
4534   done
4535   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4536 esac
4538       $ac_path_SED_found && break 3
4539     done
4540   done
4541   done
4542 IFS=$as_save_IFS
4543   if test -z "$ac_cv_path_SED"; then
4544     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4545   fi
4546 else
4547   ac_cv_path_SED=$SED
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4552 $as_echo "$ac_cv_path_SED" >&6; }
4553  SED="$ac_cv_path_SED"
4554   rm -f conftest.sed
4556 test -z "$SED" && SED=sed
4557 Xsed="$SED -e 1s/^X//"
4559     
4560     
4561     
4564     
4565     
4566     
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4570 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4571 if ${ac_cv_path_GREP+:} false; then :
4572   $as_echo_n "(cached) " >&6
4573 else
4574   if test -z "$GREP"; then
4575   ac_path_GREP_found=false
4576   # Loop through the user's path and test for each of PROGNAME-LIST
4577   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4580   IFS=$as_save_IFS
4581   test -z "$as_dir" && as_dir=.
4582     for ac_prog in grep ggrep; do
4583     for ac_exec_ext in '' $ac_executable_extensions; do
4584       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4585       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4586 # Check for GNU ac_path_GREP and select it if it is found.
4587   # Check for GNU $ac_path_GREP
4588 case `"$ac_path_GREP" --version 2>&1` in
4589 *GNU*)
4590   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4592   ac_count=0
4593   $as_echo_n 0123456789 >"conftest.in"
4594   while :
4595   do
4596     cat "conftest.in" "conftest.in" >"conftest.tmp"
4597     mv "conftest.tmp" "conftest.in"
4598     cp "conftest.in" "conftest.nl"
4599     $as_echo 'GREP' >> "conftest.nl"
4600     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4601     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4602     as_fn_arith $ac_count + 1 && ac_count=$as_val
4603     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4604       # Best one so far, save it but keep looking for a better one
4605       ac_cv_path_GREP="$ac_path_GREP"
4606       ac_path_GREP_max=$ac_count
4607     fi
4608     # 10*(2^10) chars as input seems more than enough
4609     test $ac_count -gt 10 && break
4610   done
4611   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4612 esac
4614       $ac_path_GREP_found && break 3
4615     done
4616   done
4617   done
4618 IFS=$as_save_IFS
4619   if test -z "$ac_cv_path_GREP"; then
4620     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4621   fi
4622 else
4623   ac_cv_path_GREP=$GREP
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4628 $as_echo "$ac_cv_path_GREP" >&6; }
4629  GREP="$ac_cv_path_GREP"
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4633 $as_echo_n "checking for egrep... " >&6; }
4634 if ${ac_cv_path_EGREP+:} false; then :
4635   $as_echo_n "(cached) " >&6
4636 else
4637   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4638    then ac_cv_path_EGREP="$GREP -E"
4639    else
4640      if test -z "$EGREP"; then
4641   ac_path_EGREP_found=false
4642   # Loop through the user's path and test for each of PROGNAME-LIST
4643   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4644 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4646   IFS=$as_save_IFS
4647   test -z "$as_dir" && as_dir=.
4648     for ac_prog in egrep; do
4649     for ac_exec_ext in '' $ac_executable_extensions; do
4650       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4651       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4652 # Check for GNU ac_path_EGREP and select it if it is found.
4653   # Check for GNU $ac_path_EGREP
4654 case `"$ac_path_EGREP" --version 2>&1` in
4655 *GNU*)
4656   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4658   ac_count=0
4659   $as_echo_n 0123456789 >"conftest.in"
4660   while :
4661   do
4662     cat "conftest.in" "conftest.in" >"conftest.tmp"
4663     mv "conftest.tmp" "conftest.in"
4664     cp "conftest.in" "conftest.nl"
4665     $as_echo 'EGREP' >> "conftest.nl"
4666     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4667     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4668     as_fn_arith $ac_count + 1 && ac_count=$as_val
4669     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4670       # Best one so far, save it but keep looking for a better one
4671       ac_cv_path_EGREP="$ac_path_EGREP"
4672       ac_path_EGREP_max=$ac_count
4673     fi
4674     # 10*(2^10) chars as input seems more than enough
4675     test $ac_count -gt 10 && break
4676   done
4677   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4678 esac
4680       $ac_path_EGREP_found && break 3
4681     done
4682   done
4683   done
4684 IFS=$as_save_IFS
4685   if test -z "$ac_cv_path_EGREP"; then
4686     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4687   fi
4688 else
4689   ac_cv_path_EGREP=$EGREP
4692    fi
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4695 $as_echo "$ac_cv_path_EGREP" >&6; }
4696  EGREP="$ac_cv_path_EGREP"
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4700 $as_echo_n "checking for fgrep... " >&6; }
4701 if ${ac_cv_path_FGREP+:} false; then :
4702   $as_echo_n "(cached) " >&6
4703 else
4704   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4705    then ac_cv_path_FGREP="$GREP -F"
4706    else
4707      if test -z "$FGREP"; then
4708   ac_path_FGREP_found=false
4709   # Loop through the user's path and test for each of PROGNAME-LIST
4710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4713   IFS=$as_save_IFS
4714   test -z "$as_dir" && as_dir=.
4715     for ac_prog in fgrep; do
4716     for ac_exec_ext in '' $ac_executable_extensions; do
4717       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4718       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4719 # Check for GNU ac_path_FGREP and select it if it is found.
4720   # Check for GNU $ac_path_FGREP
4721 case `"$ac_path_FGREP" --version 2>&1` in
4722 *GNU*)
4723   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4725   ac_count=0
4726   $as_echo_n 0123456789 >"conftest.in"
4727   while :
4728   do
4729     cat "conftest.in" "conftest.in" >"conftest.tmp"
4730     mv "conftest.tmp" "conftest.in"
4731     cp "conftest.in" "conftest.nl"
4732     $as_echo 'FGREP' >> "conftest.nl"
4733     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4734     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4735     as_fn_arith $ac_count + 1 && ac_count=$as_val
4736     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4737       # Best one so far, save it but keep looking for a better one
4738       ac_cv_path_FGREP="$ac_path_FGREP"
4739       ac_path_FGREP_max=$ac_count
4740     fi
4741     # 10*(2^10) chars as input seems more than enough
4742     test $ac_count -gt 10 && break
4743   done
4744   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4745 esac
4747       $ac_path_FGREP_found && break 3
4748     done
4749   done
4750   done
4751 IFS=$as_save_IFS
4752   if test -z "$ac_cv_path_FGREP"; then
4753     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4754   fi
4755 else
4756   ac_cv_path_FGREP=$FGREP
4759    fi
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4762 $as_echo "$ac_cv_path_FGREP" >&6; }
4763  FGREP="$ac_cv_path_FGREP"
4766 test -z "$GREP" && GREP=grep
4768     
4769     
4770     
4773     
4774     
4775     
4778     
4779     
4780     
4786 @%:@ Check whether --with-gnu-ld was given.
4787 if test "${with_gnu_ld+set}" = set; then :
4788   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4789 else
4790   with_gnu_ld=no
4793 ac_prog=ld
4794 if test "$GCC" = yes; then
4795   # Check if gcc -print-prog-name=ld gives a path.
4796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4797 $as_echo_n "checking for ld used by $CC... " >&6; }
4798   case $host in
4799   *-*-mingw*)
4800     # gcc leaves a trailing carriage return which upsets mingw
4801     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4802   *)
4803     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4804   esac
4805   case $ac_prog in
4806     # Accept absolute paths.
4807     [\\/]* | ?:[\\/]*)
4808       re_direlt='/[^/][^/]*/\.\./'
4809       # Canonicalize the pathname of ld
4810       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4811       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4812         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4813       done
4814       test -z "$LD" && LD="$ac_prog"
4815       ;;
4816   "")
4817     # If it fails, then pretend we aren't using GCC.
4818     ac_prog=ld
4819     ;;
4820   *)
4821     # If it is relative, then search for the first ld in PATH.
4822     with_gnu_ld=unknown
4823     ;;
4824   esac
4825 elif test "$with_gnu_ld" = yes; then
4826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4827 $as_echo_n "checking for GNU ld... " >&6; }
4828 else
4829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4830 $as_echo_n "checking for non-GNU ld... " >&6; }
4832 if ${lt_cv_path_LD+:} false; then :
4833   $as_echo_n "(cached) " >&6
4834 else
4835   if test -z "$LD"; then
4836   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4837   for ac_dir in $PATH; do
4838     IFS="$lt_save_ifs"
4839     test -z "$ac_dir" && ac_dir=.
4840     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4841       lt_cv_path_LD="$ac_dir/$ac_prog"
4842       # Check to see if the program is GNU ld.  I'd rather use --version,
4843       # but apparently some variants of GNU ld only accept -v.
4844       # Break only if it was the GNU/non-GNU ld that we prefer.
4845       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4846       *GNU* | *'with BFD'*)
4847         test "$with_gnu_ld" != no && break
4848         ;;
4849       *)
4850         test "$with_gnu_ld" != yes && break
4851         ;;
4852       esac
4853     fi
4854   done
4855   IFS="$lt_save_ifs"
4856 else
4857   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4861 LD="$lt_cv_path_LD"
4862 if test -n "$LD"; then
4863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4864 $as_echo "$LD" >&6; }
4865 else
4866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4869 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4871 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4872 if ${lt_cv_prog_gnu_ld+:} false; then :
4873   $as_echo_n "(cached) " >&6
4874 else
4875   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4876 case `$LD -v 2>&1 </dev/null` in
4877 *GNU* | *'with BFD'*)
4878   lt_cv_prog_gnu_ld=yes
4879   ;;
4881   lt_cv_prog_gnu_ld=no
4882   ;;
4883 esac
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4886 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4887 with_gnu_ld=$lt_cv_prog_gnu_ld
4892     
4893     
4894     
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4898 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4899 if ${lt_cv_path_NM+:} false; then :
4900   $as_echo_n "(cached) " >&6
4901 else
4902   if test -n "$NM"; then
4903   # Let the user override the test.
4904   lt_cv_path_NM="$NM"
4905 else
4906   lt_nm_to_check="${ac_tool_prefix}nm"
4907   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4908     lt_nm_to_check="$lt_nm_to_check nm"
4909   fi
4910   for lt_tmp_nm in $lt_nm_to_check; do
4911     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4912     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4913       IFS="$lt_save_ifs"
4914       test -z "$ac_dir" && ac_dir=.
4915       tmp_nm="$ac_dir/$lt_tmp_nm"
4916       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4917         # Check to see if the nm accepts a BSD-compat flag.
4918         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4919         #   nm: unknown option "B" ignored
4920         # Tru64's nm complains that /dev/null is an invalid object file
4921         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4922         */dev/null* | *'Invalid file or object type'*)
4923           lt_cv_path_NM="$tmp_nm -B"
4924           break
4925           ;;
4926         *)
4927           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4928           */dev/null*)
4929             lt_cv_path_NM="$tmp_nm -p"
4930             break
4931             ;;
4932           *)
4933             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4934             continue # so that we can try to find one that supports BSD flags
4935             ;;
4936           esac
4937           ;;
4938         esac
4939       fi
4940     done
4941     IFS="$lt_save_ifs"
4942   done
4943   : ${lt_cv_path_NM=no}
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4947 $as_echo "$lt_cv_path_NM" >&6; }
4948 if test "$lt_cv_path_NM" != "no"; then
4949   NM="$lt_cv_path_NM"
4950 else
4951   # Didn't find any BSD compatible name lister, look for dumpbin.
4952   if test -n "$DUMPBIN"; then :
4953     # Let the user override the test.
4954   else
4955     if test -n "$ac_tool_prefix"; then
4956   for ac_prog in dumpbin "link -dump"
4957   do
4958     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4959 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if ${ac_cv_prog_DUMPBIN+:} false; then :
4963   $as_echo_n "(cached) " >&6
4964 else
4965   if test -n "$DUMPBIN"; then
4966   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4967 else
4968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 for as_dir in $PATH
4971   IFS=$as_save_IFS
4972   test -z "$as_dir" && as_dir=.
4973     for ac_exec_ext in '' $ac_executable_extensions; do
4974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977     break 2
4978   fi
4979 done
4980   done
4981 IFS=$as_save_IFS
4985 DUMPBIN=$ac_cv_prog_DUMPBIN
4986 if test -n "$DUMPBIN"; then
4987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4988 $as_echo "$DUMPBIN" >&6; }
4989 else
4990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4995     test -n "$DUMPBIN" && break
4996   done
4998 if test -z "$DUMPBIN"; then
4999   ac_ct_DUMPBIN=$DUMPBIN
5000   for ac_prog in dumpbin "link -dump"
5002   # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy $ac_prog; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5007   $as_echo_n "(cached) " >&6
5008 else
5009   if test -n "$ac_ct_DUMPBIN"; then
5010   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5011 else
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 for as_dir in $PATH
5015   IFS=$as_save_IFS
5016   test -z "$as_dir" && as_dir=.
5017     for ac_exec_ext in '' $ac_executable_extensions; do
5018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021     break 2
5022   fi
5023 done
5024   done
5025 IFS=$as_save_IFS
5029 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5030 if test -n "$ac_ct_DUMPBIN"; then
5031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5032 $as_echo "$ac_ct_DUMPBIN" >&6; }
5033 else
5034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039   test -n "$ac_ct_DUMPBIN" && break
5040 done
5042   if test "x$ac_ct_DUMPBIN" = x; then
5043     DUMPBIN=":"
5044   else
5045     case $cross_compiling:$ac_tool_warned in
5046 yes:)
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5049 ac_tool_warned=yes ;;
5050 esac
5051     DUMPBIN=$ac_ct_DUMPBIN
5052   fi
5055     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5056     *COFF*)
5057       DUMPBIN="$DUMPBIN -symbols"
5058       ;;
5059     *)
5060       DUMPBIN=:
5061       ;;
5062     esac
5063   fi
5064   
5065   if test "$DUMPBIN" != ":"; then
5066     NM="$DUMPBIN"
5067   fi
5069 test -z "$NM" && NM=nm
5072     
5073     
5074     
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5077 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5078 if ${lt_cv_nm_interface+:} false; then :
5079   $as_echo_n "(cached) " >&6
5080 else
5081   lt_cv_nm_interface="BSD nm"
5082   echo "int some_variable = 0;" > conftest.$ac_ext
5083   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5084   (eval "$ac_compile" 2>conftest.err)
5085   cat conftest.err >&5
5086   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5087   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5088   cat conftest.err >&5
5089   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5090   cat conftest.out >&5
5091   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5092     lt_cv_nm_interface="MS dumpbin"
5093   fi
5094   rm -f conftest*
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5097 $as_echo "$lt_cv_nm_interface" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5100 $as_echo_n "checking whether ln -s works... " >&6; }
5101 LN_S=$as_ln_s
5102 if test "$LN_S" = "ln -s"; then
5103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5104 $as_echo "yes" >&6; }
5105 else
5106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5107 $as_echo "no, using $LN_S" >&6; }
5110 # find the maximum length of command line arguments
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5112 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5113 if ${lt_cv_sys_max_cmd_len+:} false; then :
5114   $as_echo_n "(cached) " >&6
5115 else
5116     i=0
5117   teststring="ABCD"
5119   case $build_os in
5120   msdosdjgpp*)
5121     # On DJGPP, this test can blow up pretty badly due to problems in libc
5122     # (any single argument exceeding 2000 bytes causes a buffer overrun
5123     # during glob expansion).  Even if it were fixed, the result of this
5124     # check would be larger than it should be.
5125     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5126     ;;
5128   gnu*)
5129     # Under GNU Hurd, this test is not required because there is
5130     # no limit to the length of command line arguments.
5131     # Libtool will interpret -1 as no limit whatsoever
5132     lt_cv_sys_max_cmd_len=-1;
5133     ;;
5135   cygwin* | mingw* | cegcc*)
5136     # On Win9x/ME, this test blows up -- it succeeds, but takes
5137     # about 5 minutes as the teststring grows exponentially.
5138     # Worse, since 9x/ME are not pre-emptively multitasking,
5139     # you end up with a "frozen" computer, even though with patience
5140     # the test eventually succeeds (with a max line length of 256k).
5141     # Instead, let's just punt: use the minimum linelength reported by
5142     # all of the supported platforms: 8192 (on NT/2K/XP).
5143     lt_cv_sys_max_cmd_len=8192;
5144     ;;
5146   mint*)
5147     # On MiNT this can take a long time and run out of memory.
5148     lt_cv_sys_max_cmd_len=8192;
5149     ;;
5151   amigaos*)
5152     # On AmigaOS with pdksh, this test takes hours, literally.
5153     # So we just punt and use a minimum line length of 8192.
5154     lt_cv_sys_max_cmd_len=8192;
5155     ;;
5157   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5158     # This has been around since 386BSD, at least.  Likely further.
5159     if test -x /sbin/sysctl; then
5160       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5161     elif test -x /usr/sbin/sysctl; then
5162       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5163     else
5164       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5165     fi
5166     # And add a safety zone
5167     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5168     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5169     ;;
5171   interix*)
5172     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5173     lt_cv_sys_max_cmd_len=196608
5174     ;;
5176   os2*)
5177     # The test takes a long time on OS/2.
5178     lt_cv_sys_max_cmd_len=8192
5179     ;;
5181   osf*)
5182     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5183     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5184     # nice to cause kernel panics so lets avoid the loop below.
5185     # First set a reasonable default.
5186     lt_cv_sys_max_cmd_len=16384
5187     #
5188     if test -x /sbin/sysconfig; then
5189       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5190         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5191       esac
5192     fi
5193     ;;
5194   sco3.2v5*)
5195     lt_cv_sys_max_cmd_len=102400
5196     ;;
5197   sysv5* | sco5v6* | sysv4.2uw2*)
5198     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5199     if test -n "$kargmax"; then
5200       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5201     else
5202       lt_cv_sys_max_cmd_len=32768
5203     fi
5204     ;;
5205   *)
5206     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5207     if test -n "$lt_cv_sys_max_cmd_len"; then
5208       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5209       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5210     else
5211       # Make teststring a little bigger before we do anything with it.
5212       # a 1K string should be a reasonable start.
5213       for i in 1 2 3 4 5 6 7 8 ; do
5214         teststring=$teststring$teststring
5215       done
5216       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5217       # If test is not a shell built-in, we'll probably end up computing a
5218       # maximum length that is only half of the actual maximum length, but
5219       # we can't tell.
5220       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5221                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5222               test $i != 17 # 1/2 MB should be enough
5223       do
5224         i=`expr $i + 1`
5225         teststring=$teststring$teststring
5226       done
5227       # Only check the string length outside the loop.
5228       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5229       teststring=
5230       # Add a significant safety factor because C++ compilers can tack on
5231       # massive amounts of additional arguments before passing them to the
5232       # linker.  It appears as though 1/2 is a usable value.
5233       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5234     fi
5235     ;;
5236   esac
5240 if test -n $lt_cv_sys_max_cmd_len ; then
5241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5242 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5243 else
5244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5245 $as_echo "none" >&6; }
5247 max_cmd_len=$lt_cv_sys_max_cmd_len
5249     
5250     
5251     
5254 : ${CP="cp -f"}
5255 : ${MV="mv -f"}
5256 : ${RM="rm -f"}
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5259 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5260 # Try some XSI features
5261 xsi_shell=no
5262 ( _lt_dummy="a/b/c"
5263   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5264       = c,a/b,b/c, \
5265     && eval 'test $(( 1 + 1 )) -eq 2 \
5266     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5267   && xsi_shell=yes
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5269 $as_echo "$xsi_shell" >&6; }
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5273 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5274 lt_shell_append=no
5275 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5276     >/dev/null 2>&1 \
5277   && lt_shell_append=yes
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5279 $as_echo "$lt_shell_append" >&6; }
5282 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5283   lt_unset=unset
5284 else
5285   lt_unset=false
5288     
5289     
5290     
5292 # test EBCDIC or ASCII
5293 case `echo X|tr X '\101'` in
5294  A) # ASCII based system
5295     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5296   lt_SP2NL='tr \040 \012'
5297   lt_NL2SP='tr \015\012 \040\040'
5298   ;;
5299  *) # EBCDIC based system
5300   lt_SP2NL='tr \100 \n'
5301   lt_NL2SP='tr \r\n \100\100'
5302   ;;
5303 esac
5305     
5306     
5307     
5309     
5310     
5311     
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5314 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5315 if ${lt_cv_to_host_file_cmd+:} false; then :
5316   $as_echo_n "(cached) " >&6
5317 else
5318   case $host in
5319   *-*-mingw* )
5320     case $build in
5321       *-*-mingw* ) # actually msys
5322         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5323         ;;
5324       *-*-cygwin* )
5325         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5326         ;;
5327       * ) # otherwise, assume *nix
5328         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5329         ;;
5330     esac
5331     ;;
5332   *-*-cygwin* )
5333     case $build in
5334       *-*-mingw* ) # actually msys
5335         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5336         ;;
5337       *-*-cygwin* )
5338         lt_cv_to_host_file_cmd=func_convert_file_noop
5339         ;;
5340       * ) # otherwise, assume *nix
5341         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5342         ;;
5343     esac
5344     ;;
5345   * ) # unhandled hosts (and "normal" native builds)
5346     lt_cv_to_host_file_cmd=func_convert_file_noop
5347     ;;
5348 esac
5352 to_host_file_cmd=$lt_cv_to_host_file_cmd
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5354 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5356     
5357     
5358     
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5361 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5362 if ${lt_cv_to_tool_file_cmd+:} false; then :
5363   $as_echo_n "(cached) " >&6
5364 else
5365   #assume ordinary cross tools, or native build.
5366 lt_cv_to_tool_file_cmd=func_convert_file_noop
5367 case $host in
5368   *-*-mingw* )
5369     case $build in
5370       *-*-mingw* ) # actually msys
5371         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5372         ;;
5373     esac
5374     ;;
5375 esac
5379 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5381 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5383     
5384     
5385     
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5388 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5389 if ${lt_cv_ld_reload_flag+:} false; then :
5390   $as_echo_n "(cached) " >&6
5391 else
5392   lt_cv_ld_reload_flag='-r'
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5395 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5396 reload_flag=$lt_cv_ld_reload_flag
5397 case $reload_flag in
5398 "" | " "*) ;;
5399 *) reload_flag=" $reload_flag" ;;
5400 esac
5401 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5402 case $host_os in
5403   cygwin* | mingw* | pw32* | cegcc*)
5404     if test "$GCC" != yes; then
5405       reload_cmds=false
5406     fi
5407     ;;
5408   darwin*)
5409     if test "$GCC" = yes; then
5410       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5411     else
5412       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5413     fi
5414     ;;
5415 esac
5417     
5418     
5419     
5421     
5422     
5423     
5425 if test -n "$ac_tool_prefix"; then
5426   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5429 $as_echo_n "checking for $ac_word... " >&6; }
5430 if ${ac_cv_prog_OBJDUMP+:} false; then :
5431   $as_echo_n "(cached) " >&6
5432 else
5433   if test -n "$OBJDUMP"; then
5434   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439   IFS=$as_save_IFS
5440   test -z "$as_dir" && as_dir=.
5441     for ac_exec_ext in '' $ac_executable_extensions; do
5442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5445     break 2
5446   fi
5447 done
5448   done
5449 IFS=$as_save_IFS
5453 OBJDUMP=$ac_cv_prog_OBJDUMP
5454 if test -n "$OBJDUMP"; then
5455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5456 $as_echo "$OBJDUMP" >&6; }
5457 else
5458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5459 $as_echo "no" >&6; }
5464 if test -z "$ac_cv_prog_OBJDUMP"; then
5465   ac_ct_OBJDUMP=$OBJDUMP
5466   # Extract the first word of "objdump", so it can be a program name with args.
5467 set dummy objdump; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5471   $as_echo_n "(cached) " >&6
5472 else
5473   if test -n "$ac_ct_OBJDUMP"; then
5474   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479   IFS=$as_save_IFS
5480   test -z "$as_dir" && as_dir=.
5481     for ac_exec_ext in '' $ac_executable_extensions; do
5482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485     break 2
5486   fi
5487 done
5488   done
5489 IFS=$as_save_IFS
5493 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5494 if test -n "$ac_ct_OBJDUMP"; then
5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5496 $as_echo "$ac_ct_OBJDUMP" >&6; }
5497 else
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5502   if test "x$ac_ct_OBJDUMP" = x; then
5503     OBJDUMP="false"
5504   else
5505     case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5509 ac_tool_warned=yes ;;
5510 esac
5511     OBJDUMP=$ac_ct_OBJDUMP
5512   fi
5513 else
5514   OBJDUMP="$ac_cv_prog_OBJDUMP"
5517 test -z "$OBJDUMP" && OBJDUMP=objdump
5519     
5520     
5521     
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5528 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5529 if ${lt_cv_deplibs_check_method+:} false; then :
5530   $as_echo_n "(cached) " >&6
5531 else
5532   lt_cv_file_magic_cmd='$MAGIC_CMD'
5533 lt_cv_file_magic_test_file=
5534 lt_cv_deplibs_check_method='unknown'
5535 # Need to set the preceding variable on all platforms that support
5536 # interlibrary dependencies.
5537 # 'none' -- dependencies not supported.
5538 # `unknown' -- same as none, but documents that we really don't know.
5539 # 'pass_all' -- all dependencies passed with no checks.
5540 # 'test_compile' -- check by making test program.
5541 # 'file_magic [[regex]]' -- check by looking for files in library path
5542 # which responds to the $file_magic_cmd with a given extended regex.
5543 # If you have `file' or equivalent on your system and you're not sure
5544 # whether `pass_all' will *always* work, you probably want this one.
5546 case $host_os in
5547 aix[4-9]*)
5548   lt_cv_deplibs_check_method=pass_all
5549   ;;
5551 beos*)
5552   lt_cv_deplibs_check_method=pass_all
5553   ;;
5555 bsdi[45]*)
5556   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5557   lt_cv_file_magic_cmd='/usr/bin/file -L'
5558   lt_cv_file_magic_test_file=/shlib/libc.so
5559   ;;
5561 cygwin*)
5562   # func_win32_libid is a shell function defined in ltmain.sh
5563   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5564   lt_cv_file_magic_cmd='func_win32_libid'
5565   ;;
5567 mingw* | pw32*)
5568   # Base MSYS/MinGW do not provide the 'file' command needed by
5569   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5570   # unless we find 'file', for example because we are cross-compiling.
5571   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5572   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5573     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5574     lt_cv_file_magic_cmd='func_win32_libid'
5575   else
5576     # Keep this pattern in sync with the one in func_win32_libid.
5577     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5578     lt_cv_file_magic_cmd='$OBJDUMP -f'
5579   fi
5580   ;;
5582 cegcc*)
5583   # use the weaker test based on 'objdump'. See mingw*.
5584   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5585   lt_cv_file_magic_cmd='$OBJDUMP -f'
5586   ;;
5588 darwin* | rhapsody*)
5589   lt_cv_deplibs_check_method=pass_all
5590   ;;
5592 freebsd* | dragonfly*)
5593   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5594     case $host_cpu in
5595     i*86 )
5596       # Not sure whether the presence of OpenBSD here was a mistake.
5597       # Let's accept both of them until this is cleared up.
5598       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5599       lt_cv_file_magic_cmd=/usr/bin/file
5600       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5601       ;;
5602     esac
5603   else
5604     lt_cv_deplibs_check_method=pass_all
5605   fi
5606   ;;
5608 gnu*)
5609   lt_cv_deplibs_check_method=pass_all
5610   ;;
5612 haiku*)
5613   lt_cv_deplibs_check_method=pass_all
5614   ;;
5616 hpux10.20* | hpux11*)
5617   lt_cv_file_magic_cmd=/usr/bin/file
5618   case $host_cpu in
5619   ia64*)
5620     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5621     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5622     ;;
5623   hppa*64*)
5624     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]'
5625     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5626     ;;
5627   *)
5628     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5629     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5630     ;;
5631   esac
5632   ;;
5634 interix[3-9]*)
5635   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5636   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5637   ;;
5639 irix5* | irix6* | nonstopux*)
5640   case $LD in
5641   *-32|*"-32 ") libmagic=32-bit;;
5642   *-n32|*"-n32 ") libmagic=N32;;
5643   *-64|*"-64 ") libmagic=64-bit;;
5644   *) libmagic=never-match;;
5645   esac
5646   lt_cv_deplibs_check_method=pass_all
5647   ;;
5649 # This must be glibc/ELF.
5650 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5651   lt_cv_deplibs_check_method=pass_all
5652   ;;
5654 netbsd* | netbsdelf*-gnu)
5655   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5656     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5657   else
5658     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5659   fi
5660   ;;
5662 newos6*)
5663   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5664   lt_cv_file_magic_cmd=/usr/bin/file
5665   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5666   ;;
5668 *nto* | *qnx*)
5669   lt_cv_deplibs_check_method=pass_all
5670   ;;
5672 openbsd*)
5673   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5674     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5675   else
5676     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5677   fi
5678   ;;
5680 osf3* | osf4* | osf5*)
5681   lt_cv_deplibs_check_method=pass_all
5682   ;;
5684 rdos*)
5685   lt_cv_deplibs_check_method=pass_all
5686   ;;
5688 solaris*)
5689   lt_cv_deplibs_check_method=pass_all
5690   ;;
5692 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5693   lt_cv_deplibs_check_method=pass_all
5694   ;;
5696 sysv4 | sysv4.3*)
5697   case $host_vendor in
5698   motorola)
5699     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]'
5700     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5701     ;;
5702   ncr)
5703     lt_cv_deplibs_check_method=pass_all
5704     ;;
5705   sequent)
5706     lt_cv_file_magic_cmd='/bin/file'
5707     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5708     ;;
5709   sni)
5710     lt_cv_file_magic_cmd='/bin/file'
5711     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5712     lt_cv_file_magic_test_file=/lib/libc.so
5713     ;;
5714   siemens)
5715     lt_cv_deplibs_check_method=pass_all
5716     ;;
5717   pc)
5718     lt_cv_deplibs_check_method=pass_all
5719     ;;
5720   esac
5721   ;;
5723 tpf*)
5724   lt_cv_deplibs_check_method=pass_all
5725   ;;
5726 esac
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5730 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5732 file_magic_glob=
5733 want_nocaseglob=no
5734 if test "$build" = "$host"; then
5735   case $host_os in
5736   mingw* | pw32*)
5737     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5738       want_nocaseglob=yes
5739     else
5740       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5741     fi
5742     ;;
5743   esac
5746 file_magic_cmd=$lt_cv_file_magic_cmd
5747 deplibs_check_method=$lt_cv_deplibs_check_method
5748 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5751     
5752     
5753     
5756     
5757     
5758     
5761     
5762     
5763     
5766     
5767     
5768     
5771 if test -n "$ac_tool_prefix"; then
5772   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5773 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_DLLTOOL+:} false; then :
5777   $as_echo_n "(cached) " >&6
5778 else
5779   if test -n "$DLLTOOL"; then
5780   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5781 else
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 for as_dir in $PATH
5785   IFS=$as_save_IFS
5786   test -z "$as_dir" && as_dir=.
5787     for ac_exec_ext in '' $ac_executable_extensions; do
5788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5789     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5791     break 2
5792   fi
5793 done
5794   done
5795 IFS=$as_save_IFS
5799 DLLTOOL=$ac_cv_prog_DLLTOOL
5800 if test -n "$DLLTOOL"; then
5801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5802 $as_echo "$DLLTOOL" >&6; }
5803 else
5804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5810 if test -z "$ac_cv_prog_DLLTOOL"; then
5811   ac_ct_DLLTOOL=$DLLTOOL
5812   # Extract the first word of "dlltool", so it can be a program name with args.
5813 set dummy dlltool; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5817   $as_echo_n "(cached) " >&6
5818 else
5819   if test -n "$ac_ct_DLLTOOL"; then
5820   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825   IFS=$as_save_IFS
5826   test -z "$as_dir" && as_dir=.
5827     for ac_exec_ext in '' $ac_executable_extensions; do
5828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831     break 2
5832   fi
5833 done
5834   done
5835 IFS=$as_save_IFS
5839 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5840 if test -n "$ac_ct_DLLTOOL"; then
5841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5842 $as_echo "$ac_ct_DLLTOOL" >&6; }
5843 else
5844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5848   if test "x$ac_ct_DLLTOOL" = x; then
5849     DLLTOOL="false"
5850   else
5851     case $cross_compiling:$ac_tool_warned in
5852 yes:)
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5855 ac_tool_warned=yes ;;
5856 esac
5857     DLLTOOL=$ac_ct_DLLTOOL
5858   fi
5859 else
5860   DLLTOOL="$ac_cv_prog_DLLTOOL"
5863 test -z "$DLLTOOL" && DLLTOOL=dlltool
5865     
5866     
5867     
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5875 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5876 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5877   $as_echo_n "(cached) " >&6
5878 else
5879   lt_cv_sharedlib_from_linklib_cmd='unknown'
5881 case $host_os in
5882 cygwin* | mingw* | pw32* | cegcc*)
5883   # two different shell functions defined in ltmain.sh
5884   # decide which to use based on capabilities of $DLLTOOL
5885   case `$DLLTOOL --help 2>&1` in
5886   *--identify-strict*)
5887     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5888     ;;
5889   *)
5890     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5891     ;;
5892   esac
5893   ;;
5895   # fallback: assume linklib IS sharedlib
5896   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5897   ;;
5898 esac
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5902 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5903 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5904 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5907     
5908     
5909     
5913 if test -n "$ac_tool_prefix"; then
5914   for ac_prog in ar
5915   do
5916     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5917 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5919 $as_echo_n "checking for $ac_word... " >&6; }
5920 if ${ac_cv_prog_AR+:} false; then :
5921   $as_echo_n "(cached) " >&6
5922 else
5923   if test -n "$AR"; then
5924   ac_cv_prog_AR="$AR" # Let the user override the test.
5925 else
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 for as_dir in $PATH
5929   IFS=$as_save_IFS
5930   test -z "$as_dir" && as_dir=.
5931     for ac_exec_ext in '' $ac_executable_extensions; do
5932   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935     break 2
5936   fi
5937 done
5938   done
5939 IFS=$as_save_IFS
5943 AR=$ac_cv_prog_AR
5944 if test -n "$AR"; then
5945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5946 $as_echo "$AR" >&6; }
5947 else
5948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5949 $as_echo "no" >&6; }
5953     test -n "$AR" && break
5954   done
5956 if test -z "$AR"; then
5957   ac_ct_AR=$AR
5958   for ac_prog in ar
5960   # Extract the first word of "$ac_prog", so it can be a program name with args.
5961 set dummy $ac_prog; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5965   $as_echo_n "(cached) " >&6
5966 else
5967   if test -n "$ac_ct_AR"; then
5968   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5973   IFS=$as_save_IFS
5974   test -z "$as_dir" && as_dir=.
5975     for ac_exec_ext in '' $ac_executable_extensions; do
5976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977     ac_cv_prog_ac_ct_AR="$ac_prog"
5978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979     break 2
5980   fi
5981 done
5982   done
5983 IFS=$as_save_IFS
5987 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5988 if test -n "$ac_ct_AR"; then
5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5990 $as_echo "$ac_ct_AR" >&6; }
5991 else
5992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5997   test -n "$ac_ct_AR" && break
5998 done
6000   if test "x$ac_ct_AR" = x; then
6001     AR="false"
6002   else
6003     case $cross_compiling:$ac_tool_warned in
6004 yes:)
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6007 ac_tool_warned=yes ;;
6008 esac
6009     AR=$ac_ct_AR
6010   fi
6013 : ${AR=ar}
6014 : ${AR_FLAGS=cru}
6016     
6017     
6018     
6021     
6022     
6023     
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6027 $as_echo_n "checking for archiver @FILE support... " >&6; }
6028 if ${lt_cv_ar_at_file+:} false; then :
6029   $as_echo_n "(cached) " >&6
6030 else
6031   lt_cv_ar_at_file=no
6032    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h.  */
6036 main ()
6039   ;
6040   return 0;
6042 _ACEOF
6043 if ac_fn_c_try_compile "$LINENO"; then :
6044   echo conftest.$ac_objext > conftest.lst
6045       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6046       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6047   (eval $lt_ar_try) 2>&5
6048   ac_status=$?
6049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6050   test $ac_status = 0; }
6051       if test "$ac_status" -eq 0; then
6052         # Ensure the archiver fails upon bogus file names.
6053         rm -f conftest.$ac_objext libconftest.a
6054         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6055   (eval $lt_ar_try) 2>&5
6056   ac_status=$?
6057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6058   test $ac_status = 0; }
6059         if test "$ac_status" -ne 0; then
6060           lt_cv_ar_at_file=@
6061         fi
6062       fi
6063       rm -f conftest.* libconftest.a
6064      
6066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067   
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6070 $as_echo "$lt_cv_ar_at_file" >&6; }
6072 if test "x$lt_cv_ar_at_file" = xno; then
6073   archiver_list_spec=
6074 else
6075   archiver_list_spec=$lt_cv_ar_at_file
6078     
6079     
6080     
6084 if test -n "$ac_tool_prefix"; then
6085   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6086 set dummy ${ac_tool_prefix}strip; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if ${ac_cv_prog_STRIP+:} false; then :
6090   $as_echo_n "(cached) " >&6
6091 else
6092   if test -n "$STRIP"; then
6093   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098   IFS=$as_save_IFS
6099   test -z "$as_dir" && as_dir=.
6100     for ac_exec_ext in '' $ac_executable_extensions; do
6101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104     break 2
6105   fi
6106 done
6107   done
6108 IFS=$as_save_IFS
6112 STRIP=$ac_cv_prog_STRIP
6113 if test -n "$STRIP"; then
6114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6115 $as_echo "$STRIP" >&6; }
6116 else
6117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6123 if test -z "$ac_cv_prog_STRIP"; then
6124   ac_ct_STRIP=$STRIP
6125   # Extract the first word of "strip", so it can be a program name with args.
6126 set dummy strip; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6130   $as_echo_n "(cached) " >&6
6131 else
6132   if test -n "$ac_ct_STRIP"; then
6133   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6138   IFS=$as_save_IFS
6139   test -z "$as_dir" && as_dir=.
6140     for ac_exec_ext in '' $ac_executable_extensions; do
6141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142     ac_cv_prog_ac_ct_STRIP="strip"
6143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144     break 2
6145   fi
6146 done
6147   done
6148 IFS=$as_save_IFS
6152 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6153 if test -n "$ac_ct_STRIP"; then
6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6155 $as_echo "$ac_ct_STRIP" >&6; }
6156 else
6157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6161   if test "x$ac_ct_STRIP" = x; then
6162     STRIP=":"
6163   else
6164     case $cross_compiling:$ac_tool_warned in
6165 yes:)
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6168 ac_tool_warned=yes ;;
6169 esac
6170     STRIP=$ac_ct_STRIP
6171   fi
6172 else
6173   STRIP="$ac_cv_prog_STRIP"
6176 test -z "$STRIP" && STRIP=:
6178     
6179     
6180     
6183 if test -n "$ac_tool_prefix"; then
6184   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6185 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_RANLIB+:} false; then :
6189   $as_echo_n "(cached) " >&6
6190 else
6191   if test -n "$RANLIB"; then
6192   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6197   IFS=$as_save_IFS
6198   test -z "$as_dir" && as_dir=.
6199     for ac_exec_ext in '' $ac_executable_extensions; do
6200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203     break 2
6204   fi
6205 done
6206   done
6207 IFS=$as_save_IFS
6211 RANLIB=$ac_cv_prog_RANLIB
6212 if test -n "$RANLIB"; then
6213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6214 $as_echo "$RANLIB" >&6; }
6215 else
6216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6222 if test -z "$ac_cv_prog_RANLIB"; then
6223   ac_ct_RANLIB=$RANLIB
6224   # Extract the first word of "ranlib", so it can be a program name with args.
6225 set dummy ranlib; ac_word=$2
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6227 $as_echo_n "checking for $ac_word... " >&6; }
6228 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6229   $as_echo_n "(cached) " >&6
6230 else
6231   if test -n "$ac_ct_RANLIB"; then
6232   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6233 else
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 for as_dir in $PATH
6237   IFS=$as_save_IFS
6238   test -z "$as_dir" && as_dir=.
6239     for ac_exec_ext in '' $ac_executable_extensions; do
6240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241     ac_cv_prog_ac_ct_RANLIB="ranlib"
6242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6243     break 2
6244   fi
6245 done
6246   done
6247 IFS=$as_save_IFS
6251 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6252 if test -n "$ac_ct_RANLIB"; then
6253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6254 $as_echo "$ac_ct_RANLIB" >&6; }
6255 else
6256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 $as_echo "no" >&6; }
6260   if test "x$ac_ct_RANLIB" = x; then
6261     RANLIB=":"
6262   else
6263     case $cross_compiling:$ac_tool_warned in
6264 yes:)
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6267 ac_tool_warned=yes ;;
6268 esac
6269     RANLIB=$ac_ct_RANLIB
6270   fi
6271 else
6272   RANLIB="$ac_cv_prog_RANLIB"
6275 test -z "$RANLIB" && RANLIB=:
6277     
6278     
6279     
6282 # Determine commands to create old-style static archives.
6283 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6284 old_postinstall_cmds='chmod 644 $oldlib'
6285 old_postuninstall_cmds=
6287 if test -n "$RANLIB"; then
6288   case $host_os in
6289   openbsd*)
6290     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6291     ;;
6292   *)
6293     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6294     ;;
6295   esac
6296   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6299 case $host_os in
6300   darwin*)
6301     lock_old_archive_extraction=yes ;;
6302   *)
6303     lock_old_archive_extraction=no ;;
6304 esac
6306     
6307     
6308     
6311     
6312     
6313     
6316     
6317     
6318     
6321     
6322     
6323     
6328     
6329     
6330     
6332     
6333     
6334     
6336     
6337     
6338     
6340     
6341     
6342     
6344 # If no C compiler was specified, use CC.
6345 LTCC=${LTCC-"$CC"}
6347 # If no C compiler flags were specified, use CFLAGS.
6348 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6350 # Allow CC to be a program name with arguments.
6351 compiler=$CC
6354 # Check for command to grab the raw symbol name followed by C symbol from nm.
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6356 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6357 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6358   $as_echo_n "(cached) " >&6
6359 else
6360   
6361 # These are sane defaults that work on at least a few old systems.
6362 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6364 # Character class describing NM global symbol codes.
6365 symcode='[BCDEGRST]'
6367 # Regexp to match symbols that can be accessed directly from C.
6368 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6370 # Define system-specific variables.
6371 case $host_os in
6372 aix*)
6373   symcode='[BCDT]'
6374   ;;
6375 cygwin* | mingw* | pw32* | cegcc*)
6376   symcode='[ABCDGISTW]'
6377   ;;
6378 hpux*)
6379   if test "$host_cpu" = ia64; then
6380     symcode='[ABCDEGRST]'
6381   fi
6382   ;;
6383 irix* | nonstopux*)
6384   symcode='[BCDEGRST]'
6385   ;;
6386 osf*)
6387   symcode='[BCDEGQRST]'
6388   ;;
6389 solaris*)
6390   symcode='[BDRT]'
6391   ;;
6392 sco3.2v5*)
6393   symcode='[DT]'
6394   ;;
6395 sysv4.2uw2*)
6396   symcode='[DT]'
6397   ;;
6398 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6399   symcode='[ABDT]'
6400   ;;
6401 sysv4)
6402   symcode='[DFNSTU]'
6403   ;;
6404 esac
6406 # If we're using GNU nm, then use its standard symbol codes.
6407 case `$NM -V 2>&1` in
6408 *GNU* | *'with BFD'*)
6409   symcode='[ABCDGIRSTW]' ;;
6410 esac
6412 # Transform an extracted symbol line into a proper C declaration.
6413 # Some systems (esp. on ia64) link data and code symbols differently,
6414 # so use this general approach.
6415 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6417 # Transform an extracted symbol line into symbol name and symbol address
6418 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6419 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'"
6421 # Handle CRLF in mingw tool chain
6422 opt_cr=
6423 case $build_os in
6424 mingw*)
6425   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6426   ;;
6427 esac
6429 # Try without a prefix underscore, then with it.
6430 for ac_symprfx in "" "_"; do
6432   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6433   symxfrm="\\1 $ac_symprfx\\2 \\2"
6435   # Write the raw and C identifiers.
6436   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6437     # Fake it for dumpbin and say T for any non-static function
6438     # and D for any global variable.
6439     # Also find C++ and __fastcall symbols from MSVC++,
6440     # which start with @ or ?.
6441     lt_cv_sys_global_symbol_pipe="$AWK '"\
6442 "     {last_section=section; section=\$ 3};"\
6443 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6444 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6445 "     \$ 0!~/External *\|/{next};"\
6446 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6447 "     {if(hide[section]) next};"\
6448 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6449 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6450 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6451 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6452 "     ' prfx=^$ac_symprfx"
6453   else
6454     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6455   fi
6456   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6458   # Check to see that the pipe works correctly.
6459   pipe_works=no
6461   rm -f conftest*
6462   cat > conftest.$ac_ext <<_LT_EOF
6463 #ifdef __cplusplus
6464 extern "C" {
6465 #endif
6466 char nm_test_var;
6467 void nm_test_func(void);
6468 void nm_test_func(void){}
6469 #ifdef __cplusplus
6471 #endif
6472 int main(){nm_test_var='a';nm_test_func();return(0);}
6473 _LT_EOF
6475   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6476   (eval $ac_compile) 2>&5
6477   ac_status=$?
6478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6479   test $ac_status = 0; }; then
6480     # Now try to grab the symbols.
6481     nlist=conftest.nm
6482     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6483   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6484   ac_status=$?
6485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6486   test $ac_status = 0; } && test -s "$nlist"; then
6487       # Try sorting and uniquifying the output.
6488       if sort "$nlist" | uniq > "$nlist"T; then
6489         mv -f "$nlist"T "$nlist"
6490       else
6491         rm -f "$nlist"T
6492       fi
6494       # Make sure that we snagged all the symbols we need.
6495       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6496         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6497           cat <<_LT_EOF > conftest.$ac_ext
6498 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6499 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6500 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6501    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6502 # define LT@&t@_DLSYM_CONST
6503 #elif defined(__osf__)
6504 /* This system does not cope well with relocations in const data.  */
6505 # define LT@&t@_DLSYM_CONST
6506 #else
6507 # define LT@&t@_DLSYM_CONST const
6508 #endif
6510 #ifdef __cplusplus
6511 extern "C" {
6512 #endif
6514 _LT_EOF
6515           # Now generate the symbol file.
6516           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6518           cat <<_LT_EOF >> conftest.$ac_ext
6520 /* The mapping between symbol names and symbols.  */
6521 LT@&t@_DLSYM_CONST struct {
6522   const char *name;
6523   void       *address;
6525 lt__PROGRAM__LTX_preloaded_symbols[] =
6527   { "@PROGRAM@", (void *) 0 },
6528 _LT_EOF
6529           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6530           cat <<\_LT_EOF >> conftest.$ac_ext
6531   {0, (void *) 0}
6534 /* This works around a problem in FreeBSD linker */
6535 #ifdef FREEBSD_WORKAROUND
6536 static const void *lt_preloaded_setup() {
6537   return lt__PROGRAM__LTX_preloaded_symbols;
6539 #endif
6541 #ifdef __cplusplus
6543 #endif
6544 _LT_EOF
6545           # Now try linking the two files.
6546           mv conftest.$ac_objext conftstm.$ac_objext
6547           lt_globsym_save_LIBS=$LIBS
6548           lt_globsym_save_CFLAGS=$CFLAGS
6549           LIBS="conftstm.$ac_objext"
6550           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6551           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6552   (eval $ac_link) 2>&5
6553   ac_status=$?
6554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6555   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6556             pipe_works=yes
6557           fi
6558           LIBS=$lt_globsym_save_LIBS
6559           CFLAGS=$lt_globsym_save_CFLAGS
6560         else
6561           echo "cannot find nm_test_func in $nlist" >&5
6562         fi
6563       else
6564         echo "cannot find nm_test_var in $nlist" >&5
6565       fi
6566     else
6567       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6568     fi
6569   else
6570     echo "$progname: failed program was:" >&5
6571     cat conftest.$ac_ext >&5
6572   fi
6573   rm -rf conftest* conftst*
6575   # Do not use the global_symbol_pipe unless it works.
6576   if test "$pipe_works" = yes; then
6577     break
6578   else
6579     lt_cv_sys_global_symbol_pipe=
6580   fi
6581 done
6585 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6586   lt_cv_sys_global_symbol_to_cdecl=
6588 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6590 $as_echo "failed" >&6; }
6591 else
6592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6593 $as_echo "ok" >&6; }
6596 # Response file support.
6597 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6598   nm_file_list_spec='@'
6599 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6600   nm_file_list_spec='@'
6604     
6605     
6606     
6609     
6610     
6611     
6614     
6615     
6616     
6619     
6620     
6621     
6624     
6625     
6626     
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6630 $as_echo_n "checking for sysroot... " >&6; }
6632 @%:@ Check whether --with-sysroot was given.
6633 if test "${with_sysroot+set}" = set; then :
6634   withval=$with_sysroot; 
6635 else
6636   with_sysroot=no
6640 lt_sysroot=
6641 case ${with_sysroot} in #(
6642  yes)
6643    if test "$GCC" = yes; then
6644      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6645    fi
6646    ;; #(
6647  /*)
6648    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6649    ;; #(
6650  no|'')
6651    ;; #(
6652  *)
6653    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6654 $as_echo "${with_sysroot}" >&6; }
6655    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6656    ;;
6657 esac
6659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6660 $as_echo "${lt_sysroot:-no}" >&6; }
6662     
6663     
6664     
6666 @%:@ Check whether --enable-libtool-lock was given.
6667 if test "${enable_libtool_lock+set}" = set; then :
6668   enableval=$enable_libtool_lock; 
6671 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6673 # Some flags need to be propagated to the compiler or linker for good
6674 # libtool support.
6675 case $host in
6676 ia64-*-hpux*)
6677   # Find out which ABI we are using.
6678   echo 'int i;' > conftest.$ac_ext
6679   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6680   (eval $ac_compile) 2>&5
6681   ac_status=$?
6682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6683   test $ac_status = 0; }; then
6684     case `/usr/bin/file conftest.$ac_objext` in
6685       *ELF-32*)
6686         HPUX_IA64_MODE="32"
6687         ;;
6688       *ELF-64*)
6689         HPUX_IA64_MODE="64"
6690         ;;
6691     esac
6692   fi
6693   rm -rf conftest*
6694   ;;
6695 *-*-irix6*)
6696   # Find out which ABI we are using.
6697   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6698   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6699   (eval $ac_compile) 2>&5
6700   ac_status=$?
6701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6702   test $ac_status = 0; }; then
6703     if test "$lt_cv_prog_gnu_ld" = yes; then
6704       case `/usr/bin/file conftest.$ac_objext` in
6705         *32-bit*)
6706           LD="${LD-ld} -melf32bsmip"
6707           ;;
6708         *N32*)
6709           LD="${LD-ld} -melf32bmipn32"
6710           ;;
6711         *64-bit*)
6712           LD="${LD-ld} -melf64bmip"
6713         ;;
6714       esac
6715     else
6716       case `/usr/bin/file conftest.$ac_objext` in
6717         *32-bit*)
6718           LD="${LD-ld} -32"
6719           ;;
6720         *N32*)
6721           LD="${LD-ld} -n32"
6722           ;;
6723         *64-bit*)
6724           LD="${LD-ld} -64"
6725           ;;
6726       esac
6727     fi
6728   fi
6729   rm -rf conftest*
6730   ;;
6732 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6733 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6734   # Find out which ABI we are using.
6735   echo 'int i;' > conftest.$ac_ext
6736   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6737   (eval $ac_compile) 2>&5
6738   ac_status=$?
6739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6740   test $ac_status = 0; }; then
6741     case `/usr/bin/file conftest.o` in
6742       *32-bit*)
6743         case $host in
6744           x86_64-*kfreebsd*-gnu)
6745             LD="${LD-ld} -m elf_i386_fbsd"
6746             ;;
6747           x86_64-*linux*)
6748             LD="${LD-ld} -m elf_i386"
6749             ;;
6750           ppc64-*linux*|powerpc64-*linux*)
6751             LD="${LD-ld} -m elf32ppclinux"
6752             ;;
6753           s390x-*linux*)
6754             LD="${LD-ld} -m elf_s390"
6755             ;;
6756           sparc64-*linux*)
6757             LD="${LD-ld} -m elf32_sparc"
6758             ;;
6759         esac
6760         ;;
6761       *64-bit*)
6762         case $host in
6763           x86_64-*kfreebsd*-gnu)
6764             LD="${LD-ld} -m elf_x86_64_fbsd"
6765             ;;
6766           x86_64-*linux*)
6767             LD="${LD-ld} -m elf_x86_64"
6768             ;;
6769           ppc*-*linux*|powerpc*-*linux*)
6770             LD="${LD-ld} -m elf64ppc"
6771             ;;
6772           s390*-*linux*|s390*-*tpf*)
6773             LD="${LD-ld} -m elf64_s390"
6774             ;;
6775           sparc*-*linux*)
6776             LD="${LD-ld} -m elf64_sparc"
6777             ;;
6778         esac
6779         ;;
6780     esac
6781   fi
6782   rm -rf conftest*
6783   ;;
6785 *-*-sco3.2v5*)
6786   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6787   SAVE_CFLAGS="$CFLAGS"
6788   CFLAGS="$CFLAGS -belf"
6789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6790 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6791 if ${lt_cv_cc_needs_belf+:} false; then :
6792   $as_echo_n "(cached) " >&6
6793 else
6794   ac_ext=c
6795 ac_cpp='$CPP $CPPFLAGS'
6796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6800      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h.  */
6804 main ()
6807   ;
6808   return 0;
6810 _ACEOF
6811 if ac_fn_c_try_link "$LINENO"; then :
6812   lt_cv_cc_needs_belf=yes
6813 else
6814   lt_cv_cc_needs_belf=no
6816 rm -f core conftest.err conftest.$ac_objext \
6817     conftest$ac_exeext conftest.$ac_ext
6818      ac_ext=c
6819 ac_cpp='$CPP $CPPFLAGS'
6820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6826 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6827   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6828     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6829     CFLAGS="$SAVE_CFLAGS"
6830   fi
6831   ;;
6832 *-*solaris*)
6833   # Find out which ABI we are using.
6834   echo 'int i;' > conftest.$ac_ext
6835   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6836   (eval $ac_compile) 2>&5
6837   ac_status=$?
6838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6839   test $ac_status = 0; }; then
6840     case `/usr/bin/file conftest.o` in
6841     *64-bit*)
6842       case $lt_cv_prog_gnu_ld in
6843       yes*)
6844         case $host in
6845         i?86-*-solaris*)
6846           LD="${LD-ld} -m elf_x86_64"
6847           ;;
6848         sparc*-*-solaris*)
6849           LD="${LD-ld} -m elf64_sparc"
6850           ;;
6851         esac
6852         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6853         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6854           LD="${LD-ld}_sol2"
6855         fi
6856         ;;
6857       *)
6858         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6859           LD="${LD-ld} -64"
6860         fi
6861         ;;
6862       esac
6863       ;;
6864     esac
6865   fi
6866   rm -rf conftest*
6867   ;;
6868 esac
6870 need_locks="$enable_libtool_lock"
6872 if test -n "$ac_tool_prefix"; then
6873   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6874 set dummy ${ac_tool_prefix}mt; ac_word=$2
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6876 $as_echo_n "checking for $ac_word... " >&6; }
6877 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6878   $as_echo_n "(cached) " >&6
6879 else
6880   if test -n "$MANIFEST_TOOL"; then
6881   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6882 else
6883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884 for as_dir in $PATH
6886   IFS=$as_save_IFS
6887   test -z "$as_dir" && as_dir=.
6888     for ac_exec_ext in '' $ac_executable_extensions; do
6889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6890     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6892     break 2
6893   fi
6894 done
6895   done
6896 IFS=$as_save_IFS
6900 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6901 if test -n "$MANIFEST_TOOL"; then
6902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6903 $as_echo "$MANIFEST_TOOL" >&6; }
6904 else
6905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906 $as_echo "no" >&6; }
6911 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6912   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6913   # Extract the first word of "mt", so it can be a program name with args.
6914 set dummy mt; ac_word=$2
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916 $as_echo_n "checking for $ac_word... " >&6; }
6917 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6918   $as_echo_n "(cached) " >&6
6919 else
6920   if test -n "$ac_ct_MANIFEST_TOOL"; then
6921   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6922 else
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924 for as_dir in $PATH
6926   IFS=$as_save_IFS
6927   test -z "$as_dir" && as_dir=.
6928     for ac_exec_ext in '' $ac_executable_extensions; do
6929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6930     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6932     break 2
6933   fi
6934 done
6935   done
6936 IFS=$as_save_IFS
6940 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6941 if test -n "$ac_ct_MANIFEST_TOOL"; then
6942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6943 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6944 else
6945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6946 $as_echo "no" >&6; }
6949   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6950     MANIFEST_TOOL=":"
6951   else
6952     case $cross_compiling:$ac_tool_warned in
6953 yes:)
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6956 ac_tool_warned=yes ;;
6957 esac
6958     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6959   fi
6960 else
6961   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6964 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6966 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6967 if ${lt_cv_path_mainfest_tool+:} false; then :
6968   $as_echo_n "(cached) " >&6
6969 else
6970   lt_cv_path_mainfest_tool=no
6971   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6972   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6973   cat conftest.err >&5
6974   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6975     lt_cv_path_mainfest_tool=yes
6976   fi
6977   rm -f conftest*
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6980 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6981 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6982   MANIFEST_TOOL=:
6985     
6986     
6987     
6990   case $host_os in
6991     rhapsody* | darwin*)
6992     if test -n "$ac_tool_prefix"; then
6993   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6994 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6998   $as_echo_n "(cached) " >&6
6999 else
7000   if test -n "$DSYMUTIL"; then
7001   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7002 else
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004 for as_dir in $PATH
7006   IFS=$as_save_IFS
7007   test -z "$as_dir" && as_dir=.
7008     for ac_exec_ext in '' $ac_executable_extensions; do
7009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7010     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7012     break 2
7013   fi
7014 done
7015   done
7016 IFS=$as_save_IFS
7020 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7021 if test -n "$DSYMUTIL"; then
7022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7023 $as_echo "$DSYMUTIL" >&6; }
7024 else
7025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7031 if test -z "$ac_cv_prog_DSYMUTIL"; then
7032   ac_ct_DSYMUTIL=$DSYMUTIL
7033   # Extract the first word of "dsymutil", so it can be a program name with args.
7034 set dummy dsymutil; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 $as_echo_n "checking for $ac_word... " >&6; }
7037 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7038   $as_echo_n "(cached) " >&6
7039 else
7040   if test -n "$ac_ct_DSYMUTIL"; then
7041   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7042 else
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7044 for as_dir in $PATH
7046   IFS=$as_save_IFS
7047   test -z "$as_dir" && as_dir=.
7048     for ac_exec_ext in '' $ac_executable_extensions; do
7049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7052     break 2
7053   fi
7054 done
7055   done
7056 IFS=$as_save_IFS
7060 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7061 if test -n "$ac_ct_DSYMUTIL"; then
7062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7063 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7064 else
7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7069   if test "x$ac_ct_DSYMUTIL" = x; then
7070     DSYMUTIL=":"
7071   else
7072     case $cross_compiling:$ac_tool_warned in
7073 yes:)
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7076 ac_tool_warned=yes ;;
7077 esac
7078     DSYMUTIL=$ac_ct_DSYMUTIL
7079   fi
7080 else
7081   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7084     if test -n "$ac_tool_prefix"; then
7085   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7086 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_prog_NMEDIT+:} false; then :
7090   $as_echo_n "(cached) " >&6
7091 else
7092   if test -n "$NMEDIT"; then
7093   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7094 else
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096 for as_dir in $PATH
7098   IFS=$as_save_IFS
7099   test -z "$as_dir" && as_dir=.
7100     for ac_exec_ext in '' $ac_executable_extensions; do
7101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7102     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7104     break 2
7105   fi
7106 done
7107   done
7108 IFS=$as_save_IFS
7112 NMEDIT=$ac_cv_prog_NMEDIT
7113 if test -n "$NMEDIT"; then
7114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7115 $as_echo "$NMEDIT" >&6; }
7116 else
7117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7123 if test -z "$ac_cv_prog_NMEDIT"; then
7124   ac_ct_NMEDIT=$NMEDIT
7125   # Extract the first word of "nmedit", so it can be a program name with args.
7126 set dummy nmedit; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7130   $as_echo_n "(cached) " >&6
7131 else
7132   if test -n "$ac_ct_NMEDIT"; then
7133   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7134 else
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7136 for as_dir in $PATH
7138   IFS=$as_save_IFS
7139   test -z "$as_dir" && as_dir=.
7140     for ac_exec_ext in '' $ac_executable_extensions; do
7141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7144     break 2
7145   fi
7146 done
7147   done
7148 IFS=$as_save_IFS
7152 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7153 if test -n "$ac_ct_NMEDIT"; then
7154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7155 $as_echo "$ac_ct_NMEDIT" >&6; }
7156 else
7157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7161   if test "x$ac_ct_NMEDIT" = x; then
7162     NMEDIT=":"
7163   else
7164     case $cross_compiling:$ac_tool_warned in
7165 yes:)
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7168 ac_tool_warned=yes ;;
7169 esac
7170     NMEDIT=$ac_ct_NMEDIT
7171   fi
7172 else
7173   NMEDIT="$ac_cv_prog_NMEDIT"
7176     if test -n "$ac_tool_prefix"; then
7177   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7178 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_LIPO+:} false; then :
7182   $as_echo_n "(cached) " >&6
7183 else
7184   if test -n "$LIPO"; then
7185   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7186 else
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188 for as_dir in $PATH
7190   IFS=$as_save_IFS
7191   test -z "$as_dir" && as_dir=.
7192     for ac_exec_ext in '' $ac_executable_extensions; do
7193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196     break 2
7197   fi
7198 done
7199   done
7200 IFS=$as_save_IFS
7204 LIPO=$ac_cv_prog_LIPO
7205 if test -n "$LIPO"; then
7206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7207 $as_echo "$LIPO" >&6; }
7208 else
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7215 if test -z "$ac_cv_prog_LIPO"; then
7216   ac_ct_LIPO=$LIPO
7217   # Extract the first word of "lipo", so it can be a program name with args.
7218 set dummy lipo; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7222   $as_echo_n "(cached) " >&6
7223 else
7224   if test -n "$ac_ct_LIPO"; then
7225   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7226 else
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 for as_dir in $PATH
7230   IFS=$as_save_IFS
7231   test -z "$as_dir" && as_dir=.
7232     for ac_exec_ext in '' $ac_executable_extensions; do
7233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234     ac_cv_prog_ac_ct_LIPO="lipo"
7235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236     break 2
7237   fi
7238 done
7239   done
7240 IFS=$as_save_IFS
7244 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7245 if test -n "$ac_ct_LIPO"; then
7246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7247 $as_echo "$ac_ct_LIPO" >&6; }
7248 else
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7253   if test "x$ac_ct_LIPO" = x; then
7254     LIPO=":"
7255   else
7256     case $cross_compiling:$ac_tool_warned in
7257 yes:)
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7260 ac_tool_warned=yes ;;
7261 esac
7262     LIPO=$ac_ct_LIPO
7263   fi
7264 else
7265   LIPO="$ac_cv_prog_LIPO"
7268     if test -n "$ac_tool_prefix"; then
7269   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}otool; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_OTOOL+:} false; then :
7274   $as_echo_n "(cached) " >&6
7275 else
7276   if test -n "$OTOOL"; then
7277   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7278 else
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280 for as_dir in $PATH
7282   IFS=$as_save_IFS
7283   test -z "$as_dir" && as_dir=.
7284     for ac_exec_ext in '' $ac_executable_extensions; do
7285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7288     break 2
7289   fi
7290 done
7291   done
7292 IFS=$as_save_IFS
7296 OTOOL=$ac_cv_prog_OTOOL
7297 if test -n "$OTOOL"; then
7298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7299 $as_echo "$OTOOL" >&6; }
7300 else
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_OTOOL"; then
7308   ac_ct_OTOOL=$OTOOL
7309   # Extract the first word of "otool", so it can be a program name with args.
7310 set dummy otool; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7314   $as_echo_n "(cached) " >&6
7315 else
7316   if test -n "$ac_ct_OTOOL"; then
7317   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7322   IFS=$as_save_IFS
7323   test -z "$as_dir" && as_dir=.
7324     for ac_exec_ext in '' $ac_executable_extensions; do
7325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326     ac_cv_prog_ac_ct_OTOOL="otool"
7327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328     break 2
7329   fi
7330 done
7331   done
7332 IFS=$as_save_IFS
7336 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7337 if test -n "$ac_ct_OTOOL"; then
7338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7339 $as_echo "$ac_ct_OTOOL" >&6; }
7340 else
7341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345   if test "x$ac_ct_OTOOL" = x; then
7346     OTOOL=":"
7347   else
7348     case $cross_compiling:$ac_tool_warned in
7349 yes:)
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7353 esac
7354     OTOOL=$ac_ct_OTOOL
7355   fi
7356 else
7357   OTOOL="$ac_cv_prog_OTOOL"
7360     if test -n "$ac_tool_prefix"; then
7361   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7362 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_OTOOL64+:} false; then :
7366   $as_echo_n "(cached) " >&6
7367 else
7368   if test -n "$OTOOL64"; then
7369   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7370 else
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7372 for as_dir in $PATH
7374   IFS=$as_save_IFS
7375   test -z "$as_dir" && as_dir=.
7376     for ac_exec_ext in '' $ac_executable_extensions; do
7377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380     break 2
7381   fi
7382 done
7383   done
7384 IFS=$as_save_IFS
7388 OTOOL64=$ac_cv_prog_OTOOL64
7389 if test -n "$OTOOL64"; then
7390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7391 $as_echo "$OTOOL64" >&6; }
7392 else
7393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7399 if test -z "$ac_cv_prog_OTOOL64"; then
7400   ac_ct_OTOOL64=$OTOOL64
7401   # Extract the first word of "otool64", so it can be a program name with args.
7402 set dummy otool64; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7406   $as_echo_n "(cached) " >&6
7407 else
7408   if test -n "$ac_ct_OTOOL64"; then
7409   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7410 else
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 for as_dir in $PATH
7414   IFS=$as_save_IFS
7415   test -z "$as_dir" && as_dir=.
7416     for ac_exec_ext in '' $ac_executable_extensions; do
7417   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418     ac_cv_prog_ac_ct_OTOOL64="otool64"
7419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7420     break 2
7421   fi
7422 done
7423   done
7424 IFS=$as_save_IFS
7428 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7429 if test -n "$ac_ct_OTOOL64"; then
7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7431 $as_echo "$ac_ct_OTOOL64" >&6; }
7432 else
7433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7437   if test "x$ac_ct_OTOOL64" = x; then
7438     OTOOL64=":"
7439   else
7440     case $cross_compiling:$ac_tool_warned in
7441 yes:)
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7444 ac_tool_warned=yes ;;
7445 esac
7446     OTOOL64=$ac_ct_OTOOL64
7447   fi
7448 else
7449   OTOOL64="$ac_cv_prog_OTOOL64"
7452     
7453     
7454     
7455     
7457     
7458     
7459     
7460     
7462     
7463     
7464     
7465     
7467     
7468     
7469     
7470     
7472     
7473     
7474     
7475     
7478     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7479 $as_echo_n "checking for -single_module linker flag... " >&6; }
7480 if ${lt_cv_apple_cc_single_mod+:} false; then :
7481   $as_echo_n "(cached) " >&6
7482 else
7483   lt_cv_apple_cc_single_mod=no
7484       if test -z "${LT_MULTI_MODULE}"; then
7485         # By default we will add the -single_module flag. You can override
7486         # by either setting the environment variable LT_MULTI_MODULE
7487         # non-empty at configure time, or by adding -multi_module to the
7488         # link flags.
7489         rm -rf libconftest.dylib*
7490         echo "int foo(void){return 1;}" > conftest.c
7491         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7492 -dynamiclib -Wl,-single_module conftest.c" >&5
7493         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7494           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7495         _lt_result=$?
7496         # If there is a non-empty error log, and "single_module"
7497         # appears in it, assume the flag caused a linker warning
7498         if test -s conftest.err && $GREP single_module conftest.err; then
7499           cat conftest.err >&5
7500         # Otherwise, if the output was created with a 0 exit code from
7501         # the compiler, it worked.
7502         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7503           lt_cv_apple_cc_single_mod=yes
7504         else
7505           cat conftest.err >&5
7506         fi
7507         rm -rf libconftest.dylib*
7508         rm -f conftest.*
7509       fi
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7512 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7514     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7515 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7516 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7517   $as_echo_n "(cached) " >&6
7518 else
7519   lt_cv_ld_exported_symbols_list=no
7520       save_LDFLAGS=$LDFLAGS
7521       echo "_main" > conftest.sym
7522       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7523       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7524 /* end confdefs.h.  */
7527 main ()
7530   ;
7531   return 0;
7533 _ACEOF
7534 if ac_fn_c_try_link "$LINENO"; then :
7535   lt_cv_ld_exported_symbols_list=yes
7536 else
7537   lt_cv_ld_exported_symbols_list=no
7539 rm -f core conftest.err conftest.$ac_objext \
7540     conftest$ac_exeext conftest.$ac_ext
7541         LDFLAGS="$save_LDFLAGS"
7542     
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7545 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7547     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7548 $as_echo_n "checking for -force_load linker flag... " >&6; }
7549 if ${lt_cv_ld_force_load+:} false; then :
7550   $as_echo_n "(cached) " >&6
7551 else
7552   lt_cv_ld_force_load=no
7553       cat > conftest.c << _LT_EOF
7554 int forced_loaded() { return 2;}
7555 _LT_EOF
7556       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7557       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7558       echo "$AR cru libconftest.a conftest.o" >&5
7559       $AR cru libconftest.a conftest.o 2>&5
7560       echo "$RANLIB libconftest.a" >&5
7561       $RANLIB libconftest.a 2>&5
7562       cat > conftest.c << _LT_EOF
7563 int main() { return 0;}
7564 _LT_EOF
7565       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7566       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7567       _lt_result=$?
7568       if test -s conftest.err && $GREP force_load conftest.err; then
7569         cat conftest.err >&5
7570       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7571         lt_cv_ld_force_load=yes
7572       else
7573         cat conftest.err >&5
7574       fi
7575         rm -f conftest.err libconftest.a conftest conftest.c
7576         rm -rf conftest.dSYM
7577     
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7580 $as_echo "$lt_cv_ld_force_load" >&6; }
7581     case $host_os in
7582     rhapsody* | darwin1.[012])
7583       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7584     darwin1.*)
7585       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7586     darwin*) # darwin 5.x on
7587       # if running on 10.5 or later, the deployment target defaults
7588       # to the OS version, if on x86, and 10.4, the deployment
7589       # target defaults to 10.4. Don't you love it?
7590       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7591         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7592           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7593         10.[012]*)
7594           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7595         10.*)
7596           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7597       esac
7598     ;;
7599   esac
7600     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7601       _lt_dar_single_mod='$single_module'
7602     fi
7603     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7604       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7605     else
7606       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7607     fi
7608     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7609       _lt_dsymutil='~$DSYMUTIL $lib || :'
7610     else
7611       _lt_dsymutil=
7612     fi
7613     ;;
7614   esac
7616 ac_ext=c
7617 ac_cpp='$CPP $CPPFLAGS'
7618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7622 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7623 # On Suns, sometimes $CPP names a directory.
7624 if test -n "$CPP" && test -d "$CPP"; then
7625   CPP=
7627 if test -z "$CPP"; then
7628   if ${ac_cv_prog_CPP+:} false; then :
7629   $as_echo_n "(cached) " >&6
7630 else
7631       # Double quotes because CPP needs to be expanded
7632     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7633     do
7634       ac_preproc_ok=false
7635 for ac_c_preproc_warn_flag in '' yes
7637   # Use a header file that comes with gcc, so configuring glibc
7638   # with a fresh cross-compiler works.
7639   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7640   # <limits.h> exists even on freestanding compilers.
7641   # On the NeXT, cc -E runs the code through the compiler's parser,
7642   # not just through cpp. "Syntax error" is here to catch this case.
7643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h.  */
7645 @%:@ifdef __STDC__
7646 @%:@ include <limits.h>
7647 @%:@else
7648 @%:@ include <assert.h>
7649 @%:@endif
7650                      Syntax error
7651 _ACEOF
7652 if ac_fn_c_try_cpp "$LINENO"; then :
7653   
7654 else
7655   # Broken: fails on valid input.
7656 continue
7658 rm -f conftest.err conftest.i conftest.$ac_ext
7660   # OK, works on sane cases.  Now check whether nonexistent headers
7661   # can be detected and how.
7662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h.  */
7664 @%:@include <ac_nonexistent.h>
7665 _ACEOF
7666 if ac_fn_c_try_cpp "$LINENO"; then :
7667   # Broken: success on invalid input.
7668 continue
7669 else
7670   # Passes both tests.
7671 ac_preproc_ok=:
7672 break
7674 rm -f conftest.err conftest.i conftest.$ac_ext
7676 done
7677 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7678 rm -f conftest.i conftest.err conftest.$ac_ext
7679 if $ac_preproc_ok; then :
7680   break
7683     done
7684     ac_cv_prog_CPP=$CPP
7685   
7687   CPP=$ac_cv_prog_CPP
7688 else
7689   ac_cv_prog_CPP=$CPP
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7692 $as_echo "$CPP" >&6; }
7693 ac_preproc_ok=false
7694 for ac_c_preproc_warn_flag in '' yes
7696   # Use a header file that comes with gcc, so configuring glibc
7697   # with a fresh cross-compiler works.
7698   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7699   # <limits.h> exists even on freestanding compilers.
7700   # On the NeXT, cc -E runs the code through the compiler's parser,
7701   # not just through cpp. "Syntax error" is here to catch this case.
7702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h.  */
7704 @%:@ifdef __STDC__
7705 @%:@ include <limits.h>
7706 @%:@else
7707 @%:@ include <assert.h>
7708 @%:@endif
7709                      Syntax error
7710 _ACEOF
7711 if ac_fn_c_try_cpp "$LINENO"; then :
7712   
7713 else
7714   # Broken: fails on valid input.
7715 continue
7717 rm -f conftest.err conftest.i conftest.$ac_ext
7719   # OK, works on sane cases.  Now check whether nonexistent headers
7720   # can be detected and how.
7721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722 /* end confdefs.h.  */
7723 @%:@include <ac_nonexistent.h>
7724 _ACEOF
7725 if ac_fn_c_try_cpp "$LINENO"; then :
7726   # Broken: success on invalid input.
7727 continue
7728 else
7729   # Passes both tests.
7730 ac_preproc_ok=:
7731 break
7733 rm -f conftest.err conftest.i conftest.$ac_ext
7735 done
7736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7737 rm -f conftest.i conftest.err conftest.$ac_ext
7738 if $ac_preproc_ok; then :
7739   
7740 else
7741   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7743 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7744 See \`config.log' for more details" "$LINENO" 5; }
7747 ac_ext=c
7748 ac_cpp='$CPP $CPPFLAGS'
7749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7755 $as_echo_n "checking for ANSI C header files... " >&6; }
7756 if ${ac_cv_header_stdc+:} false; then :
7757   $as_echo_n "(cached) " >&6
7758 else
7759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7760 /* end confdefs.h.  */
7761 #include <stdlib.h>
7762 #include <stdarg.h>
7763 #include <string.h>
7764 #include <float.h>
7767 main ()
7770   ;
7771   return 0;
7773 _ACEOF
7774 if ac_fn_c_try_compile "$LINENO"; then :
7775   ac_cv_header_stdc=yes
7776 else
7777   ac_cv_header_stdc=no
7779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7781 if test $ac_cv_header_stdc = yes; then
7782   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h.  */
7785 #include <string.h>
7787 _ACEOF
7788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7789   $EGREP "memchr" >/dev/null 2>&1; then :
7790   
7791 else
7792   ac_cv_header_stdc=no
7794 rm -f conftest*
7798 if test $ac_cv_header_stdc = yes; then
7799   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7801 /* end confdefs.h.  */
7802 #include <stdlib.h>
7804 _ACEOF
7805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7806   $EGREP "free" >/dev/null 2>&1; then :
7807   
7808 else
7809   ac_cv_header_stdc=no
7811 rm -f conftest*
7815 if test $ac_cv_header_stdc = yes; then
7816   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7817   if test "$cross_compiling" = yes; then :
7818   :
7819 else
7820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7821 /* end confdefs.h.  */
7822 #include <ctype.h>
7823 #include <stdlib.h>
7824 #if ((' ' & 0x0FF) == 0x020)
7825 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7826 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7827 #else
7828 # define ISLOWER(c) \
7829                    (('a' <= (c) && (c) <= 'i') \
7830                      || ('j' <= (c) && (c) <= 'r') \
7831                      || ('s' <= (c) && (c) <= 'z'))
7832 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7833 #endif
7835 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7837 main ()
7839   int i;
7840   for (i = 0; i < 256; i++)
7841     if (XOR (islower (i), ISLOWER (i))
7842         || toupper (i) != TOUPPER (i))
7843       return 2;
7844   return 0;
7846 _ACEOF
7847 if ac_fn_c_try_run "$LINENO"; then :
7848   
7849 else
7850   ac_cv_header_stdc=no
7852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7853   conftest.$ac_objext conftest.beam conftest.$ac_ext
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7859 $as_echo "$ac_cv_header_stdc" >&6; }
7860 if test $ac_cv_header_stdc = yes; then
7861   
7862 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7866 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7867 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7868                   inttypes.h stdint.h unistd.h
7869 do :
7870   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7871 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7873 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7874   cat >>confdefs.h <<_ACEOF
7875 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7876 _ACEOF
7880 done
7883 for ac_header in dlfcn.h
7884 do :
7885   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7887 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7888   cat >>confdefs.h <<_ACEOF
7889 @%:@define HAVE_DLFCN_H 1
7890 _ACEOF
7894 done
7899 func_stripname_cnf ()
7901   case ${2} in
7902   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7903   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7904   esac
7905 } # func_stripname_cnf
7911 # Set options
7912 @%:@ Check whether --enable-static was given.
7913 if test "${enable_static+set}" = set; then :
7914   enableval=$enable_static; p=${PACKAGE-default}
7915     case $enableval in
7916     yes) enable_static=yes ;;
7917     no) enable_static=no ;;
7918     *)
7919      enable_static=no
7920       # Look at the argument we got.  We use all the common list separators.
7921       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7922       for pkg in $enableval; do
7923         IFS="$lt_save_ifs"
7924         if test "X$pkg" = "X$p"; then
7925           enable_static=yes
7926         fi
7927       done
7928       IFS="$lt_save_ifs"
7929       ;;
7930     esac
7931 else
7932   enable_static=no
7936     
7937     
7938     
7939     
7944         enable_dlopen=no
7945   
7947   enable_win32_dll=no
7948   
7950             @%:@ Check whether --enable-shared was given.
7951 if test "${enable_shared+set}" = set; then :
7952   enableval=$enable_shared; p=${PACKAGE-default}
7953     case $enableval in
7954     yes) enable_shared=yes ;;
7955     no) enable_shared=no ;;
7956     *)
7957       enable_shared=no
7958       # Look at the argument we got.  We use all the common list separators.
7959       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7960       for pkg in $enableval; do
7961         IFS="$lt_save_ifs"
7962         if test "X$pkg" = "X$p"; then
7963           enable_shared=yes
7964         fi
7965       done
7966       IFS="$lt_save_ifs"
7967       ;;
7968     esac
7969 else
7970   enable_shared=yes
7974     
7975     
7976     
7977     
7981   
7982   
7983 @%:@ Check whether --with-pic was given.
7984 if test "${with_pic+set}" = set; then :
7985   withval=$with_pic; lt_p=${PACKAGE-default}
7986     case $withval in
7987     yes|no) pic_mode=$withval ;;
7988     *)
7989       pic_mode=default
7990       # Look at the argument we got.  We use all the common list separators.
7991       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7992       for lt_pkg in $withval; do
7993         IFS="$lt_save_ifs"
7994         if test "X$lt_pkg" = "X$lt_p"; then
7995           pic_mode=yes
7996         fi
7997       done
7998       IFS="$lt_save_ifs"
7999       ;;
8000     esac
8001 else
8002   pic_mode=default
8006 test -z "$pic_mode" && pic_mode=default
8009     
8010     
8011     
8014   @%:@ Check whether --enable-fast-install was given.
8015 if test "${enable_fast_install+set}" = set; then :
8016   enableval=$enable_fast_install; p=${PACKAGE-default}
8017     case $enableval in
8018     yes) enable_fast_install=yes ;;
8019     no) enable_fast_install=no ;;
8020     *)
8021       enable_fast_install=no
8022       # Look at the argument we got.  We use all the common list separators.
8023       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8024       for pkg in $enableval; do
8025         IFS="$lt_save_ifs"
8026         if test "X$pkg" = "X$p"; then
8027           enable_fast_install=yes
8028         fi
8029       done
8030       IFS="$lt_save_ifs"
8031       ;;
8032     esac
8033 else
8034   enable_fast_install=yes
8039     
8040     
8041     
8044   
8047 # This can be used to rebuild libtool when needed
8048 LIBTOOL_DEPS="$ltmain"
8050 # Always use our own libtool.
8051 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8055     
8056     
8057     
8059     
8060     
8061     
8063     
8064     
8065     
8067     
8068     
8069     
8071     
8072     
8073     
8075     
8076     
8077     
8079     
8080     
8081     
8082 test -z "$LN_S" && LN_S="ln -s"
8084     
8085     
8086     
8088     
8089     
8090     
8092     
8093     
8094     
8097 if test -n "${ZSH_VERSION+set}" ; then
8098    setopt NO_GLOB_SUBST
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8102 $as_echo_n "checking for objdir... " >&6; }
8103 if ${lt_cv_objdir+:} false; then :
8104   $as_echo_n "(cached) " >&6
8105 else
8106   rm -f .libs 2>/dev/null
8107 mkdir .libs 2>/dev/null
8108 if test -d .libs; then
8109   lt_cv_objdir=.libs
8110 else
8111   # MS-DOS does not allow filenames that begin with a dot.
8112   lt_cv_objdir=_libs
8114 rmdir .libs 2>/dev/null
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8117 $as_echo "$lt_cv_objdir" >&6; }
8118 objdir=$lt_cv_objdir
8120     
8121     
8122     
8124 cat >>confdefs.h <<_ACEOF
8125 @%:@define LT_OBJDIR "$lt_cv_objdir/"
8126 _ACEOF
8131 case $host_os in
8132 aix3*)
8133   # AIX sometimes has problems with the GCC collect2 program.  For some
8134   # reason, if we set the COLLECT_NAMES environment variable, the problems
8135   # vanish in a puff of smoke.
8136   if test "X${COLLECT_NAMES+set}" != Xset; then
8137     COLLECT_NAMES=
8138     export COLLECT_NAMES
8139   fi
8140   ;;
8141 esac
8143 # Global variables:
8144 ofile=libtool
8145 can_build_shared=yes
8147 # All known linkers require a `.a' archive for static linking (except MSVC,
8148 # which needs '.lib').
8149 libext=a
8151 with_gnu_ld="$lt_cv_prog_gnu_ld"
8153 old_CC="$CC"
8154 old_CFLAGS="$CFLAGS"
8156 # Set sane defaults for various variables
8157 test -z "$CC" && CC=cc
8158 test -z "$LTCC" && LTCC=$CC
8159 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8160 test -z "$LD" && LD=ld
8161 test -z "$ac_objext" && ac_objext=o
8163 for cc_temp in $compiler""; do
8164   case $cc_temp in
8165     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8166     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8167     \-*) ;;
8168     *) break;;
8169   esac
8170 done
8171 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8174 # Only perform the check for file, if the check method requires it
8175 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8176 case $deplibs_check_method in
8177 file_magic*)
8178   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8179     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8180 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8181 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8182   $as_echo_n "(cached) " >&6
8183 else
8184   case $MAGIC_CMD in
8185 [\\/*] |  ?:[\\/]*)
8186   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8187   ;;
8189   lt_save_MAGIC_CMD="$MAGIC_CMD"
8190   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8191   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8192   for ac_dir in $ac_dummy; do
8193     IFS="$lt_save_ifs"
8194     test -z "$ac_dir" && ac_dir=.
8195     if test -f $ac_dir/${ac_tool_prefix}file; then
8196       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8197       if test -n "$file_magic_test_file"; then
8198         case $deplibs_check_method in
8199         "file_magic "*)
8200           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8201           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8202           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8203             $EGREP "$file_magic_regex" > /dev/null; then
8204             :
8205           else
8206             cat <<_LT_EOF 1>&2
8208 *** Warning: the command libtool uses to detect shared libraries,
8209 *** $file_magic_cmd, produces output that libtool cannot recognize.
8210 *** The result is that libtool may fail to recognize shared libraries
8211 *** as such.  This will affect the creation of libtool libraries that
8212 *** depend on shared libraries, but programs linked with such libtool
8213 *** libraries will work regardless of this problem.  Nevertheless, you
8214 *** may want to report the problem to your system manager and/or to
8215 *** bug-libtool@gnu.org
8217 _LT_EOF
8218           fi ;;
8219         esac
8220       fi
8221       break
8222     fi
8223   done
8224   IFS="$lt_save_ifs"
8225   MAGIC_CMD="$lt_save_MAGIC_CMD"
8226   ;;
8227 esac
8230 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8231 if test -n "$MAGIC_CMD"; then
8232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8233 $as_echo "$MAGIC_CMD" >&6; }
8234 else
8235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8239     
8240     
8241     
8243 if test -z "$lt_cv_path_MAGIC_CMD"; then
8244   if test -n "$ac_tool_prefix"; then
8245     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8246 $as_echo_n "checking for file... " >&6; }
8247 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8248   $as_echo_n "(cached) " >&6
8249 else
8250   case $MAGIC_CMD in
8251 [\\/*] |  ?:[\\/]*)
8252   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8253   ;;
8255   lt_save_MAGIC_CMD="$MAGIC_CMD"
8256   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8257   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8258   for ac_dir in $ac_dummy; do
8259     IFS="$lt_save_ifs"
8260     test -z "$ac_dir" && ac_dir=.
8261     if test -f $ac_dir/file; then
8262       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8263       if test -n "$file_magic_test_file"; then
8264         case $deplibs_check_method in
8265         "file_magic "*)
8266           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8267           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8268           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8269             $EGREP "$file_magic_regex" > /dev/null; then
8270             :
8271           else
8272             cat <<_LT_EOF 1>&2
8274 *** Warning: the command libtool uses to detect shared libraries,
8275 *** $file_magic_cmd, produces output that libtool cannot recognize.
8276 *** The result is that libtool may fail to recognize shared libraries
8277 *** as such.  This will affect the creation of libtool libraries that
8278 *** depend on shared libraries, but programs linked with such libtool
8279 *** libraries will work regardless of this problem.  Nevertheless, you
8280 *** may want to report the problem to your system manager and/or to
8281 *** bug-libtool@gnu.org
8283 _LT_EOF
8284           fi ;;
8285         esac
8286       fi
8287       break
8288     fi
8289   done
8290   IFS="$lt_save_ifs"
8291   MAGIC_CMD="$lt_save_MAGIC_CMD"
8292   ;;
8293 esac
8296 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8297 if test -n "$MAGIC_CMD"; then
8298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8299 $as_echo "$MAGIC_CMD" >&6; }
8300 else
8301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8302 $as_echo "no" >&6; }
8306   else
8307     MAGIC_CMD=:
8308   fi
8311   fi
8312   ;;
8313 esac
8315 # Use C for the default configuration in the libtool script
8317 lt_save_CC="$CC"
8318 ac_ext=c
8319 ac_cpp='$CPP $CPPFLAGS'
8320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8325 # Source file extension for C test sources.
8326 ac_ext=c
8328 # Object file extension for compiled C test sources.
8329 objext=o
8330 objext=$objext
8332 # Code to be used in simple compile tests
8333 lt_simple_compile_test_code="int some_variable = 0;"
8335 # Code to be used in simple link tests
8336 lt_simple_link_test_code='int main(){return(0);}'
8344 # If no C compiler was specified, use CC.
8345 LTCC=${LTCC-"$CC"}
8347 # If no C compiler flags were specified, use CFLAGS.
8348 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8350 # Allow CC to be a program name with arguments.
8351 compiler=$CC
8353 # Save the default compiler, since it gets overwritten when the other
8354 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8355 compiler_DEFAULT=$CC
8357 # save warnings/boilerplate of simple test code
8358 ac_outfile=conftest.$ac_objext
8359 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8360 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8361 _lt_compiler_boilerplate=`cat conftest.err`
8362 $RM conftest*
8364 ac_outfile=conftest.$ac_objext
8365 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8366 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8367 _lt_linker_boilerplate=`cat conftest.err`
8368 $RM -r conftest*
8371 ## CAVEAT EMPTOR:
8372 ## There is no encapsulation within the following macros, do not change
8373 ## the running order or otherwise move them around unless you know exactly
8374 ## what you are doing...
8375 if test -n "$compiler"; then
8376   
8377 lt_prog_compiler_no_builtin_flag=
8379 if test "$GCC" = yes; then
8380   case $cc_basename in
8381   nvcc*)
8382     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8383   *)
8384     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8385   esac
8387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8388 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8389 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8390   $as_echo_n "(cached) " >&6
8391 else
8392   lt_cv_prog_compiler_rtti_exceptions=no
8393    ac_outfile=conftest.$ac_objext
8394    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8395    lt_compiler_flag="-fno-rtti -fno-exceptions"
8396    # Insert the option either (1) after the last *FLAGS variable, or
8397    # (2) before a word containing "conftest.", or (3) at the end.
8398    # Note that $ac_compile itself does not contain backslashes and begins
8399    # with a dollar sign (not a hyphen), so the echo should work correctly.
8400    # The option is referenced via a variable to avoid confusing sed.
8401    lt_compile=`echo "$ac_compile" | $SED \
8402    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8403    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8404    -e 's:$: $lt_compiler_flag:'`
8405    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8406    (eval "$lt_compile" 2>conftest.err)
8407    ac_status=$?
8408    cat conftest.err >&5
8409    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410    if (exit $ac_status) && test -s "$ac_outfile"; then
8411      # The compiler can only warn and ignore the option if not recognized
8412      # So say no if there are warnings other than the usual output.
8413      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8414      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8415      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8416        lt_cv_prog_compiler_rtti_exceptions=yes
8417      fi
8418    fi
8419    $RM conftest*
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8423 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8425 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8426     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8427 else
8428     :
8433     
8434     
8435     
8438   lt_prog_compiler_wl=
8439 lt_prog_compiler_pic=
8440 lt_prog_compiler_static=
8443   if test "$GCC" = yes; then
8444     lt_prog_compiler_wl='-Wl,'
8445     lt_prog_compiler_static='-static'
8447     case $host_os in
8448       aix*)
8449       # All AIX code is PIC.
8450       if test "$host_cpu" = ia64; then
8451         # AIX 5 now supports IA64 processor
8452         lt_prog_compiler_static='-Bstatic'
8453       fi
8454       ;;
8456     amigaos*)
8457       case $host_cpu in
8458       powerpc)
8459             # see comment about AmigaOS4 .so support
8460             lt_prog_compiler_pic='-fPIC'
8461         ;;
8462       m68k)
8463             # FIXME: we need at least 68020 code to build shared libraries, but
8464             # adding the `-m68020' flag to GCC prevents building anything better,
8465             # like `-m68040'.
8466             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8467         ;;
8468       esac
8469       ;;
8471     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8472       # PIC is the default for these OSes.
8473       ;;
8475     mingw* | cygwin* | pw32* | os2* | cegcc*)
8476       # This hack is so that the source file can tell whether it is being
8477       # built for inclusion in a dll (and should export symbols for example).
8478       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8479       # (--disable-auto-import) libraries
8480       lt_prog_compiler_pic='-DDLL_EXPORT'
8481       ;;
8483     darwin* | rhapsody*)
8484       # PIC is the default on this platform
8485       # Common symbols not allowed in MH_DYLIB files
8486       lt_prog_compiler_pic='-fno-common'
8487       ;;
8489     haiku*)
8490       # PIC is the default for Haiku.
8491       # The "-static" flag exists, but is broken.
8492       lt_prog_compiler_static=
8493       ;;
8495     hpux*)
8496       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8497       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8498       # sets the default TLS model and affects inlining.
8499       case $host_cpu in
8500       hppa*64*)
8501         # +Z the default
8502         ;;
8503       *)
8504         lt_prog_compiler_pic='-fPIC'
8505         ;;
8506       esac
8507       ;;
8509     interix[3-9]*)
8510       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8511       # Instead, we relocate shared libraries at runtime.
8512       ;;
8514     msdosdjgpp*)
8515       # Just because we use GCC doesn't mean we suddenly get shared libraries
8516       # on systems that don't support them.
8517       lt_prog_compiler_can_build_shared=no
8518       enable_shared=no
8519       ;;
8521     *nto* | *qnx*)
8522       # QNX uses GNU C++, but need to define -shared option too, otherwise
8523       # it will coredump.
8524       lt_prog_compiler_pic='-fPIC -shared'
8525       ;;
8527     sysv4*MP*)
8528       if test -d /usr/nec; then
8529         lt_prog_compiler_pic=-Kconform_pic
8530       fi
8531       ;;
8533     *)
8534       lt_prog_compiler_pic='-fPIC'
8535       ;;
8536     esac
8538     case $cc_basename in
8539     nvcc*) # Cuda Compiler Driver 2.2
8540       lt_prog_compiler_wl='-Xlinker '
8541       if test -n "$lt_prog_compiler_pic"; then
8542         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8543       fi
8544       ;;
8545     esac
8546   else
8547     # PORTME Check for flag to pass linker flags through the system compiler.
8548     case $host_os in
8549     aix*)
8550       lt_prog_compiler_wl='-Wl,'
8551       if test "$host_cpu" = ia64; then
8552         # AIX 5 now supports IA64 processor
8553         lt_prog_compiler_static='-Bstatic'
8554       else
8555         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8556       fi
8557       ;;
8559     mingw* | cygwin* | pw32* | os2* | cegcc*)
8560       # This hack is so that the source file can tell whether it is being
8561       # built for inclusion in a dll (and should export symbols for example).
8562       lt_prog_compiler_pic='-DDLL_EXPORT'
8563       ;;
8565     hpux9* | hpux10* | hpux11*)
8566       lt_prog_compiler_wl='-Wl,'
8567       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8568       # not for PA HP-UX.
8569       case $host_cpu in
8570       hppa*64*|ia64*)
8571         # +Z the default
8572         ;;
8573       *)
8574         lt_prog_compiler_pic='+Z'
8575         ;;
8576       esac
8577       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8578       lt_prog_compiler_static='${wl}-a ${wl}archive'
8579       ;;
8581     irix5* | irix6* | nonstopux*)
8582       lt_prog_compiler_wl='-Wl,'
8583       # PIC (with -KPIC) is the default.
8584       lt_prog_compiler_static='-non_shared'
8585       ;;
8587     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8588       case $cc_basename in
8589       # old Intel for x86_64 which still supported -KPIC.
8590       ecc*)
8591         lt_prog_compiler_wl='-Wl,'
8592         lt_prog_compiler_pic='-KPIC'
8593         lt_prog_compiler_static='-static'
8594         ;;
8595       # icc used to be incompatible with GCC.
8596       # ICC 10 doesn't accept -KPIC any more.
8597       icc* | ifort*)
8598         lt_prog_compiler_wl='-Wl,'
8599         lt_prog_compiler_pic='-fPIC'
8600         lt_prog_compiler_static='-static'
8601         ;;
8602       # Lahey Fortran 8.1.
8603       lf95*)
8604         lt_prog_compiler_wl='-Wl,'
8605         lt_prog_compiler_pic='--shared'
8606         lt_prog_compiler_static='--static'
8607         ;;
8608       nagfor*)
8609         # NAG Fortran compiler
8610         lt_prog_compiler_wl='-Wl,-Wl,,'
8611         lt_prog_compiler_pic='-PIC'
8612         lt_prog_compiler_static='-Bstatic'
8613         ;;
8614       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8615         # Portland Group compilers (*not* the Pentium gcc compiler,
8616         # which looks to be a dead project)
8617         lt_prog_compiler_wl='-Wl,'
8618         lt_prog_compiler_pic='-fpic'
8619         lt_prog_compiler_static='-Bstatic'
8620         ;;
8621       ccc*)
8622         lt_prog_compiler_wl='-Wl,'
8623         # All Alpha code is PIC.
8624         lt_prog_compiler_static='-non_shared'
8625         ;;
8626       xl* | bgxl* | bgf* | mpixl*)
8627         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8628         lt_prog_compiler_wl='-Wl,'
8629         lt_prog_compiler_pic='-qpic'
8630         lt_prog_compiler_static='-qstaticlink'
8631         ;;
8632       *)
8633         case `$CC -V 2>&1 | sed 5q` in
8634         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8635           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8636           lt_prog_compiler_pic='-KPIC'
8637           lt_prog_compiler_static='-Bstatic'
8638           lt_prog_compiler_wl=''
8639           ;;
8640         *Sun\ F* | *Sun*Fortran*)
8641           lt_prog_compiler_pic='-KPIC'
8642           lt_prog_compiler_static='-Bstatic'
8643           lt_prog_compiler_wl='-Qoption ld '
8644           ;;
8645         *Sun\ C*)
8646           # Sun C 5.9
8647           lt_prog_compiler_pic='-KPIC'
8648           lt_prog_compiler_static='-Bstatic'
8649           lt_prog_compiler_wl='-Wl,'
8650           ;;
8651         *Intel*\ [CF]*Compiler*)
8652           lt_prog_compiler_wl='-Wl,'
8653           lt_prog_compiler_pic='-fPIC'
8654           lt_prog_compiler_static='-static'
8655           ;;
8656         *Portland\ Group*)
8657           lt_prog_compiler_wl='-Wl,'
8658           lt_prog_compiler_pic='-fpic'
8659           lt_prog_compiler_static='-Bstatic'
8660           ;;
8661         esac
8662         ;;
8663       esac
8664       ;;
8666     newsos6)
8667       lt_prog_compiler_pic='-KPIC'
8668       lt_prog_compiler_static='-Bstatic'
8669       ;;
8671     *nto* | *qnx*)
8672       # QNX uses GNU C++, but need to define -shared option too, otherwise
8673       # it will coredump.
8674       lt_prog_compiler_pic='-fPIC -shared'
8675       ;;
8677     osf3* | osf4* | osf5*)
8678       lt_prog_compiler_wl='-Wl,'
8679       # All OSF/1 code is PIC.
8680       lt_prog_compiler_static='-non_shared'
8681       ;;
8683     rdos*)
8684       lt_prog_compiler_static='-non_shared'
8685       ;;
8687     solaris*)
8688       lt_prog_compiler_pic='-KPIC'
8689       lt_prog_compiler_static='-Bstatic'
8690       case $cc_basename in
8691       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8692         lt_prog_compiler_wl='-Qoption ld ';;
8693       *)
8694         lt_prog_compiler_wl='-Wl,';;
8695       esac
8696       ;;
8698     sunos4*)
8699       lt_prog_compiler_wl='-Qoption ld '
8700       lt_prog_compiler_pic='-PIC'
8701       lt_prog_compiler_static='-Bstatic'
8702       ;;
8704     sysv4 | sysv4.2uw2* | sysv4.3*)
8705       lt_prog_compiler_wl='-Wl,'
8706       lt_prog_compiler_pic='-KPIC'
8707       lt_prog_compiler_static='-Bstatic'
8708       ;;
8710     sysv4*MP*)
8711       if test -d /usr/nec ;then
8712         lt_prog_compiler_pic='-Kconform_pic'
8713         lt_prog_compiler_static='-Bstatic'
8714       fi
8715       ;;
8717     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8718       lt_prog_compiler_wl='-Wl,'
8719       lt_prog_compiler_pic='-KPIC'
8720       lt_prog_compiler_static='-Bstatic'
8721       ;;
8723     unicos*)
8724       lt_prog_compiler_wl='-Wl,'
8725       lt_prog_compiler_can_build_shared=no
8726       ;;
8728     uts4*)
8729       lt_prog_compiler_pic='-pic'
8730       lt_prog_compiler_static='-Bstatic'
8731       ;;
8733     *)
8734       lt_prog_compiler_can_build_shared=no
8735       ;;
8736     esac
8737   fi
8739 case $host_os in
8740   # For platforms which do not support PIC, -DPIC is meaningless:
8741   *djgpp*)
8742     lt_prog_compiler_pic=
8743     ;;
8744   *)
8745     lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8746     ;;
8747 esac
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8750 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8751 if ${lt_cv_prog_compiler_pic+:} false; then :
8752   $as_echo_n "(cached) " >&6
8753 else
8754   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8757 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8758 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8761 # Check to make sure the PIC flag actually works.
8763 if test -n "$lt_prog_compiler_pic"; then
8764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8765 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8766 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8767   $as_echo_n "(cached) " >&6
8768 else
8769   lt_cv_prog_compiler_pic_works=no
8770    ac_outfile=conftest.$ac_objext
8771    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8772    lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8773    # Insert the option either (1) after the last *FLAGS variable, or
8774    # (2) before a word containing "conftest.", or (3) at the end.
8775    # Note that $ac_compile itself does not contain backslashes and begins
8776    # with a dollar sign (not a hyphen), so the echo should work correctly.
8777    # The option is referenced via a variable to avoid confusing sed.
8778    lt_compile=`echo "$ac_compile" | $SED \
8779    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8780    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8781    -e 's:$: $lt_compiler_flag:'`
8782    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8783    (eval "$lt_compile" 2>conftest.err)
8784    ac_status=$?
8785    cat conftest.err >&5
8786    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787    if (exit $ac_status) && test -s "$ac_outfile"; then
8788      # The compiler can only warn and ignore the option if not recognized
8789      # So say no if there are warnings other than the usual output.
8790      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8791      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8792      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8793        lt_cv_prog_compiler_pic_works=yes
8794      fi
8795    fi
8796    $RM conftest*
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8800 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8802 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8803     case $lt_prog_compiler_pic in
8804      "" | " "*) ;;
8805      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8806      esac
8807 else
8808     lt_prog_compiler_pic=
8809      lt_prog_compiler_can_build_shared=no
8814     
8815     
8816     
8820     
8821     
8822     
8825 # Check to make sure the static flag actually works.
8827 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8829 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8830 if ${lt_cv_prog_compiler_static_works+:} false; then :
8831   $as_echo_n "(cached) " >&6
8832 else
8833   lt_cv_prog_compiler_static_works=no
8834    save_LDFLAGS="$LDFLAGS"
8835    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8836    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8837    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8838      # The linker can only warn and ignore the option if not recognized
8839      # So say no if there are warnings
8840      if test -s conftest.err; then
8841        # Append any errors to the config.log.
8842        cat conftest.err 1>&5
8843        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8844        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8845        if diff conftest.exp conftest.er2 >/dev/null; then
8846          lt_cv_prog_compiler_static_works=yes
8847        fi
8848      else
8849        lt_cv_prog_compiler_static_works=yes
8850      fi
8851    fi
8852    $RM -r conftest*
8853    LDFLAGS="$save_LDFLAGS"
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8857 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8859 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8860     :
8861 else
8862     lt_prog_compiler_static=
8866     
8867     
8868     
8871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8872 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8873 if ${lt_cv_prog_compiler_c_o+:} false; then :
8874   $as_echo_n "(cached) " >&6
8875 else
8876   lt_cv_prog_compiler_c_o=no
8877    $RM -r conftest 2>/dev/null
8878    mkdir conftest
8879    cd conftest
8880    mkdir out
8881    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8883    lt_compiler_flag="-o out/conftest2.$ac_objext"
8884    # Insert the option either (1) after the last *FLAGS variable, or
8885    # (2) before a word containing "conftest.", or (3) at the end.
8886    # Note that $ac_compile itself does not contain backslashes and begins
8887    # with a dollar sign (not a hyphen), so the echo should work correctly.
8888    lt_compile=`echo "$ac_compile" | $SED \
8889    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8890    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8891    -e 's:$: $lt_compiler_flag:'`
8892    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8893    (eval "$lt_compile" 2>out/conftest.err)
8894    ac_status=$?
8895    cat out/conftest.err >&5
8896    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8898    then
8899      # The compiler can only warn and ignore the option if not recognized
8900      # So say no if there are warnings
8901      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8902      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8903      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8904        lt_cv_prog_compiler_c_o=yes
8905      fi
8906    fi
8907    chmod u+w . 2>&5
8908    $RM conftest*
8909    # SGI C++ compiler will create directory out/ii_files/ for
8910    # template instantiation
8911    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8912    $RM out/* && rmdir out
8913    cd ..
8914    $RM -r conftest
8915    $RM conftest*
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8919 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8921     
8922     
8923     
8926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8927 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8928 if ${lt_cv_prog_compiler_c_o+:} false; then :
8929   $as_echo_n "(cached) " >&6
8930 else
8931   lt_cv_prog_compiler_c_o=no
8932    $RM -r conftest 2>/dev/null
8933    mkdir conftest
8934    cd conftest
8935    mkdir out
8936    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8938    lt_compiler_flag="-o out/conftest2.$ac_objext"
8939    # Insert the option either (1) after the last *FLAGS variable, or
8940    # (2) before a word containing "conftest.", or (3) at the end.
8941    # Note that $ac_compile itself does not contain backslashes and begins
8942    # with a dollar sign (not a hyphen), so the echo should work correctly.
8943    lt_compile=`echo "$ac_compile" | $SED \
8944    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8945    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8946    -e 's:$: $lt_compiler_flag:'`
8947    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8948    (eval "$lt_compile" 2>out/conftest.err)
8949    ac_status=$?
8950    cat out/conftest.err >&5
8951    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8953    then
8954      # The compiler can only warn and ignore the option if not recognized
8955      # So say no if there are warnings
8956      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8957      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8958      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8959        lt_cv_prog_compiler_c_o=yes
8960      fi
8961    fi
8962    chmod u+w . 2>&5
8963    $RM conftest*
8964    # SGI C++ compiler will create directory out/ii_files/ for
8965    # template instantiation
8966    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8967    $RM out/* && rmdir out
8968    cd ..
8969    $RM -r conftest
8970    $RM conftest*
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8974 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8979 hard_links="nottested"
8980 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8981   # do not overwrite the value of need_locks provided by the user
8982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8983 $as_echo_n "checking if we can lock with hard links... " >&6; }
8984   hard_links=yes
8985   $RM conftest*
8986   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8987   touch conftest.a
8988   ln conftest.a conftest.b 2>&5 || hard_links=no
8989   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8991 $as_echo "$hard_links" >&6; }
8992   if test "$hard_links" = no; then
8993     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8994 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8995     need_locks=warn
8996   fi
8997 else
8998   need_locks=no
9001     
9002     
9003     
9006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9007 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9009   runpath_var=
9010   allow_undefined_flag=
9011   always_export_symbols=no
9012   archive_cmds=
9013   archive_expsym_cmds=
9014   compiler_needs_object=no
9015   enable_shared_with_static_runtimes=no
9016   export_dynamic_flag_spec=
9017   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9018   hardcode_automatic=no
9019   hardcode_direct=no
9020   hardcode_direct_absolute=no
9021   hardcode_libdir_flag_spec=
9022   hardcode_libdir_separator=
9023   hardcode_minus_L=no
9024   hardcode_shlibpath_var=unsupported
9025   inherit_rpath=no
9026   link_all_deplibs=unknown
9027   module_cmds=
9028   module_expsym_cmds=
9029   old_archive_from_new_cmds=
9030   old_archive_from_expsyms_cmds=
9031   thread_safe_flag_spec=
9032   whole_archive_flag_spec=
9033   # include_expsyms should be a list of space-separated symbols to be *always*
9034   # included in the symbol list
9035   include_expsyms=
9036   # exclude_expsyms can be an extended regexp of symbols to exclude
9037   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9038   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9039   # as well as any symbol that contains `d'.
9040   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9041   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9042   # platforms (ab)use it in PIC code, but their linkers get confused if
9043   # the symbol is explicitly referenced.  Since portable code cannot
9044   # rely on this symbol name, it's probably fine to never include it in
9045   # preloaded symbol tables.
9046   # Exclude shared library initialization/finalization symbols.
9047   extract_expsyms_cmds=
9049   case $host_os in
9050   cygwin* | mingw* | pw32* | cegcc*)
9051     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9052     # When not using gcc, we currently assume that we are using
9053     # Microsoft Visual C++.
9054     if test "$GCC" != yes; then
9055       with_gnu_ld=no
9056     fi
9057     ;;
9058   interix*)
9059     # we just hope/assume this is gcc and not c89 (= MSVC++)
9060     with_gnu_ld=yes
9061     ;;
9062   openbsd*)
9063     with_gnu_ld=no
9064     ;;
9065   linux* | k*bsd*-gnu | gnu*)
9066     link_all_deplibs=no
9067     ;;
9068   esac
9070   ld_shlibs=yes
9072   # On some targets, GNU ld is compatible enough with the native linker
9073   # that we're better off using the native interface for both.
9074   lt_use_gnu_ld_interface=no
9075   if test "$with_gnu_ld" = yes; then
9076     case $host_os in
9077       aix*)
9078         # The AIX port of GNU ld has always aspired to compatibility
9079         # with the native linker.  However, as the warning in the GNU ld
9080         # block says, versions before 2.19.5* couldn't really create working
9081         # shared libraries, regardless of the interface used.
9082         case `$LD -v 2>&1` in
9083           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9084           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9085           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9086           *)
9087             lt_use_gnu_ld_interface=yes
9088             ;;
9089         esac
9090         ;;
9091       *)
9092         lt_use_gnu_ld_interface=yes
9093         ;;
9094     esac
9095   fi
9097   if test "$lt_use_gnu_ld_interface" = yes; then
9098     # If archive_cmds runs LD, not CC, wlarc should be empty
9099     wlarc='${wl}'
9101     # Set some defaults for GNU ld with shared library support. These
9102     # are reset later if shared libraries are not supported. Putting them
9103     # here allows them to be overridden if necessary.
9104     runpath_var=LD_RUN_PATH
9105     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9106     export_dynamic_flag_spec='${wl}--export-dynamic'
9107     # ancient GNU ld didn't support --whole-archive et. al.
9108     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9109       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9110     else
9111       whole_archive_flag_spec=
9112     fi
9113     supports_anon_versioning=no
9114     case `$LD -v 2>&1` in
9115       *GNU\ gold*) supports_anon_versioning=yes ;;
9116       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9117       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9118       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9119       *\ 2.11.*) ;; # other 2.11 versions
9120       *) supports_anon_versioning=yes ;;
9121     esac
9123     # See if GNU ld supports shared libraries.
9124     case $host_os in
9125     aix[3-9]*)
9126       # On AIX/PPC, the GNU linker is very broken
9127       if test "$host_cpu" != ia64; then
9128         ld_shlibs=no
9129         cat <<_LT_EOF 1>&2
9131 *** Warning: the GNU linker, at least up to release 2.19, is reported
9132 *** to be unable to reliably create shared libraries on AIX.
9133 *** Therefore, libtool is disabling shared libraries support.  If you
9134 *** really care for shared libraries, you may want to install binutils
9135 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9136 *** You will then need to restart the configuration process.
9138 _LT_EOF
9139       fi
9140       ;;
9142     amigaos*)
9143       case $host_cpu in
9144       powerpc)
9145             # see comment about AmigaOS4 .so support
9146             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9147             archive_expsym_cmds=''
9148         ;;
9149       m68k)
9150             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)'
9151             hardcode_libdir_flag_spec='-L$libdir'
9152             hardcode_minus_L=yes
9153         ;;
9154       esac
9155       ;;
9157     beos*)
9158       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9159         allow_undefined_flag=unsupported
9160         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9161         # support --undefined.  This deserves some investigation.  FIXME
9162         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9163       else
9164         ld_shlibs=no
9165       fi
9166       ;;
9168     cygwin* | mingw* | pw32* | cegcc*)
9169       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9170       # as there is no search path for DLLs.
9171       hardcode_libdir_flag_spec='-L$libdir'
9172       export_dynamic_flag_spec='${wl}--export-all-symbols'
9173       allow_undefined_flag=unsupported
9174       always_export_symbols=no
9175       enable_shared_with_static_runtimes=yes
9176       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'
9177       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9179       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9180         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9181         # If the export-symbols file already is a .def file (1st line
9182         # is EXPORTS), use it as is; otherwise, prepend...
9183         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9184           cp $export_symbols $output_objdir/$soname.def;
9185         else
9186           echo EXPORTS > $output_objdir/$soname.def;
9187           cat $export_symbols >> $output_objdir/$soname.def;
9188         fi~
9189         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9190       else
9191         ld_shlibs=no
9192       fi
9193       ;;
9195     haiku*)
9196       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9197       link_all_deplibs=yes
9198       ;;
9200     interix[3-9]*)
9201       hardcode_direct=no
9202       hardcode_shlibpath_var=no
9203       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9204       export_dynamic_flag_spec='${wl}-E'
9205       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9206       # Instead, shared libraries are loaded at an image base (0x10000000 by
9207       # default) and relocated if they conflict, which is a slow very memory
9208       # consuming and fragmenting process.  To avoid this, we pick a random,
9209       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9210       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9211       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9212       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'
9213       ;;
9215     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9216       tmp_diet=no
9217       if test "$host_os" = linux-dietlibc; then
9218         case $cc_basename in
9219           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9220         esac
9221       fi
9222       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9223          && test "$tmp_diet" = no
9224       then
9225         tmp_addflag=' $pic_flag'
9226         tmp_sharedflag='-shared'
9227         case $cc_basename,$host_cpu in
9228         pgcc*)                          # Portland Group C compiler
9229           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'
9230           tmp_addflag=' $pic_flag'
9231           ;;
9232         pgf77* | pgf90* | pgf95* | pgfortran*)
9233                                         # Portland Group f77 and f90 compilers
9234           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'
9235           tmp_addflag=' $pic_flag -Mnomain' ;;
9236         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9237           tmp_addflag=' -i_dynamic' ;;
9238         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9239           tmp_addflag=' -i_dynamic -nofor_main' ;;
9240         ifc* | ifort*)                  # Intel Fortran compiler
9241           tmp_addflag=' -nofor_main' ;;
9242         lf95*)                          # Lahey Fortran 8.1
9243           whole_archive_flag_spec=
9244           tmp_sharedflag='--shared' ;;
9245         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9246           tmp_sharedflag='-qmkshrobj'
9247           tmp_addflag= ;;
9248         nvcc*)  # Cuda Compiler Driver 2.2
9249           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'
9250           compiler_needs_object=yes
9251           ;;
9252         esac
9253         case `$CC -V 2>&1 | sed 5q` in
9254         *Sun\ C*)                       # Sun C 5.9
9255           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'
9256           compiler_needs_object=yes
9257           tmp_sharedflag='-G' ;;
9258         *Sun\ F*)                       # Sun Fortran 8.3
9259           tmp_sharedflag='-G' ;;
9260         esac
9261         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263         if test "x$supports_anon_versioning" = xyes; then
9264           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9265             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9266             echo "local: *; };" >> $output_objdir/$libname.ver~
9267             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9268         fi
9270         case $cc_basename in
9271         xlf* | bgf* | bgxlf* | mpixlf*)
9272           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9273           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9274           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9275           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9276           if test "x$supports_anon_versioning" = xyes; then
9277             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9278               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9279               echo "local: *; };" >> $output_objdir/$libname.ver~
9280               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9281           fi
9282           ;;
9283         esac
9284       else
9285         ld_shlibs=no
9286       fi
9287       ;;
9289     netbsd* | netbsdelf*-gnu)
9290       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9291         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9292         wlarc=
9293       else
9294         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9295         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9296       fi
9297       ;;
9299     solaris*)
9300       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9301         ld_shlibs=no
9302         cat <<_LT_EOF 1>&2
9304 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9305 *** create shared libraries on Solaris systems.  Therefore, libtool
9306 *** is disabling shared libraries support.  We urge you to upgrade GNU
9307 *** binutils to release 2.9.1 or newer.  Another option is to modify
9308 *** your PATH or compiler configuration so that the native linker is
9309 *** used, and then restart.
9311 _LT_EOF
9312       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9313         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9314         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9315       else
9316         ld_shlibs=no
9317       fi
9318       ;;
9320     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9321       case `$LD -v 2>&1` in
9322         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9323         ld_shlibs=no
9324         cat <<_LT_EOF 1>&2
9326 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9327 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9328 *** is disabling shared libraries support.  We urge you to upgrade GNU
9329 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9330 *** your PATH or compiler configuration so that the native linker is
9331 *** used, and then restart.
9333 _LT_EOF
9334         ;;
9335         *)
9336           # For security reasons, it is highly recommended that you always
9337           # use absolute paths for naming shared libraries, and exclude the
9338           # DT_RUNPATH tag from executables and libraries.  But doing so
9339           # requires that you compile everything twice, which is a pain.
9340           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9341             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9342             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9343             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9344           else
9345             ld_shlibs=no
9346           fi
9347         ;;
9348       esac
9349       ;;
9351     sunos4*)
9352       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9353       wlarc=
9354       hardcode_direct=yes
9355       hardcode_shlibpath_var=no
9356       ;;
9358     *)
9359       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9360         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9361         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9362       else
9363         ld_shlibs=no
9364       fi
9365       ;;
9366     esac
9368     if test "$ld_shlibs" = no; then
9369       runpath_var=
9370       hardcode_libdir_flag_spec=
9371       export_dynamic_flag_spec=
9372       whole_archive_flag_spec=
9373     fi
9374   else
9375     # PORTME fill in a description of your system's linker (not GNU ld)
9376     case $host_os in
9377     aix3*)
9378       allow_undefined_flag=unsupported
9379       always_export_symbols=yes
9380       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'
9381       # Note: this linker hardcodes the directories in LIBPATH if there
9382       # are no directories specified by -L.
9383       hardcode_minus_L=yes
9384       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9385         # Neither direct hardcoding nor static linking is supported with a
9386         # broken collect2.
9387         hardcode_direct=unsupported
9388       fi
9389       ;;
9391     aix[4-9]*)
9392       if test "$host_cpu" = ia64; then
9393         # On IA64, the linker does run time linking by default, so we don't
9394         # have to do anything special.
9395         aix_use_runtimelinking=no
9396         exp_sym_flag='-Bexport'
9397         no_entry_flag=""
9398       else
9399         # If we're using GNU nm, then we don't want the "-C" option.
9400         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9401         # Also, AIX nm treats weak defined symbols like other global
9402         # defined symbols, whereas GNU nm marks them as "W".
9403         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9404           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'
9405         else
9406           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'
9407         fi
9408         aix_use_runtimelinking=no
9410         # Test if we are trying to use run time linking or normal
9411         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9412         # need to do runtime linking.
9413         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9414           for ld_flag in $LDFLAGS; do
9415           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9416             aix_use_runtimelinking=yes
9417             break
9418           fi
9419           done
9420           ;;
9421         esac
9423         exp_sym_flag='-bexport'
9424         no_entry_flag='-bnoentry'
9425       fi
9427       # When large executables or shared objects are built, AIX ld can
9428       # have problems creating the table of contents.  If linking a library
9429       # or program results in "error TOC overflow" add -mminimal-toc to
9430       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9431       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9433       archive_cmds=''
9434       hardcode_direct=yes
9435       hardcode_direct_absolute=yes
9436       hardcode_libdir_separator=':'
9437       link_all_deplibs=yes
9438       file_list_spec='${wl}-f,'
9440       if test "$GCC" = yes; then
9441         case $host_os in aix4.[012]|aix4.[012].*)
9442         # We only want to do this on AIX 4.2 and lower, the check
9443         # below for broken collect2 doesn't work under 4.3+
9444           collect2name=`${CC} -print-prog-name=collect2`
9445           if test -f "$collect2name" &&
9446            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9447           then
9448           # We have reworked collect2
9449           :
9450           else
9451           # We have old collect2
9452           hardcode_direct=unsupported
9453           # It fails to find uninstalled libraries when the uninstalled
9454           # path is not listed in the libpath.  Setting hardcode_minus_L
9455           # to unsupported forces relinking
9456           hardcode_minus_L=yes
9457           hardcode_libdir_flag_spec='-L$libdir'
9458           hardcode_libdir_separator=
9459           fi
9460           ;;
9461         esac
9462         shared_flag='-shared'
9463         if test "$aix_use_runtimelinking" = yes; then
9464           shared_flag="$shared_flag "'${wl}-G'
9465         fi
9466         link_all_deplibs=no
9467       else
9468         # not using gcc
9469         if test "$host_cpu" = ia64; then
9470         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9471         # chokes on -Wl,-G. The following line is correct:
9472           shared_flag='-G'
9473         else
9474           if test "$aix_use_runtimelinking" = yes; then
9475             shared_flag='${wl}-G'
9476           else
9477             shared_flag='${wl}-bM:SRE'
9478           fi
9479         fi
9480       fi
9482       export_dynamic_flag_spec='${wl}-bexpall'
9483       # It seems that -bexpall does not export symbols beginning with
9484       # underscore (_), so it is better to generate a list of symbols to export.
9485       always_export_symbols=yes
9486       if test "$aix_use_runtimelinking" = yes; then
9487         # Warning - without using the other runtime loading flags (-brtl),
9488         # -berok will link without error, but may produce a broken library.
9489         allow_undefined_flag='-berok'
9490         # Determine the default libpath from the value encoded in an
9491         # empty executable.
9492         if test "${lt_cv_aix_libpath+set}" = set; then
9493   aix_libpath=$lt_cv_aix_libpath
9494 else
9495   if ${lt_cv_aix_libpath_+:} false; then :
9496   $as_echo_n "(cached) " >&6
9497 else
9498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h.  */
9502 main ()
9505   ;
9506   return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510   
9511   lt_aix_libpath_sed='
9512       /Import File Strings/,/^$/ {
9513           /^0/ {
9514               s/^0  *\([^ ]*\) *$/\1/
9515               p
9516           }
9517       }'
9518   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9519   # Check for a 64-bit object if we didn't find anything.
9520   if test -z "$lt_cv_aix_libpath_"; then
9521     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9522   fi
9524 rm -f core conftest.err conftest.$ac_objext \
9525     conftest$ac_exeext conftest.$ac_ext
9526   if test -z "$lt_cv_aix_libpath_"; then
9527     lt_cv_aix_libpath_="/usr/lib:/lib"
9528   fi
9529   
9532   aix_libpath=$lt_cv_aix_libpath_
9535         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9536         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"
9537       else
9538         if test "$host_cpu" = ia64; then
9539           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9540           allow_undefined_flag="-z nodefs"
9541           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"
9542         else
9543          # Determine the default libpath from the value encoded in an
9544          # empty executable.
9545          if test "${lt_cv_aix_libpath+set}" = set; then
9546   aix_libpath=$lt_cv_aix_libpath
9547 else
9548   if ${lt_cv_aix_libpath_+:} false; then :
9549   $as_echo_n "(cached) " >&6
9550 else
9551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h.  */
9555 main ()
9558   ;
9559   return 0;
9561 _ACEOF
9562 if ac_fn_c_try_link "$LINENO"; then :
9563   
9564   lt_aix_libpath_sed='
9565       /Import File Strings/,/^$/ {
9566           /^0/ {
9567               s/^0  *\([^ ]*\) *$/\1/
9568               p
9569           }
9570       }'
9571   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9572   # Check for a 64-bit object if we didn't find anything.
9573   if test -z "$lt_cv_aix_libpath_"; then
9574     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9575   fi
9577 rm -f core conftest.err conftest.$ac_objext \
9578     conftest$ac_exeext conftest.$ac_ext
9579   if test -z "$lt_cv_aix_libpath_"; then
9580     lt_cv_aix_libpath_="/usr/lib:/lib"
9581   fi
9582   
9585   aix_libpath=$lt_cv_aix_libpath_
9588          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9589           # Warning - without using the other run time loading flags,
9590           # -berok will link without error, but may produce a broken library.
9591           no_undefined_flag=' ${wl}-bernotok'
9592           allow_undefined_flag=' ${wl}-berok'
9593           if test "$with_gnu_ld" = yes; then
9594             # We only use this code for GNU lds that support --whole-archive.
9595             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9596           else
9597             # Exported symbols can be pulled into shared objects from archives
9598             whole_archive_flag_spec='$convenience'
9599           fi
9600           archive_cmds_need_lc=yes
9601           # This is similar to how AIX traditionally builds its shared libraries.
9602           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'
9603         fi
9604       fi
9605       ;;
9607     amigaos*)
9608       case $host_cpu in
9609       powerpc)
9610             # see comment about AmigaOS4 .so support
9611             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9612             archive_expsym_cmds=''
9613         ;;
9614       m68k)
9615             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)'
9616             hardcode_libdir_flag_spec='-L$libdir'
9617             hardcode_minus_L=yes
9618         ;;
9619       esac
9620       ;;
9622     bsdi[45]*)
9623       export_dynamic_flag_spec=-rdynamic
9624       ;;
9626     cygwin* | mingw* | pw32* | cegcc*)
9627       # When not using gcc, we currently assume that we are using
9628       # Microsoft Visual C++.
9629       # hardcode_libdir_flag_spec is actually meaningless, as there is
9630       # no search path for DLLs.
9631       case $cc_basename in
9632       cl*)
9633         # Native MSVC
9634         hardcode_libdir_flag_spec=' '
9635         allow_undefined_flag=unsupported
9636         always_export_symbols=yes
9637         file_list_spec='@'
9638         # Tell ltmain to make .lib files, not .a files.
9639         libext=lib
9640         # Tell ltmain to make .dll files, not .so files.
9641         shrext_cmds=".dll"
9642         # FIXME: Setting linknames here is a bad hack.
9643         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9644         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9645             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9646           else
9647             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9648           fi~
9649           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9650           linknames='
9651         # The linker will not automatically build a static lib if we build a DLL.
9652         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9653         enable_shared_with_static_runtimes=yes
9654         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9655         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9656         # Don't use ranlib
9657         old_postinstall_cmds='chmod 644 $oldlib'
9658         postlink_cmds='lt_outputfile="@OUTPUT@"~
9659           lt_tool_outputfile="@TOOL_OUTPUT@"~
9660           case $lt_outputfile in
9661             *.exe|*.EXE) ;;
9662             *)
9663               lt_outputfile="$lt_outputfile.exe"
9664               lt_tool_outputfile="$lt_tool_outputfile.exe"
9665               ;;
9666           esac~
9667           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9668             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9669             $RM "$lt_outputfile.manifest";
9670           fi'
9671         ;;
9672       *)
9673         # Assume MSVC wrapper
9674         hardcode_libdir_flag_spec=' '
9675         allow_undefined_flag=unsupported
9676         # Tell ltmain to make .lib files, not .a files.
9677         libext=lib
9678         # Tell ltmain to make .dll files, not .so files.
9679         shrext_cmds=".dll"
9680         # FIXME: Setting linknames here is a bad hack.
9681         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9682         # The linker will automatically build a .lib file if we build a DLL.
9683         old_archive_from_new_cmds='true'
9684         # FIXME: Should let the user specify the lib program.
9685         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9686         enable_shared_with_static_runtimes=yes
9687         ;;
9688       esac
9689       ;;
9691     darwin* | rhapsody*)
9692       
9693   
9694   archive_cmds_need_lc=no
9695   hardcode_direct=no
9696   hardcode_automatic=yes
9697   hardcode_shlibpath_var=unsupported
9698   if test "$lt_cv_ld_force_load" = "yes"; then
9699     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\"`'
9700     
9701   else
9702     whole_archive_flag_spec=''
9703   fi
9704   link_all_deplibs=yes
9705   allow_undefined_flag="$_lt_dar_allow_undefined"
9706   case $cc_basename in
9707      ifort*) _lt_dar_can_shared=yes ;;
9708      *) _lt_dar_can_shared=$GCC ;;
9709   esac
9710   if test "$_lt_dar_can_shared" = "yes"; then
9711     output_verbose_link_cmd=func_echo_all
9712     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9713     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9714     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}"
9715     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}"
9716     
9717   else
9718   ld_shlibs=no
9719   fi
9721       ;;
9723     dgux*)
9724       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9725       hardcode_libdir_flag_spec='-L$libdir'
9726       hardcode_shlibpath_var=no
9727       ;;
9729     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9730     # support.  Future versions do this automatically, but an explicit c++rt0.o
9731     # does not break anything, and helps significantly (at the cost of a little
9732     # extra space).
9733     freebsd2.2*)
9734       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9735       hardcode_libdir_flag_spec='-R$libdir'
9736       hardcode_direct=yes
9737       hardcode_shlibpath_var=no
9738       ;;
9740     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9741     freebsd2.*)
9742       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9743       hardcode_direct=yes
9744       hardcode_minus_L=yes
9745       hardcode_shlibpath_var=no
9746       ;;
9748     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9749     freebsd* | dragonfly*)
9750       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9751       hardcode_libdir_flag_spec='-R$libdir'
9752       hardcode_direct=yes
9753       hardcode_shlibpath_var=no
9754       ;;
9756     hpux9*)
9757       if test "$GCC" = yes; then
9758         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'
9759       else
9760         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'
9761       fi
9762       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9763       hardcode_libdir_separator=:
9764       hardcode_direct=yes
9766       # hardcode_minus_L: Not really in the search PATH,
9767       # but as the default location of the library.
9768       hardcode_minus_L=yes
9769       export_dynamic_flag_spec='${wl}-E'
9770       ;;
9772     hpux10*)
9773       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9774         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9775       else
9776         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9777       fi
9778       if test "$with_gnu_ld" = no; then
9779         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9780         hardcode_libdir_separator=:
9781         hardcode_direct=yes
9782         hardcode_direct_absolute=yes
9783         export_dynamic_flag_spec='${wl}-E'
9784         # hardcode_minus_L: Not really in the search PATH,
9785         # but as the default location of the library.
9786         hardcode_minus_L=yes
9787       fi
9788       ;;
9790     hpux11*)
9791       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9792         case $host_cpu in
9793         hppa*64*)
9794           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9795           ;;
9796         ia64*)
9797           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9798           ;;
9799         *)
9800           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9801           ;;
9802         esac
9803       else
9804         case $host_cpu in
9805         hppa*64*)
9806           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9807           ;;
9808         ia64*)
9809           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9810           ;;
9811         *)
9812         
9813           # Older versions of the 11.00 compiler do not understand -b yet
9814           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9815           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9816 $as_echo_n "checking if $CC understands -b... " >&6; }
9817 if ${lt_cv_prog_compiler__b+:} false; then :
9818   $as_echo_n "(cached) " >&6
9819 else
9820   lt_cv_prog_compiler__b=no
9821    save_LDFLAGS="$LDFLAGS"
9822    LDFLAGS="$LDFLAGS -b"
9823    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9824    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9825      # The linker can only warn and ignore the option if not recognized
9826      # So say no if there are warnings
9827      if test -s conftest.err; then
9828        # Append any errors to the config.log.
9829        cat conftest.err 1>&5
9830        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9831        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9832        if diff conftest.exp conftest.er2 >/dev/null; then
9833          lt_cv_prog_compiler__b=yes
9834        fi
9835      else
9836        lt_cv_prog_compiler__b=yes
9837      fi
9838    fi
9839    $RM -r conftest*
9840    LDFLAGS="$save_LDFLAGS"
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9844 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9846 if test x"$lt_cv_prog_compiler__b" = xyes; then
9847     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9848 else
9849     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9852           ;;
9853         esac
9854       fi
9855       if test "$with_gnu_ld" = no; then
9856         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9857         hardcode_libdir_separator=:
9859         case $host_cpu in
9860         hppa*64*|ia64*)
9861           hardcode_direct=no
9862           hardcode_shlibpath_var=no
9863           ;;
9864         *)
9865           hardcode_direct=yes
9866           hardcode_direct_absolute=yes
9867           export_dynamic_flag_spec='${wl}-E'
9869           # hardcode_minus_L: Not really in the search PATH,
9870           # but as the default location of the library.
9871           hardcode_minus_L=yes
9872           ;;
9873         esac
9874       fi
9875       ;;
9877     irix5* | irix6* | nonstopux*)
9878       if test "$GCC" = yes; then
9879         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'
9880         # Try to use the -exported_symbol ld option, if it does not
9881         # work, assume that -exports_file does not work either and
9882         # implicitly export all symbols.
9883         # This should be the same for all languages, so no per-tag cache variable.
9884         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9885 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9886 if ${lt_cv_irix_exported_symbol+:} false; then :
9887   $as_echo_n "(cached) " >&6
9888 else
9889   save_LDFLAGS="$LDFLAGS"
9890            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9891            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h.  */
9893 int foo (void) { return 0; }
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896   lt_cv_irix_exported_symbol=yes
9897 else
9898   lt_cv_irix_exported_symbol=no
9900 rm -f core conftest.err conftest.$ac_objext \
9901     conftest$ac_exeext conftest.$ac_ext
9902            LDFLAGS="$save_LDFLAGS"
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9905 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9906         if test "$lt_cv_irix_exported_symbol" = yes; then
9907           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'
9908         fi
9909       else
9910         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'
9911         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'
9912       fi
9913       archive_cmds_need_lc='no'
9914       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915       hardcode_libdir_separator=:
9916       inherit_rpath=yes
9917       link_all_deplibs=yes
9918       ;;
9920     netbsd* | netbsdelf*-gnu)
9921       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9922         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9923       else
9924         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9925       fi
9926       hardcode_libdir_flag_spec='-R$libdir'
9927       hardcode_direct=yes
9928       hardcode_shlibpath_var=no
9929       ;;
9931     newsos6)
9932       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9933       hardcode_direct=yes
9934       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9935       hardcode_libdir_separator=:
9936       hardcode_shlibpath_var=no
9937       ;;
9939     *nto* | *qnx*)
9940       ;;
9942     openbsd*)
9943       if test -f /usr/libexec/ld.so; then
9944         hardcode_direct=yes
9945         hardcode_shlibpath_var=no
9946         hardcode_direct_absolute=yes
9947         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9948           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9949           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9950           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9951           export_dynamic_flag_spec='${wl}-E'
9952         else
9953           case $host_os in
9954            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9955              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9956              hardcode_libdir_flag_spec='-R$libdir'
9957              ;;
9958            *)
9959              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9960              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9961              ;;
9962           esac
9963         fi
9964       else
9965         ld_shlibs=no
9966       fi
9967       ;;
9969     os2*)
9970       hardcode_libdir_flag_spec='-L$libdir'
9971       hardcode_minus_L=yes
9972       allow_undefined_flag=unsupported
9973       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'
9974       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9975       ;;
9977     osf3*)
9978       if test "$GCC" = yes; then
9979         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9980         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'
9981       else
9982         allow_undefined_flag=' -expect_unresolved \*'
9983         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'
9984       fi
9985       archive_cmds_need_lc='no'
9986       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987       hardcode_libdir_separator=:
9988       ;;
9990     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9991       if test "$GCC" = yes; then
9992         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9993         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'
9994         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9995       else
9996         allow_undefined_flag=' -expect_unresolved \*'
9997         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'
9998         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~
9999         $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'
10001         # Both c and cxx compiler support -rpath directly
10002         hardcode_libdir_flag_spec='-rpath $libdir'
10003       fi
10004       archive_cmds_need_lc='no'
10005       hardcode_libdir_separator=:
10006       ;;
10008     solaris*)
10009       no_undefined_flag=' -z defs'
10010       if test "$GCC" = yes; then
10011         wlarc='${wl}'
10012         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10013         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014           $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'
10015       else
10016         case `$CC -V 2>&1` in
10017         *"Compilers 5.0"*)
10018           wlarc=''
10019           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10021           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10022           ;;
10023         *)
10024           wlarc='${wl}'
10025           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10026           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10027           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10028           ;;
10029         esac
10030       fi
10031       hardcode_libdir_flag_spec='-R$libdir'
10032       hardcode_shlibpath_var=no
10033       case $host_os in
10034       solaris2.[0-5] | solaris2.[0-5].*) ;;
10035       *)
10036         # The compiler driver will combine and reorder linker options,
10037         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10038         # but is careful enough not to reorder.
10039         # Supported since Solaris 2.6 (maybe 2.5.1?)
10040         if test "$GCC" = yes; then
10041           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10042         else
10043           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10044         fi
10045         ;;
10046       esac
10047       link_all_deplibs=yes
10048       ;;
10050     sunos4*)
10051       if test "x$host_vendor" = xsequent; then
10052         # Use $CC to link under sequent, because it throws in some extra .o
10053         # files that make .init and .fini sections work.
10054         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10055       else
10056         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10057       fi
10058       hardcode_libdir_flag_spec='-L$libdir'
10059       hardcode_direct=yes
10060       hardcode_minus_L=yes
10061       hardcode_shlibpath_var=no
10062       ;;
10064     sysv4)
10065       case $host_vendor in
10066         sni)
10067           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068           hardcode_direct=yes # is this really true???
10069         ;;
10070         siemens)
10071           ## LD is ld it makes a PLAMLIB
10072           ## CC just makes a GrossModule.
10073           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10074           reload_cmds='$CC -r -o $output$reload_objs'
10075           hardcode_direct=no
10076         ;;
10077         motorola)
10078           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10079           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10080         ;;
10081       esac
10082       runpath_var='LD_RUN_PATH'
10083       hardcode_shlibpath_var=no
10084       ;;
10086     sysv4.3*)
10087       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088       hardcode_shlibpath_var=no
10089       export_dynamic_flag_spec='-Bexport'
10090       ;;
10092     sysv4*MP*)
10093       if test -d /usr/nec; then
10094         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095         hardcode_shlibpath_var=no
10096         runpath_var=LD_RUN_PATH
10097         hardcode_runpath_var=yes
10098         ld_shlibs=yes
10099       fi
10100       ;;
10102     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10103       no_undefined_flag='${wl}-z,text'
10104       archive_cmds_need_lc=no
10105       hardcode_shlibpath_var=no
10106       runpath_var='LD_RUN_PATH'
10108       if test "$GCC" = yes; then
10109         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111       else
10112         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10113         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114       fi
10115       ;;
10117     sysv5* | sco3.2v5* | sco5v6*)
10118       # Note: We can NOT use -z defs as we might desire, because we do not
10119       # link with -lc, and that would cause any symbols used from libc to
10120       # always be unresolved, which means just about no library would
10121       # ever link correctly.  If we're not using GNU ld we use -z text
10122       # though, which does catch some bad symbols but isn't as heavy-handed
10123       # as -z defs.
10124       no_undefined_flag='${wl}-z,text'
10125       allow_undefined_flag='${wl}-z,nodefs'
10126       archive_cmds_need_lc=no
10127       hardcode_shlibpath_var=no
10128       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10129       hardcode_libdir_separator=':'
10130       link_all_deplibs=yes
10131       export_dynamic_flag_spec='${wl}-Bexport'
10132       runpath_var='LD_RUN_PATH'
10134       if test "$GCC" = yes; then
10135         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137       else
10138         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10139         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10140       fi
10141       ;;
10143     uts4*)
10144       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10145       hardcode_libdir_flag_spec='-L$libdir'
10146       hardcode_shlibpath_var=no
10147       ;;
10149     *)
10150       ld_shlibs=no
10151       ;;
10152     esac
10154     if test x$host_vendor = xsni; then
10155       case $host in
10156       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10157         export_dynamic_flag_spec='${wl}-Blargedynsym'
10158         ;;
10159       esac
10160     fi
10161   fi
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10164 $as_echo "$ld_shlibs" >&6; }
10165 test "$ld_shlibs" = no && can_build_shared=no
10167 with_gnu_ld=$with_gnu_ld
10170     
10171     
10172     
10174     
10175     
10176     
10178     
10179     
10180     
10184 # Do we need to explicitly link libc?
10186 case "x$archive_cmds_need_lc" in
10187 x|xyes)
10188   # Assume -lc should be added
10189   archive_cmds_need_lc=yes
10191   if test "$enable_shared" = yes && test "$GCC" = yes; then
10192     case $archive_cmds in
10193     *'~'*)
10194       # FIXME: we may have to deal with multi-command sequences.
10195       ;;
10196     '$CC '*)
10197       # Test whether the compiler implicitly links with -lc since on some
10198       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10199       # to ld, don't add -lc before -lgcc.
10200       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10201 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10202 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10203   $as_echo_n "(cached) " >&6
10204 else
10205   $RM conftest*
10206         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10208         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10209   (eval $ac_compile) 2>&5
10210   ac_status=$?
10211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10212   test $ac_status = 0; } 2>conftest.err; then
10213           soname=conftest
10214           lib=conftest
10215           libobjs=conftest.$ac_objext
10216           deplibs=
10217           wl=$lt_prog_compiler_wl
10218           pic_flag=$lt_prog_compiler_pic
10219           compiler_flags=-v
10220           linker_flags=-v
10221           verstring=
10222           output_objdir=.
10223           libname=conftest
10224           lt_save_allow_undefined_flag=$allow_undefined_flag
10225           allow_undefined_flag=
10226           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10227   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10228   ac_status=$?
10229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10230   test $ac_status = 0; }
10231           then
10232             lt_cv_archive_cmds_need_lc=no
10233           else
10234             lt_cv_archive_cmds_need_lc=yes
10235           fi
10236           allow_undefined_flag=$lt_save_allow_undefined_flag
10237         else
10238           cat conftest.err 1>&5
10239         fi
10240         $RM conftest*
10241         
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10244 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10245       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10246       ;;
10247     esac
10248   fi
10249   ;;
10250 esac
10253     
10254     
10255     
10258     
10259     
10260     
10263     
10264     
10265     
10268     
10269     
10270     
10273     
10274     
10275     
10278     
10279     
10280     
10283     
10284     
10285     
10288     
10289     
10290     
10293     
10294     
10295     
10298     
10299     
10300     
10303     
10304     
10305     
10308     
10309     
10310     
10313     
10314     
10315     
10318     
10319     
10320     
10323     
10324     
10325     
10328     
10329     
10330     
10333     
10334     
10335     
10338     
10339     
10340     
10343     
10344     
10345     
10348     
10349     
10350     
10353     
10354     
10355     
10358     
10359     
10360     
10363     
10364     
10365     
10368     
10369     
10370     
10373     
10374     
10375     
10378     
10379     
10380     
10383     
10384     
10385     
10388     
10389     
10390     
10393     
10394     
10395     
10398     
10399     
10400     
10403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10404 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10406 if test "$GCC" = yes; then
10407   case $host_os in
10408     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10409     *) lt_awk_arg="/^libraries:/" ;;
10410   esac
10411   case $host_os in
10412     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10413     *) lt_sed_strip_eq="s,=/,/,g" ;;
10414   esac
10415   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10416   case $lt_search_path_spec in
10417   *\;*)
10418     # if the path contains ";" then we assume it to be the separator
10419     # otherwise default to the standard path separator (i.e. ":") - it is
10420     # assumed that no part of a normal pathname contains ";" but that should
10421     # okay in the real world where ";" in dirpaths is itself problematic.
10422     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423     ;;
10424   *)
10425     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10426     ;;
10427   esac
10428   # Ok, now we have the path, separated by spaces, we can step through it
10429   # and add multilib dir if necessary.
10430   lt_tmp_lt_search_path_spec=
10431   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10432   for lt_sys_path in $lt_search_path_spec; do
10433     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10434       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10435     else
10436       test -d "$lt_sys_path" && \
10437         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10438     fi
10439   done
10440   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10441 BEGIN {RS=" "; FS="/|\n";} {
10442   lt_foo="";
10443   lt_count=0;
10444   for (lt_i = NF; lt_i > 0; lt_i--) {
10445     if ($lt_i != "" && $lt_i != ".") {
10446       if ($lt_i == "..") {
10447         lt_count++;
10448       } else {
10449         if (lt_count == 0) {
10450           lt_foo="/" $lt_i lt_foo;
10451         } else {
10452           lt_count--;
10453         }
10454       }
10455     }
10456   }
10457   if (lt_foo != "") { lt_freq[lt_foo]++; }
10458   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10460   # AWK program above erroneously prepends '/' to C:/dos/paths
10461   # for these hosts.
10462   case $host_os in
10463     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10464       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10465   esac
10466   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10467 else
10468   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10470 library_names_spec=
10471 libname_spec='lib$name'
10472 soname_spec=
10473 shrext_cmds=".so"
10474 postinstall_cmds=
10475 postuninstall_cmds=
10476 finish_cmds=
10477 finish_eval=
10478 shlibpath_var=
10479 shlibpath_overrides_runpath=unknown
10480 version_type=none
10481 dynamic_linker="$host_os ld.so"
10482 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10483 need_lib_prefix=unknown
10484 hardcode_into_libs=no
10486 # when you set need_version to no, make sure it does not cause -set_version
10487 # flags to be left without arguments
10488 need_version=unknown
10490 case $host_os in
10491 aix3*)
10492   version_type=linux # correct to gnu/linux during the next big refactor
10493   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10494   shlibpath_var=LIBPATH
10496   # AIX 3 has no versioning support, so we append a major version to the name.
10497   soname_spec='${libname}${release}${shared_ext}$major'
10498   ;;
10500 aix[4-9]*)
10501   version_type=linux # correct to gnu/linux during the next big refactor
10502   need_lib_prefix=no
10503   need_version=no
10504   hardcode_into_libs=yes
10505   if test "$host_cpu" = ia64; then
10506     # AIX 5 supports IA64
10507     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10508     shlibpath_var=LD_LIBRARY_PATH
10509   else
10510     # With GCC up to 2.95.x, collect2 would create an import file
10511     # for dependence libraries.  The import file would start with
10512     # the line `#! .'.  This would cause the generated library to
10513     # depend on `.', always an invalid library.  This was fixed in
10514     # development snapshots of GCC prior to 3.0.
10515     case $host_os in
10516       aix4 | aix4.[01] | aix4.[01].*)
10517       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10518            echo ' yes '
10519            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10520         :
10521       else
10522         can_build_shared=no
10523       fi
10524       ;;
10525     esac
10526     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10527     # soname into executable. Probably we can add versioning support to
10528     # collect2, so additional links can be useful in future.
10529     if test "$aix_use_runtimelinking" = yes; then
10530       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10531       # instead of lib<name>.a to let people know that these are not
10532       # typical AIX shared libraries.
10533       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10534     else
10535       # We preserve .a as extension for shared libraries through AIX4.2
10536       # and later when we are not doing run time linking.
10537       library_names_spec='${libname}${release}.a $libname.a'
10538       soname_spec='${libname}${release}${shared_ext}$major'
10539     fi
10540     shlibpath_var=LIBPATH
10541   fi
10542   ;;
10544 amigaos*)
10545   case $host_cpu in
10546   powerpc)
10547     # Since July 2007 AmigaOS4 officially supports .so libraries.
10548     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10549     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10550     ;;
10551   m68k)
10552     library_names_spec='$libname.ixlibrary $libname.a'
10553     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10554     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'
10555     ;;
10556   esac
10557   ;;
10559 beos*)
10560   library_names_spec='${libname}${shared_ext}'
10561   dynamic_linker="$host_os ld.so"
10562   shlibpath_var=LIBRARY_PATH
10563   ;;
10565 bsdi[45]*)
10566   version_type=linux # correct to gnu/linux during the next big refactor
10567   need_version=no
10568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569   soname_spec='${libname}${release}${shared_ext}$major'
10570   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10571   shlibpath_var=LD_LIBRARY_PATH
10572   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10573   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10574   # the default ld.so.conf also contains /usr/contrib/lib and
10575   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10576   # libtool to hard-code these into programs
10577   ;;
10579 cygwin* | mingw* | pw32* | cegcc*)
10580   version_type=windows
10581   shrext_cmds=".dll"
10582   need_version=no
10583   need_lib_prefix=no
10585   case $GCC,$cc_basename in
10586   yes,*)
10587     # gcc
10588     library_names_spec='$libname.dll.a'
10589     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10590     postinstall_cmds='base_file=`basename \${file}`~
10591       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10592       dldir=$destdir/`dirname \$dlpath`~
10593       test -d \$dldir || mkdir -p \$dldir~
10594       $install_prog $dir/$dlname \$dldir/$dlname~
10595       chmod a+x \$dldir/$dlname~
10596       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10597         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10598       fi'
10599     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10600       dlpath=$dir/\$dldll~
10601        $RM \$dlpath'
10602     shlibpath_overrides_runpath=yes
10604     case $host_os in
10605     cygwin*)
10606       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10607       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10609       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10610       ;;
10611     mingw* | cegcc*)
10612       # MinGW DLLs use traditional 'lib' prefix
10613       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10614       ;;
10615     pw32*)
10616       # pw32 DLLs use 'pw' prefix rather than 'lib'
10617       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10618       ;;
10619     esac
10620     dynamic_linker='Win32 ld.exe'
10621     ;;
10623   *,cl*)
10624     # Native MSVC
10625     libname_spec='$name'
10626     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10627     library_names_spec='${libname}.dll.lib'
10629     case $build_os in
10630     mingw*)
10631       sys_lib_search_path_spec=
10632       lt_save_ifs=$IFS
10633       IFS=';'
10634       for lt_path in $LIB
10635       do
10636         IFS=$lt_save_ifs
10637         # Let DOS variable expansion print the short 8.3 style file name.
10638         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10639         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10640       done
10641       IFS=$lt_save_ifs
10642       # Convert to MSYS style.
10643       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10644       ;;
10645     cygwin*)
10646       # Convert to unix form, then to dos form, then back to unix form
10647       # but this time dos style (no spaces!) so that the unix form looks
10648       # like /cygdrive/c/PROGRA~1:/cygdr...
10649       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10650       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10651       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10652       ;;
10653     *)
10654       sys_lib_search_path_spec="$LIB"
10655       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10656         # It is most probably a Windows format PATH.
10657         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10658       else
10659         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10660       fi
10661       # FIXME: find the short name or the path components, as spaces are
10662       # common. (e.g. "Program Files" -> "PROGRA~1")
10663       ;;
10664     esac
10666     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10667     postinstall_cmds='base_file=`basename \${file}`~
10668       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10669       dldir=$destdir/`dirname \$dlpath`~
10670       test -d \$dldir || mkdir -p \$dldir~
10671       $install_prog $dir/$dlname \$dldir/$dlname'
10672     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10673       dlpath=$dir/\$dldll~
10674        $RM \$dlpath'
10675     shlibpath_overrides_runpath=yes
10676     dynamic_linker='Win32 link.exe'
10677     ;;
10679   *)
10680     # Assume MSVC wrapper
10681     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10682     dynamic_linker='Win32 ld.exe'
10683     ;;
10684   esac
10685   # FIXME: first we should search . and the directory the executable is in
10686   shlibpath_var=PATH
10687   ;;
10689 darwin* | rhapsody*)
10690   dynamic_linker="$host_os dyld"
10691   version_type=darwin
10692   need_lib_prefix=no
10693   need_version=no
10694   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10695   soname_spec='${libname}${release}${major}$shared_ext'
10696   shlibpath_overrides_runpath=yes
10697   shlibpath_var=DYLD_LIBRARY_PATH
10698   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10700   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10701   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10702   ;;
10704 dgux*)
10705   version_type=linux # correct to gnu/linux during the next big refactor
10706   need_lib_prefix=no
10707   need_version=no
10708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10709   soname_spec='${libname}${release}${shared_ext}$major'
10710   shlibpath_var=LD_LIBRARY_PATH
10711   ;;
10713 freebsd* | dragonfly*)
10714   # DragonFly does not have aout.  When/if they implement a new
10715   # versioning mechanism, adjust this.
10716   if test -x /usr/bin/objformat; then
10717     objformat=`/usr/bin/objformat`
10718   else
10719     case $host_os in
10720     freebsd[23].*) objformat=aout ;;
10721     *) objformat=elf ;;
10722     esac
10723   fi
10724   version_type=freebsd-$objformat
10725   case $version_type in
10726     freebsd-elf*)
10727       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10728       need_version=no
10729       need_lib_prefix=no
10730       ;;
10731     freebsd-*)
10732       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10733       need_version=yes
10734       ;;
10735   esac
10736   shlibpath_var=LD_LIBRARY_PATH
10737   case $host_os in
10738   freebsd2.*)
10739     shlibpath_overrides_runpath=yes
10740     ;;
10741   freebsd3.[01]* | freebsdelf3.[01]*)
10742     shlibpath_overrides_runpath=yes
10743     hardcode_into_libs=yes
10744     ;;
10745   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10746   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10747     shlibpath_overrides_runpath=no
10748     hardcode_into_libs=yes
10749     ;;
10750   *) # from 4.6 on, and DragonFly
10751     shlibpath_overrides_runpath=yes
10752     hardcode_into_libs=yes
10753     ;;
10754   esac
10755   ;;
10757 gnu*)
10758   version_type=linux # correct to gnu/linux during the next big refactor
10759   need_lib_prefix=no
10760   need_version=no
10761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10762   soname_spec='${libname}${release}${shared_ext}$major'
10763   shlibpath_var=LD_LIBRARY_PATH
10764   shlibpath_overrides_runpath=no
10765   hardcode_into_libs=yes
10766   ;;
10768 haiku*)
10769   version_type=linux # correct to gnu/linux during the next big refactor
10770   need_lib_prefix=no
10771   need_version=no
10772   dynamic_linker="$host_os runtime_loader"
10773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10774   soname_spec='${libname}${release}${shared_ext}$major'
10775   shlibpath_var=LIBRARY_PATH
10776   shlibpath_overrides_runpath=yes
10777   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10778   hardcode_into_libs=yes
10779   ;;
10781 hpux9* | hpux10* | hpux11*)
10782   # Give a soname corresponding to the major version so that dld.sl refuses to
10783   # link against other versions.
10784   version_type=sunos
10785   need_lib_prefix=no
10786   need_version=no
10787   case $host_cpu in
10788   ia64*)
10789     shrext_cmds='.so'
10790     hardcode_into_libs=yes
10791     dynamic_linker="$host_os dld.so"
10792     shlibpath_var=LD_LIBRARY_PATH
10793     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10794     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795     soname_spec='${libname}${release}${shared_ext}$major'
10796     if test "X$HPUX_IA64_MODE" = X32; then
10797       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10798     else
10799       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10800     fi
10801     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10802     ;;
10803   hppa*64*)
10804     shrext_cmds='.sl'
10805     hardcode_into_libs=yes
10806     dynamic_linker="$host_os dld.sl"
10807     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10808     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10809     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10810     soname_spec='${libname}${release}${shared_ext}$major'
10811     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10812     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10813     ;;
10814   *)
10815     shrext_cmds='.sl'
10816     dynamic_linker="$host_os dld.sl"
10817     shlibpath_var=SHLIB_PATH
10818     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10819     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10820     soname_spec='${libname}${release}${shared_ext}$major'
10821     ;;
10822   esac
10823   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10824   postinstall_cmds='chmod 555 $lib'
10825   # or fails outright, so override atomically:
10826   install_override_mode=555
10827   ;;
10829 interix[3-9]*)
10830   version_type=linux # correct to gnu/linux during the next big refactor
10831   need_lib_prefix=no
10832   need_version=no
10833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10834   soname_spec='${libname}${release}${shared_ext}$major'
10835   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10836   shlibpath_var=LD_LIBRARY_PATH
10837   shlibpath_overrides_runpath=no
10838   hardcode_into_libs=yes
10839   ;;
10841 irix5* | irix6* | nonstopux*)
10842   case $host_os in
10843     nonstopux*) version_type=nonstopux ;;
10844     *)
10845         if test "$lt_cv_prog_gnu_ld" = yes; then
10846                 version_type=linux # correct to gnu/linux during the next big refactor
10847         else
10848                 version_type=irix
10849         fi ;;
10850   esac
10851   need_lib_prefix=no
10852   need_version=no
10853   soname_spec='${libname}${release}${shared_ext}$major'
10854   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10855   case $host_os in
10856   irix5* | nonstopux*)
10857     libsuff= shlibsuff=
10858     ;;
10859   *)
10860     case $LD in # libtool.m4 will add one of these switches to LD
10861     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10862       libsuff= shlibsuff= libmagic=32-bit;;
10863     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10864       libsuff=32 shlibsuff=N32 libmagic=N32;;
10865     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10866       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10867     *) libsuff= shlibsuff= libmagic=never-match;;
10868     esac
10869     ;;
10870   esac
10871   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10872   shlibpath_overrides_runpath=no
10873   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10874   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10875   hardcode_into_libs=yes
10876   ;;
10878 # No shared lib support for Linux oldld, aout, or coff.
10879 linux*oldld* | linux*aout* | linux*coff*)
10880   dynamic_linker=no
10881   ;;
10883 # This must be glibc/ELF.
10884 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10885   version_type=linux # correct to gnu/linux during the next big refactor
10886   need_lib_prefix=no
10887   need_version=no
10888   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889   soname_spec='${libname}${release}${shared_ext}$major'
10890   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10891   shlibpath_var=LD_LIBRARY_PATH
10892   shlibpath_overrides_runpath=no
10894   # Some binutils ld are patched to set DT_RUNPATH
10895   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10896   $as_echo_n "(cached) " >&6
10897 else
10898   lt_cv_shlibpath_overrides_runpath=no
10899     save_LDFLAGS=$LDFLAGS
10900     save_libdir=$libdir
10901     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10902          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10903     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h.  */
10907 main ()
10910   ;
10911   return 0;
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"; then :
10915   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10916   lt_cv_shlibpath_overrides_runpath=yes
10919 rm -f core conftest.err conftest.$ac_objext \
10920     conftest$ac_exeext conftest.$ac_ext
10921     LDFLAGS=$save_LDFLAGS
10922     libdir=$save_libdir
10923     
10926   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10928   # This implies no fast_install, which is unacceptable.
10929   # Some rework will be needed to allow for fast_install
10930   # before this can be enabled.
10931   hardcode_into_libs=yes
10933   # Append ld.so.conf contents to the search path
10934   if test -f /etc/ld.so.conf; then
10935     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' ' '`
10936     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10937   fi
10939   # We used to test for /lib/ld.so.1 and disable shared libraries on
10940   # powerpc, because MkLinux only supported shared libraries with the
10941   # GNU dynamic linker.  Since this was broken with cross compilers,
10942   # most powerpc-linux boxes support dynamic linking these days and
10943   # people can always --disable-shared, the test was removed, and we
10944   # assume the GNU/Linux dynamic linker is in use.
10945   dynamic_linker='GNU/Linux ld.so'
10946   ;;
10948 netbsdelf*-gnu)
10949   version_type=linux
10950   need_lib_prefix=no
10951   need_version=no
10952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10953   soname_spec='${libname}${release}${shared_ext}$major'
10954   shlibpath_var=LD_LIBRARY_PATH
10955   shlibpath_overrides_runpath=no
10956   hardcode_into_libs=yes
10957   dynamic_linker='NetBSD ld.elf_so'
10958   ;;
10960 netbsd*)
10961   version_type=sunos
10962   need_lib_prefix=no
10963   need_version=no
10964   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10965     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10967     dynamic_linker='NetBSD (a.out) ld.so'
10968   else
10969     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10970     soname_spec='${libname}${release}${shared_ext}$major'
10971     dynamic_linker='NetBSD ld.elf_so'
10972   fi
10973   shlibpath_var=LD_LIBRARY_PATH
10974   shlibpath_overrides_runpath=yes
10975   hardcode_into_libs=yes
10976   ;;
10978 newsos6)
10979   version_type=linux # correct to gnu/linux during the next big refactor
10980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981   shlibpath_var=LD_LIBRARY_PATH
10982   shlibpath_overrides_runpath=yes
10983   ;;
10985 *nto* | *qnx*)
10986   version_type=qnx
10987   need_lib_prefix=no
10988   need_version=no
10989   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990   soname_spec='${libname}${release}${shared_ext}$major'
10991   shlibpath_var=LD_LIBRARY_PATH
10992   shlibpath_overrides_runpath=no
10993   hardcode_into_libs=yes
10994   dynamic_linker='ldqnx.so'
10995   ;;
10997 openbsd*)
10998   version_type=sunos
10999   sys_lib_dlsearch_path_spec="/usr/lib"
11000   need_lib_prefix=no
11001   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11002   case $host_os in
11003     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11004     *)                          need_version=no  ;;
11005   esac
11006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11007   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11008   shlibpath_var=LD_LIBRARY_PATH
11009   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11010     case $host_os in
11011       openbsd2.[89] | openbsd2.[89].*)
11012         shlibpath_overrides_runpath=no
11013         ;;
11014       *)
11015         shlibpath_overrides_runpath=yes
11016         ;;
11017       esac
11018   else
11019     shlibpath_overrides_runpath=yes
11020   fi
11021   ;;
11023 os2*)
11024   libname_spec='$name'
11025   shrext_cmds=".dll"
11026   need_lib_prefix=no
11027   library_names_spec='$libname${shared_ext} $libname.a'
11028   dynamic_linker='OS/2 ld.exe'
11029   shlibpath_var=LIBPATH
11030   ;;
11032 osf3* | osf4* | osf5*)
11033   version_type=osf
11034   need_lib_prefix=no
11035   need_version=no
11036   soname_spec='${libname}${release}${shared_ext}$major'
11037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038   shlibpath_var=LD_LIBRARY_PATH
11039   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11040   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11041   ;;
11043 rdos*)
11044   dynamic_linker=no
11045   ;;
11047 solaris*)
11048   version_type=linux # correct to gnu/linux during the next big refactor
11049   need_lib_prefix=no
11050   need_version=no
11051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052   soname_spec='${libname}${release}${shared_ext}$major'
11053   shlibpath_var=LD_LIBRARY_PATH
11054   shlibpath_overrides_runpath=yes
11055   hardcode_into_libs=yes
11056   # ldd complains unless libraries are executable
11057   postinstall_cmds='chmod +x $lib'
11058   ;;
11060 sunos4*)
11061   version_type=sunos
11062   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11063   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11064   shlibpath_var=LD_LIBRARY_PATH
11065   shlibpath_overrides_runpath=yes
11066   if test "$with_gnu_ld" = yes; then
11067     need_lib_prefix=no
11068   fi
11069   need_version=yes
11070   ;;
11072 sysv4 | sysv4.3*)
11073   version_type=linux # correct to gnu/linux during the next big refactor
11074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075   soname_spec='${libname}${release}${shared_ext}$major'
11076   shlibpath_var=LD_LIBRARY_PATH
11077   case $host_vendor in
11078     sni)
11079       shlibpath_overrides_runpath=no
11080       need_lib_prefix=no
11081       runpath_var=LD_RUN_PATH
11082       ;;
11083     siemens)
11084       need_lib_prefix=no
11085       ;;
11086     motorola)
11087       need_lib_prefix=no
11088       need_version=no
11089       shlibpath_overrides_runpath=no
11090       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11091       ;;
11092   esac
11093   ;;
11095 sysv4*MP*)
11096   if test -d /usr/nec ;then
11097     version_type=linux # correct to gnu/linux during the next big refactor
11098     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11099     soname_spec='$libname${shared_ext}.$major'
11100     shlibpath_var=LD_LIBRARY_PATH
11101   fi
11102   ;;
11104 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11105   version_type=freebsd-elf
11106   need_lib_prefix=no
11107   need_version=no
11108   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11109   soname_spec='${libname}${release}${shared_ext}$major'
11110   shlibpath_var=LD_LIBRARY_PATH
11111   shlibpath_overrides_runpath=yes
11112   hardcode_into_libs=yes
11113   if test "$with_gnu_ld" = yes; then
11114     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11115   else
11116     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11117     case $host_os in
11118       sco3.2v5*)
11119         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11120         ;;
11121     esac
11122   fi
11123   sys_lib_dlsearch_path_spec='/usr/lib'
11124   ;;
11126 tpf*)
11127   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11128   version_type=linux # correct to gnu/linux during the next big refactor
11129   need_lib_prefix=no
11130   need_version=no
11131   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132   shlibpath_var=LD_LIBRARY_PATH
11133   shlibpath_overrides_runpath=no
11134   hardcode_into_libs=yes
11135   ;;
11137 uts4*)
11138   version_type=linux # correct to gnu/linux during the next big refactor
11139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140   soname_spec='${libname}${release}${shared_ext}$major'
11141   shlibpath_var=LD_LIBRARY_PATH
11142   ;;
11145   dynamic_linker=no
11146   ;;
11147 esac
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11149 $as_echo "$dynamic_linker" >&6; }
11150 test "$dynamic_linker" = no && can_build_shared=no
11152 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11153 if test "$GCC" = yes; then
11154   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11157 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11158   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11160 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11161   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11165     
11166     
11167     
11170     
11171     
11172     
11175     
11176     
11177     
11180     
11181     
11182     
11185     
11186     
11187     
11190     
11191     
11192     
11195     
11196     
11197     
11200     
11201     
11202     
11205     
11206     
11207     
11210     
11211     
11212     
11215     
11216     
11217     
11220     
11221     
11222     
11225     
11226     
11227     
11230     
11231     
11232     
11235     
11236     
11237     
11240     
11241     
11242     
11245     
11246     
11247     
11250     
11251     
11252     
11255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11256 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11257 hardcode_action=
11258 if test -n "$hardcode_libdir_flag_spec" ||
11259    test -n "$runpath_var" ||
11260    test "X$hardcode_automatic" = "Xyes" ; then
11262   # We can hardcode non-existent directories.
11263   if test "$hardcode_direct" != no &&
11264      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11265      # have to relink, otherwise we might link with an installed library
11266      # when we should be linking with a yet-to-be-installed one
11267      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11268      test "$hardcode_minus_L" != no; then
11269     # Linking always hardcodes the temporary library directory.
11270     hardcode_action=relink
11271   else
11272     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11273     hardcode_action=immediate
11274   fi
11275 else
11276   # We cannot hardcode anything, or else we can only hardcode existing
11277   # directories.
11278   hardcode_action=unsupported
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11281 $as_echo "$hardcode_action" >&6; }
11283 if test "$hardcode_action" = relink ||
11284    test "$inherit_rpath" = yes; then
11285   # Fast installation is not supported
11286   enable_fast_install=no
11287 elif test "$shlibpath_overrides_runpath" = yes ||
11288      test "$enable_shared" = no; then
11289   # Fast installation is not necessary
11290   enable_fast_install=needless
11293     
11294     
11295     
11298   if test "x$enable_dlopen" != xyes; then
11299   enable_dlopen=unknown
11300   enable_dlopen_self=unknown
11301   enable_dlopen_self_static=unknown
11302 else
11303   lt_cv_dlopen=no
11304   lt_cv_dlopen_libs=
11306   case $host_os in
11307   beos*)
11308     lt_cv_dlopen="load_add_on"
11309     lt_cv_dlopen_libs=
11310     lt_cv_dlopen_self=yes
11311     ;;
11313   mingw* | pw32* | cegcc*)
11314     lt_cv_dlopen="LoadLibrary"
11315     lt_cv_dlopen_libs=
11316     ;;
11318   cygwin*)
11319     lt_cv_dlopen="dlopen"
11320     lt_cv_dlopen_libs=
11321     ;;
11323   darwin*)
11324   # if libdl is installed we need to link against it
11325     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11327 if ${ac_cv_lib_dl_dlopen+:} false; then :
11328   $as_echo_n "(cached) " >&6
11329 else
11330   ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-ldl  $LIBS"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h.  */
11335 /* Override any GCC internal prototype to avoid an error.
11336    Use char because int might match the return type of a GCC
11337    builtin and then its argument prototype would still apply.  */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11343 main ()
11345 return dlopen ();
11346   ;
11347   return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351   ac_cv_lib_dl_dlopen=yes
11352 else
11353   ac_cv_lib_dl_dlopen=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356     conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11362   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11364   
11365     lt_cv_dlopen="dyld"
11366     lt_cv_dlopen_libs=
11367     lt_cv_dlopen_self=yes
11368     
11371     ;;
11373   *)
11374     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = xyes; then :
11376   lt_cv_dlopen="shl_load"
11377 else
11378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if ${ac_cv_lib_dld_shl_load+:} false; then :
11381   $as_echo_n "(cached) " >&6
11382 else
11383   ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-ldld  $LIBS"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h.  */
11388 /* Override any GCC internal prototype to avoid an error.
11389    Use char because int might match the return type of a GCC
11390    builtin and then its argument prototype would still apply.  */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char shl_load ();
11396 main ()
11398 return shl_load ();
11399   ;
11400   return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404   ac_cv_lib_dld_shl_load=yes
11405 else
11406   ac_cv_lib_dld_shl_load=no
11408 rm -f core conftest.err conftest.$ac_objext \
11409     conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_lib_save_LIBS
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11413 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11414 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11415   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11416 else
11417   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11418 if test "x$ac_cv_func_dlopen" = xyes; then :
11419   lt_cv_dlopen="dlopen"
11420 else
11421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11422 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11423 if ${ac_cv_lib_dl_dlopen+:} false; then :
11424   $as_echo_n "(cached) " >&6
11425 else
11426   ac_check_lib_save_LIBS=$LIBS
11427 LIBS="-ldl  $LIBS"
11428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h.  */
11431 /* Override any GCC internal prototype to avoid an error.
11432    Use char because int might match the return type of a GCC
11433    builtin and then its argument prototype would still apply.  */
11434 #ifdef __cplusplus
11435 extern "C"
11436 #endif
11437 char dlopen ();
11439 main ()
11441 return dlopen ();
11442   ;
11443   return 0;
11445 _ACEOF
11446 if ac_fn_c_try_link "$LINENO"; then :
11447   ac_cv_lib_dl_dlopen=yes
11448 else
11449   ac_cv_lib_dl_dlopen=no
11451 rm -f core conftest.err conftest.$ac_objext \
11452     conftest$ac_exeext conftest.$ac_ext
11453 LIBS=$ac_check_lib_save_LIBS
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11456 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11457 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11458   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11459 else
11460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11461 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11462 if ${ac_cv_lib_svld_dlopen+:} false; then :
11463   $as_echo_n "(cached) " >&6
11464 else
11465   ac_check_lib_save_LIBS=$LIBS
11466 LIBS="-lsvld  $LIBS"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h.  */
11470 /* Override any GCC internal prototype to avoid an error.
11471    Use char because int might match the return type of a GCC
11472    builtin and then its argument prototype would still apply.  */
11473 #ifdef __cplusplus
11474 extern "C"
11475 #endif
11476 char dlopen ();
11478 main ()
11480 return dlopen ();
11481   ;
11482   return 0;
11484 _ACEOF
11485 if ac_fn_c_try_link "$LINENO"; then :
11486   ac_cv_lib_svld_dlopen=yes
11487 else
11488   ac_cv_lib_svld_dlopen=no
11490 rm -f core conftest.err conftest.$ac_objext \
11491     conftest$ac_exeext conftest.$ac_ext
11492 LIBS=$ac_check_lib_save_LIBS
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11495 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11496 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11497   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11498 else
11499   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11500 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11501 if ${ac_cv_lib_dld_dld_link+:} false; then :
11502   $as_echo_n "(cached) " >&6
11503 else
11504   ac_check_lib_save_LIBS=$LIBS
11505 LIBS="-ldld  $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h.  */
11509 /* Override any GCC internal prototype to avoid an error.
11510    Use char because int might match the return type of a GCC
11511    builtin and then its argument prototype would still apply.  */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char dld_link ();
11517 main ()
11519 return dld_link ();
11520   ;
11521   return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525   ac_cv_lib_dld_dld_link=yes
11526 else
11527   ac_cv_lib_dld_dld_link=no
11529 rm -f core conftest.err conftest.$ac_objext \
11530     conftest$ac_exeext conftest.$ac_ext
11531 LIBS=$ac_check_lib_save_LIBS
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11534 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11535 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11536   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11539               
11542             
11545           
11548         
11551       
11554     ;;
11555   esac
11557   if test "x$lt_cv_dlopen" != xno; then
11558     enable_dlopen=yes
11559   else
11560     enable_dlopen=no
11561   fi
11563   case $lt_cv_dlopen in
11564   dlopen)
11565     save_CPPFLAGS="$CPPFLAGS"
11566     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11568     save_LDFLAGS="$LDFLAGS"
11569     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11571     save_LIBS="$LIBS"
11572     LIBS="$lt_cv_dlopen_libs $LIBS"
11574     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11575 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11576 if ${lt_cv_dlopen_self+:} false; then :
11577   $as_echo_n "(cached) " >&6
11578 else
11579           if test "$cross_compiling" = yes; then :
11580   lt_cv_dlopen_self=cross
11581 else
11582   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11583   lt_status=$lt_dlunknown
11584   cat > conftest.$ac_ext <<_LT_EOF
11585 #line $LINENO "configure"
11586 #include "confdefs.h"
11588 #if HAVE_DLFCN_H
11589 #include <dlfcn.h>
11590 #endif
11592 #include <stdio.h>
11594 #ifdef RTLD_GLOBAL
11595 #  define LT_DLGLOBAL           RTLD_GLOBAL
11596 #else
11597 #  ifdef DL_GLOBAL
11598 #    define LT_DLGLOBAL         DL_GLOBAL
11599 #  else
11600 #    define LT_DLGLOBAL         0
11601 #  endif
11602 #endif
11604 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11605    find out it does not work in some platform. */
11606 #ifndef LT_DLLAZY_OR_NOW
11607 #  ifdef RTLD_LAZY
11608 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11609 #  else
11610 #    ifdef DL_LAZY
11611 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11612 #    else
11613 #      ifdef RTLD_NOW
11614 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11615 #      else
11616 #        ifdef DL_NOW
11617 #          define LT_DLLAZY_OR_NOW      DL_NOW
11618 #        else
11619 #          define LT_DLLAZY_OR_NOW      0
11620 #        endif
11621 #      endif
11622 #    endif
11623 #  endif
11624 #endif
11626 /* When -fvisbility=hidden is used, assume the code has been annotated
11627    correspondingly for the symbols needed.  */
11628 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11629 int fnord () __attribute__((visibility("default")));
11630 #endif
11632 int fnord () { return 42; }
11633 int main ()
11635   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11636   int status = $lt_dlunknown;
11638   if (self)
11639     {
11640       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11641       else
11642         {
11643           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11644           else puts (dlerror ());
11645         }
11646       /* dlclose (self); */
11647     }
11648   else
11649     puts (dlerror ());
11651   return status;
11653 _LT_EOF
11654   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11655   (eval $ac_link) 2>&5
11656   ac_status=$?
11657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11658   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11659     (./conftest; exit; ) >&5 2>/dev/null
11660     lt_status=$?
11661     case x$lt_status in
11662       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11663       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11664       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11665     esac
11666   else :
11667     # compilation failed
11668     lt_cv_dlopen_self=no
11669   fi
11671 rm -fr conftest*
11673     
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11676 $as_echo "$lt_cv_dlopen_self" >&6; }
11678     if test "x$lt_cv_dlopen_self" = xyes; then
11679       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11680       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11681 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11682 if ${lt_cv_dlopen_self_static+:} false; then :
11683   $as_echo_n "(cached) " >&6
11684 else
11685           if test "$cross_compiling" = yes; then :
11686   lt_cv_dlopen_self_static=cross
11687 else
11688   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11689   lt_status=$lt_dlunknown
11690   cat > conftest.$ac_ext <<_LT_EOF
11691 #line $LINENO "configure"
11692 #include "confdefs.h"
11694 #if HAVE_DLFCN_H
11695 #include <dlfcn.h>
11696 #endif
11698 #include <stdio.h>
11700 #ifdef RTLD_GLOBAL
11701 #  define LT_DLGLOBAL           RTLD_GLOBAL
11702 #else
11703 #  ifdef DL_GLOBAL
11704 #    define LT_DLGLOBAL         DL_GLOBAL
11705 #  else
11706 #    define LT_DLGLOBAL         0
11707 #  endif
11708 #endif
11710 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11711    find out it does not work in some platform. */
11712 #ifndef LT_DLLAZY_OR_NOW
11713 #  ifdef RTLD_LAZY
11714 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11715 #  else
11716 #    ifdef DL_LAZY
11717 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11718 #    else
11719 #      ifdef RTLD_NOW
11720 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11721 #      else
11722 #        ifdef DL_NOW
11723 #          define LT_DLLAZY_OR_NOW      DL_NOW
11724 #        else
11725 #          define LT_DLLAZY_OR_NOW      0
11726 #        endif
11727 #      endif
11728 #    endif
11729 #  endif
11730 #endif
11732 /* When -fvisbility=hidden is used, assume the code has been annotated
11733    correspondingly for the symbols needed.  */
11734 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11735 int fnord () __attribute__((visibility("default")));
11736 #endif
11738 int fnord () { return 42; }
11739 int main ()
11741   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11742   int status = $lt_dlunknown;
11744   if (self)
11745     {
11746       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11747       else
11748         {
11749           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11750           else puts (dlerror ());
11751         }
11752       /* dlclose (self); */
11753     }
11754   else
11755     puts (dlerror ());
11757   return status;
11759 _LT_EOF
11760   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11761   (eval $ac_link) 2>&5
11762   ac_status=$?
11763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11764   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11765     (./conftest; exit; ) >&5 2>/dev/null
11766     lt_status=$?
11767     case x$lt_status in
11768       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11769       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11770       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11771     esac
11772   else :
11773     # compilation failed
11774     lt_cv_dlopen_self_static=no
11775   fi
11777 rm -fr conftest*
11779       
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11782 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11783     fi
11785     CPPFLAGS="$save_CPPFLAGS"
11786     LDFLAGS="$save_LDFLAGS"
11787     LIBS="$save_LIBS"
11788     ;;
11789   esac
11791   case $lt_cv_dlopen_self in
11792   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11793   *) enable_dlopen_self=unknown ;;
11794   esac
11796   case $lt_cv_dlopen_self_static in
11797   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11798   *) enable_dlopen_self_static=unknown ;;
11799   esac
11802     
11803     
11804     
11807     
11808     
11809     
11812     
11813     
11814     
11817   
11818 striplib=
11819 old_striplib=
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11821 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11822 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11823   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11824   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11826 $as_echo "yes" >&6; }
11827 else
11828 # FIXME - insert some real tests, host_os isn't really good enough
11829   case $host_os in
11830   darwin*)
11831     if test -n "$STRIP" ; then
11832       striplib="$STRIP -x"
11833       old_striplib="$STRIP -S"
11834       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11835 $as_echo "yes" >&6; }
11836     else
11837       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11838 $as_echo "no" >&6; }
11839     fi
11840     ;;
11841   *)
11842     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11843 $as_echo "no" >&6; }
11844     ;;
11845   esac
11848     
11849     
11850     
11853     
11854     
11855     
11859   # Report which library types will actually be built
11860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11861 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11863 $as_echo "$can_build_shared" >&6; }
11865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11866 $as_echo_n "checking whether to build shared libraries... " >&6; }
11867   test "$can_build_shared" = "no" && enable_shared=no
11869   # On AIX, shared libraries and static libraries use the same namespace, and
11870   # are all built from PIC.
11871   case $host_os in
11872   aix3*)
11873     test "$enable_shared" = yes && enable_static=no
11874     if test -n "$RANLIB"; then
11875       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11876       postinstall_cmds='$RANLIB $lib'
11877     fi
11878     ;;
11880   aix[4-9]*)
11881     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11882       test "$enable_shared" = yes && enable_static=no
11883     fi
11884     ;;
11885   esac
11886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11887 $as_echo "$enable_shared" >&6; }
11889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11890 $as_echo_n "checking whether to build static libraries... " >&6; }
11891   # Make sure either enable_shared or enable_static is yes.
11892   test "$enable_shared" = yes || enable_static=yes
11893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11894 $as_echo "$enable_static" >&6; }
11896   
11900 ac_ext=c
11901 ac_cpp='$CPP $CPPFLAGS'
11902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11906 CC="$lt_save_CC"
11908       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11909     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11910     (test "X$CXX" != "Xg++"))) ; then
11911   ac_ext=cpp
11912 ac_cpp='$CXXCPP $CPPFLAGS'
11913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11917 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11918 if test -z "$CXXCPP"; then
11919   if ${ac_cv_prog_CXXCPP+:} false; then :
11920   $as_echo_n "(cached) " >&6
11921 else
11922       # Double quotes because CXXCPP needs to be expanded
11923     for CXXCPP in "$CXX -E" "/lib/cpp"
11924     do
11925       ac_preproc_ok=false
11926 for ac_cxx_preproc_warn_flag in '' yes
11928   # Use a header file that comes with gcc, so configuring glibc
11929   # with a fresh cross-compiler works.
11930   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11931   # <limits.h> exists even on freestanding compilers.
11932   # On the NeXT, cc -E runs the code through the compiler's parser,
11933   # not just through cpp. "Syntax error" is here to catch this case.
11934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h.  */
11936 @%:@ifdef __STDC__
11937 @%:@ include <limits.h>
11938 @%:@else
11939 @%:@ include <assert.h>
11940 @%:@endif
11941                      Syntax error
11942 _ACEOF
11943 if ac_fn_cxx_try_cpp "$LINENO"; then :
11944   
11945 else
11946   # Broken: fails on valid input.
11947 continue
11949 rm -f conftest.err conftest.i conftest.$ac_ext
11951   # OK, works on sane cases.  Now check whether nonexistent headers
11952   # can be detected and how.
11953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h.  */
11955 @%:@include <ac_nonexistent.h>
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11958   # Broken: success on invalid input.
11959 continue
11960 else
11961   # Passes both tests.
11962 ac_preproc_ok=:
11963 break
11965 rm -f conftest.err conftest.i conftest.$ac_ext
11967 done
11968 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11969 rm -f conftest.i conftest.err conftest.$ac_ext
11970 if $ac_preproc_ok; then :
11971   break
11974     done
11975     ac_cv_prog_CXXCPP=$CXXCPP
11976   
11978   CXXCPP=$ac_cv_prog_CXXCPP
11979 else
11980   ac_cv_prog_CXXCPP=$CXXCPP
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11983 $as_echo "$CXXCPP" >&6; }
11984 ac_preproc_ok=false
11985 for ac_cxx_preproc_warn_flag in '' yes
11987   # Use a header file that comes with gcc, so configuring glibc
11988   # with a fresh cross-compiler works.
11989   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11990   # <limits.h> exists even on freestanding compilers.
11991   # On the NeXT, cc -E runs the code through the compiler's parser,
11992   # not just through cpp. "Syntax error" is here to catch this case.
11993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h.  */
11995 @%:@ifdef __STDC__
11996 @%:@ include <limits.h>
11997 @%:@else
11998 @%:@ include <assert.h>
11999 @%:@endif
12000                      Syntax error
12001 _ACEOF
12002 if ac_fn_cxx_try_cpp "$LINENO"; then :
12003   
12004 else
12005   # Broken: fails on valid input.
12006 continue
12008 rm -f conftest.err conftest.i conftest.$ac_ext
12010   # OK, works on sane cases.  Now check whether nonexistent headers
12011   # can be detected and how.
12012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h.  */
12014 @%:@include <ac_nonexistent.h>
12015 _ACEOF
12016 if ac_fn_cxx_try_cpp "$LINENO"; then :
12017   # Broken: success on invalid input.
12018 continue
12019 else
12020   # Passes both tests.
12021 ac_preproc_ok=:
12022 break
12024 rm -f conftest.err conftest.i conftest.$ac_ext
12026 done
12027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12028 rm -f conftest.i conftest.err conftest.$ac_ext
12029 if $ac_preproc_ok; then :
12030   
12031 else
12032   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12034 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12035 See \`config.log' for more details" "$LINENO" 5; }
12038 ac_ext=c
12039 ac_cpp='$CPP $CPPFLAGS'
12040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12044 else
12045   _lt_caught_CXX_error=yes
12048 ac_ext=cpp
12049 ac_cpp='$CXXCPP $CPPFLAGS'
12050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12054 archive_cmds_need_lc_CXX=no
12055 allow_undefined_flag_CXX=
12056 always_export_symbols_CXX=no
12057 archive_expsym_cmds_CXX=
12058 compiler_needs_object_CXX=no
12059 export_dynamic_flag_spec_CXX=
12060 hardcode_direct_CXX=no
12061 hardcode_direct_absolute_CXX=no
12062 hardcode_libdir_flag_spec_CXX=
12063 hardcode_libdir_separator_CXX=
12064 hardcode_minus_L_CXX=no
12065 hardcode_shlibpath_var_CXX=unsupported
12066 hardcode_automatic_CXX=no
12067 inherit_rpath_CXX=no
12068 module_cmds_CXX=
12069 module_expsym_cmds_CXX=
12070 link_all_deplibs_CXX=unknown
12071 old_archive_cmds_CXX=$old_archive_cmds
12072 reload_flag_CXX=$reload_flag
12073 reload_cmds_CXX=$reload_cmds
12074 no_undefined_flag_CXX=
12075 whole_archive_flag_spec_CXX=
12076 enable_shared_with_static_runtimes_CXX=no
12078 # Source file extension for C++ test sources.
12079 ac_ext=cpp
12081 # Object file extension for compiled C++ test sources.
12082 objext=o
12083 objext_CXX=$objext
12085 # No sense in running all these tests if we already determined that
12086 # the CXX compiler isn't working.  Some variables (like enable_shared)
12087 # are currently assumed to apply to all compilers on this platform,
12088 # and will be corrupted by setting them based on a non-working compiler.
12089 if test "$_lt_caught_CXX_error" != yes; then
12090   # Code to be used in simple compile tests
12091   lt_simple_compile_test_code="int some_variable = 0;"
12093   # Code to be used in simple link tests
12094   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12096   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12097   
12103 # If no C compiler was specified, use CC.
12104 LTCC=${LTCC-"$CC"}
12106 # If no C compiler flags were specified, use CFLAGS.
12107 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12109 # Allow CC to be a program name with arguments.
12110 compiler=$CC
12113   # save warnings/boilerplate of simple test code
12114   ac_outfile=conftest.$ac_objext
12115 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12116 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12117 _lt_compiler_boilerplate=`cat conftest.err`
12118 $RM conftest*
12120   ac_outfile=conftest.$ac_objext
12121 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12122 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12123 _lt_linker_boilerplate=`cat conftest.err`
12124 $RM -r conftest*
12127   # Allow CC to be a program name with arguments.
12128   lt_save_CC=$CC
12129   lt_save_CFLAGS=$CFLAGS
12130   lt_save_LD=$LD
12131   lt_save_GCC=$GCC
12132   GCC=$GXX
12133   lt_save_with_gnu_ld=$with_gnu_ld
12134   lt_save_path_LD=$lt_cv_path_LD
12135   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12136     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12137   else
12138     $as_unset lt_cv_prog_gnu_ld
12139   fi
12140   if test -n "${lt_cv_path_LDCXX+set}"; then
12141     lt_cv_path_LD=$lt_cv_path_LDCXX
12142   else
12143     $as_unset lt_cv_path_LD
12144   fi
12145   test -z "${LDCXX+set}" || LD=$LDCXX
12146   CC=${CXX-"c++"}
12147   CFLAGS=$CXXFLAGS
12148   compiler=$CC
12149   compiler_CXX=$CC
12150   for cc_temp in $compiler""; do
12151   case $cc_temp in
12152     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12153     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12154     \-*) ;;
12155     *) break;;
12156   esac
12157 done
12158 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12161   if test -n "$compiler"; then
12162     # We don't want -fno-exception when compiling C++ code, so set the
12163     # no_builtin_flag separately
12164     if test "$GXX" = yes; then
12165       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12166     else
12167       lt_prog_compiler_no_builtin_flag_CXX=
12168     fi
12170     if test "$GXX" = yes; then
12171       # Set up default GNU C++ configuration
12173       
12175 @%:@ Check whether --with-gnu-ld was given.
12176 if test "${with_gnu_ld+set}" = set; then :
12177   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12178 else
12179   with_gnu_ld=no
12182 ac_prog=ld
12183 if test "$GCC" = yes; then
12184   # Check if gcc -print-prog-name=ld gives a path.
12185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12186 $as_echo_n "checking for ld used by $CC... " >&6; }
12187   case $host in
12188   *-*-mingw*)
12189     # gcc leaves a trailing carriage return which upsets mingw
12190     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12191   *)
12192     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12193   esac
12194   case $ac_prog in
12195     # Accept absolute paths.
12196     [\\/]* | ?:[\\/]*)
12197       re_direlt='/[^/][^/]*/\.\./'
12198       # Canonicalize the pathname of ld
12199       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12200       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12201         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12202       done
12203       test -z "$LD" && LD="$ac_prog"
12204       ;;
12205   "")
12206     # If it fails, then pretend we aren't using GCC.
12207     ac_prog=ld
12208     ;;
12209   *)
12210     # If it is relative, then search for the first ld in PATH.
12211     with_gnu_ld=unknown
12212     ;;
12213   esac
12214 elif test "$with_gnu_ld" = yes; then
12215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12216 $as_echo_n "checking for GNU ld... " >&6; }
12217 else
12218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12219 $as_echo_n "checking for non-GNU ld... " >&6; }
12221 if ${lt_cv_path_LD+:} false; then :
12222   $as_echo_n "(cached) " >&6
12223 else
12224   if test -z "$LD"; then
12225   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12226   for ac_dir in $PATH; do
12227     IFS="$lt_save_ifs"
12228     test -z "$ac_dir" && ac_dir=.
12229     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12230       lt_cv_path_LD="$ac_dir/$ac_prog"
12231       # Check to see if the program is GNU ld.  I'd rather use --version,
12232       # but apparently some variants of GNU ld only accept -v.
12233       # Break only if it was the GNU/non-GNU ld that we prefer.
12234       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12235       *GNU* | *'with BFD'*)
12236         test "$with_gnu_ld" != no && break
12237         ;;
12238       *)
12239         test "$with_gnu_ld" != yes && break
12240         ;;
12241       esac
12242     fi
12243   done
12244   IFS="$lt_save_ifs"
12245 else
12246   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12250 LD="$lt_cv_path_LD"
12251 if test -n "$LD"; then
12252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12253 $as_echo "$LD" >&6; }
12254 else
12255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12256 $as_echo "no" >&6; }
12258 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12260 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12261 if ${lt_cv_prog_gnu_ld+:} false; then :
12262   $as_echo_n "(cached) " >&6
12263 else
12264   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12265 case `$LD -v 2>&1 </dev/null` in
12266 *GNU* | *'with BFD'*)
12267   lt_cv_prog_gnu_ld=yes
12268   ;;
12270   lt_cv_prog_gnu_ld=no
12271   ;;
12272 esac
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12275 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12276 with_gnu_ld=$lt_cv_prog_gnu_ld
12284       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12285       # archiving commands below assume that GNU ld is being used.
12286       if test "$with_gnu_ld" = yes; then
12287         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12288         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'
12290         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12291         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12293         # If archive_cmds runs LD, not CC, wlarc should be empty
12294         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12295         #     investigate it a little bit more. (MM)
12296         wlarc='${wl}'
12298         # ancient GNU ld didn't support --whole-archive et. al.
12299         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12300           $GREP 'no-whole-archive' > /dev/null; then
12301           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12302         else
12303           whole_archive_flag_spec_CXX=
12304         fi
12305       else
12306         with_gnu_ld=no
12307         wlarc=
12309         # A generic and very simple default shared library creation
12310         # command for GNU C++ for the case where it uses the native
12311         # linker, instead of GNU ld.  If possible, this setting should
12312         # overridden to take advantage of the native linker features on
12313         # the platform it is being used on.
12314         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12315       fi
12317       # Commands to make compiler produce verbose output that lists
12318       # what "hidden" libraries, object files and flags are used when
12319       # linking a shared library.
12320       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12322     else
12323       GXX=no
12324       with_gnu_ld=no
12325       wlarc=
12326     fi
12328     # PORTME: fill in a description of your system's C++ link characteristics
12329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12330 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12331     ld_shlibs_CXX=yes
12332     case $host_os in
12333       aix3*)
12334         # FIXME: insert proper C++ library support
12335         ld_shlibs_CXX=no
12336         ;;
12337       aix[4-9]*)
12338         if test "$host_cpu" = ia64; then
12339           # On IA64, the linker does run time linking by default, so we don't
12340           # have to do anything special.
12341           aix_use_runtimelinking=no
12342           exp_sym_flag='-Bexport'
12343           no_entry_flag=""
12344         else
12345           aix_use_runtimelinking=no
12347           # Test if we are trying to use run time linking or normal
12348           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12349           # need to do runtime linking.
12350           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12351             for ld_flag in $LDFLAGS; do
12352               case $ld_flag in
12353               *-brtl*)
12354                 aix_use_runtimelinking=yes
12355                 break
12356                 ;;
12357               esac
12358             done
12359             ;;
12360           esac
12362           exp_sym_flag='-bexport'
12363           no_entry_flag='-bnoentry'
12364         fi
12366         # When large executables or shared objects are built, AIX ld can
12367         # have problems creating the table of contents.  If linking a library
12368         # or program results in "error TOC overflow" add -mminimal-toc to
12369         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12370         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12372         archive_cmds_CXX=''
12373         hardcode_direct_CXX=yes
12374         hardcode_direct_absolute_CXX=yes
12375         hardcode_libdir_separator_CXX=':'
12376         link_all_deplibs_CXX=yes
12377         file_list_spec_CXX='${wl}-f,'
12379         if test "$GXX" = yes; then
12380           case $host_os in aix4.[012]|aix4.[012].*)
12381           # We only want to do this on AIX 4.2 and lower, the check
12382           # below for broken collect2 doesn't work under 4.3+
12383           collect2name=`${CC} -print-prog-name=collect2`
12384           if test -f "$collect2name" &&
12385              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12386           then
12387             # We have reworked collect2
12388             :
12389           else
12390             # We have old collect2
12391             hardcode_direct_CXX=unsupported
12392             # It fails to find uninstalled libraries when the uninstalled
12393             # path is not listed in the libpath.  Setting hardcode_minus_L
12394             # to unsupported forces relinking
12395             hardcode_minus_L_CXX=yes
12396             hardcode_libdir_flag_spec_CXX='-L$libdir'
12397             hardcode_libdir_separator_CXX=
12398           fi
12399           esac
12400           shared_flag='-shared'
12401           if test "$aix_use_runtimelinking" = yes; then
12402             shared_flag="$shared_flag "'${wl}-G'
12403           fi
12404         else
12405           # not using gcc
12406           if test "$host_cpu" = ia64; then
12407           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12408           # chokes on -Wl,-G. The following line is correct:
12409           shared_flag='-G'
12410           else
12411             if test "$aix_use_runtimelinking" = yes; then
12412               shared_flag='${wl}-G'
12413             else
12414               shared_flag='${wl}-bM:SRE'
12415             fi
12416           fi
12417         fi
12419         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12420         # It seems that -bexpall does not export symbols beginning with
12421         # underscore (_), so it is better to generate a list of symbols to
12422         # export.
12423         always_export_symbols_CXX=yes
12424         if test "$aix_use_runtimelinking" = yes; then
12425           # Warning - without using the other runtime loading flags (-brtl),
12426           # -berok will link without error, but may produce a broken library.
12427           allow_undefined_flag_CXX='-berok'
12428           # Determine the default libpath from the value encoded in an empty
12429           # executable.
12430           if test "${lt_cv_aix_libpath+set}" = set; then
12431   aix_libpath=$lt_cv_aix_libpath
12432 else
12433   if ${lt_cv_aix_libpath__CXX+:} false; then :
12434   $as_echo_n "(cached) " >&6
12435 else
12436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h.  */
12440 main ()
12443   ;
12444   return 0;
12446 _ACEOF
12447 if ac_fn_cxx_try_link "$LINENO"; then :
12448   
12449   lt_aix_libpath_sed='
12450       /Import File Strings/,/^$/ {
12451           /^0/ {
12452               s/^0  *\([^ ]*\) *$/\1/
12453               p
12454           }
12455       }'
12456   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12457   # Check for a 64-bit object if we didn't find anything.
12458   if test -z "$lt_cv_aix_libpath__CXX"; then
12459     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12460   fi
12462 rm -f core conftest.err conftest.$ac_objext \
12463     conftest$ac_exeext conftest.$ac_ext
12464   if test -z "$lt_cv_aix_libpath__CXX"; then
12465     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12466   fi
12467   
12470   aix_libpath=$lt_cv_aix_libpath__CXX
12473           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12475           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"
12476         else
12477           if test "$host_cpu" = ia64; then
12478             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12479             allow_undefined_flag_CXX="-z nodefs"
12480             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"
12481           else
12482             # Determine the default libpath from the value encoded in an
12483             # empty executable.
12484             if test "${lt_cv_aix_libpath+set}" = set; then
12485   aix_libpath=$lt_cv_aix_libpath
12486 else
12487   if ${lt_cv_aix_libpath__CXX+:} false; then :
12488   $as_echo_n "(cached) " >&6
12489 else
12490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h.  */
12494 main ()
12497   ;
12498   return 0;
12500 _ACEOF
12501 if ac_fn_cxx_try_link "$LINENO"; then :
12502   
12503   lt_aix_libpath_sed='
12504       /Import File Strings/,/^$/ {
12505           /^0/ {
12506               s/^0  *\([^ ]*\) *$/\1/
12507               p
12508           }
12509       }'
12510   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511   # Check for a 64-bit object if we didn't find anything.
12512   if test -z "$lt_cv_aix_libpath__CXX"; then
12513     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12514   fi
12516 rm -f core conftest.err conftest.$ac_objext \
12517     conftest$ac_exeext conftest.$ac_ext
12518   if test -z "$lt_cv_aix_libpath__CXX"; then
12519     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12520   fi
12521   
12524   aix_libpath=$lt_cv_aix_libpath__CXX
12527             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12528             # Warning - without using the other run time loading flags,
12529             # -berok will link without error, but may produce a broken library.
12530             no_undefined_flag_CXX=' ${wl}-bernotok'
12531             allow_undefined_flag_CXX=' ${wl}-berok'
12532             if test "$with_gnu_ld" = yes; then
12533               # We only use this code for GNU lds that support --whole-archive.
12534               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12535             else
12536               # Exported symbols can be pulled into shared objects from archives
12537               whole_archive_flag_spec_CXX='$convenience'
12538             fi
12539             archive_cmds_need_lc_CXX=yes
12540             # This is similar to how AIX traditionally builds its shared
12541             # libraries.
12542             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'
12543           fi
12544         fi
12545         ;;
12547       beos*)
12548         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12549           allow_undefined_flag_CXX=unsupported
12550           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12551           # support --undefined.  This deserves some investigation.  FIXME
12552           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12553         else
12554           ld_shlibs_CXX=no
12555         fi
12556         ;;
12558       chorus*)
12559         case $cc_basename in
12560           *)
12561           # FIXME: insert proper C++ library support
12562           ld_shlibs_CXX=no
12563           ;;
12564         esac
12565         ;;
12567       cygwin* | mingw* | pw32* | cegcc*)
12568         case $GXX,$cc_basename in
12569         ,cl* | no,cl*)
12570           # Native MSVC
12571           # hardcode_libdir_flag_spec is actually meaningless, as there is
12572           # no search path for DLLs.
12573           hardcode_libdir_flag_spec_CXX=' '
12574           allow_undefined_flag_CXX=unsupported
12575           always_export_symbols_CXX=yes
12576           file_list_spec_CXX='@'
12577           # Tell ltmain to make .lib files, not .a files.
12578           libext=lib
12579           # Tell ltmain to make .dll files, not .so files.
12580           shrext_cmds=".dll"
12581           # FIXME: Setting linknames here is a bad hack.
12582           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12583           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12584               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12585             else
12586               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12587             fi~
12588             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12589             linknames='
12590           # The linker will not automatically build a static lib if we build a DLL.
12591           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12592           enable_shared_with_static_runtimes_CXX=yes
12593           # Don't use ranlib
12594           old_postinstall_cmds_CXX='chmod 644 $oldlib'
12595           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12596             lt_tool_outputfile="@TOOL_OUTPUT@"~
12597             case $lt_outputfile in
12598               *.exe|*.EXE) ;;
12599               *)
12600                 lt_outputfile="$lt_outputfile.exe"
12601                 lt_tool_outputfile="$lt_tool_outputfile.exe"
12602                 ;;
12603             esac~
12604             func_to_tool_file "$lt_outputfile"~
12605             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12606               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12607               $RM "$lt_outputfile.manifest";
12608             fi'
12609           ;;
12610         *)
12611           # g++
12612           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12613           # as there is no search path for DLLs.
12614           hardcode_libdir_flag_spec_CXX='-L$libdir'
12615           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12616           allow_undefined_flag_CXX=unsupported
12617           always_export_symbols_CXX=no
12618           enable_shared_with_static_runtimes_CXX=yes
12620           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12621             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'
12622             # If the export-symbols file already is a .def file (1st line
12623             # is EXPORTS), use it as is; otherwise, prepend...
12624             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12625               cp $export_symbols $output_objdir/$soname.def;
12626             else
12627               echo EXPORTS > $output_objdir/$soname.def;
12628               cat $export_symbols >> $output_objdir/$soname.def;
12629             fi~
12630             $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'
12631           else
12632             ld_shlibs_CXX=no
12633           fi
12634           ;;
12635         esac
12636         ;;
12637       darwin* | rhapsody*)
12638         
12639   
12640   archive_cmds_need_lc_CXX=no
12641   hardcode_direct_CXX=no
12642   hardcode_automatic_CXX=yes
12643   hardcode_shlibpath_var_CXX=unsupported
12644   if test "$lt_cv_ld_force_load" = "yes"; then
12645     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\"`'
12646     
12647   else
12648     whole_archive_flag_spec_CXX=''
12649   fi
12650   link_all_deplibs_CXX=yes
12651   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12652   case $cc_basename in
12653      ifort*) _lt_dar_can_shared=yes ;;
12654      *) _lt_dar_can_shared=$GCC ;;
12655   esac
12656   if test "$_lt_dar_can_shared" = "yes"; then
12657     output_verbose_link_cmd=func_echo_all
12658     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}"
12659     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12660     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}"
12661     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}"
12662        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12663       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}"
12664       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}"
12665     fi
12667   else
12668   ld_shlibs_CXX=no
12669   fi
12671         ;;
12673       dgux*)
12674         case $cc_basename in
12675           ec++*)
12676             # FIXME: insert proper C++ library support
12677             ld_shlibs_CXX=no
12678             ;;
12679           ghcx*)
12680             # Green Hills C++ Compiler
12681             # FIXME: insert proper C++ library support
12682             ld_shlibs_CXX=no
12683             ;;
12684           *)
12685             # FIXME: insert proper C++ library support
12686             ld_shlibs_CXX=no
12687             ;;
12688         esac
12689         ;;
12691       freebsd2.*)
12692         # C++ shared libraries reported to be fairly broken before
12693         # switch to ELF
12694         ld_shlibs_CXX=no
12695         ;;
12697       freebsd-elf*)
12698         archive_cmds_need_lc_CXX=no
12699         ;;
12701       freebsd* | dragonfly*)
12702         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12703         # conventions
12704         ld_shlibs_CXX=yes
12705         ;;
12707       gnu*)
12708         ;;
12710       haiku*)
12711         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12712         link_all_deplibs_CXX=yes
12713         ;;
12715       hpux9*)
12716         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12717         hardcode_libdir_separator_CXX=:
12718         export_dynamic_flag_spec_CXX='${wl}-E'
12719         hardcode_direct_CXX=yes
12720         hardcode_minus_L_CXX=yes # Not in the search PATH,
12721                                              # but as the default
12722                                              # location of the library.
12724         case $cc_basename in
12725           CC*)
12726             # FIXME: insert proper C++ library support
12727             ld_shlibs_CXX=no
12728             ;;
12729           aCC*)
12730             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'
12731             # Commands to make compiler produce verbose output that lists
12732             # what "hidden" libraries, object files and flags are used when
12733             # linking a shared library.
12734             #
12735             # There doesn't appear to be a way to prevent this compiler from
12736             # explicitly linking system object files so we need to strip them
12737             # from the output so that they don't get included in the library
12738             # dependencies.
12739             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"'
12740             ;;
12741           *)
12742             if test "$GXX" = yes; then
12743               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'
12744             else
12745               # FIXME: insert proper C++ library support
12746               ld_shlibs_CXX=no
12747             fi
12748             ;;
12749         esac
12750         ;;
12752       hpux10*|hpux11*)
12753         if test $with_gnu_ld = no; then
12754           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12755           hardcode_libdir_separator_CXX=:
12757           case $host_cpu in
12758             hppa*64*|ia64*)
12759               ;;
12760             *)
12761               export_dynamic_flag_spec_CXX='${wl}-E'
12762               ;;
12763           esac
12764         fi
12765         case $host_cpu in
12766           hppa*64*|ia64*)
12767             hardcode_direct_CXX=no
12768             hardcode_shlibpath_var_CXX=no
12769             ;;
12770           *)
12771             hardcode_direct_CXX=yes
12772             hardcode_direct_absolute_CXX=yes
12773             hardcode_minus_L_CXX=yes # Not in the search PATH,
12774                                                  # but as the default
12775                                                  # location of the library.
12776             ;;
12777         esac
12779         case $cc_basename in
12780           CC*)
12781             # FIXME: insert proper C++ library support
12782             ld_shlibs_CXX=no
12783             ;;
12784           aCC*)
12785             case $host_cpu in
12786               hppa*64*)
12787                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12788                 ;;
12789               ia64*)
12790                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12791                 ;;
12792               *)
12793                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12794                 ;;
12795             esac
12796             # Commands to make compiler produce verbose output that lists
12797             # what "hidden" libraries, object files and flags are used when
12798             # linking a shared library.
12799             #
12800             # There doesn't appear to be a way to prevent this compiler from
12801             # explicitly linking system object files so we need to strip them
12802             # from the output so that they don't get included in the library
12803             # dependencies.
12804             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"'
12805             ;;
12806           *)
12807             if test "$GXX" = yes; then
12808               if test $with_gnu_ld = no; then
12809                 case $host_cpu in
12810                   hppa*64*)
12811                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12812                     ;;
12813                   ia64*)
12814                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12815                     ;;
12816                   *)
12817                     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'
12818                     ;;
12819                 esac
12820               fi
12821             else
12822               # FIXME: insert proper C++ library support
12823               ld_shlibs_CXX=no
12824             fi
12825             ;;
12826         esac
12827         ;;
12829       interix[3-9]*)
12830         hardcode_direct_CXX=no
12831         hardcode_shlibpath_var_CXX=no
12832         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12833         export_dynamic_flag_spec_CXX='${wl}-E'
12834         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12835         # Instead, shared libraries are loaded at an image base (0x10000000 by
12836         # default) and relocated if they conflict, which is a slow very memory
12837         # consuming and fragmenting process.  To avoid this, we pick a random,
12838         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12839         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12840         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'
12841         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'
12842         ;;
12843       irix5* | irix6*)
12844         case $cc_basename in
12845           CC*)
12846             # SGI C++
12847             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'
12849             # Archives containing C++ object files must be created using
12850             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12851             # necessary to make sure instantiated templates are included
12852             # in the archive.
12853             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12854             ;;
12855           *)
12856             if test "$GXX" = yes; then
12857               if test "$with_gnu_ld" = no; then
12858                 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'
12859               else
12860                 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'
12861               fi
12862             fi
12863             link_all_deplibs_CXX=yes
12864             ;;
12865         esac
12866         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12867         hardcode_libdir_separator_CXX=:
12868         inherit_rpath_CXX=yes
12869         ;;
12871       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12872         case $cc_basename in
12873           KCC*)
12874             # Kuck and Associates, Inc. (KAI) C++ Compiler
12876             # KCC will only create a shared library if the output file
12877             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12878             # to its proper name (with version) after linking.
12879             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'
12880             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'
12881             # Commands to make compiler produce verbose output that lists
12882             # what "hidden" libraries, object files and flags are used when
12883             # linking a shared library.
12884             #
12885             # There doesn't appear to be a way to prevent this compiler from
12886             # explicitly linking system object files so we need to strip them
12887             # from the output so that they don't get included in the library
12888             # dependencies.
12889             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"'
12891             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12892             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12894             # Archives containing C++ object files must be created using
12895             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12896             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12897             ;;
12898           icpc* | ecpc* )
12899             # Intel C++
12900             with_gnu_ld=yes
12901             # version 8.0 and above of icpc choke on multiply defined symbols
12902             # if we add $predep_objects and $postdep_objects, however 7.1 and
12903             # earlier do not add the objects themselves.
12904             case `$CC -V 2>&1` in
12905               *"Version 7."*)
12906                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12907                 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'
12908                 ;;
12909               *)  # Version 8.0 or newer
12910                 tmp_idyn=
12911                 case $host_cpu in
12912                   ia64*) tmp_idyn=' -i_dynamic';;
12913                 esac
12914                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915                 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'
12916                 ;;
12917             esac
12918             archive_cmds_need_lc_CXX=no
12919             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12920             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12921             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12922             ;;
12923           pgCC* | pgcpp*)
12924             # Portland Group C++ compiler
12925             case `$CC -V` in
12926             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12927               prelink_cmds_CXX='tpldir=Template.dir~
12928                 rm -rf $tpldir~
12929                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12930                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12931               old_archive_cmds_CXX='tpldir=Template.dir~
12932                 rm -rf $tpldir~
12933                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12934                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12935                 $RANLIB $oldlib'
12936               archive_cmds_CXX='tpldir=Template.dir~
12937                 rm -rf $tpldir~
12938                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12939                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12940               archive_expsym_cmds_CXX='tpldir=Template.dir~
12941                 rm -rf $tpldir~
12942                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12943                 $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'
12944               ;;
12945             *) # Version 6 and above use weak symbols
12946               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12947               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'
12948               ;;
12949             esac
12951             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12952             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12953             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'
12954             ;;
12955           cxx*)
12956             # Compaq C++
12957             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12958             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'
12960             runpath_var=LD_RUN_PATH
12961             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12962             hardcode_libdir_separator_CXX=:
12964             # Commands to make compiler produce verbose output that lists
12965             # what "hidden" libraries, object files and flags are used when
12966             # linking a shared library.
12967             #
12968             # There doesn't appear to be a way to prevent this compiler from
12969             # explicitly linking system object files so we need to strip them
12970             # from the output so that they don't get included in the library
12971             # dependencies.
12972             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'
12973             ;;
12974           xl* | mpixl* | bgxl*)
12975             # IBM XL 8.0 on PPC, with GNU ld
12976             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12977             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12978             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12979             if test "x$supports_anon_versioning" = xyes; then
12980               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12981                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12982                 echo "local: *; };" >> $output_objdir/$libname.ver~
12983                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12984             fi
12985             ;;
12986           *)
12987             case `$CC -V 2>&1 | sed 5q` in
12988             *Sun\ C*)
12989               # Sun C++ 5.9
12990               no_undefined_flag_CXX=' -zdefs'
12991               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12992               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'
12993               hardcode_libdir_flag_spec_CXX='-R$libdir'
12994               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'
12995               compiler_needs_object_CXX=yes
12997               # Not sure whether something based on
12998               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12999               # would be better.
13000               output_verbose_link_cmd='func_echo_all'
13002               # Archives containing C++ object files must be created using
13003               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13004               # necessary to make sure instantiated templates are included
13005               # in the archive.
13006               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13007               ;;
13008             esac
13009             ;;
13010         esac
13011         ;;
13013       lynxos*)
13014         # FIXME: insert proper C++ library support
13015         ld_shlibs_CXX=no
13016         ;;
13018       m88k*)
13019         # FIXME: insert proper C++ library support
13020         ld_shlibs_CXX=no
13021         ;;
13023       mvs*)
13024         case $cc_basename in
13025           cxx*)
13026             # FIXME: insert proper C++ library support
13027             ld_shlibs_CXX=no
13028             ;;
13029           *)
13030             # FIXME: insert proper C++ library support
13031             ld_shlibs_CXX=no
13032             ;;
13033         esac
13034         ;;
13036       netbsd*)
13037         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13038           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13039           wlarc=
13040           hardcode_libdir_flag_spec_CXX='-R$libdir'
13041           hardcode_direct_CXX=yes
13042           hardcode_shlibpath_var_CXX=no
13043         fi
13044         # Workaround some broken pre-1.5 toolchains
13045         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13046         ;;
13048       *nto* | *qnx*)
13049         ld_shlibs_CXX=yes
13050         ;;
13052       openbsd2*)
13053         # C++ shared libraries are fairly broken
13054         ld_shlibs_CXX=no
13055         ;;
13057       openbsd*)
13058         if test -f /usr/libexec/ld.so; then
13059           hardcode_direct_CXX=yes
13060           hardcode_shlibpath_var_CXX=no
13061           hardcode_direct_absolute_CXX=yes
13062           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13063           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13064           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13065             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13066             export_dynamic_flag_spec_CXX='${wl}-E'
13067             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13068           fi
13069           output_verbose_link_cmd=func_echo_all
13070         else
13071           ld_shlibs_CXX=no
13072         fi
13073         ;;
13075       osf3* | osf4* | osf5*)
13076         case $cc_basename in
13077           KCC*)
13078             # Kuck and Associates, Inc. (KAI) C++ Compiler
13080             # KCC will only create a shared library if the output file
13081             # ends with ".so" (or ".sl" for HP-UX), so rename the library
13082             # to its proper name (with version) after linking.
13083             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'
13085             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13086             hardcode_libdir_separator_CXX=:
13088             # Archives containing C++ object files must be created using
13089             # the KAI C++ compiler.
13090             case $host in
13091               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13092               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13093             esac
13094             ;;
13095           RCC*)
13096             # Rational C++ 2.4.1
13097             # FIXME: insert proper C++ library support
13098             ld_shlibs_CXX=no
13099             ;;
13100           cxx*)
13101             case $host in
13102               osf3*)
13103                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13104                 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'
13105                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13106                 ;;
13107               *)
13108                 allow_undefined_flag_CXX=' -expect_unresolved \*'
13109                 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'
13110                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13111                   echo "-hidden">> $lib.exp~
13112                   $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~
13113                   $RM $lib.exp'
13114                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13115                 ;;
13116             esac
13118             hardcode_libdir_separator_CXX=:
13120             # Commands to make compiler produce verbose output that lists
13121             # what "hidden" libraries, object files and flags are used when
13122             # linking a shared library.
13123             #
13124             # There doesn't appear to be a way to prevent this compiler from
13125             # explicitly linking system object files so we need to strip them
13126             # from the output so that they don't get included in the library
13127             # dependencies.
13128             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"'
13129             ;;
13130           *)
13131             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13132               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13133               case $host in
13134                 osf3*)
13135                   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'
13136                   ;;
13137                 *)
13138                   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'
13139                   ;;
13140               esac
13142               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13143               hardcode_libdir_separator_CXX=:
13145               # Commands to make compiler produce verbose output that lists
13146               # what "hidden" libraries, object files and flags are used when
13147               # linking a shared library.
13148               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13150             else
13151               # FIXME: insert proper C++ library support
13152               ld_shlibs_CXX=no
13153             fi
13154             ;;
13155         esac
13156         ;;
13158       psos*)
13159         # FIXME: insert proper C++ library support
13160         ld_shlibs_CXX=no
13161         ;;
13163       sunos4*)
13164         case $cc_basename in
13165           CC*)
13166             # Sun C++ 4.x
13167             # FIXME: insert proper C++ library support
13168             ld_shlibs_CXX=no
13169             ;;
13170           lcc*)
13171             # Lucid
13172             # FIXME: insert proper C++ library support
13173             ld_shlibs_CXX=no
13174             ;;
13175           *)
13176             # FIXME: insert proper C++ library support
13177             ld_shlibs_CXX=no
13178             ;;
13179         esac
13180         ;;
13182       solaris*)
13183         case $cc_basename in
13184           CC* | sunCC*)
13185             # Sun C++ 4.2, 5.x and Centerline C++
13186             archive_cmds_need_lc_CXX=yes
13187             no_undefined_flag_CXX=' -zdefs'
13188             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13189             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13190               $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'
13192             hardcode_libdir_flag_spec_CXX='-R$libdir'
13193             hardcode_shlibpath_var_CXX=no
13194             case $host_os in
13195               solaris2.[0-5] | solaris2.[0-5].*) ;;
13196               *)
13197                 # The compiler driver will combine and reorder linker options,
13198                 # but understands `-z linker_flag'.
13199                 # Supported since Solaris 2.6 (maybe 2.5.1?)
13200                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13201                 ;;
13202             esac
13203             link_all_deplibs_CXX=yes
13205             output_verbose_link_cmd='func_echo_all'
13207             # Archives containing C++ object files must be created using
13208             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13209             # necessary to make sure instantiated templates are included
13210             # in the archive.
13211             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13212             ;;
13213           gcx*)
13214             # Green Hills C++ Compiler
13215             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13217             # The C++ compiler must be used to create the archive.
13218             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13219             ;;
13220           *)
13221             # GNU C++ compiler with Solaris linker
13222             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13223               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13224               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13225                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13226                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13227                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13229                 # Commands to make compiler produce verbose output that lists
13230                 # what "hidden" libraries, object files and flags are used when
13231                 # linking a shared library.
13232                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13233               else
13234                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13235                 # platform.
13236                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13237                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13238                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13240                 # Commands to make compiler produce verbose output that lists
13241                 # what "hidden" libraries, object files and flags are used when
13242                 # linking a shared library.
13243                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13244               fi
13246               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13247               case $host_os in
13248                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13249                 *)
13250                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13251                   ;;
13252               esac
13253             fi
13254             ;;
13255         esac
13256         ;;
13258     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13259       no_undefined_flag_CXX='${wl}-z,text'
13260       archive_cmds_need_lc_CXX=no
13261       hardcode_shlibpath_var_CXX=no
13262       runpath_var='LD_RUN_PATH'
13264       case $cc_basename in
13265         CC*)
13266           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13267           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13268           ;;
13269         *)
13270           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13271           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13272           ;;
13273       esac
13274       ;;
13276       sysv5* | sco3.2v5* | sco5v6*)
13277         # Note: We can NOT use -z defs as we might desire, because we do not
13278         # link with -lc, and that would cause any symbols used from libc to
13279         # always be unresolved, which means just about no library would
13280         # ever link correctly.  If we're not using GNU ld we use -z text
13281         # though, which does catch some bad symbols but isn't as heavy-handed
13282         # as -z defs.
13283         no_undefined_flag_CXX='${wl}-z,text'
13284         allow_undefined_flag_CXX='${wl}-z,nodefs'
13285         archive_cmds_need_lc_CXX=no
13286         hardcode_shlibpath_var_CXX=no
13287         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13288         hardcode_libdir_separator_CXX=':'
13289         link_all_deplibs_CXX=yes
13290         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13291         runpath_var='LD_RUN_PATH'
13293         case $cc_basename in
13294           CC*)
13295             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13296             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13297             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13298               '"$old_archive_cmds_CXX"
13299             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13300               '"$reload_cmds_CXX"
13301             ;;
13302           *)
13303             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13304             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13305             ;;
13306         esac
13307       ;;
13309       tandem*)
13310         case $cc_basename in
13311           NCC*)
13312             # NonStop-UX NCC 3.20
13313             # FIXME: insert proper C++ library support
13314             ld_shlibs_CXX=no
13315             ;;
13316           *)
13317             # FIXME: insert proper C++ library support
13318             ld_shlibs_CXX=no
13319             ;;
13320         esac
13321         ;;
13323       vxworks*)
13324         # FIXME: insert proper C++ library support
13325         ld_shlibs_CXX=no
13326         ;;
13328       *)
13329         # FIXME: insert proper C++ library support
13330         ld_shlibs_CXX=no
13331         ;;
13332     esac
13334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13335 $as_echo "$ld_shlibs_CXX" >&6; }
13336     test "$ld_shlibs_CXX" = no && can_build_shared=no
13338     GCC_CXX="$GXX"
13339     LD_CXX="$LD"
13341     ## CAVEAT EMPTOR:
13342     ## There is no encapsulation within the following macros, do not change
13343     ## the running order or otherwise move them around unless you know exactly
13344     ## what you are doing...
13345     # Dependencies to place before and after the object being linked:
13346 predep_objects_CXX=
13347 postdep_objects_CXX=
13348 predeps_CXX=
13349 postdeps_CXX=
13350 compiler_lib_search_path_CXX=
13352 cat > conftest.$ac_ext <<_LT_EOF
13353 class Foo
13355 public:
13356   Foo (void) { a = 0; }
13357 private:
13358   int a;
13360 _LT_EOF
13363 _lt_libdeps_save_CFLAGS=$CFLAGS
13364 case "$CC $CFLAGS " in #(
13365 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13366 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13367 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13368 esac
13370 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13371   (eval $ac_compile) 2>&5
13372   ac_status=$?
13373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13374   test $ac_status = 0; }; then
13375   # Parse the compiler output and extract the necessary
13376   # objects, libraries and library flags.
13378   # Sentinel used to keep track of whether or not we are before
13379   # the conftest object file.
13380   pre_test_object_deps_done=no
13382   for p in `eval "$output_verbose_link_cmd"`; do
13383     case ${prev}${p} in
13385     -L* | -R* | -l*)
13386        # Some compilers place space between "-{L,R}" and the path.
13387        # Remove the space.
13388        if test $p = "-L" ||
13389           test $p = "-R"; then
13390          prev=$p
13391          continue
13392        fi
13394        # Expand the sysroot to ease extracting the directories later.
13395        if test -z "$prev"; then
13396          case $p in
13397          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13398          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13399          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13400          esac
13401        fi
13402        case $p in
13403        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13404        esac
13405        if test "$pre_test_object_deps_done" = no; then
13406          case ${prev} in
13407          -L | -R)
13408            # Internal compiler library paths should come after those
13409            # provided the user.  The postdeps already come after the
13410            # user supplied libs so there is no need to process them.
13411            if test -z "$compiler_lib_search_path_CXX"; then
13412              compiler_lib_search_path_CXX="${prev}${p}"
13413            else
13414              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13415            fi
13416            ;;
13417          # The "-l" case would never come before the object being
13418          # linked, so don't bother handling this case.
13419          esac
13420        else
13421          if test -z "$postdeps_CXX"; then
13422            postdeps_CXX="${prev}${p}"
13423          else
13424            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13425          fi
13426        fi
13427        prev=
13428        ;;
13430     *.lto.$objext) ;; # Ignore GCC LTO objects
13431     *.$objext)
13432        # This assumes that the test object file only shows up
13433        # once in the compiler output.
13434        if test "$p" = "conftest.$objext"; then
13435          pre_test_object_deps_done=yes
13436          continue
13437        fi
13439        if test "$pre_test_object_deps_done" = no; then
13440          if test -z "$predep_objects_CXX"; then
13441            predep_objects_CXX="$p"
13442          else
13443            predep_objects_CXX="$predep_objects_CXX $p"
13444          fi
13445        else
13446          if test -z "$postdep_objects_CXX"; then
13447            postdep_objects_CXX="$p"
13448          else
13449            postdep_objects_CXX="$postdep_objects_CXX $p"
13450          fi
13451        fi
13452        ;;
13454     *) ;; # Ignore the rest.
13456     esac
13457   done
13459   # Clean up.
13460   rm -f a.out a.exe
13461 else
13462   echo "libtool.m4: error: problem compiling CXX test program"
13465 $RM -f confest.$objext
13466 CFLAGS=$_lt_libdeps_save_CFLAGS
13468 # PORTME: override above test on systems where it is broken
13469 case $host_os in
13470 interix[3-9]*)
13471   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13472   # hack all around it, let's just trust "g++" to DTRT.
13473   predep_objects_CXX=
13474   postdep_objects_CXX=
13475   postdeps_CXX=
13476   ;;
13478 linux*)
13479   case `$CC -V 2>&1 | sed 5q` in
13480   *Sun\ C*)
13481     # Sun C++ 5.9
13483     # The more standards-conforming stlport4 library is
13484     # incompatible with the Cstd library. Avoid specifying
13485     # it if it's in CXXFLAGS. Ignore libCrun as
13486     # -library=stlport4 depends on it.
13487     case " $CXX $CXXFLAGS " in
13488     *" -library=stlport4 "*)
13489       solaris_use_stlport4=yes
13490       ;;
13491     esac
13493     if test "$solaris_use_stlport4" != yes; then
13494       postdeps_CXX='-library=Cstd -library=Crun'
13495     fi
13496     ;;
13497   esac
13498   ;;
13500 solaris*)
13501   case $cc_basename in
13502   CC* | sunCC*)
13503     # The more standards-conforming stlport4 library is
13504     # incompatible with the Cstd library. Avoid specifying
13505     # it if it's in CXXFLAGS. Ignore libCrun as
13506     # -library=stlport4 depends on it.
13507     case " $CXX $CXXFLAGS " in
13508     *" -library=stlport4 "*)
13509       solaris_use_stlport4=yes
13510       ;;
13511     esac
13513     # Adding this requires a known-good setup of shared libraries for
13514     # Sun compiler versions before 5.6, else PIC objects from an old
13515     # archive will be linked into the output, leading to subtle bugs.
13516     if test "$solaris_use_stlport4" != yes; then
13517       postdeps_CXX='-library=Cstd -library=Crun'
13518     fi
13519     ;;
13520   esac
13521   ;;
13522 esac
13525 case " $postdeps_CXX " in
13526 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13527 esac
13528  compiler_lib_search_dirs_CXX=
13529 if test -n "${compiler_lib_search_path_CXX}"; then
13530  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13533     
13534     
13535     
13538     
13539     
13540     
13543     
13544     
13545     
13548     
13549     
13550     
13553     
13554     
13555     
13558     
13559     
13560     
13563     lt_prog_compiler_wl_CXX=
13564 lt_prog_compiler_pic_CXX=
13565 lt_prog_compiler_static_CXX=
13568   # C++ specific cases for pic, static, wl, etc.
13569   if test "$GXX" = yes; then
13570     lt_prog_compiler_wl_CXX='-Wl,'
13571     lt_prog_compiler_static_CXX='-static'
13573     case $host_os in
13574     aix*)
13575       # All AIX code is PIC.
13576       if test "$host_cpu" = ia64; then
13577         # AIX 5 now supports IA64 processor
13578         lt_prog_compiler_static_CXX='-Bstatic'
13579       fi
13580       ;;
13582     amigaos*)
13583       case $host_cpu in
13584       powerpc)
13585             # see comment about AmigaOS4 .so support
13586             lt_prog_compiler_pic_CXX='-fPIC'
13587         ;;
13588       m68k)
13589             # FIXME: we need at least 68020 code to build shared libraries, but
13590             # adding the `-m68020' flag to GCC prevents building anything better,
13591             # like `-m68040'.
13592             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13593         ;;
13594       esac
13595       ;;
13597     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13598       # PIC is the default for these OSes.
13599       ;;
13600     mingw* | cygwin* | os2* | pw32* | cegcc*)
13601       # This hack is so that the source file can tell whether it is being
13602       # built for inclusion in a dll (and should export symbols for example).
13603       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13604       # (--disable-auto-import) libraries
13605       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13606       ;;
13607     darwin* | rhapsody*)
13608       # PIC is the default on this platform
13609       # Common symbols not allowed in MH_DYLIB files
13610       lt_prog_compiler_pic_CXX='-fno-common'
13611       ;;
13612     *djgpp*)
13613       # DJGPP does not support shared libraries at all
13614       lt_prog_compiler_pic_CXX=
13615       ;;
13616     haiku*)
13617       # PIC is the default for Haiku.
13618       # The "-static" flag exists, but is broken.
13619       lt_prog_compiler_static_CXX=
13620       ;;
13621     interix[3-9]*)
13622       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13623       # Instead, we relocate shared libraries at runtime.
13624       ;;
13625     sysv4*MP*)
13626       if test -d /usr/nec; then
13627         lt_prog_compiler_pic_CXX=-Kconform_pic
13628       fi
13629       ;;
13630     hpux*)
13631       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13632       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13633       # sets the default TLS model and affects inlining.
13634       case $host_cpu in
13635       hppa*64*)
13636         ;;
13637       *)
13638         lt_prog_compiler_pic_CXX='-fPIC'
13639         ;;
13640       esac
13641       ;;
13642     *qnx* | *nto*)
13643       # QNX uses GNU C++, but need to define -shared option too, otherwise
13644       # it will coredump.
13645       lt_prog_compiler_pic_CXX='-fPIC -shared'
13646       ;;
13647     *)
13648       lt_prog_compiler_pic_CXX='-fPIC'
13649       ;;
13650     esac
13651   else
13652     case $host_os in
13653       aix[4-9]*)
13654         # All AIX code is PIC.
13655         if test "$host_cpu" = ia64; then
13656           # AIX 5 now supports IA64 processor
13657           lt_prog_compiler_static_CXX='-Bstatic'
13658         else
13659           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13660         fi
13661         ;;
13662       chorus*)
13663         case $cc_basename in
13664         cxch68*)
13665           # Green Hills C++ Compiler
13666           # _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"
13667           ;;
13668         esac
13669         ;;
13670       mingw* | cygwin* | os2* | pw32* | cegcc*)
13671         # This hack is so that the source file can tell whether it is being
13672         # built for inclusion in a dll (and should export symbols for example).
13673         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13674         ;;
13675       dgux*)
13676         case $cc_basename in
13677           ec++*)
13678             lt_prog_compiler_pic_CXX='-KPIC'
13679             ;;
13680           ghcx*)
13681             # Green Hills C++ Compiler
13682             lt_prog_compiler_pic_CXX='-pic'
13683             ;;
13684           *)
13685             ;;
13686         esac
13687         ;;
13688       freebsd* | dragonfly*)
13689         # FreeBSD uses GNU C++
13690         ;;
13691       hpux9* | hpux10* | hpux11*)
13692         case $cc_basename in
13693           CC*)
13694             lt_prog_compiler_wl_CXX='-Wl,'
13695             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13696             if test "$host_cpu" != ia64; then
13697               lt_prog_compiler_pic_CXX='+Z'
13698             fi
13699             ;;
13700           aCC*)
13701             lt_prog_compiler_wl_CXX='-Wl,'
13702             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13703             case $host_cpu in
13704             hppa*64*|ia64*)
13705               # +Z the default
13706               ;;
13707             *)
13708               lt_prog_compiler_pic_CXX='+Z'
13709               ;;
13710             esac
13711             ;;
13712           *)
13713             ;;
13714         esac
13715         ;;
13716       interix*)
13717         # This is c89, which is MS Visual C++ (no shared libs)
13718         # Anyone wants to do a port?
13719         ;;
13720       irix5* | irix6* | nonstopux*)
13721         case $cc_basename in
13722           CC*)
13723             lt_prog_compiler_wl_CXX='-Wl,'
13724             lt_prog_compiler_static_CXX='-non_shared'
13725             # CC pic flag -KPIC is the default.
13726             ;;
13727           *)
13728             ;;
13729         esac
13730         ;;
13731       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13732         case $cc_basename in
13733           KCC*)
13734             # KAI C++ Compiler
13735             lt_prog_compiler_wl_CXX='--backend -Wl,'
13736             lt_prog_compiler_pic_CXX='-fPIC'
13737             ;;
13738           ecpc* )
13739             # old Intel C++ for x86_64 which still supported -KPIC.
13740             lt_prog_compiler_wl_CXX='-Wl,'
13741             lt_prog_compiler_pic_CXX='-KPIC'
13742             lt_prog_compiler_static_CXX='-static'
13743             ;;
13744           icpc* )
13745             # Intel C++, used to be incompatible with GCC.
13746             # ICC 10 doesn't accept -KPIC any more.
13747             lt_prog_compiler_wl_CXX='-Wl,'
13748             lt_prog_compiler_pic_CXX='-fPIC'
13749             lt_prog_compiler_static_CXX='-static'
13750             ;;
13751           pgCC* | pgcpp*)
13752             # Portland Group C++ compiler
13753             lt_prog_compiler_wl_CXX='-Wl,'
13754             lt_prog_compiler_pic_CXX='-fpic'
13755             lt_prog_compiler_static_CXX='-Bstatic'
13756             ;;
13757           cxx*)
13758             # Compaq C++
13759             # Make sure the PIC flag is empty.  It appears that all Alpha
13760             # Linux and Compaq Tru64 Unix objects are PIC.
13761             lt_prog_compiler_pic_CXX=
13762             lt_prog_compiler_static_CXX='-non_shared'
13763             ;;
13764           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13765             # IBM XL 8.0, 9.0 on PPC and BlueGene
13766             lt_prog_compiler_wl_CXX='-Wl,'
13767             lt_prog_compiler_pic_CXX='-qpic'
13768             lt_prog_compiler_static_CXX='-qstaticlink'
13769             ;;
13770           *)
13771             case `$CC -V 2>&1 | sed 5q` in
13772             *Sun\ C*)
13773               # Sun C++ 5.9
13774               lt_prog_compiler_pic_CXX='-KPIC'
13775               lt_prog_compiler_static_CXX='-Bstatic'
13776               lt_prog_compiler_wl_CXX='-Qoption ld '
13777               ;;
13778             esac
13779             ;;
13780         esac
13781         ;;
13782       lynxos*)
13783         ;;
13784       m88k*)
13785         ;;
13786       mvs*)
13787         case $cc_basename in
13788           cxx*)
13789             lt_prog_compiler_pic_CXX='-W c,exportall'
13790             ;;
13791           *)
13792             ;;
13793         esac
13794         ;;
13795       netbsd* | netbsdelf*-gnu)
13796         ;;
13797       *qnx* | *nto*)
13798         # QNX uses GNU C++, but need to define -shared option too, otherwise
13799         # it will coredump.
13800         lt_prog_compiler_pic_CXX='-fPIC -shared'
13801         ;;
13802       osf3* | osf4* | osf5*)
13803         case $cc_basename in
13804           KCC*)
13805             lt_prog_compiler_wl_CXX='--backend -Wl,'
13806             ;;
13807           RCC*)
13808             # Rational C++ 2.4.1
13809             lt_prog_compiler_pic_CXX='-pic'
13810             ;;
13811           cxx*)
13812             # Digital/Compaq C++
13813             lt_prog_compiler_wl_CXX='-Wl,'
13814             # Make sure the PIC flag is empty.  It appears that all Alpha
13815             # Linux and Compaq Tru64 Unix objects are PIC.
13816             lt_prog_compiler_pic_CXX=
13817             lt_prog_compiler_static_CXX='-non_shared'
13818             ;;
13819           *)
13820             ;;
13821         esac
13822         ;;
13823       psos*)
13824         ;;
13825       solaris*)
13826         case $cc_basename in
13827           CC* | sunCC*)
13828             # Sun C++ 4.2, 5.x and Centerline C++
13829             lt_prog_compiler_pic_CXX='-KPIC'
13830             lt_prog_compiler_static_CXX='-Bstatic'
13831             lt_prog_compiler_wl_CXX='-Qoption ld '
13832             ;;
13833           gcx*)
13834             # Green Hills C++ Compiler
13835             lt_prog_compiler_pic_CXX='-PIC'
13836             ;;
13837           *)
13838             ;;
13839         esac
13840         ;;
13841       sunos4*)
13842         case $cc_basename in
13843           CC*)
13844             # Sun C++ 4.x
13845             lt_prog_compiler_pic_CXX='-pic'
13846             lt_prog_compiler_static_CXX='-Bstatic'
13847             ;;
13848           lcc*)
13849             # Lucid
13850             lt_prog_compiler_pic_CXX='-pic'
13851             ;;
13852           *)
13853             ;;
13854         esac
13855         ;;
13856       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13857         case $cc_basename in
13858           CC*)
13859             lt_prog_compiler_wl_CXX='-Wl,'
13860             lt_prog_compiler_pic_CXX='-KPIC'
13861             lt_prog_compiler_static_CXX='-Bstatic'
13862             ;;
13863         esac
13864         ;;
13865       tandem*)
13866         case $cc_basename in
13867           NCC*)
13868             # NonStop-UX NCC 3.20
13869             lt_prog_compiler_pic_CXX='-KPIC'
13870             ;;
13871           *)
13872             ;;
13873         esac
13874         ;;
13875       vxworks*)
13876         ;;
13877       *)
13878         lt_prog_compiler_can_build_shared_CXX=no
13879         ;;
13880     esac
13881   fi
13883 case $host_os in
13884   # For platforms which do not support PIC, -DPIC is meaningless:
13885   *djgpp*)
13886     lt_prog_compiler_pic_CXX=
13887     ;;
13888   *)
13889     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13890     ;;
13891 esac
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13894 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13895 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13896   $as_echo_n "(cached) " >&6
13897 else
13898   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13901 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13902 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13905 # Check to make sure the PIC flag actually works.
13907 if test -n "$lt_prog_compiler_pic_CXX"; then
13908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13909 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13910 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13911   $as_echo_n "(cached) " >&6
13912 else
13913   lt_cv_prog_compiler_pic_works_CXX=no
13914    ac_outfile=conftest.$ac_objext
13915    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13916    lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13917    # Insert the option either (1) after the last *FLAGS variable, or
13918    # (2) before a word containing "conftest.", or (3) at the end.
13919    # Note that $ac_compile itself does not contain backslashes and begins
13920    # with a dollar sign (not a hyphen), so the echo should work correctly.
13921    # The option is referenced via a variable to avoid confusing sed.
13922    lt_compile=`echo "$ac_compile" | $SED \
13923    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13924    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13925    -e 's:$: $lt_compiler_flag:'`
13926    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13927    (eval "$lt_compile" 2>conftest.err)
13928    ac_status=$?
13929    cat conftest.err >&5
13930    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931    if (exit $ac_status) && test -s "$ac_outfile"; then
13932      # The compiler can only warn and ignore the option if not recognized
13933      # So say no if there are warnings other than the usual output.
13934      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13935      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13936      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13937        lt_cv_prog_compiler_pic_works_CXX=yes
13938      fi
13939    fi
13940    $RM conftest*
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13944 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13946 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13947     case $lt_prog_compiler_pic_CXX in
13948      "" | " "*) ;;
13949      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13950      esac
13951 else
13952     lt_prog_compiler_pic_CXX=
13953      lt_prog_compiler_can_build_shared_CXX=no
13963 # Check to make sure the static flag actually works.
13965 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13968 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13969   $as_echo_n "(cached) " >&6
13970 else
13971   lt_cv_prog_compiler_static_works_CXX=no
13972    save_LDFLAGS="$LDFLAGS"
13973    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13974    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13975    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13976      # The linker can only warn and ignore the option if not recognized
13977      # So say no if there are warnings
13978      if test -s conftest.err; then
13979        # Append any errors to the config.log.
13980        cat conftest.err 1>&5
13981        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13982        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13983        if diff conftest.exp conftest.er2 >/dev/null; then
13984          lt_cv_prog_compiler_static_works_CXX=yes
13985        fi
13986      else
13987        lt_cv_prog_compiler_static_works_CXX=yes
13988      fi
13989    fi
13990    $RM -r conftest*
13991    LDFLAGS="$save_LDFLAGS"
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13995 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13997 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13998     :
13999 else
14000     lt_prog_compiler_static_CXX=
14006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14008 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14009   $as_echo_n "(cached) " >&6
14010 else
14011   lt_cv_prog_compiler_c_o_CXX=no
14012    $RM -r conftest 2>/dev/null
14013    mkdir conftest
14014    cd conftest
14015    mkdir out
14016    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14018    lt_compiler_flag="-o out/conftest2.$ac_objext"
14019    # Insert the option either (1) after the last *FLAGS variable, or
14020    # (2) before a word containing "conftest.", or (3) at the end.
14021    # Note that $ac_compile itself does not contain backslashes and begins
14022    # with a dollar sign (not a hyphen), so the echo should work correctly.
14023    lt_compile=`echo "$ac_compile" | $SED \
14024    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14025    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14026    -e 's:$: $lt_compiler_flag:'`
14027    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14028    (eval "$lt_compile" 2>out/conftest.err)
14029    ac_status=$?
14030    cat out/conftest.err >&5
14031    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14033    then
14034      # The compiler can only warn and ignore the option if not recognized
14035      # So say no if there are warnings
14036      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14037      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14038      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14039        lt_cv_prog_compiler_c_o_CXX=yes
14040      fi
14041    fi
14042    chmod u+w . 2>&5
14043    $RM conftest*
14044    # SGI C++ compiler will create directory out/ii_files/ for
14045    # template instantiation
14046    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14047    $RM out/* && rmdir out
14048    cd ..
14049    $RM -r conftest
14050    $RM conftest*
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14054 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14058     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14059 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14060 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14061   $as_echo_n "(cached) " >&6
14062 else
14063   lt_cv_prog_compiler_c_o_CXX=no
14064    $RM -r conftest 2>/dev/null
14065    mkdir conftest
14066    cd conftest
14067    mkdir out
14068    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14070    lt_compiler_flag="-o out/conftest2.$ac_objext"
14071    # Insert the option either (1) after the last *FLAGS variable, or
14072    # (2) before a word containing "conftest.", or (3) at the end.
14073    # Note that $ac_compile itself does not contain backslashes and begins
14074    # with a dollar sign (not a hyphen), so the echo should work correctly.
14075    lt_compile=`echo "$ac_compile" | $SED \
14076    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14077    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14078    -e 's:$: $lt_compiler_flag:'`
14079    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14080    (eval "$lt_compile" 2>out/conftest.err)
14081    ac_status=$?
14082    cat out/conftest.err >&5
14083    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14084    if (exit $ac_status) && test -s out/conftest2.$ac_objext
14085    then
14086      # The compiler can only warn and ignore the option if not recognized
14087      # So say no if there are warnings
14088      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14089      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14090      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14091        lt_cv_prog_compiler_c_o_CXX=yes
14092      fi
14093    fi
14094    chmod u+w . 2>&5
14095    $RM conftest*
14096    # SGI C++ compiler will create directory out/ii_files/ for
14097    # template instantiation
14098    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14099    $RM out/* && rmdir out
14100    cd ..
14101    $RM -r conftest
14102    $RM conftest*
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14106 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14111 hard_links="nottested"
14112 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14113   # do not overwrite the value of need_locks provided by the user
14114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14115 $as_echo_n "checking if we can lock with hard links... " >&6; }
14116   hard_links=yes
14117   $RM conftest*
14118   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14119   touch conftest.a
14120   ln conftest.a conftest.b 2>&5 || hard_links=no
14121   ln conftest.a conftest.b 2>/dev/null && hard_links=no
14122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14123 $as_echo "$hard_links" >&6; }
14124   if test "$hard_links" = no; then
14125     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14126 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14127     need_locks=warn
14128   fi
14129 else
14130   need_locks=no
14135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14136 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14138   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14139   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14140   case $host_os in
14141   aix[4-9]*)
14142     # If we're using GNU nm, then we don't want the "-C" option.
14143     # -C means demangle to AIX nm, but means don't demangle with GNU nm
14144     # Also, AIX nm treats weak defined symbols like other global defined
14145     # symbols, whereas GNU nm marks them as "W".
14146     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14147       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'
14148     else
14149       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'
14150     fi
14151     ;;
14152   pw32*)
14153     export_symbols_cmds_CXX="$ltdll_cmds"
14154     ;;
14155   cygwin* | mingw* | cegcc*)
14156     case $cc_basename in
14157     cl*)
14158       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14159       ;;
14160     *)
14161       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'
14162       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14163       ;;
14164     esac
14165     ;;
14166   linux* | k*bsd*-gnu | gnu*)
14167     link_all_deplibs_CXX=no
14168     ;;
14169   *)
14170     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14171     ;;
14172   esac
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14175 $as_echo "$ld_shlibs_CXX" >&6; }
14176 test "$ld_shlibs_CXX" = no && can_build_shared=no
14178 with_gnu_ld_CXX=$with_gnu_ld
14186 # Do we need to explicitly link libc?
14188 case "x$archive_cmds_need_lc_CXX" in
14189 x|xyes)
14190   # Assume -lc should be added
14191   archive_cmds_need_lc_CXX=yes
14193   if test "$enable_shared" = yes && test "$GCC" = yes; then
14194     case $archive_cmds_CXX in
14195     *'~'*)
14196       # FIXME: we may have to deal with multi-command sequences.
14197       ;;
14198     '$CC '*)
14199       # Test whether the compiler implicitly links with -lc since on some
14200       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14201       # to ld, don't add -lc before -lgcc.
14202       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14203 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14204 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14205   $as_echo_n "(cached) " >&6
14206 else
14207   $RM conftest*
14208         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14210         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14211   (eval $ac_compile) 2>&5
14212   ac_status=$?
14213   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14214   test $ac_status = 0; } 2>conftest.err; then
14215           soname=conftest
14216           lib=conftest
14217           libobjs=conftest.$ac_objext
14218           deplibs=
14219           wl=$lt_prog_compiler_wl_CXX
14220           pic_flag=$lt_prog_compiler_pic_CXX
14221           compiler_flags=-v
14222           linker_flags=-v
14223           verstring=
14224           output_objdir=.
14225           libname=conftest
14226           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14227           allow_undefined_flag_CXX=
14228           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14229   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14230   ac_status=$?
14231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14232   test $ac_status = 0; }
14233           then
14234             lt_cv_archive_cmds_need_lc_CXX=no
14235           else
14236             lt_cv_archive_cmds_need_lc_CXX=yes
14237           fi
14238           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14239         else
14240           cat conftest.err 1>&5
14241         fi
14242         $RM conftest*
14243         
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14246 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14247       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14248       ;;
14249     esac
14250   fi
14251   ;;
14252 esac
14315     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14316 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14318 library_names_spec=
14319 libname_spec='lib$name'
14320 soname_spec=
14321 shrext_cmds=".so"
14322 postinstall_cmds=
14323 postuninstall_cmds=
14324 finish_cmds=
14325 finish_eval=
14326 shlibpath_var=
14327 shlibpath_overrides_runpath=unknown
14328 version_type=none
14329 dynamic_linker="$host_os ld.so"
14330 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14331 need_lib_prefix=unknown
14332 hardcode_into_libs=no
14334 # when you set need_version to no, make sure it does not cause -set_version
14335 # flags to be left without arguments
14336 need_version=unknown
14338 case $host_os in
14339 aix3*)
14340   version_type=linux # correct to gnu/linux during the next big refactor
14341   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14342   shlibpath_var=LIBPATH
14344   # AIX 3 has no versioning support, so we append a major version to the name.
14345   soname_spec='${libname}${release}${shared_ext}$major'
14346   ;;
14348 aix[4-9]*)
14349   version_type=linux # correct to gnu/linux during the next big refactor
14350   need_lib_prefix=no
14351   need_version=no
14352   hardcode_into_libs=yes
14353   if test "$host_cpu" = ia64; then
14354     # AIX 5 supports IA64
14355     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14356     shlibpath_var=LD_LIBRARY_PATH
14357   else
14358     # With GCC up to 2.95.x, collect2 would create an import file
14359     # for dependence libraries.  The import file would start with
14360     # the line `#! .'.  This would cause the generated library to
14361     # depend on `.', always an invalid library.  This was fixed in
14362     # development snapshots of GCC prior to 3.0.
14363     case $host_os in
14364       aix4 | aix4.[01] | aix4.[01].*)
14365       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14366            echo ' yes '
14367            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14368         :
14369       else
14370         can_build_shared=no
14371       fi
14372       ;;
14373     esac
14374     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14375     # soname into executable. Probably we can add versioning support to
14376     # collect2, so additional links can be useful in future.
14377     if test "$aix_use_runtimelinking" = yes; then
14378       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14379       # instead of lib<name>.a to let people know that these are not
14380       # typical AIX shared libraries.
14381       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382     else
14383       # We preserve .a as extension for shared libraries through AIX4.2
14384       # and later when we are not doing run time linking.
14385       library_names_spec='${libname}${release}.a $libname.a'
14386       soname_spec='${libname}${release}${shared_ext}$major'
14387     fi
14388     shlibpath_var=LIBPATH
14389   fi
14390   ;;
14392 amigaos*)
14393   case $host_cpu in
14394   powerpc)
14395     # Since July 2007 AmigaOS4 officially supports .so libraries.
14396     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14398     ;;
14399   m68k)
14400     library_names_spec='$libname.ixlibrary $libname.a'
14401     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14402     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'
14403     ;;
14404   esac
14405   ;;
14407 beos*)
14408   library_names_spec='${libname}${shared_ext}'
14409   dynamic_linker="$host_os ld.so"
14410   shlibpath_var=LIBRARY_PATH
14411   ;;
14413 bsdi[45]*)
14414   version_type=linux # correct to gnu/linux during the next big refactor
14415   need_version=no
14416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417   soname_spec='${libname}${release}${shared_ext}$major'
14418   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14419   shlibpath_var=LD_LIBRARY_PATH
14420   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14421   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14422   # the default ld.so.conf also contains /usr/contrib/lib and
14423   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14424   # libtool to hard-code these into programs
14425   ;;
14427 cygwin* | mingw* | pw32* | cegcc*)
14428   version_type=windows
14429   shrext_cmds=".dll"
14430   need_version=no
14431   need_lib_prefix=no
14433   case $GCC,$cc_basename in
14434   yes,*)
14435     # gcc
14436     library_names_spec='$libname.dll.a'
14437     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14438     postinstall_cmds='base_file=`basename \${file}`~
14439       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14440       dldir=$destdir/`dirname \$dlpath`~
14441       test -d \$dldir || mkdir -p \$dldir~
14442       $install_prog $dir/$dlname \$dldir/$dlname~
14443       chmod a+x \$dldir/$dlname~
14444       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14445         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14446       fi'
14447     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14448       dlpath=$dir/\$dldll~
14449        $RM \$dlpath'
14450     shlibpath_overrides_runpath=yes
14452     case $host_os in
14453     cygwin*)
14454       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14455       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14457       ;;
14458     mingw* | cegcc*)
14459       # MinGW DLLs use traditional 'lib' prefix
14460       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14461       ;;
14462     pw32*)
14463       # pw32 DLLs use 'pw' prefix rather than 'lib'
14464       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14465       ;;
14466     esac
14467     dynamic_linker='Win32 ld.exe'
14468     ;;
14470   *,cl*)
14471     # Native MSVC
14472     libname_spec='$name'
14473     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14474     library_names_spec='${libname}.dll.lib'
14476     case $build_os in
14477     mingw*)
14478       sys_lib_search_path_spec=
14479       lt_save_ifs=$IFS
14480       IFS=';'
14481       for lt_path in $LIB
14482       do
14483         IFS=$lt_save_ifs
14484         # Let DOS variable expansion print the short 8.3 style file name.
14485         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14486         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14487       done
14488       IFS=$lt_save_ifs
14489       # Convert to MSYS style.
14490       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14491       ;;
14492     cygwin*)
14493       # Convert to unix form, then to dos form, then back to unix form
14494       # but this time dos style (no spaces!) so that the unix form looks
14495       # like /cygdrive/c/PROGRA~1:/cygdr...
14496       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14497       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14498       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14499       ;;
14500     *)
14501       sys_lib_search_path_spec="$LIB"
14502       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14503         # It is most probably a Windows format PATH.
14504         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14505       else
14506         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14507       fi
14508       # FIXME: find the short name or the path components, as spaces are
14509       # common. (e.g. "Program Files" -> "PROGRA~1")
14510       ;;
14511     esac
14513     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14514     postinstall_cmds='base_file=`basename \${file}`~
14515       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14516       dldir=$destdir/`dirname \$dlpath`~
14517       test -d \$dldir || mkdir -p \$dldir~
14518       $install_prog $dir/$dlname \$dldir/$dlname'
14519     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14520       dlpath=$dir/\$dldll~
14521        $RM \$dlpath'
14522     shlibpath_overrides_runpath=yes
14523     dynamic_linker='Win32 link.exe'
14524     ;;
14526   *)
14527     # Assume MSVC wrapper
14528     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14529     dynamic_linker='Win32 ld.exe'
14530     ;;
14531   esac
14532   # FIXME: first we should search . and the directory the executable is in
14533   shlibpath_var=PATH
14534   ;;
14536 darwin* | rhapsody*)
14537   dynamic_linker="$host_os dyld"
14538   version_type=darwin
14539   need_lib_prefix=no
14540   need_version=no
14541   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14542   soname_spec='${libname}${release}${major}$shared_ext'
14543   shlibpath_overrides_runpath=yes
14544   shlibpath_var=DYLD_LIBRARY_PATH
14545   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14547   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14548   ;;
14550 dgux*)
14551   version_type=linux # correct to gnu/linux during the next big refactor
14552   need_lib_prefix=no
14553   need_version=no
14554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14555   soname_spec='${libname}${release}${shared_ext}$major'
14556   shlibpath_var=LD_LIBRARY_PATH
14557   ;;
14559 freebsd* | dragonfly*)
14560   # DragonFly does not have aout.  When/if they implement a new
14561   # versioning mechanism, adjust this.
14562   if test -x /usr/bin/objformat; then
14563     objformat=`/usr/bin/objformat`
14564   else
14565     case $host_os in
14566     freebsd[23].*) objformat=aout ;;
14567     *) objformat=elf ;;
14568     esac
14569   fi
14570   version_type=freebsd-$objformat
14571   case $version_type in
14572     freebsd-elf*)
14573       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14574       need_version=no
14575       need_lib_prefix=no
14576       ;;
14577     freebsd-*)
14578       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14579       need_version=yes
14580       ;;
14581   esac
14582   shlibpath_var=LD_LIBRARY_PATH
14583   case $host_os in
14584   freebsd2.*)
14585     shlibpath_overrides_runpath=yes
14586     ;;
14587   freebsd3.[01]* | freebsdelf3.[01]*)
14588     shlibpath_overrides_runpath=yes
14589     hardcode_into_libs=yes
14590     ;;
14591   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14592   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14593     shlibpath_overrides_runpath=no
14594     hardcode_into_libs=yes
14595     ;;
14596   *) # from 4.6 on, and DragonFly
14597     shlibpath_overrides_runpath=yes
14598     hardcode_into_libs=yes
14599     ;;
14600   esac
14601   ;;
14603 gnu*)
14604   version_type=linux # correct to gnu/linux during the next big refactor
14605   need_lib_prefix=no
14606   need_version=no
14607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14608   soname_spec='${libname}${release}${shared_ext}$major'
14609   shlibpath_var=LD_LIBRARY_PATH
14610   shlibpath_overrides_runpath=no
14611   hardcode_into_libs=yes
14612   ;;
14614 haiku*)
14615   version_type=linux # correct to gnu/linux during the next big refactor
14616   need_lib_prefix=no
14617   need_version=no
14618   dynamic_linker="$host_os runtime_loader"
14619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14620   soname_spec='${libname}${release}${shared_ext}$major'
14621   shlibpath_var=LIBRARY_PATH
14622   shlibpath_overrides_runpath=yes
14623   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14624   hardcode_into_libs=yes
14625   ;;
14627 hpux9* | hpux10* | hpux11*)
14628   # Give a soname corresponding to the major version so that dld.sl refuses to
14629   # link against other versions.
14630   version_type=sunos
14631   need_lib_prefix=no
14632   need_version=no
14633   case $host_cpu in
14634   ia64*)
14635     shrext_cmds='.so'
14636     hardcode_into_libs=yes
14637     dynamic_linker="$host_os dld.so"
14638     shlibpath_var=LD_LIBRARY_PATH
14639     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14640     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14641     soname_spec='${libname}${release}${shared_ext}$major'
14642     if test "X$HPUX_IA64_MODE" = X32; then
14643       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14644     else
14645       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14646     fi
14647     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14648     ;;
14649   hppa*64*)
14650     shrext_cmds='.sl'
14651     hardcode_into_libs=yes
14652     dynamic_linker="$host_os dld.sl"
14653     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14654     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14655     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14656     soname_spec='${libname}${release}${shared_ext}$major'
14657     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14658     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14659     ;;
14660   *)
14661     shrext_cmds='.sl'
14662     dynamic_linker="$host_os dld.sl"
14663     shlibpath_var=SHLIB_PATH
14664     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14665     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14666     soname_spec='${libname}${release}${shared_ext}$major'
14667     ;;
14668   esac
14669   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14670   postinstall_cmds='chmod 555 $lib'
14671   # or fails outright, so override atomically:
14672   install_override_mode=555
14673   ;;
14675 interix[3-9]*)
14676   version_type=linux # correct to gnu/linux during the next big refactor
14677   need_lib_prefix=no
14678   need_version=no
14679   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14680   soname_spec='${libname}${release}${shared_ext}$major'
14681   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14682   shlibpath_var=LD_LIBRARY_PATH
14683   shlibpath_overrides_runpath=no
14684   hardcode_into_libs=yes
14685   ;;
14687 irix5* | irix6* | nonstopux*)
14688   case $host_os in
14689     nonstopux*) version_type=nonstopux ;;
14690     *)
14691         if test "$lt_cv_prog_gnu_ld" = yes; then
14692                 version_type=linux # correct to gnu/linux during the next big refactor
14693         else
14694                 version_type=irix
14695         fi ;;
14696   esac
14697   need_lib_prefix=no
14698   need_version=no
14699   soname_spec='${libname}${release}${shared_ext}$major'
14700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14701   case $host_os in
14702   irix5* | nonstopux*)
14703     libsuff= shlibsuff=
14704     ;;
14705   *)
14706     case $LD in # libtool.m4 will add one of these switches to LD
14707     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14708       libsuff= shlibsuff= libmagic=32-bit;;
14709     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14710       libsuff=32 shlibsuff=N32 libmagic=N32;;
14711     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14712       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14713     *) libsuff= shlibsuff= libmagic=never-match;;
14714     esac
14715     ;;
14716   esac
14717   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14718   shlibpath_overrides_runpath=no
14719   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14720   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14721   hardcode_into_libs=yes
14722   ;;
14724 # No shared lib support for Linux oldld, aout, or coff.
14725 linux*oldld* | linux*aout* | linux*coff*)
14726   dynamic_linker=no
14727   ;;
14729 # This must be glibc/ELF.
14730 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14731   version_type=linux # correct to gnu/linux during the next big refactor
14732   need_lib_prefix=no
14733   need_version=no
14734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735   soname_spec='${libname}${release}${shared_ext}$major'
14736   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14737   shlibpath_var=LD_LIBRARY_PATH
14738   shlibpath_overrides_runpath=no
14740   # Some binutils ld are patched to set DT_RUNPATH
14741   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14742   $as_echo_n "(cached) " >&6
14743 else
14744   lt_cv_shlibpath_overrides_runpath=no
14745     save_LDFLAGS=$LDFLAGS
14746     save_libdir=$libdir
14747     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14748          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14749     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h.  */
14753 main ()
14756   ;
14757   return 0;
14759 _ACEOF
14760 if ac_fn_cxx_try_link "$LINENO"; then :
14761   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14762   lt_cv_shlibpath_overrides_runpath=yes
14765 rm -f core conftest.err conftest.$ac_objext \
14766     conftest$ac_exeext conftest.$ac_ext
14767     LDFLAGS=$save_LDFLAGS
14768     libdir=$save_libdir
14769     
14772   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14774   # This implies no fast_install, which is unacceptable.
14775   # Some rework will be needed to allow for fast_install
14776   # before this can be enabled.
14777   hardcode_into_libs=yes
14779   # Append ld.so.conf contents to the search path
14780   if test -f /etc/ld.so.conf; then
14781     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' ' '`
14782     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14783   fi
14785   # We used to test for /lib/ld.so.1 and disable shared libraries on
14786   # powerpc, because MkLinux only supported shared libraries with the
14787   # GNU dynamic linker.  Since this was broken with cross compilers,
14788   # most powerpc-linux boxes support dynamic linking these days and
14789   # people can always --disable-shared, the test was removed, and we
14790   # assume the GNU/Linux dynamic linker is in use.
14791   dynamic_linker='GNU/Linux ld.so'
14792   ;;
14794 netbsdelf*-gnu)
14795   version_type=linux
14796   need_lib_prefix=no
14797   need_version=no
14798   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14799   soname_spec='${libname}${release}${shared_ext}$major'
14800   shlibpath_var=LD_LIBRARY_PATH
14801   shlibpath_overrides_runpath=no
14802   hardcode_into_libs=yes
14803   dynamic_linker='NetBSD ld.elf_so'
14804   ;;
14806 netbsd*)
14807   version_type=sunos
14808   need_lib_prefix=no
14809   need_version=no
14810   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14811     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14812     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14813     dynamic_linker='NetBSD (a.out) ld.so'
14814   else
14815     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14816     soname_spec='${libname}${release}${shared_ext}$major'
14817     dynamic_linker='NetBSD ld.elf_so'
14818   fi
14819   shlibpath_var=LD_LIBRARY_PATH
14820   shlibpath_overrides_runpath=yes
14821   hardcode_into_libs=yes
14822   ;;
14824 newsos6)
14825   version_type=linux # correct to gnu/linux during the next big refactor
14826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14827   shlibpath_var=LD_LIBRARY_PATH
14828   shlibpath_overrides_runpath=yes
14829   ;;
14831 *nto* | *qnx*)
14832   version_type=qnx
14833   need_lib_prefix=no
14834   need_version=no
14835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14836   soname_spec='${libname}${release}${shared_ext}$major'
14837   shlibpath_var=LD_LIBRARY_PATH
14838   shlibpath_overrides_runpath=no
14839   hardcode_into_libs=yes
14840   dynamic_linker='ldqnx.so'
14841   ;;
14843 openbsd*)
14844   version_type=sunos
14845   sys_lib_dlsearch_path_spec="/usr/lib"
14846   need_lib_prefix=no
14847   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14848   case $host_os in
14849     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14850     *)                          need_version=no  ;;
14851   esac
14852   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14853   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14854   shlibpath_var=LD_LIBRARY_PATH
14855   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14856     case $host_os in
14857       openbsd2.[89] | openbsd2.[89].*)
14858         shlibpath_overrides_runpath=no
14859         ;;
14860       *)
14861         shlibpath_overrides_runpath=yes
14862         ;;
14863       esac
14864   else
14865     shlibpath_overrides_runpath=yes
14866   fi
14867   ;;
14869 os2*)
14870   libname_spec='$name'
14871   shrext_cmds=".dll"
14872   need_lib_prefix=no
14873   library_names_spec='$libname${shared_ext} $libname.a'
14874   dynamic_linker='OS/2 ld.exe'
14875   shlibpath_var=LIBPATH
14876   ;;
14878 osf3* | osf4* | osf5*)
14879   version_type=osf
14880   need_lib_prefix=no
14881   need_version=no
14882   soname_spec='${libname}${release}${shared_ext}$major'
14883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14884   shlibpath_var=LD_LIBRARY_PATH
14885   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14886   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14887   ;;
14889 rdos*)
14890   dynamic_linker=no
14891   ;;
14893 solaris*)
14894   version_type=linux # correct to gnu/linux during the next big refactor
14895   need_lib_prefix=no
14896   need_version=no
14897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14898   soname_spec='${libname}${release}${shared_ext}$major'
14899   shlibpath_var=LD_LIBRARY_PATH
14900   shlibpath_overrides_runpath=yes
14901   hardcode_into_libs=yes
14902   # ldd complains unless libraries are executable
14903   postinstall_cmds='chmod +x $lib'
14904   ;;
14906 sunos4*)
14907   version_type=sunos
14908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14909   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14910   shlibpath_var=LD_LIBRARY_PATH
14911   shlibpath_overrides_runpath=yes
14912   if test "$with_gnu_ld" = yes; then
14913     need_lib_prefix=no
14914   fi
14915   need_version=yes
14916   ;;
14918 sysv4 | sysv4.3*)
14919   version_type=linux # correct to gnu/linux during the next big refactor
14920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14921   soname_spec='${libname}${release}${shared_ext}$major'
14922   shlibpath_var=LD_LIBRARY_PATH
14923   case $host_vendor in
14924     sni)
14925       shlibpath_overrides_runpath=no
14926       need_lib_prefix=no
14927       runpath_var=LD_RUN_PATH
14928       ;;
14929     siemens)
14930       need_lib_prefix=no
14931       ;;
14932     motorola)
14933       need_lib_prefix=no
14934       need_version=no
14935       shlibpath_overrides_runpath=no
14936       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14937       ;;
14938   esac
14939   ;;
14941 sysv4*MP*)
14942   if test -d /usr/nec ;then
14943     version_type=linux # correct to gnu/linux during the next big refactor
14944     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14945     soname_spec='$libname${shared_ext}.$major'
14946     shlibpath_var=LD_LIBRARY_PATH
14947   fi
14948   ;;
14950 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14951   version_type=freebsd-elf
14952   need_lib_prefix=no
14953   need_version=no
14954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14955   soname_spec='${libname}${release}${shared_ext}$major'
14956   shlibpath_var=LD_LIBRARY_PATH
14957   shlibpath_overrides_runpath=yes
14958   hardcode_into_libs=yes
14959   if test "$with_gnu_ld" = yes; then
14960     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14961   else
14962     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14963     case $host_os in
14964       sco3.2v5*)
14965         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14966         ;;
14967     esac
14968   fi
14969   sys_lib_dlsearch_path_spec='/usr/lib'
14970   ;;
14972 tpf*)
14973   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14974   version_type=linux # correct to gnu/linux during the next big refactor
14975   need_lib_prefix=no
14976   need_version=no
14977   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14978   shlibpath_var=LD_LIBRARY_PATH
14979   shlibpath_overrides_runpath=no
14980   hardcode_into_libs=yes
14981   ;;
14983 uts4*)
14984   version_type=linux # correct to gnu/linux during the next big refactor
14985   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14986   soname_spec='${libname}${release}${shared_ext}$major'
14987   shlibpath_var=LD_LIBRARY_PATH
14988   ;;
14991   dynamic_linker=no
14992   ;;
14993 esac
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14995 $as_echo "$dynamic_linker" >&6; }
14996 test "$dynamic_linker" = no && can_build_shared=no
14998 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14999 if test "$GCC" = yes; then
15000   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15003 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15004   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15006 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15007   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15047     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15048 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15049 hardcode_action_CXX=
15050 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15051    test -n "$runpath_var_CXX" ||
15052    test "X$hardcode_automatic_CXX" = "Xyes" ; then
15054   # We can hardcode non-existent directories.
15055   if test "$hardcode_direct_CXX" != no &&
15056      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15057      # have to relink, otherwise we might link with an installed library
15058      # when we should be linking with a yet-to-be-installed one
15059      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15060      test "$hardcode_minus_L_CXX" != no; then
15061     # Linking always hardcodes the temporary library directory.
15062     hardcode_action_CXX=relink
15063   else
15064     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15065     hardcode_action_CXX=immediate
15066   fi
15067 else
15068   # We cannot hardcode anything, or else we can only hardcode existing
15069   # directories.
15070   hardcode_action_CXX=unsupported
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15073 $as_echo "$hardcode_action_CXX" >&6; }
15075 if test "$hardcode_action_CXX" = relink ||
15076    test "$inherit_rpath_CXX" = yes; then
15077   # Fast installation is not supported
15078   enable_fast_install=no
15079 elif test "$shlibpath_overrides_runpath" = yes ||
15080      test "$enable_shared" = no; then
15081   # Fast installation is not necessary
15082   enable_fast_install=needless
15088     
15091   fi # test -n "$compiler"
15093   CC=$lt_save_CC
15094   CFLAGS=$lt_save_CFLAGS
15095   LDCXX=$LD
15096   LD=$lt_save_LD
15097   GCC=$lt_save_GCC
15098   with_gnu_ld=$lt_save_with_gnu_ld
15099   lt_cv_path_LDCXX=$lt_cv_path_LD
15100   lt_cv_path_LD=$lt_save_path_LD
15101   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15102   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15103 fi # test "$_lt_caught_CXX_error" != yes
15105 ac_ext=c
15106 ac_cpp='$CPP $CPPFLAGS'
15107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15118        
15119        
15125         ac_config_commands="$ac_config_commands libtool"
15130 # Only expand once:
15134 LIBSALAC_SO_VERSION=1:0:0
15136 LIBSALAC_API_VERSION=1.0
15139 ac_config_files="$ac_config_files Makefile libsalac-${LIBSALAC_API_VERSION}.pc:libsalac.pc.in"
15141 cat >confcache <<\_ACEOF
15142 # This file is a shell script that caches the results of configure
15143 # tests run on this system so they can be shared between configure
15144 # scripts and configure runs, see configure's option --config-cache.
15145 # It is not useful on other systems.  If it contains results you don't
15146 # want to keep, you may remove or edit it.
15148 # config.status only pays attention to the cache file if you give it
15149 # the --recheck option to rerun configure.
15151 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15152 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15153 # following values.
15155 _ACEOF
15157 # The following way of writing the cache mishandles newlines in values,
15158 # but we know of no workaround that is simple, portable, and efficient.
15159 # So, we kill variables containing newlines.
15160 # Ultrix sh set writes to stderr and can't be redirected directly,
15161 # and sets the high bit in the cache file unless we assign to the vars.
15163   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15164     eval ac_val=\$$ac_var
15165     case $ac_val in #(
15166     *${as_nl}*)
15167       case $ac_var in #(
15168       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15169 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15170       esac
15171       case $ac_var in #(
15172       _ | IFS | as_nl) ;; #(
15173       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15174       *) { eval $ac_var=; unset $ac_var;} ;;
15175       esac ;;
15176     esac
15177   done
15179   (set) 2>&1 |
15180     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15181     *${as_nl}ac_space=\ *)
15182       # `set' does not quote correctly, so add quotes: double-quote
15183       # substitution turns \\\\ into \\, and sed turns \\ into \.
15184       sed -n \
15185         "s/'/'\\\\''/g;
15186           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15187       ;; #(
15188     *)
15189       # `set' quotes correctly as required by POSIX, so do not add quotes.
15190       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15191       ;;
15192     esac |
15193     sort
15194 ) |
15195   sed '
15196      /^ac_cv_env_/b end
15197      t clear
15198      :clear
15199      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15200      t end
15201      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15202      :end' >>confcache
15203 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15204   if test -w "$cache_file"; then
15205     if test "x$cache_file" != "x/dev/null"; then
15206       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15207 $as_echo "$as_me: updating cache $cache_file" >&6;}
15208       if test ! -f "$cache_file" || test -h "$cache_file"; then
15209         cat confcache >"$cache_file"
15210       else
15211         case $cache_file in #(
15212         */* | ?:*)
15213           mv -f confcache "$cache_file"$$ &&
15214           mv -f "$cache_file"$$ "$cache_file" ;; #(
15215         *)
15216           mv -f confcache "$cache_file" ;;
15217         esac
15218       fi
15219     fi
15220   else
15221     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15222 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15223   fi
15225 rm -f confcache
15227 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15228 # Let make expand exec_prefix.
15229 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15231 DEFS=-DHAVE_CONFIG_H
15233 ac_libobjs=
15234 ac_ltlibobjs=
15236 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15237   # 1. Remove the extension, and $U if already installed.
15238   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15239   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15240   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15241   #    will be set to the directory where LIBOBJS objects are built.
15242   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15243   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15244 done
15245 LIB@&t@OBJS=$ac_libobjs
15247 LTLIBOBJS=$ac_ltlibobjs
15250  if test -n "$EXEEXT"; then
15251   am__EXEEXT_TRUE=
15252   am__EXEEXT_FALSE='#'
15253 else
15254   am__EXEEXT_TRUE='#'
15255   am__EXEEXT_FALSE=
15258 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15259   as_fn_error $? "conditional \"AMDEP\" was never defined.
15260 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15262 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15263   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15264 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15266 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15267   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15268 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15271 : "${CONFIG_STATUS=./config.status}"
15272 ac_write_fail=0
15273 ac_clean_files_save=$ac_clean_files
15274 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15276 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15277 as_write_fail=0
15278 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15279 #! $SHELL
15280 # Generated by $as_me.
15281 # Run this file to recreate the current configuration.
15282 # Compiler output produced by configure, useful for debugging
15283 # configure, is in config.log if it exists.
15285 debug=false
15286 ac_cs_recheck=false
15287 ac_cs_silent=false
15289 SHELL=\${CONFIG_SHELL-$SHELL}
15290 export SHELL
15291 _ASEOF
15292 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15293 ## -------------------- ##
15294 ## M4sh Initialization. ##
15295 ## -------------------- ##
15297 # Be more Bourne compatible
15298 DUALCASE=1; export DUALCASE # for MKS sh
15299 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15300   emulate sh
15301   NULLCMD=:
15302   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15303   # is contrary to our usage.  Disable this feature.
15304   alias -g '${1+"$@"}'='"$@"'
15305   setopt NO_GLOB_SUBST
15306 else
15307   case `(set -o) 2>/dev/null` in @%:@(
15308   *posix*) :
15309     set -o posix ;; @%:@(
15310   *) :
15311      ;;
15312 esac
15316 as_nl='
15318 export as_nl
15319 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15320 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15321 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15322 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15323 # Prefer a ksh shell builtin over an external printf program on Solaris,
15324 # but without wasting forks for bash or zsh.
15325 if test -z "$BASH_VERSION$ZSH_VERSION" \
15326     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15327   as_echo='print -r --'
15328   as_echo_n='print -rn --'
15329 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15330   as_echo='printf %s\n'
15331   as_echo_n='printf %s'
15332 else
15333   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15334     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15335     as_echo_n='/usr/ucb/echo -n'
15336   else
15337     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15338     as_echo_n_body='eval
15339       arg=$1;
15340       case $arg in @%:@(
15341       *"$as_nl"*)
15342         expr "X$arg" : "X\\(.*\\)$as_nl";
15343         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15344       esac;
15345       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15346     '
15347     export as_echo_n_body
15348     as_echo_n='sh -c $as_echo_n_body as_echo'
15349   fi
15350   export as_echo_body
15351   as_echo='sh -c $as_echo_body as_echo'
15354 # The user is always right.
15355 if test "${PATH_SEPARATOR+set}" != set; then
15356   PATH_SEPARATOR=:
15357   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15358     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15359       PATH_SEPARATOR=';'
15360   }
15364 # IFS
15365 # We need space, tab and new line, in precisely that order.  Quoting is
15366 # there to prevent editors from complaining about space-tab.
15367 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15368 # splitting by setting IFS to empty value.)
15369 IFS=" ""        $as_nl"
15371 # Find who we are.  Look in the path if we contain no directory separator.
15372 as_myself=
15373 case $0 in @%:@((
15374   *[\\/]* ) as_myself=$0 ;;
15375   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15376 for as_dir in $PATH
15378   IFS=$as_save_IFS
15379   test -z "$as_dir" && as_dir=.
15380     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15381   done
15382 IFS=$as_save_IFS
15384      ;;
15385 esac
15386 # We did not find ourselves, most probably we were run as `sh COMMAND'
15387 # in which case we are not to be found in the path.
15388 if test "x$as_myself" = x; then
15389   as_myself=$0
15391 if test ! -f "$as_myself"; then
15392   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15393   exit 1
15396 # Unset variables that we do not need and which cause bugs (e.g. in
15397 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15398 # suppresses any "Segmentation fault" message there.  '((' could
15399 # trigger a bug in pdksh 5.2.14.
15400 for as_var in BASH_ENV ENV MAIL MAILPATH
15401 do eval test x\${$as_var+set} = xset \
15402   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15403 done
15404 PS1='$ '
15405 PS2='> '
15406 PS4='+ '
15408 # NLS nuisances.
15409 LC_ALL=C
15410 export LC_ALL
15411 LANGUAGE=C
15412 export LANGUAGE
15414 # CDPATH.
15415 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15418 @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15419 @%:@ ----------------------------------------
15420 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15421 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15422 @%:@ script with STATUS, using 1 if that was 0.
15423 as_fn_error ()
15425   as_status=$1; test $as_status -eq 0 && as_status=1
15426   if test "$4"; then
15427     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15428     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15429   fi
15430   $as_echo "$as_me: error: $2" >&2
15431   as_fn_exit $as_status
15432 } @%:@ as_fn_error
15435 @%:@ as_fn_set_status STATUS
15436 @%:@ -----------------------
15437 @%:@ Set @S|@? to STATUS, without forking.
15438 as_fn_set_status ()
15440   return $1
15441 } @%:@ as_fn_set_status
15443 @%:@ as_fn_exit STATUS
15444 @%:@ -----------------
15445 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15446 as_fn_exit ()
15448   set +e
15449   as_fn_set_status $1
15450   exit $1
15451 } @%:@ as_fn_exit
15453 @%:@ as_fn_unset VAR
15454 @%:@ ---------------
15455 @%:@ Portably unset VAR.
15456 as_fn_unset ()
15458   { eval $1=; unset $1;}
15460 as_unset=as_fn_unset
15461 @%:@ as_fn_append VAR VALUE
15462 @%:@ ----------------------
15463 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15464 @%:@ advantage of any shell optimizations that allow amortized linear growth over
15465 @%:@ repeated appends, instead of the typical quadratic growth present in naive
15466 @%:@ implementations.
15467 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15468   eval 'as_fn_append ()
15469   {
15470     eval $1+=\$2
15471   }'
15472 else
15473   as_fn_append ()
15474   {
15475     eval $1=\$$1\$2
15476   }
15477 fi # as_fn_append
15479 @%:@ as_fn_arith ARG...
15480 @%:@ ------------------
15481 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15482 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15483 @%:@ must be portable across @S|@(()) and expr.
15484 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15485   eval 'as_fn_arith ()
15486   {
15487     as_val=$(( $* ))
15488   }'
15489 else
15490   as_fn_arith ()
15491   {
15492     as_val=`expr "$@" || test $? -eq 1`
15493   }
15494 fi # as_fn_arith
15497 if expr a : '\(a\)' >/dev/null 2>&1 &&
15498    test "X`expr 00001 : '.*\(...\)'`" = X001; then
15499   as_expr=expr
15500 else
15501   as_expr=false
15504 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15505   as_basename=basename
15506 else
15507   as_basename=false
15510 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15511   as_dirname=dirname
15512 else
15513   as_dirname=false
15516 as_me=`$as_basename -- "$0" ||
15517 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15518          X"$0" : 'X\(//\)$' \| \
15519          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15520 $as_echo X/"$0" |
15521     sed '/^.*\/\([^/][^/]*\)\/*$/{
15522             s//\1/
15523             q
15524           }
15525           /^X\/\(\/\/\)$/{
15526             s//\1/
15527             q
15528           }
15529           /^X\/\(\/\).*/{
15530             s//\1/
15531             q
15532           }
15533           s/.*/./; q'`
15535 # Avoid depending upon Character Ranges.
15536 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15537 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15538 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15539 as_cr_digits='0123456789'
15540 as_cr_alnum=$as_cr_Letters$as_cr_digits
15542 ECHO_C= ECHO_N= ECHO_T=
15543 case `echo -n x` in @%:@(((((
15544 -n*)
15545   case `echo 'xy\c'` in
15546   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15547   xy)  ECHO_C='\c';;
15548   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15549        ECHO_T=' ';;
15550   esac;;
15552   ECHO_N='-n';;
15553 esac
15555 rm -f conf$$ conf$$.exe conf$$.file
15556 if test -d conf$$.dir; then
15557   rm -f conf$$.dir/conf$$.file
15558 else
15559   rm -f conf$$.dir
15560   mkdir conf$$.dir 2>/dev/null
15562 if (echo >conf$$.file) 2>/dev/null; then
15563   if ln -s conf$$.file conf$$ 2>/dev/null; then
15564     as_ln_s='ln -s'
15565     # ... but there are two gotchas:
15566     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15567     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15568     # In both cases, we have to default to `cp -p'.
15569     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15570       as_ln_s='cp -p'
15571   elif ln conf$$.file conf$$ 2>/dev/null; then
15572     as_ln_s=ln
15573   else
15574     as_ln_s='cp -p'
15575   fi
15576 else
15577   as_ln_s='cp -p'
15579 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15580 rmdir conf$$.dir 2>/dev/null
15583 @%:@ as_fn_mkdir_p
15584 @%:@ -------------
15585 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15586 as_fn_mkdir_p ()
15589   case $as_dir in #(
15590   -*) as_dir=./$as_dir;;
15591   esac
15592   test -d "$as_dir" || eval $as_mkdir_p || {
15593     as_dirs=
15594     while :; do
15595       case $as_dir in #(
15596       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15597       *) as_qdir=$as_dir;;
15598       esac
15599       as_dirs="'$as_qdir' $as_dirs"
15600       as_dir=`$as_dirname -- "$as_dir" ||
15601 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15602          X"$as_dir" : 'X\(//\)[^/]' \| \
15603          X"$as_dir" : 'X\(//\)$' \| \
15604          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15605 $as_echo X"$as_dir" |
15606     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15607             s//\1/
15608             q
15609           }
15610           /^X\(\/\/\)[^/].*/{
15611             s//\1/
15612             q
15613           }
15614           /^X\(\/\/\)$/{
15615             s//\1/
15616             q
15617           }
15618           /^X\(\/\).*/{
15619             s//\1/
15620             q
15621           }
15622           s/.*/./; q'`
15623       test -d "$as_dir" && break
15624     done
15625     test -z "$as_dirs" || eval "mkdir $as_dirs"
15626   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15629 } @%:@ as_fn_mkdir_p
15630 if mkdir -p . 2>/dev/null; then
15631   as_mkdir_p='mkdir -p "$as_dir"'
15632 else
15633   test -d ./-p && rmdir ./-p
15634   as_mkdir_p=false
15637 if test -x / >/dev/null 2>&1; then
15638   as_test_x='test -x'
15639 else
15640   if ls -dL / >/dev/null 2>&1; then
15641     as_ls_L_option=L
15642   else
15643     as_ls_L_option=
15644   fi
15645   as_test_x='
15646     eval sh -c '\''
15647       if test -d "$1"; then
15648         test -d "$1/.";
15649       else
15650         case $1 in @%:@(
15651         -*)set "./$1";;
15652         esac;
15653         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
15654         ???[sx]*):;;*)false;;esac;fi
15655     '\'' sh
15656   '
15658 as_executable_p=$as_test_x
15660 # Sed expression to map a string onto a valid CPP name.
15661 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15663 # Sed expression to map a string onto a valid variable name.
15664 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15667 exec 6>&1
15668 ## ----------------------------------- ##
15669 ## Main body of $CONFIG_STATUS script. ##
15670 ## ----------------------------------- ##
15671 _ASEOF
15672 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15675 # Save the log message, to keep $0 and so on meaningful, and to
15676 # report actual input values of CONFIG_FILES etc. instead of their
15677 # values after options handling.
15678 ac_log="
15679 This file was extended by libsalac $as_me 0.1, which was
15680 generated by GNU Autoconf 2.68.  Invocation command line was
15682   CONFIG_FILES    = $CONFIG_FILES
15683   CONFIG_HEADERS  = $CONFIG_HEADERS
15684   CONFIG_LINKS    = $CONFIG_LINKS
15685   CONFIG_COMMANDS = $CONFIG_COMMANDS
15686   $ $0 $@
15688 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15691 _ACEOF
15693 case $ac_config_files in *"
15694 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15695 esac
15697 case $ac_config_headers in *"
15698 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15699 esac
15702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15703 # Files that config.status was made for.
15704 config_files="$ac_config_files"
15705 config_headers="$ac_config_headers"
15706 config_commands="$ac_config_commands"
15708 _ACEOF
15710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15711 ac_cs_usage="\
15712 \`$as_me' instantiates files and other configuration actions
15713 from templates according to the current configuration.  Unless the files
15714 and actions are specified as TAGs, all are instantiated by default.
15716 Usage: $0 [OPTION]... [TAG]...
15718   -h, --help       print this help, then exit
15719   -V, --version    print version number and configuration settings, then exit
15720       --config     print configuration, then exit
15721   -q, --quiet, --silent
15722                    do not print progress messages
15723   -d, --debug      don't remove temporary files
15724       --recheck    update $as_me by reconfiguring in the same conditions
15725       --file=FILE[:TEMPLATE] 
15726                    instantiate the configuration file FILE
15727       --header=FILE[:TEMPLATE] 
15728                    instantiate the configuration header FILE
15730 Configuration files:
15731 $config_files
15733 Configuration headers:
15734 $config_headers
15736 Configuration commands:
15737 $config_commands
15739 Report bugs to <pulseaudio@niafc.de>.
15740 libsalac home page: <https://bugs.freedesktop.org/show_bug.cgi?id=42804>."
15742 _ACEOF
15743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15744 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15745 ac_cs_version="\\
15746 libsalac config.status 0.1
15747 configured by $0, generated by GNU Autoconf 2.68,
15748   with options \\"\$ac_cs_config\\"
15750 Copyright (C) 2010 Free Software Foundation, Inc.
15751 This config.status script is free software; the Free Software Foundation
15752 gives unlimited permission to copy, distribute and modify it."
15754 ac_pwd='$ac_pwd'
15755 srcdir='$srcdir'
15756 INSTALL='$INSTALL'
15757 MKDIR_P='$MKDIR_P'
15758 AWK='$AWK'
15759 test -n "\$AWK" || AWK=awk
15760 _ACEOF
15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15763 # The default lists apply if the user does not specify any file.
15764 ac_need_defaults=:
15765 while test $# != 0
15767   case $1 in
15768   --*=?*)
15769     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15770     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15771     ac_shift=:
15772     ;;
15773   --*=)
15774     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15775     ac_optarg=
15776     ac_shift=:
15777     ;;
15778   *)
15779     ac_option=$1
15780     ac_optarg=$2
15781     ac_shift=shift
15782     ;;
15783   esac
15785   case $ac_option in
15786   # Handling of the options.
15787   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15788     ac_cs_recheck=: ;;
15789   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15790     $as_echo "$ac_cs_version"; exit ;;
15791   --config | --confi | --conf | --con | --co | --c )
15792     $as_echo "$ac_cs_config"; exit ;;
15793   --debug | --debu | --deb | --de | --d | -d )
15794     debug=: ;;
15795   --file | --fil | --fi | --f )
15796     $ac_shift
15797     case $ac_optarg in
15798     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15799     '') as_fn_error $? "missing file argument" ;;
15800     esac
15801     as_fn_append CONFIG_FILES " '$ac_optarg'"
15802     ac_need_defaults=false;;
15803   --header | --heade | --head | --hea )
15804     $ac_shift
15805     case $ac_optarg in
15806     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15807     esac
15808     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15809     ac_need_defaults=false;;
15810   --he | --h)
15811     # Conflict between --help and --header
15812     as_fn_error $? "ambiguous option: \`$1'
15813 Try \`$0 --help' for more information.";;
15814   --help | --hel | -h )
15815     $as_echo "$ac_cs_usage"; exit ;;
15816   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15817   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15818     ac_cs_silent=: ;;
15820   # This is an error.
15821   -*) as_fn_error $? "unrecognized option: \`$1'
15822 Try \`$0 --help' for more information." ;;
15824   *) as_fn_append ac_config_targets " $1"
15825      ac_need_defaults=false ;;
15827   esac
15828   shift
15829 done
15831 ac_configure_extra_args=
15833 if $ac_cs_silent; then
15834   exec 6>/dev/null
15835   ac_configure_extra_args="$ac_configure_extra_args --silent"
15838 _ACEOF
15839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15840 if \$ac_cs_recheck; then
15841   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15842   shift
15843   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15844   CONFIG_SHELL='$SHELL'
15845   export CONFIG_SHELL
15846   exec "\$@"
15849 _ACEOF
15850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15851 exec 5>>config.log
15853   echo
15854   sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
15855 @%:@@%:@ Running $as_me. @%:@@%:@
15856 _ASBOX
15857   $as_echo "$ac_log"
15858 } >&5
15860 _ACEOF
15861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15863 # INIT-COMMANDS
15865 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15868 # The HP-UX ksh and POSIX shell print the target directory to stdout
15869 # if CDPATH is set.
15870 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15872 sed_quote_subst='$sed_quote_subst'
15873 double_quote_subst='$double_quote_subst'
15874 delay_variable_subst='$delay_variable_subst'
15875 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15876 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15877 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15878 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15879 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15880 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15881 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15882 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15883 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15884 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15885 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15886 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15887 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15888 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15889 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15890 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15891 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15892 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15893 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15894 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15895 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15896 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15897 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15898 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15899 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15900 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15901 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15902 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15903 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15904 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15905 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15906 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15907 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15908 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15909 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15910 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15911 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15912 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15913 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15914 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15915 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15916 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15917 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15918 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15919 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15920 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15921 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15922 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15923 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15924 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15925 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15926 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15927 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15928 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15929 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15930 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15931 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"`'
15932 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15933 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15934 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15935 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15936 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15937 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15938 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15939 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15940 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15941 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15942 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15943 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15944 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15945 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15946 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15947 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15948 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15949 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15950 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15951 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15952 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15953 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15954 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15955 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15956 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15957 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15958 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15959 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15960 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15961 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15962 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15963 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15964 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15965 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15966 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15967 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15968 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15969 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15970 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15971 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15972 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15973 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15974 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15975 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15976 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15977 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15978 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15979 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15980 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15981 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15982 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15983 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15984 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15985 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15986 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15987 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15988 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15989 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15990 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15991 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15992 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15993 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15994 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15995 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15996 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15997 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15998 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15999 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16000 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16001 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16002 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16003 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16004 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16005 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16006 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16007 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16008 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16009 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16010 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16011 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16012 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16013 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16014 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16015 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16016 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16017 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16018 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16019 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16020 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16021 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16022 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16023 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16024 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16025 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16026 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16027 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16028 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16029 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16030 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16031 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16032 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16033 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16034 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16035 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16036 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16037 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16038 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16039 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16040 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16041 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16042 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16043 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16044 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16045 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16046 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16047 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16048 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16049 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16050 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16051 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16052 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16053 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16054 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16055 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16056 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16057 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16058 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16060 LTCC='$LTCC'
16061 LTCFLAGS='$LTCFLAGS'
16062 compiler='$compiler_DEFAULT'
16064 # A function that is used when there is no print builtin or printf.
16065 func_fallback_echo ()
16067   eval 'cat <<_LTECHO_EOF
16069 _LTECHO_EOF'
16072 # Quote evaled strings.
16073 for var in SHELL \
16074 ECHO \
16075 PATH_SEPARATOR \
16076 SED \
16077 GREP \
16078 EGREP \
16079 FGREP \
16080 LD \
16081 NM \
16082 LN_S \
16083 lt_SP2NL \
16084 lt_NL2SP \
16085 reload_flag \
16086 OBJDUMP \
16087 deplibs_check_method \
16088 file_magic_cmd \
16089 file_magic_glob \
16090 want_nocaseglob \
16091 DLLTOOL \
16092 sharedlib_from_linklib_cmd \
16093 AR \
16094 AR_FLAGS \
16095 archiver_list_spec \
16096 STRIP \
16097 RANLIB \
16098 CC \
16099 CFLAGS \
16100 compiler \
16101 lt_cv_sys_global_symbol_pipe \
16102 lt_cv_sys_global_symbol_to_cdecl \
16103 lt_cv_sys_global_symbol_to_c_name_address \
16104 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16105 nm_file_list_spec \
16106 lt_prog_compiler_no_builtin_flag \
16107 lt_prog_compiler_pic \
16108 lt_prog_compiler_wl \
16109 lt_prog_compiler_static \
16110 lt_cv_prog_compiler_c_o \
16111 need_locks \
16112 MANIFEST_TOOL \
16113 DSYMUTIL \
16114 NMEDIT \
16115 LIPO \
16116 OTOOL \
16117 OTOOL64 \
16118 shrext_cmds \
16119 export_dynamic_flag_spec \
16120 whole_archive_flag_spec \
16121 compiler_needs_object \
16122 with_gnu_ld \
16123 allow_undefined_flag \
16124 no_undefined_flag \
16125 hardcode_libdir_flag_spec \
16126 hardcode_libdir_separator \
16127 exclude_expsyms \
16128 include_expsyms \
16129 file_list_spec \
16130 variables_saved_for_relink \
16131 libname_spec \
16132 library_names_spec \
16133 soname_spec \
16134 install_override_mode \
16135 finish_eval \
16136 old_striplib \
16137 striplib \
16138 compiler_lib_search_dirs \
16139 predep_objects \
16140 postdep_objects \
16141 predeps \
16142 postdeps \
16143 compiler_lib_search_path \
16144 LD_CXX \
16145 reload_flag_CXX \
16146 compiler_CXX \
16147 lt_prog_compiler_no_builtin_flag_CXX \
16148 lt_prog_compiler_pic_CXX \
16149 lt_prog_compiler_wl_CXX \
16150 lt_prog_compiler_static_CXX \
16151 lt_cv_prog_compiler_c_o_CXX \
16152 export_dynamic_flag_spec_CXX \
16153 whole_archive_flag_spec_CXX \
16154 compiler_needs_object_CXX \
16155 with_gnu_ld_CXX \
16156 allow_undefined_flag_CXX \
16157 no_undefined_flag_CXX \
16158 hardcode_libdir_flag_spec_CXX \
16159 hardcode_libdir_separator_CXX \
16160 exclude_expsyms_CXX \
16161 include_expsyms_CXX \
16162 file_list_spec_CXX \
16163 compiler_lib_search_dirs_CXX \
16164 predep_objects_CXX \
16165 postdep_objects_CXX \
16166 predeps_CXX \
16167 postdeps_CXX \
16168 compiler_lib_search_path_CXX; do
16169     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16170     *[\\\\\\\`\\"\\\$]*)
16171       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16172       ;;
16173     *)
16174       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16175       ;;
16176     esac
16177 done
16179 # Double-quote double-evaled strings.
16180 for var in reload_cmds \
16181 old_postinstall_cmds \
16182 old_postuninstall_cmds \
16183 old_archive_cmds \
16184 extract_expsyms_cmds \
16185 old_archive_from_new_cmds \
16186 old_archive_from_expsyms_cmds \
16187 archive_cmds \
16188 archive_expsym_cmds \
16189 module_cmds \
16190 module_expsym_cmds \
16191 export_symbols_cmds \
16192 prelink_cmds \
16193 postlink_cmds \
16194 postinstall_cmds \
16195 postuninstall_cmds \
16196 finish_cmds \
16197 sys_lib_search_path_spec \
16198 sys_lib_dlsearch_path_spec \
16199 reload_cmds_CXX \
16200 old_archive_cmds_CXX \
16201 old_archive_from_new_cmds_CXX \
16202 old_archive_from_expsyms_cmds_CXX \
16203 archive_cmds_CXX \
16204 archive_expsym_cmds_CXX \
16205 module_cmds_CXX \
16206 module_expsym_cmds_CXX \
16207 export_symbols_cmds_CXX \
16208 prelink_cmds_CXX \
16209 postlink_cmds_CXX; do
16210     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16211     *[\\\\\\\`\\"\\\$]*)
16212       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16213       ;;
16214     *)
16215       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16216       ;;
16217     esac
16218 done
16220 ac_aux_dir='$ac_aux_dir'
16221 xsi_shell='$xsi_shell'
16222 lt_shell_append='$lt_shell_append'
16224 # See if we are running on zsh, and set the options which allow our
16225 # commands through without removal of \ escapes INIT.
16226 if test -n "\${ZSH_VERSION+set}" ; then
16227    setopt NO_GLOB_SUBST
16231     PACKAGE='$PACKAGE'
16232     VERSION='$VERSION'
16233     TIMESTAMP='$TIMESTAMP'
16234     RM='$RM'
16235     ofile='$ofile'
16242 _ACEOF
16244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16246 # Handling of arguments.
16247 for ac_config_target in $ac_config_targets
16249   case $ac_config_target in
16250     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16251     "libsalacconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS libsalacconfig.h" ;;
16252     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16253     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16254     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16255     "libsalac-${LIBSALAC_API_VERSION}.pc") CONFIG_FILES="$CONFIG_FILES libsalac-${LIBSALAC_API_VERSION}.pc:libsalac.pc.in" ;;
16257   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16258   esac
16259 done
16262 # If the user did not use the arguments to specify the items to instantiate,
16263 # then the envvar interface is used.  Set only those that are not.
16264 # We use the long form for the default assignment because of an extremely
16265 # bizarre bug on SunOS 4.1.3.
16266 if $ac_need_defaults; then
16267   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16268   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16269   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16272 # Have a temporary directory for convenience.  Make it in the build tree
16273 # simply because there is no reason against having it here, and in addition,
16274 # creating and moving files from /tmp can sometimes cause problems.
16275 # Hook for its removal unless debugging.
16276 # Note that there is a small window in which the directory will not be cleaned:
16277 # after its creation but before its name has been assigned to `$tmp'.
16278 $debug ||
16280   tmp= ac_tmp=
16281   trap 'exit_status=$?
16282   : "${ac_tmp:=$tmp}"
16283   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16284 ' 0
16285   trap 'as_fn_exit 1' 1 2 13 15
16287 # Create a (secure) tmp directory for tmp files.
16290   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16291   test -d "$tmp"
16292 }  ||
16294   tmp=./conf$$-$RANDOM
16295   (umask 077 && mkdir "$tmp")
16296 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16297 ac_tmp=$tmp
16299 # Set up the scripts for CONFIG_FILES section.
16300 # No need to generate them if there are no CONFIG_FILES.
16301 # This happens for instance with `./config.status config.h'.
16302 if test -n "$CONFIG_FILES"; then
16305 ac_cr=`echo X | tr X '\015'`
16306 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16307 # But we know of no other shell where ac_cr would be empty at this
16308 # point, so we can use a bashism as a fallback.
16309 if test "x$ac_cr" = x; then
16310   eval ac_cr=\$\'\\r\'
16312 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16313 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16314   ac_cs_awk_cr='\\r'
16315 else
16316   ac_cs_awk_cr=$ac_cr
16319 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16320 _ACEOF
16324   echo "cat >conf$$subs.awk <<_ACEOF" &&
16325   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16326   echo "_ACEOF"
16327 } >conf$$subs.sh ||
16328   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16329 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16330 ac_delim='%!_!# '
16331 for ac_last_try in false false false false false :; do
16332   . ./conf$$subs.sh ||
16333     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16335   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16336   if test $ac_delim_n = $ac_delim_num; then
16337     break
16338   elif $ac_last_try; then
16339     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16340   else
16341     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16342   fi
16343 done
16344 rm -f conf$$subs.sh
16346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16347 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16348 _ACEOF
16349 sed -n '
16351 s/^/S["/; s/!.*/"]=/
16354 s/^[^!]*!//
16355 :repl
16356 t repl
16357 s/'"$ac_delim"'$//
16358 t delim
16361 s/\(.\{148\}\)..*/\1/
16362 t more1
16363 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16366 b repl
16367 :more1
16368 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16371 s/.\{148\}//
16372 t nl
16373 :delim
16375 s/\(.\{148\}\)..*/\1/
16376 t more2
16377 s/["\\]/\\&/g; s/^/"/; s/$/"/
16380 :more2
16381 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16384 s/.\{148\}//
16385 t delim
16386 ' <conf$$subs.awk | sed '
16387 /^[^""]/{
16388   N
16389   s/\n//
16391 ' >>$CONFIG_STATUS || ac_write_fail=1
16392 rm -f conf$$subs.awk
16393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16394 _ACAWK
16395 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16396   for (key in S) S_is_set[key] = 1
16397   FS = "\a"
16401   line = $ 0
16402   nfields = split(line, field, "@")
16403   substed = 0
16404   len = length(field[1])
16405   for (i = 2; i < nfields; i++) {
16406     key = field[i]
16407     keylen = length(key)
16408     if (S_is_set[key]) {
16409       value = S[key]
16410       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16411       len += length(value) + length(field[++i])
16412       substed = 1
16413     } else
16414       len += 1 + keylen
16415   }
16417   print line
16420 _ACAWK
16421 _ACEOF
16422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16423 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16424   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16425 else
16426   cat
16427 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16428   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16429 _ACEOF
16431 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16432 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16433 # trailing colons and then remove the whole line if VPATH becomes empty
16434 # (actually we leave an empty line to preserve line numbers).
16435 if test "x$srcdir" = x.; then
16436   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16438 s///
16439 s/^/:/
16440 s/[      ]*$/:/
16441 s/:\$(srcdir):/:/g
16442 s/:\${srcdir}:/:/g
16443 s/:@srcdir@:/:/g
16444 s/^:*//
16445 s/:*$//
16447 s/\(=[   ]*\).*/\1/
16449 s/\n//
16450 s/^[^=]*=[       ]*$//
16454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16455 fi # test -n "$CONFIG_FILES"
16457 # Set up the scripts for CONFIG_HEADERS section.
16458 # No need to generate them if there are no CONFIG_HEADERS.
16459 # This happens for instance with `./config.status Makefile'.
16460 if test -n "$CONFIG_HEADERS"; then
16461 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16462 BEGIN {
16463 _ACEOF
16465 # Transform confdefs.h into an awk script `defines.awk', embedded as
16466 # here-document in config.status, that substitutes the proper values into
16467 # config.h.in to produce config.h.
16469 # Create a delimiter string that does not exist in confdefs.h, to ease
16470 # handling of long lines.
16471 ac_delim='%!_!# '
16472 for ac_last_try in false false :; do
16473   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16474   if test -z "$ac_tt"; then
16475     break
16476   elif $ac_last_try; then
16477     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16478   else
16479     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16480   fi
16481 done
16483 # For the awk script, D is an array of macro values keyed by name,
16484 # likewise P contains macro parameters if any.  Preserve backslash
16485 # newline sequences.
16487 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16488 sed -n '
16489 s/.\{148\}/&'"$ac_delim"'/g
16490 t rset
16491 :rset
16492 s/^[     ]*#[    ]*define[       ][      ]*/ /
16493 t def
16495 :def
16496 s/\\$//
16497 t bsnl
16498 s/["\\]/\\&/g
16499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16500 D["\1"]=" \3"/p
16501 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
16503 :bsnl
16504 s/["\\]/\\&/g
16505 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
16506 D["\1"]=" \3\\\\\\n"\\/p
16507 t cont
16508 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16509 t cont
16511 :cont
16513 s/.\{148\}/&'"$ac_delim"'/g
16514 t clear
16515 :clear
16516 s/\\$//
16517 t bsnlc
16518 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16520 :bsnlc
16521 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16522 b cont
16523 ' <confdefs.h | sed '
16524 s/'"$ac_delim"'/"\\\
16525 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16528   for (key in D) D_is_set[key] = 1
16529   FS = "\a"
16531 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16532   line = \$ 0
16533   split(line, arg, " ")
16534   if (arg[1] == "#") {
16535     defundef = arg[2]
16536     mac1 = arg[3]
16537   } else {
16538     defundef = substr(arg[1], 2)
16539     mac1 = arg[2]
16540   }
16541   split(mac1, mac2, "(") #)
16542   macro = mac2[1]
16543   prefix = substr(line, 1, index(line, defundef) - 1)
16544   if (D_is_set[macro]) {
16545     # Preserve the white space surrounding the "#".
16546     print prefix "define", macro P[macro] D[macro]
16547     next
16548   } else {
16549     # Replace #undef with comments.  This is necessary, for example,
16550     # in the case of _POSIX_SOURCE, which is predefined and required
16551     # on some systems where configure will not decide to define it.
16552     if (defundef == "undef") {
16553       print "/*", prefix defundef, macro, "*/"
16554       next
16555     }
16556   }
16558 { print }
16559 _ACAWK
16560 _ACEOF
16561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16562   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16563 fi # test -n "$CONFIG_HEADERS"
16566 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
16567 shift
16568 for ac_tag
16570   case $ac_tag in
16571   :[FHLC]) ac_mode=$ac_tag; continue;;
16572   esac
16573   case $ac_mode$ac_tag in
16574   :[FHL]*:*);;
16575   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16576   :[FH]-) ac_tag=-:-;;
16577   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16578   esac
16579   ac_save_IFS=$IFS
16580   IFS=:
16581   set x $ac_tag
16582   IFS=$ac_save_IFS
16583   shift
16584   ac_file=$1
16585   shift
16587   case $ac_mode in
16588   :L) ac_source=$1;;
16589   :[FH])
16590     ac_file_inputs=
16591     for ac_f
16592     do
16593       case $ac_f in
16594       -) ac_f="$ac_tmp/stdin";;
16595       *) # Look for the file first in the build tree, then in the source tree
16596          # (if the path is not absolute).  The absolute path cannot be DOS-style,
16597          # because $ac_f cannot contain `:'.
16598          test -f "$ac_f" ||
16599            case $ac_f in
16600            [\\/$]*) false;;
16601            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16602            esac ||
16603            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16604       esac
16605       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16606       as_fn_append ac_file_inputs " '$ac_f'"
16607     done
16609     # Let's still pretend it is `configure' which instantiates (i.e., don't
16610     # use $as_me), people would be surprised to read:
16611     #    /* config.h.  Generated by config.status.  */
16612     configure_input='Generated from '`
16613           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16614         `' by configure.'
16615     if test x"$ac_file" != x-; then
16616       configure_input="$ac_file.  $configure_input"
16617       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16618 $as_echo "$as_me: creating $ac_file" >&6;}
16619     fi
16620     # Neutralize special characters interpreted by sed in replacement strings.
16621     case $configure_input in #(
16622     *\&* | *\|* | *\\* )
16623        ac_sed_conf_input=`$as_echo "$configure_input" |
16624        sed 's/[\\\\&|]/\\\\&/g'`;; #(
16625     *) ac_sed_conf_input=$configure_input;;
16626     esac
16628     case $ac_tag in
16629     *:-:* | *:-) cat >"$ac_tmp/stdin" \
16630       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16631     esac
16632     ;;
16633   esac
16635   ac_dir=`$as_dirname -- "$ac_file" ||
16636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16637          X"$ac_file" : 'X\(//\)[^/]' \| \
16638          X"$ac_file" : 'X\(//\)$' \| \
16639          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16640 $as_echo X"$ac_file" |
16641     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16642             s//\1/
16643             q
16644           }
16645           /^X\(\/\/\)[^/].*/{
16646             s//\1/
16647             q
16648           }
16649           /^X\(\/\/\)$/{
16650             s//\1/
16651             q
16652           }
16653           /^X\(\/\).*/{
16654             s//\1/
16655             q
16656           }
16657           s/.*/./; q'`
16658   as_dir="$ac_dir"; as_fn_mkdir_p
16659   ac_builddir=.
16661 case "$ac_dir" in
16662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16664   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16665   # A ".." for each directory in $ac_dir_suffix.
16666   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16667   case $ac_top_builddir_sub in
16668   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16669   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16670   esac ;;
16671 esac
16672 ac_abs_top_builddir=$ac_pwd
16673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16674 # for backward compatibility:
16675 ac_top_builddir=$ac_top_build_prefix
16677 case $srcdir in
16678   .)  # We are building in place.
16679     ac_srcdir=.
16680     ac_top_srcdir=$ac_top_builddir_sub
16681     ac_abs_top_srcdir=$ac_pwd ;;
16682   [\\/]* | ?:[\\/]* )  # Absolute name.
16683     ac_srcdir=$srcdir$ac_dir_suffix;
16684     ac_top_srcdir=$srcdir
16685     ac_abs_top_srcdir=$srcdir ;;
16686   *) # Relative name.
16687     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16688     ac_top_srcdir=$ac_top_build_prefix$srcdir
16689     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16690 esac
16691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16694   case $ac_mode in
16695   :F)
16696   #
16697   # CONFIG_FILE
16698   #
16700   case $INSTALL in
16701   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16702   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16703   esac
16704   ac_MKDIR_P=$MKDIR_P
16705   case $MKDIR_P in
16706   [\\/$]* | ?:[\\/]* ) ;;
16707   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16708   esac
16709 _ACEOF
16711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16712 # If the template does not know about datarootdir, expand it.
16713 # FIXME: This hack should be removed a few years after 2.60.
16714 ac_datarootdir_hack=; ac_datarootdir_seen=
16715 ac_sed_dataroot='
16716 /datarootdir/ {
16717   p
16718   q
16720 /@datadir@/p
16721 /@docdir@/p
16722 /@infodir@/p
16723 /@localedir@/p
16724 /@mandir@/p'
16725 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16726 *datarootdir*) ac_datarootdir_seen=yes;;
16727 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16728   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16729 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16730 _ACEOF
16731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16732   ac_datarootdir_hack='
16733   s&@datadir@&$datadir&g
16734   s&@docdir@&$docdir&g
16735   s&@infodir@&$infodir&g
16736   s&@localedir@&$localedir&g
16737   s&@mandir@&$mandir&g
16738   s&\\\${datarootdir}&$datarootdir&g' ;;
16739 esac
16740 _ACEOF
16742 # Neutralize VPATH when `$srcdir' = `.'.
16743 # Shell code in configure.ac might set extrasub.
16744 # FIXME: do we really want to maintain this feature?
16745 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16746 ac_sed_extra="$ac_vpsub
16747 $extrasub
16748 _ACEOF
16749 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16751 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16752 s|@configure_input@|$ac_sed_conf_input|;t t
16753 s&@top_builddir@&$ac_top_builddir_sub&;t t
16754 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16755 s&@srcdir@&$ac_srcdir&;t t
16756 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16757 s&@top_srcdir@&$ac_top_srcdir&;t t
16758 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16759 s&@builddir@&$ac_builddir&;t t
16760 s&@abs_builddir@&$ac_abs_builddir&;t t
16761 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16762 s&@INSTALL@&$ac_INSTALL&;t t
16763 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16764 $ac_datarootdir_hack
16766 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16767   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16769 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16770   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16771   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16772       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16773   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16774 which seems to be undefined.  Please make sure it is defined" >&5
16775 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16776 which seems to be undefined.  Please make sure it is defined" >&2;}
16778   rm -f "$ac_tmp/stdin"
16779   case $ac_file in
16780   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16781   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16782   esac \
16783   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16784  ;;
16785   :H)
16786   #
16787   # CONFIG_HEADER
16788   #
16789   if test x"$ac_file" != x-; then
16790     {
16791       $as_echo "/* $configure_input  */" \
16792       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16793     } >"$ac_tmp/config.h" \
16794       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16795     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16796       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16797 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16798     else
16799       rm -f "$ac_file"
16800       mv "$ac_tmp/config.h" "$ac_file" \
16801         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16802     fi
16803   else
16804     $as_echo "/* $configure_input  */" \
16805       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16806       || as_fn_error $? "could not create -" "$LINENO" 5
16807   fi
16808 # Compute "$ac_file"'s index in $config_headers.
16809 _am_arg="$ac_file"
16810 _am_stamp_count=1
16811 for _am_header in $config_headers :; do
16812   case $_am_header in
16813     $_am_arg | $_am_arg:* )
16814       break ;;
16815     * )
16816       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16817   esac
16818 done
16819 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16820 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16821          X"$_am_arg" : 'X\(//\)[^/]' \| \
16822          X"$_am_arg" : 'X\(//\)$' \| \
16823          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16824 $as_echo X"$_am_arg" |
16825     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16826             s//\1/
16827             q
16828           }
16829           /^X\(\/\/\)[^/].*/{
16830             s//\1/
16831             q
16832           }
16833           /^X\(\/\/\)$/{
16834             s//\1/
16835             q
16836           }
16837           /^X\(\/\).*/{
16838             s//\1/
16839             q
16840           }
16841           s/.*/./; q'`/stamp-h$_am_stamp_count
16842  ;;
16843   
16844   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16845 $as_echo "$as_me: executing $ac_file commands" >&6;}
16846  ;;
16847   esac
16850   case $ac_file$ac_mode in
16851     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16852   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16853   # are listed without --file.  Let's play safe and only enable the eval
16854   # if we detect the quoting.
16855   case $CONFIG_FILES in
16856   *\'*) eval set x "$CONFIG_FILES" ;;
16857   *)   set x $CONFIG_FILES ;;
16858   esac
16859   shift
16860   for mf
16861   do
16862     # Strip MF so we end up with the name of the file.
16863     mf=`echo "$mf" | sed -e 's/:.*$//'`
16864     # Check whether this is an Automake generated Makefile or not.
16865     # We used to match only the files named `Makefile.in', but
16866     # some people rename them; so instead we look at the file content.
16867     # Grep'ing the first line is not enough: some people post-process
16868     # each Makefile.in and add a new line on top of each file to say so.
16869     # Grep'ing the whole file is not good either: AIX grep has a line
16870     # limit of 2048, but all sed's we know have understand at least 4000.
16871     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16872       dirpart=`$as_dirname -- "$mf" ||
16873 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16874          X"$mf" : 'X\(//\)[^/]' \| \
16875          X"$mf" : 'X\(//\)$' \| \
16876          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16877 $as_echo X"$mf" |
16878     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16879             s//\1/
16880             q
16881           }
16882           /^X\(\/\/\)[^/].*/{
16883             s//\1/
16884             q
16885           }
16886           /^X\(\/\/\)$/{
16887             s//\1/
16888             q
16889           }
16890           /^X\(\/\).*/{
16891             s//\1/
16892             q
16893           }
16894           s/.*/./; q'`
16895     else
16896       continue
16897     fi
16898     # Extract the definition of DEPDIR, am__include, and am__quote
16899     # from the Makefile without running `make'.
16900     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16901     test -z "$DEPDIR" && continue
16902     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16903     test -z "am__include" && continue
16904     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16905     # When using ansi2knr, U may be empty or an underscore; expand it
16906     U=`sed -n 's/^U = //p' < "$mf"`
16907     # Find all dependency output files, they are included files with
16908     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16909     # simplest approach to changing $(DEPDIR) to its actual value in the
16910     # expansion.
16911     for file in `sed -n "
16912       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16913          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16914       # Make sure the directory exists.
16915       test -f "$dirpart/$file" && continue
16916       fdir=`$as_dirname -- "$file" ||
16917 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16918          X"$file" : 'X\(//\)[^/]' \| \
16919          X"$file" : 'X\(//\)$' \| \
16920          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16921 $as_echo X"$file" |
16922     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16923             s//\1/
16924             q
16925           }
16926           /^X\(\/\/\)[^/].*/{
16927             s//\1/
16928             q
16929           }
16930           /^X\(\/\/\)$/{
16931             s//\1/
16932             q
16933           }
16934           /^X\(\/\).*/{
16935             s//\1/
16936             q
16937           }
16938           s/.*/./; q'`
16939       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16940       # echo "creating $dirpart/$file"
16941       echo '# dummy' > "$dirpart/$file"
16942     done
16943   done
16945  ;;
16946     "libtool":C) 
16947     
16948     # See if we are running on zsh, and set the options which allow our
16949     # commands through without removal of \ escapes.
16950     if test -n "${ZSH_VERSION+set}" ; then
16951       setopt NO_GLOB_SUBST
16952     fi
16954     cfgfile="${ofile}T"
16955     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16956     $RM "$cfgfile"
16958     cat <<_LT_EOF >> "$cfgfile"
16959 #! $SHELL
16961 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16962 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16963 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16964 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16966 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16967 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16968 #                 Foundation, Inc.
16969 #   Written by Gordon Matzigkeit, 1996
16971 #   This file is part of GNU Libtool.
16973 # GNU Libtool is free software; you can redistribute it and/or
16974 # modify it under the terms of the GNU General Public License as
16975 # published by the Free Software Foundation; either version 2 of
16976 # the License, or (at your option) any later version.
16978 # As a special exception to the GNU General Public License,
16979 # if you distribute this file as part of a program or library that
16980 # is built using GNU Libtool, you may include this file under the
16981 # same distribution terms that you use for the rest of that program.
16983 # GNU Libtool is distributed in the hope that it will be useful,
16984 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16985 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16986 # GNU General Public License for more details.
16988 # You should have received a copy of the GNU General Public License
16989 # along with GNU Libtool; see the file COPYING.  If not, a copy
16990 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16991 # obtained by writing to the Free Software Foundation, Inc.,
16992 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16995 # The names of the tagged configurations supported by this script.
16996 available_tags="CXX "
16998 # ### BEGIN LIBTOOL CONFIG
17000 # Which release of libtool.m4 was used?
17001 macro_version=$macro_version
17002 macro_revision=$macro_revision
17004 # Whether or not to build static libraries.
17005 build_old_libs=$enable_static
17007 # Whether or not to build shared libraries.
17008 build_libtool_libs=$enable_shared
17010 # What type of objects to build.
17011 pic_mode=$pic_mode
17013 # Whether or not to optimize for fast installation.
17014 fast_install=$enable_fast_install
17016 # Shell to use when invoking shell scripts.
17017 SHELL=$lt_SHELL
17019 # An echo program that protects backslashes.
17020 ECHO=$lt_ECHO
17022 # The PATH separator for the build system.
17023 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17025 # The host system.
17026 host_alias=$host_alias
17027 host=$host
17028 host_os=$host_os
17030 # The build system.
17031 build_alias=$build_alias
17032 build=$build
17033 build_os=$build_os
17035 # A sed program that does not truncate output.
17036 SED=$lt_SED
17038 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17039 Xsed="\$SED -e 1s/^X//"
17041 # A grep program that handles long lines.
17042 GREP=$lt_GREP
17044 # An ERE matcher.
17045 EGREP=$lt_EGREP
17047 # A literal string matcher.
17048 FGREP=$lt_FGREP
17050 # A BSD- or MS-compatible name lister.
17051 NM=$lt_NM
17053 # Whether we need soft or hard links.
17054 LN_S=$lt_LN_S
17056 # What is the maximum length of a command?
17057 max_cmd_len=$max_cmd_len
17059 # Object file suffix (normally "o").
17060 objext=$ac_objext
17062 # Executable file suffix (normally "").
17063 exeext=$exeext
17065 # whether the shell understands "unset".
17066 lt_unset=$lt_unset
17068 # turn spaces into newlines.
17069 SP2NL=$lt_lt_SP2NL
17071 # turn newlines into spaces.
17072 NL2SP=$lt_lt_NL2SP
17074 # convert \$build file names to \$host format.
17075 to_host_file_cmd=$lt_cv_to_host_file_cmd
17077 # convert \$build files to toolchain format.
17078 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17080 # An object symbol dumper.
17081 OBJDUMP=$lt_OBJDUMP
17083 # Method to check whether dependent libraries are shared objects.
17084 deplibs_check_method=$lt_deplibs_check_method
17086 # Command to use when deplibs_check_method = "file_magic".
17087 file_magic_cmd=$lt_file_magic_cmd
17089 # How to find potential files when deplibs_check_method = "file_magic".
17090 file_magic_glob=$lt_file_magic_glob
17092 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17093 want_nocaseglob=$lt_want_nocaseglob
17095 # DLL creation program.
17096 DLLTOOL=$lt_DLLTOOL
17098 # Command to associate shared and link libraries.
17099 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17101 # The archiver.
17102 AR=$lt_AR
17104 # Flags to create an archive.
17105 AR_FLAGS=$lt_AR_FLAGS
17107 # How to feed a file listing to the archiver.
17108 archiver_list_spec=$lt_archiver_list_spec
17110 # A symbol stripping program.
17111 STRIP=$lt_STRIP
17113 # Commands used to install an old-style archive.
17114 RANLIB=$lt_RANLIB
17115 old_postinstall_cmds=$lt_old_postinstall_cmds
17116 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17118 # Whether to use a lock for old archive extraction.
17119 lock_old_archive_extraction=$lock_old_archive_extraction
17121 # A C compiler.
17122 LTCC=$lt_CC
17124 # LTCC compiler flags.
17125 LTCFLAGS=$lt_CFLAGS
17127 # Take the output of nm and produce a listing of raw symbols and C names.
17128 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17130 # Transform the output of nm in a proper C declaration.
17131 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17133 # Transform the output of nm in a C name address pair.
17134 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17136 # Transform the output of nm in a C name address pair when lib prefix is needed.
17137 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17139 # Specify filename containing input files for \$NM.
17140 nm_file_list_spec=$lt_nm_file_list_spec
17142 # The root where to search for dependent libraries,and in which our libraries should be installed.
17143 lt_sysroot=$lt_sysroot
17145 # The name of the directory that contains temporary libtool files.
17146 objdir=$objdir
17148 # Used to examine libraries when file_magic_cmd begins with "file".
17149 MAGIC_CMD=$MAGIC_CMD
17151 # Must we lock files when doing compilation?
17152 need_locks=$lt_need_locks
17154 # Manifest tool.
17155 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17157 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17158 DSYMUTIL=$lt_DSYMUTIL
17160 # Tool to change global to local symbols on Mac OS X.
17161 NMEDIT=$lt_NMEDIT
17163 # Tool to manipulate fat objects and archives on Mac OS X.
17164 LIPO=$lt_LIPO
17166 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17167 OTOOL=$lt_OTOOL
17169 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17170 OTOOL64=$lt_OTOOL64
17172 # Old archive suffix (normally "a").
17173 libext=$libext
17175 # Shared library suffix (normally ".so").
17176 shrext_cmds=$lt_shrext_cmds
17178 # The commands to extract the exported symbol list from a shared archive.
17179 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17181 # Variables whose values should be saved in libtool wrapper scripts and
17182 # restored at link time.
17183 variables_saved_for_relink=$lt_variables_saved_for_relink
17185 # Do we need the "lib" prefix for modules?
17186 need_lib_prefix=$need_lib_prefix
17188 # Do we need a version for libraries?
17189 need_version=$need_version
17191 # Library versioning type.
17192 version_type=$version_type
17194 # Shared library runtime path variable.
17195 runpath_var=$runpath_var
17197 # Shared library path variable.
17198 shlibpath_var=$shlibpath_var
17200 # Is shlibpath searched before the hard-coded library search path?
17201 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17203 # Format of library name prefix.
17204 libname_spec=$lt_libname_spec
17206 # List of archive names.  First name is the real one, the rest are links.
17207 # The last name is the one that the linker finds with -lNAME
17208 library_names_spec=$lt_library_names_spec
17210 # The coded name of the library, if different from the real name.
17211 soname_spec=$lt_soname_spec
17213 # Permission mode override for installation of shared libraries.
17214 install_override_mode=$lt_install_override_mode
17216 # Command to use after installation of a shared archive.
17217 postinstall_cmds=$lt_postinstall_cmds
17219 # Command to use after uninstallation of a shared archive.
17220 postuninstall_cmds=$lt_postuninstall_cmds
17222 # Commands used to finish a libtool library installation in a directory.
17223 finish_cmds=$lt_finish_cmds
17225 # As "finish_cmds", except a single script fragment to be evaled but
17226 # not shown.
17227 finish_eval=$lt_finish_eval
17229 # Whether we should hardcode library paths into libraries.
17230 hardcode_into_libs=$hardcode_into_libs
17232 # Compile-time system search path for libraries.
17233 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17235 # Run-time system search path for libraries.
17236 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17238 # Whether dlopen is supported.
17239 dlopen_support=$enable_dlopen
17241 # Whether dlopen of programs is supported.
17242 dlopen_self=$enable_dlopen_self
17244 # Whether dlopen of statically linked programs is supported.
17245 dlopen_self_static=$enable_dlopen_self_static
17247 # Commands to strip libraries.
17248 old_striplib=$lt_old_striplib
17249 striplib=$lt_striplib
17252 # The linker used to build libraries.
17253 LD=$lt_LD
17255 # How to create reloadable object files.
17256 reload_flag=$lt_reload_flag
17257 reload_cmds=$lt_reload_cmds
17259 # Commands used to build an old-style archive.
17260 old_archive_cmds=$lt_old_archive_cmds
17262 # A language specific compiler.
17263 CC=$lt_compiler
17265 # Is the compiler the GNU compiler?
17266 with_gcc=$GCC
17268 # Compiler flag to turn off builtin functions.
17269 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17271 # Additional compiler flags for building library objects.
17272 pic_flag=$lt_lt_prog_compiler_pic
17274 # How to pass a linker flag through the compiler.
17275 wl=$lt_lt_prog_compiler_wl
17277 # Compiler flag to prevent dynamic linking.
17278 link_static_flag=$lt_lt_prog_compiler_static
17280 # Does compiler simultaneously support -c and -o options?
17281 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17283 # Whether or not to add -lc for building shared libraries.
17284 build_libtool_need_lc=$archive_cmds_need_lc
17286 # Whether or not to disallow shared libs when runtime libs are static.
17287 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17289 # Compiler flag to allow reflexive dlopens.
17290 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17292 # Compiler flag to generate shared objects directly from archives.
17293 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17295 # Whether the compiler copes with passing no objects directly.
17296 compiler_needs_object=$lt_compiler_needs_object
17298 # Create an old-style archive from a shared archive.
17299 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17301 # Create a temporary old-style archive to link instead of a shared archive.
17302 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17304 # Commands used to build a shared archive.
17305 archive_cmds=$lt_archive_cmds
17306 archive_expsym_cmds=$lt_archive_expsym_cmds
17308 # Commands used to build a loadable module if different from building
17309 # a shared archive.
17310 module_cmds=$lt_module_cmds
17311 module_expsym_cmds=$lt_module_expsym_cmds
17313 # Whether we are building with GNU ld or not.
17314 with_gnu_ld=$lt_with_gnu_ld
17316 # Flag that allows shared libraries with undefined symbols to be built.
17317 allow_undefined_flag=$lt_allow_undefined_flag
17319 # Flag that enforces no undefined symbols.
17320 no_undefined_flag=$lt_no_undefined_flag
17322 # Flag to hardcode \$libdir into a binary during linking.
17323 # This must work even if \$libdir does not exist
17324 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17326 # Whether we need a single "-rpath" flag with a separated argument.
17327 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17329 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17330 # DIR into the resulting binary.
17331 hardcode_direct=$hardcode_direct
17333 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17334 # DIR into the resulting binary and the resulting library dependency is
17335 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17336 # library is relocated.
17337 hardcode_direct_absolute=$hardcode_direct_absolute
17339 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17340 # into the resulting binary.
17341 hardcode_minus_L=$hardcode_minus_L
17343 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17344 # into the resulting binary.
17345 hardcode_shlibpath_var=$hardcode_shlibpath_var
17347 # Set to "yes" if building a shared library automatically hardcodes DIR
17348 # into the library and all subsequent libraries and executables linked
17349 # against it.
17350 hardcode_automatic=$hardcode_automatic
17352 # Set to yes if linker adds runtime paths of dependent libraries
17353 # to runtime path list.
17354 inherit_rpath=$inherit_rpath
17356 # Whether libtool must link a program against all its dependency libraries.
17357 link_all_deplibs=$link_all_deplibs
17359 # Set to "yes" if exported symbols are required.
17360 always_export_symbols=$always_export_symbols
17362 # The commands to list exported symbols.
17363 export_symbols_cmds=$lt_export_symbols_cmds
17365 # Symbols that should not be listed in the preloaded symbols.
17366 exclude_expsyms=$lt_exclude_expsyms
17368 # Symbols that must always be exported.
17369 include_expsyms=$lt_include_expsyms
17371 # Commands necessary for linking programs (against libraries) with templates.
17372 prelink_cmds=$lt_prelink_cmds
17374 # Commands necessary for finishing linking programs.
17375 postlink_cmds=$lt_postlink_cmds
17377 # Specify filename containing input files.
17378 file_list_spec=$lt_file_list_spec
17380 # How to hardcode a shared library path into an executable.
17381 hardcode_action=$hardcode_action
17383 # The directories searched by this compiler when creating a shared library.
17384 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17386 # Dependencies to place before and after the objects being linked to
17387 # create a shared library.
17388 predep_objects=$lt_predep_objects
17389 postdep_objects=$lt_postdep_objects
17390 predeps=$lt_predeps
17391 postdeps=$lt_postdeps
17393 # The library search path used internally by the compiler when linking
17394 # a shared library.
17395 compiler_lib_search_path=$lt_compiler_lib_search_path
17397 # ### END LIBTOOL CONFIG
17399 _LT_EOF
17401   case $host_os in
17402   aix3*)
17403     cat <<\_LT_EOF >> "$cfgfile"
17404 # AIX sometimes has problems with the GCC collect2 program.  For some
17405 # reason, if we set the COLLECT_NAMES environment variable, the problems
17406 # vanish in a puff of smoke.
17407 if test "X${COLLECT_NAMES+set}" != Xset; then
17408   COLLECT_NAMES=
17409   export COLLECT_NAMES
17411 _LT_EOF
17412     ;;
17413   esac
17415   
17416 ltmain="$ac_aux_dir/ltmain.sh"
17419   # We use sed instead of cat because bash on DJGPP gets confused if
17420   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17421   # text mode, it properly converts lines to CR/LF.  This bash problem
17422   # is reportedly fixed, but why not run on old versions too?
17423   sed '$q' "$ltmain" >> "$cfgfile" \
17424      || (rm -f "$cfgfile"; exit 1)
17426   if test x"$xsi_shell" = xyes; then
17427   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17428 func_dirname ()\
17430 \    case ${1} in\
17431 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17432 \      *  ) func_dirname_result="${3}" ;;\
17433 \    esac\
17434 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17435   && mv -f "$cfgfile.tmp" "$cfgfile" \
17436     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17437 test 0 -eq $? || _lt_function_replace_fail=:
17440   sed -e '/^func_basename ()$/,/^} # func_basename /c\
17441 func_basename ()\
17443 \    func_basename_result="${1##*/}"\
17444 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17445   && mv -f "$cfgfile.tmp" "$cfgfile" \
17446     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17447 test 0 -eq $? || _lt_function_replace_fail=:
17450   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17451 func_dirname_and_basename ()\
17453 \    case ${1} in\
17454 \      */*) func_dirname_result="${1%/*}${2}" ;;\
17455 \      *  ) func_dirname_result="${3}" ;;\
17456 \    esac\
17457 \    func_basename_result="${1##*/}"\
17458 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17459   && mv -f "$cfgfile.tmp" "$cfgfile" \
17460     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17461 test 0 -eq $? || _lt_function_replace_fail=:
17464   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17465 func_stripname ()\
17467 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17468 \    # positional parameters, so assign one to ordinary parameter first.\
17469 \    func_stripname_result=${3}\
17470 \    func_stripname_result=${func_stripname_result#"${1}"}\
17471 \    func_stripname_result=${func_stripname_result%"${2}"}\
17472 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17473   && mv -f "$cfgfile.tmp" "$cfgfile" \
17474     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17475 test 0 -eq $? || _lt_function_replace_fail=:
17478   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17479 func_split_long_opt ()\
17481 \    func_split_long_opt_name=${1%%=*}\
17482 \    func_split_long_opt_arg=${1#*=}\
17483 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17484   && mv -f "$cfgfile.tmp" "$cfgfile" \
17485     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17486 test 0 -eq $? || _lt_function_replace_fail=:
17489   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17490 func_split_short_opt ()\
17492 \    func_split_short_opt_arg=${1#??}\
17493 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17494 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17495   && mv -f "$cfgfile.tmp" "$cfgfile" \
17496     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17497 test 0 -eq $? || _lt_function_replace_fail=:
17500   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17501 func_lo2o ()\
17503 \    case ${1} in\
17504 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17505 \      *)    func_lo2o_result=${1} ;;\
17506 \    esac\
17507 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17508   && mv -f "$cfgfile.tmp" "$cfgfile" \
17509     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17510 test 0 -eq $? || _lt_function_replace_fail=:
17513   sed -e '/^func_xform ()$/,/^} # func_xform /c\
17514 func_xform ()\
17516     func_xform_result=${1%.*}.lo\
17517 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17518   && mv -f "$cfgfile.tmp" "$cfgfile" \
17519     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17520 test 0 -eq $? || _lt_function_replace_fail=:
17523   sed -e '/^func_arith ()$/,/^} # func_arith /c\
17524 func_arith ()\
17526     func_arith_result=$(( $* ))\
17527 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17528   && mv -f "$cfgfile.tmp" "$cfgfile" \
17529     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17530 test 0 -eq $? || _lt_function_replace_fail=:
17533   sed -e '/^func_len ()$/,/^} # func_len /c\
17534 func_len ()\
17536     func_len_result=${#1}\
17537 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17538   && mv -f "$cfgfile.tmp" "$cfgfile" \
17539     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17540 test 0 -eq $? || _lt_function_replace_fail=:
17544 if test x"$lt_shell_append" = xyes; then
17545   sed -e '/^func_append ()$/,/^} # func_append /c\
17546 func_append ()\
17548     eval "${1}+=\\${2}"\
17549 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17550   && mv -f "$cfgfile.tmp" "$cfgfile" \
17551     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17552 test 0 -eq $? || _lt_function_replace_fail=:
17555   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17556 func_append_quoted ()\
17558 \    func_quote_for_eval "${2}"\
17559 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17560 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17561   && mv -f "$cfgfile.tmp" "$cfgfile" \
17562     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17563 test 0 -eq $? || _lt_function_replace_fail=:
17566   # Save a `func_append' function call where possible by direct use of '+='
17567   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17568     && mv -f "$cfgfile.tmp" "$cfgfile" \
17569       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17570   test 0 -eq $? || _lt_function_replace_fail=:
17571 else
17572   # Save a `func_append' function call even when '+=' is not available
17573   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17574     && mv -f "$cfgfile.tmp" "$cfgfile" \
17575       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17576   test 0 -eq $? || _lt_function_replace_fail=:
17579 if test x"$_lt_function_replace_fail" = x":"; then
17580   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17581 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17585    mv -f "$cfgfile" "$ofile" ||
17586     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17587   chmod +x "$ofile"
17590     cat <<_LT_EOF >> "$ofile"
17592 # ### BEGIN LIBTOOL TAG CONFIG: CXX
17594 # The linker used to build libraries.
17595 LD=$lt_LD_CXX
17597 # How to create reloadable object files.
17598 reload_flag=$lt_reload_flag_CXX
17599 reload_cmds=$lt_reload_cmds_CXX
17601 # Commands used to build an old-style archive.
17602 old_archive_cmds=$lt_old_archive_cmds_CXX
17604 # A language specific compiler.
17605 CC=$lt_compiler_CXX
17607 # Is the compiler the GNU compiler?
17608 with_gcc=$GCC_CXX
17610 # Compiler flag to turn off builtin functions.
17611 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17613 # Additional compiler flags for building library objects.
17614 pic_flag=$lt_lt_prog_compiler_pic_CXX
17616 # How to pass a linker flag through the compiler.
17617 wl=$lt_lt_prog_compiler_wl_CXX
17619 # Compiler flag to prevent dynamic linking.
17620 link_static_flag=$lt_lt_prog_compiler_static_CXX
17622 # Does compiler simultaneously support -c and -o options?
17623 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17625 # Whether or not to add -lc for building shared libraries.
17626 build_libtool_need_lc=$archive_cmds_need_lc_CXX
17628 # Whether or not to disallow shared libs when runtime libs are static.
17629 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17631 # Compiler flag to allow reflexive dlopens.
17632 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17634 # Compiler flag to generate shared objects directly from archives.
17635 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17637 # Whether the compiler copes with passing no objects directly.
17638 compiler_needs_object=$lt_compiler_needs_object_CXX
17640 # Create an old-style archive from a shared archive.
17641 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17643 # Create a temporary old-style archive to link instead of a shared archive.
17644 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17646 # Commands used to build a shared archive.
17647 archive_cmds=$lt_archive_cmds_CXX
17648 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17650 # Commands used to build a loadable module if different from building
17651 # a shared archive.
17652 module_cmds=$lt_module_cmds_CXX
17653 module_expsym_cmds=$lt_module_expsym_cmds_CXX
17655 # Whether we are building with GNU ld or not.
17656 with_gnu_ld=$lt_with_gnu_ld_CXX
17658 # Flag that allows shared libraries with undefined symbols to be built.
17659 allow_undefined_flag=$lt_allow_undefined_flag_CXX
17661 # Flag that enforces no undefined symbols.
17662 no_undefined_flag=$lt_no_undefined_flag_CXX
17664 # Flag to hardcode \$libdir into a binary during linking.
17665 # This must work even if \$libdir does not exist
17666 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17668 # Whether we need a single "-rpath" flag with a separated argument.
17669 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17671 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17672 # DIR into the resulting binary.
17673 hardcode_direct=$hardcode_direct_CXX
17675 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17676 # DIR into the resulting binary and the resulting library dependency is
17677 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17678 # library is relocated.
17679 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17681 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17682 # into the resulting binary.
17683 hardcode_minus_L=$hardcode_minus_L_CXX
17685 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17686 # into the resulting binary.
17687 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17689 # Set to "yes" if building a shared library automatically hardcodes DIR
17690 # into the library and all subsequent libraries and executables linked
17691 # against it.
17692 hardcode_automatic=$hardcode_automatic_CXX
17694 # Set to yes if linker adds runtime paths of dependent libraries
17695 # to runtime path list.
17696 inherit_rpath=$inherit_rpath_CXX
17698 # Whether libtool must link a program against all its dependency libraries.
17699 link_all_deplibs=$link_all_deplibs_CXX
17701 # Set to "yes" if exported symbols are required.
17702 always_export_symbols=$always_export_symbols_CXX
17704 # The commands to list exported symbols.
17705 export_symbols_cmds=$lt_export_symbols_cmds_CXX
17707 # Symbols that should not be listed in the preloaded symbols.
17708 exclude_expsyms=$lt_exclude_expsyms_CXX
17710 # Symbols that must always be exported.
17711 include_expsyms=$lt_include_expsyms_CXX
17713 # Commands necessary for linking programs (against libraries) with templates.
17714 prelink_cmds=$lt_prelink_cmds_CXX
17716 # Commands necessary for finishing linking programs.
17717 postlink_cmds=$lt_postlink_cmds_CXX
17719 # Specify filename containing input files.
17720 file_list_spec=$lt_file_list_spec_CXX
17722 # How to hardcode a shared library path into an executable.
17723 hardcode_action=$hardcode_action_CXX
17725 # The directories searched by this compiler when creating a shared library.
17726 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17728 # Dependencies to place before and after the objects being linked to
17729 # create a shared library.
17730 predep_objects=$lt_predep_objects_CXX
17731 postdep_objects=$lt_postdep_objects_CXX
17732 predeps=$lt_predeps_CXX
17733 postdeps=$lt_postdeps_CXX
17735 # The library search path used internally by the compiler when linking
17736 # a shared library.
17737 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17739 # ### END LIBTOOL TAG CONFIG: CXX
17740 _LT_EOF
17742  ;;
17744   esac
17745 done # for ac_tag
17748 as_fn_exit 0
17749 _ACEOF
17750 ac_clean_files=$ac_clean_files_save
17752 test $ac_write_fail = 0 ||
17753   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17756 # configure is writing to config.log, and then calls config.status.
17757 # config.status does its own redirection, appending to config.log.
17758 # Unfortunately, on DOS this fails, as config.log is still kept open
17759 # by configure, so config.status won't be able to write to it; its
17760 # output is simply discarded.  So we exec the FD to /dev/null,
17761 # effectively closing config.log, so it can be properly (re)opened and
17762 # appended to by config.status.  When coming back to configure, we
17763 # need to make the FD available again.
17764 if test "$no_create" != yes; then
17765   ac_cs_success=:
17766   ac_config_status_args=
17767   test "$silent" = yes &&
17768     ac_config_status_args="$ac_config_status_args --quiet"
17769   exec 5>/dev/null
17770   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17771   exec 5>>config.log
17772   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17773   # would make configure fail if this is the last instruction.
17774   $ac_cs_success || as_fn_exit 1
17776 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17777   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17778 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}