Imported Upstream version 2.9.2
[platform/upstream/fuse.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for fuse 2.9.2.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139   emulate sh
140   NULLCMD=:
141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142   # is contrary to our usage.  Disable this feature.
143   alias -g '\${1+\"\$@\"}'='\"\$@\"'
144   setopt NO_GLOB_SUBST
145 else
146   case \`(set -o) 2>/dev/null\` in #(
147   *posix*) :
148     set -o posix ;; #(
149   *) :
150      ;;
151 esac
152 fi
153 "
154   as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168   exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175
176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180     PATH=/empty FPATH=/empty; export PATH FPATH
181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184   if (eval "$as_required") 2>/dev/null; then :
185   as_have_required=yes
186 else
187   as_have_required=no
188 fi
189   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
190
191 else
192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
193 as_found=false
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
195 do
196   IFS=$as_save_IFS
197   test -z "$as_dir" && as_dir=.
198   as_found=:
199   case $as_dir in #(
200          /*)
201            for as_base in sh bash ksh sh5; do
202              # Try only shells that exist, to save several forks.
203              as_shell=$as_dir/$as_base
204              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206   CONFIG_SHELL=$as_shell as_have_required=yes
207                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208   break 2
209 fi
210 fi
211            done;;
212        esac
213   as_found=false
214 done
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217   CONFIG_SHELL=$SHELL as_have_required=yes
218 fi; }
219 IFS=$as_save_IFS
220
221
222       if test "x$CONFIG_SHELL" != x; then :
223   # We cannot yet assume a decent shell, so we have to provide a
224         # neutralization value for shells without unset; and this also
225         # works around shells that cannot unset nonexistent variables.
226         # Preserve -v and -x to the replacement shell.
227         BASH_ENV=/dev/null
228         ENV=/dev/null
229         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230         export CONFIG_SHELL
231         case $- in # ((((
232           *v*x* | *x*v* ) as_opts=-vx ;;
233           *v* ) as_opts=-v ;;
234           *x* ) as_opts=-x ;;
235           * ) as_opts= ;;
236         esac
237         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238 fi
239
240     if test x$as_have_required = xno; then :
241   $as_echo "$0: This script requires a shell more modern than all"
242   $as_echo "$0: the shells that I found on your system."
243   if test x${ZSH_VERSION+set} = xset ; then
244     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246   else
247     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
251   fi
252   exit 1
253 fi
254 fi
255 fi
256 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
261
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
265 # as_fn_unset VAR
266 # ---------------
267 # Portably unset VAR.
268 as_fn_unset ()
269 {
270   { eval $1=; unset $1;}
271 }
272 as_unset=as_fn_unset
273
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
277 as_fn_set_status ()
278 {
279   return $1
280 } # as_fn_set_status
281
282 # as_fn_exit STATUS
283 # -----------------
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
285 as_fn_exit ()
286 {
287   set +e
288   as_fn_set_status $1
289   exit $1
290 } # as_fn_exit
291
292 # as_fn_mkdir_p
293 # -------------
294 # Create "$as_dir" as a directory, including parents if necessary.
295 as_fn_mkdir_p ()
296 {
297
298   case $as_dir in #(
299   -*) as_dir=./$as_dir;;
300   esac
301   test -d "$as_dir" || eval $as_mkdir_p || {
302     as_dirs=
303     while :; do
304       case $as_dir in #(
305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
306       *) as_qdir=$as_dir;;
307       esac
308       as_dirs="'$as_qdir' $as_dirs"
309       as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311          X"$as_dir" : 'X\(//\)[^/]' \| \
312          X"$as_dir" : 'X\(//\)$' \| \
313          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316             s//\1/
317             q
318           }
319           /^X\(\/\/\)[^/].*/{
320             s//\1/
321             q
322           }
323           /^X\(\/\/\)$/{
324             s//\1/
325             q
326           }
327           /^X\(\/\).*/{
328             s//\1/
329             q
330           }
331           s/.*/./; q'`
332       test -d "$as_dir" && break
333     done
334     test -z "$as_dirs" || eval "mkdir $as_dirs"
335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
336
337
338 } # as_fn_mkdir_p
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
344 # implementations.
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346   eval 'as_fn_append ()
347   {
348     eval $1+=\$2
349   }'
350 else
351   as_fn_append ()
352   {
353     eval $1=\$$1\$2
354   }
355 fi # as_fn_append
356
357 # as_fn_arith ARG...
358 # ------------------
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
363   eval 'as_fn_arith ()
364   {
365     as_val=$(( $* ))
366   }'
367 else
368   as_fn_arith ()
369   {
370     as_val=`expr "$@" || test $? -eq 1`
371   }
372 fi # as_fn_arith
373
374
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
380 as_fn_error ()
381 {
382   as_status=$1; test $as_status -eq 0 && as_status=1
383   if test "$4"; then
384     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
386   fi
387   $as_echo "$as_me: error: $2" >&2
388   as_fn_exit $as_status
389 } # as_fn_error
390
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392    test "X`expr 00001 : '.*\(...\)'`" = X001; then
393   as_expr=expr
394 else
395   as_expr=false
396 fi
397
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399   as_basename=basename
400 else
401   as_basename=false
402 fi
403
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405   as_dirname=dirname
406 else
407   as_dirname=false
408 fi
409
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412          X"$0" : 'X\(//\)$' \| \
413          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
414 $as_echo X/"$0" |
415     sed '/^.*\/\([^/][^/]*\)\/*$/{
416             s//\1/
417             q
418           }
419           /^X\/\(\/\/\)$/{
420             s//\1/
421             q
422           }
423           /^X\/\(\/\).*/{
424             s//\1/
425             q
426           }
427           s/.*/./; q'`
428
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
435
436
437   as_lineno_1=$LINENO as_lineno_1a=$LINENO
438   as_lineno_2=$LINENO as_lineno_2a=$LINENO
439   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
442   sed -n '
443     p
444     /[$]LINENO/=
445   ' <$as_myself |
446     sed '
447       s/[$]LINENO.*/&-/
448       t lineno
449       b
450       :lineno
451       N
452       :loop
453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454       t loop
455       s/-\n.*//
456     ' >$as_me.lineno &&
457   chmod +x "$as_me.lineno" ||
458     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
459
460   # Don't try to exec as it changes $[0], causing all sort of problems
461   # (the dirname of $[0] is not the place where we might find the
462   # original and so on.  Autoconf is especially sensitive to this).
463   . "./$as_me.lineno"
464   # Exit status is that of the last command.
465   exit
466 }
467
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
470 -n*)
471   case `echo 'xy\c'` in
472   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
473   xy)  ECHO_C='\c';;
474   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
475        ECHO_T=' ';;
476   esac;;
477 *)
478   ECHO_N='-n';;
479 esac
480
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483   rm -f conf$$.dir/conf$$.file
484 else
485   rm -f conf$$.dir
486   mkdir conf$$.dir 2>/dev/null
487 fi
488 if (echo >conf$$.file) 2>/dev/null; then
489   if ln -s conf$$.file conf$$ 2>/dev/null; then
490     as_ln_s='ln -s'
491     # ... but there are two gotchas:
492     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494     # In both cases, we have to default to `cp -p'.
495     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
496       as_ln_s='cp -p'
497   elif ln conf$$.file conf$$ 2>/dev/null; then
498     as_ln_s=ln
499   else
500     as_ln_s='cp -p'
501   fi
502 else
503   as_ln_s='cp -p'
504 fi
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
507
508 if mkdir -p . 2>/dev/null; then
509   as_mkdir_p='mkdir -p "$as_dir"'
510 else
511   test -d ./-p && rmdir ./-p
512   as_mkdir_p=false
513 fi
514
515 if test -x / >/dev/null 2>&1; then
516   as_test_x='test -x'
517 else
518   if ls -dL / >/dev/null 2>&1; then
519     as_ls_L_option=L
520   else
521     as_ls_L_option=
522   fi
523   as_test_x='
524     eval sh -c '\''
525       if test -d "$1"; then
526         test -d "$1/.";
527       else
528         case $1 in #(
529         -*)set "./$1";;
530         esac;
531         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532         ???[sx]*):;;*)false;;esac;fi
533     '\'' sh
534   '
535 fi
536 as_executable_p=$as_test_x
537
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
540
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
543
544 SHELL=${CONFIG_SHELL-/bin/sh}
545
546
547 test -n "$DJDIR" || exec 7<&0 </dev/null
548 exec 6>&1
549
550 # Name of the host.
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
554
555 #
556 # Initializations.
557 #
558 ac_default_prefix=/usr/local
559 ac_clean_files=
560 ac_config_libobj_dir=.
561 LIBOBJS=
562 cross_compiling=no
563 subdirs=
564 MFLAGS=
565 MAKEFLAGS=
566
567 # Identity of this package.
568 PACKAGE_NAME='fuse'
569 PACKAGE_TARNAME='fuse'
570 PACKAGE_VERSION='2.9.2'
571 PACKAGE_STRING='fuse 2.9.2'
572 PACKAGE_BUGREPORT=''
573 PACKAGE_URL=''
574
575 # Factoring default headers for most tests.
576 ac_includes_default="\
577 #include <stdio.h>
578 #ifdef HAVE_SYS_TYPES_H
579 # include <sys/types.h>
580 #endif
581 #ifdef HAVE_SYS_STAT_H
582 # include <sys/stat.h>
583 #endif
584 #ifdef STDC_HEADERS
585 # include <stdlib.h>
586 # include <stddef.h>
587 #else
588 # ifdef HAVE_STDLIB_H
589 #  include <stdlib.h>
590 # endif
591 #endif
592 #ifdef HAVE_STRING_H
593 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
594 #  include <memory.h>
595 # endif
596 # include <string.h>
597 #endif
598 #ifdef HAVE_STRINGS_H
599 # include <strings.h>
600 #endif
601 #ifdef HAVE_INTTYPES_H
602 # include <inttypes.h>
603 #endif
604 #ifdef HAVE_STDINT_H
605 # include <stdint.h>
606 #endif
607 #ifdef HAVE_UNISTD_H
608 # include <unistd.h>
609 #endif"
610
611 ac_subst_vars='am__EXEEXT_FALSE
612 am__EXEEXT_TRUE
613 LTLIBOBJS
614 LIBOBJS
615 BSD_FALSE
616 BSD_TRUE
617 NETBSD_FALSE
618 NETBSD_TRUE
619 LINUX_FALSE
620 LINUX_TRUE
621 subdirs2
622 INIT_D_PATH
623 UDEV_RULES_PATH
624 MOUNT_FUSE_PATH
625 libfuse_libs
626 ICONV_FALSE
627 ICONV_TRUE
628 LTLIBICONV
629 LIBICONV
630 pkgconfigdir
631 CPP
632 OTOOL64
633 OTOOL
634 LIPO
635 NMEDIT
636 DSYMUTIL
637 MANIFEST_TOOL
638 RANLIB
639 ac_ct_AR
640 AR
641 DLLTOOL
642 OBJDUMP
643 LN_S
644 NM
645 ac_ct_DUMPBIN
646 DUMPBIN
647 LD
648 FGREP
649 EGREP
650 GREP
651 SED
652 am__fastdepCC_FALSE
653 am__fastdepCC_TRUE
654 CCDEPMODE
655 AMDEPBACKSLASH
656 AMDEP_FALSE
657 AMDEP_TRUE
658 am__quote
659 am__include
660 DEPDIR
661 OBJEXT
662 EXEEXT
663 ac_ct_CC
664 CPPFLAGS
665 LDFLAGS
666 CFLAGS
667 CC
668 LIBTOOL
669 AM_BACKSLASH
670 AM_DEFAULT_VERBOSITY
671 am__untar
672 am__tar
673 AMTAR
674 am__leading_dot
675 SET_MAKE
676 AWK
677 mkdir_p
678 MKDIR_P
679 INSTALL_STRIP_PROGRAM
680 STRIP
681 install_sh
682 MAKEINFO
683 AUTOHEADER
684 AUTOMAKE
685 AUTOCONF
686 ACLOCAL
687 VERSION
688 PACKAGE
689 CYGPATH_W
690 am__isrc
691 INSTALL_DATA
692 INSTALL_SCRIPT
693 INSTALL_PROGRAM
694 target_os
695 target_vendor
696 target_cpu
697 target
698 host_os
699 host_vendor
700 host_cpu
701 host
702 build_os
703 build_vendor
704 build_cpu
705 build
706 target_alias
707 host_alias
708 build_alias
709 LIBS
710 ECHO_T
711 ECHO_N
712 ECHO_C
713 DEFS
714 mandir
715 localedir
716 libdir
717 psdir
718 pdfdir
719 dvidir
720 htmldir
721 infodir
722 docdir
723 oldincludedir
724 includedir
725 localstatedir
726 sharedstatedir
727 sysconfdir
728 datadir
729 datarootdir
730 libexecdir
731 sbindir
732 bindir
733 program_transform_name
734 prefix
735 exec_prefix
736 PACKAGE_URL
737 PACKAGE_BUGREPORT
738 PACKAGE_STRING
739 PACKAGE_VERSION
740 PACKAGE_TARNAME
741 PACKAGE_NAME
742 PATH_SEPARATOR
743 SHELL'
744 ac_subst_files=''
745 ac_user_opts='
746 enable_option_checking
747 enable_silent_rules
748 enable_shared
749 enable_static
750 with_pic
751 enable_fast_install
752 enable_dependency_tracking
753 with_gnu_ld
754 with_sysroot
755 enable_libtool_lock
756 enable_lib
757 enable_util
758 enable_example
759 enable_mtab
760 with_pkgconfigdir
761 with_libiconv_prefix
762 enable_rpath
763 '
764       ac_precious_vars='build_alias
765 host_alias
766 target_alias
767 CC
768 CFLAGS
769 LDFLAGS
770 LIBS
771 CPPFLAGS
772 CPP'
773
774
775 # Initialize some variables set by options.
776 ac_init_help=
777 ac_init_version=false
778 ac_unrecognized_opts=
779 ac_unrecognized_sep=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
782 cache_file=/dev/null
783 exec_prefix=NONE
784 no_create=
785 no_recursion=
786 prefix=NONE
787 program_prefix=NONE
788 program_suffix=NONE
789 program_transform_name=s,x,x,
790 silent=
791 site=
792 srcdir=
793 verbose=
794 x_includes=NONE
795 x_libraries=NONE
796
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir='${exec_prefix}/bin'
804 sbindir='${exec_prefix}/sbin'
805 libexecdir='${exec_prefix}/libexec'
806 datarootdir='${prefix}/share'
807 datadir='${datarootdir}'
808 sysconfdir='${prefix}/etc'
809 sharedstatedir='${prefix}/com'
810 localstatedir='${prefix}/var'
811 includedir='${prefix}/include'
812 oldincludedir='/usr/include'
813 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
814 infodir='${datarootdir}/info'
815 htmldir='${docdir}'
816 dvidir='${docdir}'
817 pdfdir='${docdir}'
818 psdir='${docdir}'
819 libdir='${exec_prefix}/lib'
820 localedir='${datarootdir}/locale'
821 mandir='${datarootdir}/man'
822
823 ac_prev=
824 ac_dashdash=
825 for ac_option
826 do
827   # If the previous option needs an argument, assign it.
828   if test -n "$ac_prev"; then
829     eval $ac_prev=\$ac_option
830     ac_prev=
831     continue
832   fi
833
834   case $ac_option in
835   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
836   *=)   ac_optarg= ;;
837   *)    ac_optarg=yes ;;
838   esac
839
840   # Accept the important Cygnus configure options, so we can diagnose typos.
841
842   case $ac_dashdash$ac_option in
843   --)
844     ac_dashdash=yes ;;
845
846   -bindir | --bindir | --bindi | --bind | --bin | --bi)
847     ac_prev=bindir ;;
848   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
849     bindir=$ac_optarg ;;
850
851   -build | --build | --buil | --bui | --bu)
852     ac_prev=build_alias ;;
853   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
854     build_alias=$ac_optarg ;;
855
856   -cache-file | --cache-file | --cache-fil | --cache-fi \
857   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
858     ac_prev=cache_file ;;
859   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
860   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
861     cache_file=$ac_optarg ;;
862
863   --config-cache | -C)
864     cache_file=config.cache ;;
865
866   -datadir | --datadir | --datadi | --datad)
867     ac_prev=datadir ;;
868   -datadir=* | --datadir=* | --datadi=* | --datad=*)
869     datadir=$ac_optarg ;;
870
871   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
872   | --dataroo | --dataro | --datar)
873     ac_prev=datarootdir ;;
874   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
875   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
876     datarootdir=$ac_optarg ;;
877
878   -disable-* | --disable-*)
879     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
880     # Reject names that are not valid shell variable names.
881     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882       as_fn_error $? "invalid feature name: $ac_useropt"
883     ac_useropt_orig=$ac_useropt
884     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
885     case $ac_user_opts in
886       *"
887 "enable_$ac_useropt"
888 "*) ;;
889       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
890          ac_unrecognized_sep=', ';;
891     esac
892     eval enable_$ac_useropt=no ;;
893
894   -docdir | --docdir | --docdi | --doc | --do)
895     ac_prev=docdir ;;
896   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
897     docdir=$ac_optarg ;;
898
899   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
900     ac_prev=dvidir ;;
901   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
902     dvidir=$ac_optarg ;;
903
904   -enable-* | --enable-*)
905     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906     # Reject names that are not valid shell variable names.
907     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
908       as_fn_error $? "invalid feature name: $ac_useropt"
909     ac_useropt_orig=$ac_useropt
910     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
911     case $ac_user_opts in
912       *"
913 "enable_$ac_useropt"
914 "*) ;;
915       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
916          ac_unrecognized_sep=', ';;
917     esac
918     eval enable_$ac_useropt=\$ac_optarg ;;
919
920   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922   | --exec | --exe | --ex)
923     ac_prev=exec_prefix ;;
924   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926   | --exec=* | --exe=* | --ex=*)
927     exec_prefix=$ac_optarg ;;
928
929   -gas | --gas | --ga | --g)
930     # Obsolete; use --with-gas.
931     with_gas=yes ;;
932
933   -help | --help | --hel | --he | -h)
934     ac_init_help=long ;;
935   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936     ac_init_help=recursive ;;
937   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938     ac_init_help=short ;;
939
940   -host | --host | --hos | --ho)
941     ac_prev=host_alias ;;
942   -host=* | --host=* | --hos=* | --ho=*)
943     host_alias=$ac_optarg ;;
944
945   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946     ac_prev=htmldir ;;
947   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948   | --ht=*)
949     htmldir=$ac_optarg ;;
950
951   -includedir | --includedir | --includedi | --included | --include \
952   | --includ | --inclu | --incl | --inc)
953     ac_prev=includedir ;;
954   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955   | --includ=* | --inclu=* | --incl=* | --inc=*)
956     includedir=$ac_optarg ;;
957
958   -infodir | --infodir | --infodi | --infod | --info | --inf)
959     ac_prev=infodir ;;
960   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961     infodir=$ac_optarg ;;
962
963   -libdir | --libdir | --libdi | --libd)
964     ac_prev=libdir ;;
965   -libdir=* | --libdir=* | --libdi=* | --libd=*)
966     libdir=$ac_optarg ;;
967
968   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969   | --libexe | --libex | --libe)
970     ac_prev=libexecdir ;;
971   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972   | --libexe=* | --libex=* | --libe=*)
973     libexecdir=$ac_optarg ;;
974
975   -localedir | --localedir | --localedi | --localed | --locale)
976     ac_prev=localedir ;;
977   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978     localedir=$ac_optarg ;;
979
980   -localstatedir | --localstatedir | --localstatedi | --localstated \
981   | --localstate | --localstat | --localsta | --localst | --locals)
982     ac_prev=localstatedir ;;
983   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985     localstatedir=$ac_optarg ;;
986
987   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988     ac_prev=mandir ;;
989   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990     mandir=$ac_optarg ;;
991
992   -nfp | --nfp | --nf)
993     # Obsolete; use --without-fp.
994     with_fp=no ;;
995
996   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997   | --no-cr | --no-c | -n)
998     no_create=yes ;;
999
1000   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002     no_recursion=yes ;;
1003
1004   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006   | --oldin | --oldi | --old | --ol | --o)
1007     ac_prev=oldincludedir ;;
1008   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011     oldincludedir=$ac_optarg ;;
1012
1013   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014     ac_prev=prefix ;;
1015   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016     prefix=$ac_optarg ;;
1017
1018   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019   | --program-pre | --program-pr | --program-p)
1020     ac_prev=program_prefix ;;
1021   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023     program_prefix=$ac_optarg ;;
1024
1025   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026   | --program-suf | --program-su | --program-s)
1027     ac_prev=program_suffix ;;
1028   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030     program_suffix=$ac_optarg ;;
1031
1032   -program-transform-name | --program-transform-name \
1033   | --program-transform-nam | --program-transform-na \
1034   | --program-transform-n | --program-transform- \
1035   | --program-transform | --program-transfor \
1036   | --program-transfo | --program-transf \
1037   | --program-trans | --program-tran \
1038   | --progr-tra | --program-tr | --program-t)
1039     ac_prev=program_transform_name ;;
1040   -program-transform-name=* | --program-transform-name=* \
1041   | --program-transform-nam=* | --program-transform-na=* \
1042   | --program-transform-n=* | --program-transform-=* \
1043   | --program-transform=* | --program-transfor=* \
1044   | --program-transfo=* | --program-transf=* \
1045   | --program-trans=* | --program-tran=* \
1046   | --progr-tra=* | --program-tr=* | --program-t=*)
1047     program_transform_name=$ac_optarg ;;
1048
1049   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050     ac_prev=pdfdir ;;
1051   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052     pdfdir=$ac_optarg ;;
1053
1054   -psdir | --psdir | --psdi | --psd | --ps)
1055     ac_prev=psdir ;;
1056   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057     psdir=$ac_optarg ;;
1058
1059   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060   | -silent | --silent | --silen | --sile | --sil)
1061     silent=yes ;;
1062
1063   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064     ac_prev=sbindir ;;
1065   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066   | --sbi=* | --sb=*)
1067     sbindir=$ac_optarg ;;
1068
1069   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071   | --sharedst | --shareds | --shared | --share | --shar \
1072   | --sha | --sh)
1073     ac_prev=sharedstatedir ;;
1074   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077   | --sha=* | --sh=*)
1078     sharedstatedir=$ac_optarg ;;
1079
1080   -site | --site | --sit)
1081     ac_prev=site ;;
1082   -site=* | --site=* | --sit=*)
1083     site=$ac_optarg ;;
1084
1085   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086     ac_prev=srcdir ;;
1087   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088     srcdir=$ac_optarg ;;
1089
1090   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091   | --syscon | --sysco | --sysc | --sys | --sy)
1092     ac_prev=sysconfdir ;;
1093   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095     sysconfdir=$ac_optarg ;;
1096
1097   -target | --target | --targe | --targ | --tar | --ta | --t)
1098     ac_prev=target_alias ;;
1099   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100     target_alias=$ac_optarg ;;
1101
1102   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103     verbose=yes ;;
1104
1105   -version | --version | --versio | --versi | --vers | -V)
1106     ac_init_version=: ;;
1107
1108   -with-* | --with-*)
1109     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110     # Reject names that are not valid shell variable names.
1111     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112       as_fn_error $? "invalid package name: $ac_useropt"
1113     ac_useropt_orig=$ac_useropt
1114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115     case $ac_user_opts in
1116       *"
1117 "with_$ac_useropt"
1118 "*) ;;
1119       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120          ac_unrecognized_sep=', ';;
1121     esac
1122     eval with_$ac_useropt=\$ac_optarg ;;
1123
1124   -without-* | --without-*)
1125     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126     # Reject names that are not valid shell variable names.
1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128       as_fn_error $? "invalid package name: $ac_useropt"
1129     ac_useropt_orig=$ac_useropt
1130     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131     case $ac_user_opts in
1132       *"
1133 "with_$ac_useropt"
1134 "*) ;;
1135       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1136          ac_unrecognized_sep=', ';;
1137     esac
1138     eval with_$ac_useropt=no ;;
1139
1140   --x)
1141     # Obsolete; use --with-x.
1142     with_x=yes ;;
1143
1144   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1145   | --x-incl | --x-inc | --x-in | --x-i)
1146     ac_prev=x_includes ;;
1147   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1148   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1149     x_includes=$ac_optarg ;;
1150
1151   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1152   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1153     ac_prev=x_libraries ;;
1154   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1155   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1156     x_libraries=$ac_optarg ;;
1157
1158   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1159 Try \`$0 --help' for more information"
1160     ;;
1161
1162   *=*)
1163     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1164     # Reject names that are not valid shell variable names.
1165     case $ac_envvar in #(
1166       '' | [0-9]* | *[!_$as_cr_alnum]* )
1167       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1168     esac
1169     eval $ac_envvar=\$ac_optarg
1170     export $ac_envvar ;;
1171
1172   *)
1173     # FIXME: should be removed in autoconf 3.0.
1174     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1175     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1177     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1178     ;;
1179
1180   esac
1181 done
1182
1183 if test -n "$ac_prev"; then
1184   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1185   as_fn_error $? "missing argument to $ac_option"
1186 fi
1187
1188 if test -n "$ac_unrecognized_opts"; then
1189   case $enable_option_checking in
1190     no) ;;
1191     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1192     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1193   esac
1194 fi
1195
1196 # Check all directory arguments for consistency.
1197 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1198                 datadir sysconfdir sharedstatedir localstatedir includedir \
1199                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1200                 libdir localedir mandir
1201 do
1202   eval ac_val=\$$ac_var
1203   # Remove trailing slashes.
1204   case $ac_val in
1205     */ )
1206       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1207       eval $ac_var=\$ac_val;;
1208   esac
1209   # Be sure to have absolute directory names.
1210   case $ac_val in
1211     [\\/$]* | ?:[\\/]* )  continue;;
1212     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1213   esac
1214   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1215 done
1216
1217 # There might be people who depend on the old broken behavior: `$host'
1218 # used to hold the argument of --host etc.
1219 # FIXME: To remove some day.
1220 build=$build_alias
1221 host=$host_alias
1222 target=$target_alias
1223
1224 # FIXME: To remove some day.
1225 if test "x$host_alias" != x; then
1226   if test "x$build_alias" = x; then
1227     cross_compiling=maybe
1228     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1229     If a cross compiler is detected then cross compile mode will be used" >&2
1230   elif test "x$build_alias" != "x$host_alias"; then
1231     cross_compiling=yes
1232   fi
1233 fi
1234
1235 ac_tool_prefix=
1236 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1237
1238 test "$silent" = yes && exec 6>/dev/null
1239
1240
1241 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1242 ac_ls_di=`ls -di .` &&
1243 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1244   as_fn_error $? "working directory cannot be determined"
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246   as_fn_error $? "pwd does not report name of working directory"
1247
1248
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251   ac_srcdir_defaulted=yes
1252   # Try the directory containing this script, then the parent directory.
1253   ac_confdir=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255          X"$as_myself" : 'X\(//\)[^/]' \| \
1256          X"$as_myself" : 'X\(//\)$' \| \
1257          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1260             s//\1/
1261             q
1262           }
1263           /^X\(\/\/\)[^/].*/{
1264             s//\1/
1265             q
1266           }
1267           /^X\(\/\/\)$/{
1268             s//\1/
1269             q
1270           }
1271           /^X\(\/\).*/{
1272             s//\1/
1273             q
1274           }
1275           s/.*/./; q'`
1276   srcdir=$ac_confdir
1277   if test ! -r "$srcdir/$ac_unique_file"; then
1278     srcdir=..
1279   fi
1280 else
1281   ac_srcdir_defaulted=no
1282 fi
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1285   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1286 fi
1287 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1288 ac_abs_confdir=`(
1289         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1290         pwd)`
1291 # When building in place, set srcdir=.
1292 if test "$ac_abs_confdir" = "$ac_pwd"; then
1293   srcdir=.
1294 fi
1295 # Remove unnecessary trailing slashes from srcdir.
1296 # Double slashes in file names in object file debugging info
1297 # mess up M-x gdb in Emacs.
1298 case $srcdir in
1299 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1300 esac
1301 for ac_var in $ac_precious_vars; do
1302   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1303   eval ac_env_${ac_var}_value=\$${ac_var}
1304   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1305   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1306 done
1307
1308 #
1309 # Report the --help message.
1310 #
1311 if test "$ac_init_help" = "long"; then
1312   # Omit some internal or obsolete options to make the list less imposing.
1313   # This message is too long to be a string in the A/UX 3.1 sh.
1314   cat <<_ACEOF
1315 \`configure' configures fuse 2.9.2 to adapt to many kinds of systems.
1316
1317 Usage: $0 [OPTION]... [VAR=VALUE]...
1318
1319 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1320 VAR=VALUE.  See below for descriptions of some of the useful variables.
1321
1322 Defaults for the options are specified in brackets.
1323
1324 Configuration:
1325   -h, --help              display this help and exit
1326       --help=short        display options specific to this package
1327       --help=recursive    display the short help of all the included packages
1328   -V, --version           display version information and exit
1329   -q, --quiet, --silent   do not print \`checking ...' messages
1330       --cache-file=FILE   cache test results in FILE [disabled]
1331   -C, --config-cache      alias for \`--cache-file=config.cache'
1332   -n, --no-create         do not create output files
1333       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1334
1335 Installation directories:
1336   --prefix=PREFIX         install architecture-independent files in PREFIX
1337                           [$ac_default_prefix]
1338   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1339                           [PREFIX]
1340
1341 By default, \`make install' will install all the files in
1342 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1343 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1344 for instance \`--prefix=\$HOME'.
1345
1346 For better control, use the options below.
1347
1348 Fine tuning of the installation directories:
1349   --bindir=DIR            user executables [EPREFIX/bin]
1350   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1351   --libexecdir=DIR        program executables [EPREFIX/libexec]
1352   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1353   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1354   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1355   --libdir=DIR            object code libraries [EPREFIX/lib]
1356   --includedir=DIR        C header files [PREFIX/include]
1357   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1358   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1359   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1360   --infodir=DIR           info documentation [DATAROOTDIR/info]
1361   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1362   --mandir=DIR            man documentation [DATAROOTDIR/man]
1363   --docdir=DIR            documentation root [DATAROOTDIR/doc/fuse]
1364   --htmldir=DIR           html documentation [DOCDIR]
1365   --dvidir=DIR            dvi documentation [DOCDIR]
1366   --pdfdir=DIR            pdf documentation [DOCDIR]
1367   --psdir=DIR             ps documentation [DOCDIR]
1368 _ACEOF
1369
1370   cat <<\_ACEOF
1371
1372 Program names:
1373   --program-prefix=PREFIX            prepend PREFIX to installed program names
1374   --program-suffix=SUFFIX            append SUFFIX to installed program names
1375   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1376
1377 System types:
1378   --build=BUILD     configure for building on BUILD [guessed]
1379   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1380   --target=TARGET   configure for building compilers for TARGET [HOST]
1381 _ACEOF
1382 fi
1383
1384 if test -n "$ac_init_help"; then
1385   case $ac_init_help in
1386      short | recursive ) echo "Configuration of fuse 2.9.2:";;
1387    esac
1388   cat <<\_ACEOF
1389
1390 Optional Features:
1391   --disable-option-checking  ignore unrecognized --enable/--with options
1392   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1393   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1394   --enable-silent-rules          less verbose build output (undo: `make V=1')
1395   --disable-silent-rules         verbose build output (undo: `make V=0')
1396   --enable-shared[=PKGS]  build shared libraries [default=yes]
1397   --enable-static[=PKGS]  build static libraries [default=yes]
1398   --enable-fast-install[=PKGS]
1399                           optimize for fast installation [default=yes]
1400   --disable-dependency-tracking  speeds up one-time build
1401   --enable-dependency-tracking   do not reject slow dependency extractors
1402   --disable-libtool-lock  avoid locking (might break parallel builds)
1403   --enable-lib            Compile with library
1404   --enable-util           Compile with util
1405   --enable-example        Compile with examples
1406   --disable-mtab          Disable and ignore usage of /etc/mtab
1407   --disable-rpath         do not hardcode runtime library paths
1408
1409 Optional Packages:
1410   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1411   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1412   --with-pic              try to use only PIC/non-PIC objects [default=use
1413                           both]
1414   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1415   --with-sysroot=DIR Search for dependent libraries within DIR
1416                         (or the compiler's sysroot if not specified).
1417   --with-pkgconfigdir=DIR      pkgconfig file in DIR [LIBDIR/pkgconfig]
1418   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
1419   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1420   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1421   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1422
1423 Some influential environment variables:
1424   CC          C compiler command
1425   CFLAGS      C compiler flags
1426   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1427               nonstandard directory <lib dir>
1428   LIBS        libraries to pass to the linker, e.g. -l<library>
1429   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1430               you have headers in a nonstandard directory <include dir>
1431   CPP         C preprocessor
1432
1433 Use these variables to override the choices made by `configure' or to help
1434 it to find libraries and programs with nonstandard names/locations.
1435
1436 Report bugs to the package provider.
1437 _ACEOF
1438 ac_status=$?
1439 fi
1440
1441 if test "$ac_init_help" = "recursive"; then
1442   # If there are subdirs, report their specific --help.
1443   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1444     test -d "$ac_dir" ||
1445       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446       continue
1447     ac_builddir=.
1448
1449 case "$ac_dir" in
1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 *)
1452   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1453   # A ".." for each directory in $ac_dir_suffix.
1454   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1455   case $ac_top_builddir_sub in
1456   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458   esac ;;
1459 esac
1460 ac_abs_top_builddir=$ac_pwd
1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1462 # for backward compatibility:
1463 ac_top_builddir=$ac_top_build_prefix
1464
1465 case $srcdir in
1466   .)  # We are building in place.
1467     ac_srcdir=.
1468     ac_top_srcdir=$ac_top_builddir_sub
1469     ac_abs_top_srcdir=$ac_pwd ;;
1470   [\\/]* | ?:[\\/]* )  # Absolute name.
1471     ac_srcdir=$srcdir$ac_dir_suffix;
1472     ac_top_srcdir=$srcdir
1473     ac_abs_top_srcdir=$srcdir ;;
1474   *) # Relative name.
1475     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476     ac_top_srcdir=$ac_top_build_prefix$srcdir
1477     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478 esac
1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1480
1481     cd "$ac_dir" || { ac_status=$?; continue; }
1482     # Check for guested configure.
1483     if test -f "$ac_srcdir/configure.gnu"; then
1484       echo &&
1485       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486     elif test -f "$ac_srcdir/configure"; then
1487       echo &&
1488       $SHELL "$ac_srcdir/configure" --help=recursive
1489     else
1490       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491     fi || ac_status=$?
1492     cd "$ac_pwd" || { ac_status=$?; break; }
1493   done
1494 fi
1495
1496 test -n "$ac_init_help" && exit $ac_status
1497 if $ac_init_version; then
1498   cat <<\_ACEOF
1499 fuse configure 2.9.2
1500 generated by GNU Autoconf 2.68
1501
1502 Copyright (C) 2010 Free Software Foundation, Inc.
1503 This configure script is free software; the Free Software Foundation
1504 gives unlimited permission to copy, distribute and modify it.
1505 _ACEOF
1506   exit
1507 fi
1508
1509 ## ------------------------ ##
1510 ## Autoconf initialization. ##
1511 ## ------------------------ ##
1512
1513 # ac_fn_c_try_compile LINENO
1514 # --------------------------
1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1516 ac_fn_c_try_compile ()
1517 {
1518   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519   rm -f conftest.$ac_objext
1520   if { { ac_try="$ac_compile"
1521 case "(($ac_try" in
1522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1523   *) ac_try_echo=$ac_try;;
1524 esac
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527   (eval "$ac_compile") 2>conftest.err
1528   ac_status=$?
1529   if test -s conftest.err; then
1530     grep -v '^ *+' conftest.err >conftest.er1
1531     cat conftest.er1 >&5
1532     mv -f conftest.er1 conftest.err
1533   fi
1534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535   test $ac_status = 0; } && {
1536          test -z "$ac_c_werror_flag" ||
1537          test ! -s conftest.err
1538        } && test -s conftest.$ac_objext; then :
1539   ac_retval=0
1540 else
1541   $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1543
1544         ac_retval=1
1545 fi
1546   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547   as_fn_set_status $ac_retval
1548
1549 } # ac_fn_c_try_compile
1550
1551 # ac_fn_c_try_link LINENO
1552 # -----------------------
1553 # Try to link conftest.$ac_ext, and return whether this succeeded.
1554 ac_fn_c_try_link ()
1555 {
1556   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557   rm -f conftest.$ac_objext conftest$ac_exeext
1558   if { { ac_try="$ac_link"
1559 case "(($ac_try" in
1560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561   *) ac_try_echo=$ac_try;;
1562 esac
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565   (eval "$ac_link") 2>conftest.err
1566   ac_status=$?
1567   if test -s conftest.err; then
1568     grep -v '^ *+' conftest.err >conftest.er1
1569     cat conftest.er1 >&5
1570     mv -f conftest.er1 conftest.err
1571   fi
1572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573   test $ac_status = 0; } && {
1574          test -z "$ac_c_werror_flag" ||
1575          test ! -s conftest.err
1576        } && test -s conftest$ac_exeext && {
1577          test "$cross_compiling" = yes ||
1578          $as_test_x conftest$ac_exeext
1579        }; then :
1580   ac_retval=0
1581 else
1582   $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1584
1585         ac_retval=1
1586 fi
1587   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1588   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1589   # interfere with the next link command; also delete a directory that is
1590   # left behind by Apple's compiler.  We do this before executing the actions.
1591   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1592   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1593   as_fn_set_status $ac_retval
1594
1595 } # ac_fn_c_try_link
1596
1597 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1598 # -------------------------------------------------------
1599 # Tests whether HEADER exists and can be compiled using the include files in
1600 # INCLUDES, setting the cache variable VAR accordingly.
1601 ac_fn_c_check_header_compile ()
1602 {
1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if eval \${$3+:} false; then :
1607   $as_echo_n "(cached) " >&6
1608 else
1609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h.  */
1611 $4
1612 #include <$2>
1613 _ACEOF
1614 if ac_fn_c_try_compile "$LINENO"; then :
1615   eval "$3=yes"
1616 else
1617   eval "$3=no"
1618 fi
1619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620 fi
1621 eval ac_res=\$$3
1622                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1624   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625
1626 } # ac_fn_c_check_header_compile
1627
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1631 ac_fn_c_try_cpp ()
1632 {
1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634   if { { ac_try="$ac_cpp conftest.$ac_ext"
1635 case "(($ac_try" in
1636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637   *) ac_try_echo=$ac_try;;
1638 esac
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1642   ac_status=$?
1643   if test -s conftest.err; then
1644     grep -v '^ *+' conftest.err >conftest.er1
1645     cat conftest.er1 >&5
1646     mv -f conftest.er1 conftest.err
1647   fi
1648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649   test $ac_status = 0; } > conftest.i && {
1650          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651          test ! -s conftest.err
1652        }; then :
1653   ac_retval=0
1654 else
1655   $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1657
1658     ac_retval=1
1659 fi
1660   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1661   as_fn_set_status $ac_retval
1662
1663 } # ac_fn_c_try_cpp
1664
1665 # ac_fn_c_try_run LINENO
1666 # ----------------------
1667 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1668 # that executables *can* be run.
1669 ac_fn_c_try_run ()
1670 {
1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672   if { { ac_try="$ac_link"
1673 case "(($ac_try" in
1674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675   *) ac_try_echo=$ac_try;;
1676 esac
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679   (eval "$ac_link") 2>&5
1680   ac_status=$?
1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1683   { { case "(($ac_try" in
1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685   *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689   (eval "$ac_try") 2>&5
1690   ac_status=$?
1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692   test $ac_status = 0; }; }; then :
1693   ac_retval=0
1694 else
1695   $as_echo "$as_me: program exited with status $ac_status" >&5
1696        $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1698
1699        ac_retval=$ac_status
1700 fi
1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703   as_fn_set_status $ac_retval
1704
1705 } # ac_fn_c_try_run
1706
1707 # ac_fn_c_check_func LINENO FUNC VAR
1708 # ----------------------------------
1709 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1710 ac_fn_c_check_func ()
1711 {
1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if eval \${$3+:} false; then :
1716   $as_echo_n "(cached) " >&6
1717 else
1718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h.  */
1720 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1722 #define $2 innocuous_$2
1723
1724 /* System header to define __stub macros and hopefully few prototypes,
1725     which can conflict with char $2 (); below.
1726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1727     <limits.h> exists even on freestanding compilers.  */
1728
1729 #ifdef __STDC__
1730 # include <limits.h>
1731 #else
1732 # include <assert.h>
1733 #endif
1734
1735 #undef $2
1736
1737 /* Override any GCC internal prototype to avoid an error.
1738    Use char because int might match the return type of a GCC
1739    builtin and then its argument prototype would still apply.  */
1740 #ifdef __cplusplus
1741 extern "C"
1742 #endif
1743 char $2 ();
1744 /* The GNU C library defines this for functions which it implements
1745     to always fail with ENOSYS.  Some functions are actually named
1746     something starting with __ and the normal name is an alias.  */
1747 #if defined __stub_$2 || defined __stub___$2
1748 choke me
1749 #endif
1750
1751 int
1752 main ()
1753 {
1754 return $2 ();
1755   ;
1756   return 0;
1757 }
1758 _ACEOF
1759 if ac_fn_c_try_link "$LINENO"; then :
1760   eval "$3=yes"
1761 else
1762   eval "$3=no"
1763 fi
1764 rm -f core conftest.err conftest.$ac_objext \
1765     conftest$ac_exeext conftest.$ac_ext
1766 fi
1767 eval ac_res=\$$3
1768                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1770   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771
1772 } # ac_fn_c_check_func
1773
1774 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1775 # ----------------------------------------------------
1776 # Tries to find if the field MEMBER exists in type AGGR, after including
1777 # INCLUDES, setting cache variable VAR accordingly.
1778 ac_fn_c_check_member ()
1779 {
1780   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1782 $as_echo_n "checking for $2.$3... " >&6; }
1783 if eval \${$4+:} false; then :
1784   $as_echo_n "(cached) " >&6
1785 else
1786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h.  */
1788 $5
1789 int
1790 main ()
1791 {
1792 static $2 ac_aggr;
1793 if (ac_aggr.$3)
1794 return 0;
1795   ;
1796   return 0;
1797 }
1798 _ACEOF
1799 if ac_fn_c_try_compile "$LINENO"; then :
1800   eval "$4=yes"
1801 else
1802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h.  */
1804 $5
1805 int
1806 main ()
1807 {
1808 static $2 ac_aggr;
1809 if (sizeof ac_aggr.$3)
1810 return 0;
1811   ;
1812   return 0;
1813 }
1814 _ACEOF
1815 if ac_fn_c_try_compile "$LINENO"; then :
1816   eval "$4=yes"
1817 else
1818   eval "$4=no"
1819 fi
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 fi
1822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 fi
1824 eval ac_res=\$$4
1825                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826 $as_echo "$ac_res" >&6; }
1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
1829 } # ac_fn_c_check_member
1830 cat >config.log <<_ACEOF
1831 This file contains any messages produced by compilers while
1832 running configure, to aid debugging if configure makes a mistake.
1833
1834 It was created by fuse $as_me 2.9.2, which was
1835 generated by GNU Autoconf 2.68.  Invocation command line was
1836
1837   $ $0 $@
1838
1839 _ACEOF
1840 exec 5>>config.log
1841 {
1842 cat <<_ASUNAME
1843 ## --------- ##
1844 ## Platform. ##
1845 ## --------- ##
1846
1847 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1848 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1849 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1850 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1851 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1852
1853 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1854 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1855
1856 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1857 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1858 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1859 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1860 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1861 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1862 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1863
1864 _ASUNAME
1865
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867 for as_dir in $PATH
1868 do
1869   IFS=$as_save_IFS
1870   test -z "$as_dir" && as_dir=.
1871     $as_echo "PATH: $as_dir"
1872   done
1873 IFS=$as_save_IFS
1874
1875 } >&5
1876
1877 cat >&5 <<_ACEOF
1878
1879
1880 ## ----------- ##
1881 ## Core tests. ##
1882 ## ----------- ##
1883
1884 _ACEOF
1885
1886
1887 # Keep a trace of the command line.
1888 # Strip out --no-create and --no-recursion so they do not pile up.
1889 # Strip out --silent because we don't want to record it for future runs.
1890 # Also quote any args containing shell meta-characters.
1891 # Make two passes to allow for proper duplicate-argument suppression.
1892 ac_configure_args=
1893 ac_configure_args0=
1894 ac_configure_args1=
1895 ac_must_keep_next=false
1896 for ac_pass in 1 2
1897 do
1898   for ac_arg
1899   do
1900     case $ac_arg in
1901     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1902     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1903     | -silent | --silent | --silen | --sile | --sil)
1904       continue ;;
1905     *\'*)
1906       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1907     esac
1908     case $ac_pass in
1909     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1910     2)
1911       as_fn_append ac_configure_args1 " '$ac_arg'"
1912       if test $ac_must_keep_next = true; then
1913         ac_must_keep_next=false # Got value, back to normal.
1914       else
1915         case $ac_arg in
1916           *=* | --config-cache | -C | -disable-* | --disable-* \
1917           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1918           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1919           | -with-* | --with-* | -without-* | --without-* | --x)
1920             case "$ac_configure_args0 " in
1921               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1922             esac
1923             ;;
1924           -* ) ac_must_keep_next=true ;;
1925         esac
1926       fi
1927       as_fn_append ac_configure_args " '$ac_arg'"
1928       ;;
1929     esac
1930   done
1931 done
1932 { ac_configure_args0=; unset ac_configure_args0;}
1933 { ac_configure_args1=; unset ac_configure_args1;}
1934
1935 # When interrupted or exit'd, cleanup temporary files, and complete
1936 # config.log.  We remove comments because anyway the quotes in there
1937 # would cause problems or look ugly.
1938 # WARNING: Use '\'' to represent an apostrophe within the trap.
1939 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1940 trap 'exit_status=$?
1941   # Save into config.log some information that might help in debugging.
1942   {
1943     echo
1944
1945     $as_echo "## ---------------- ##
1946 ## Cache variables. ##
1947 ## ---------------- ##"
1948     echo
1949     # The following way of writing the cache mishandles newlines in values,
1950 (
1951   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1952     eval ac_val=\$$ac_var
1953     case $ac_val in #(
1954     *${as_nl}*)
1955       case $ac_var in #(
1956       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1957 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1958       esac
1959       case $ac_var in #(
1960       _ | IFS | as_nl) ;; #(
1961       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1962       *) { eval $ac_var=; unset $ac_var;} ;;
1963       esac ;;
1964     esac
1965   done
1966   (set) 2>&1 |
1967     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1968     *${as_nl}ac_space=\ *)
1969       sed -n \
1970         "s/'\''/'\''\\\\'\'''\''/g;
1971           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1972       ;; #(
1973     *)
1974       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1975       ;;
1976     esac |
1977     sort
1978 )
1979     echo
1980
1981     $as_echo "## ----------------- ##
1982 ## Output variables. ##
1983 ## ----------------- ##"
1984     echo
1985     for ac_var in $ac_subst_vars
1986     do
1987       eval ac_val=\$$ac_var
1988       case $ac_val in
1989       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1990       esac
1991       $as_echo "$ac_var='\''$ac_val'\''"
1992     done | sort
1993     echo
1994
1995     if test -n "$ac_subst_files"; then
1996       $as_echo "## ------------------- ##
1997 ## File substitutions. ##
1998 ## ------------------- ##"
1999       echo
2000       for ac_var in $ac_subst_files
2001       do
2002         eval ac_val=\$$ac_var
2003         case $ac_val in
2004         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005         esac
2006         $as_echo "$ac_var='\''$ac_val'\''"
2007       done | sort
2008       echo
2009     fi
2010
2011     if test -s confdefs.h; then
2012       $as_echo "## ----------- ##
2013 ## confdefs.h. ##
2014 ## ----------- ##"
2015       echo
2016       cat confdefs.h
2017       echo
2018     fi
2019     test "$ac_signal" != 0 &&
2020       $as_echo "$as_me: caught signal $ac_signal"
2021     $as_echo "$as_me: exit $exit_status"
2022   } >&5
2023   rm -f core *.core core.conftest.* &&
2024     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2025     exit $exit_status
2026 ' 0
2027 for ac_signal in 1 2 13 15; do
2028   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2029 done
2030 ac_signal=0
2031
2032 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2033 rm -f -r conftest* confdefs.h
2034
2035 $as_echo "/* confdefs.h */" > confdefs.h
2036
2037 # Predefined preprocessor variables.
2038
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_NAME "$PACKAGE_NAME"
2041 _ACEOF
2042
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2045 _ACEOF
2046
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2049 _ACEOF
2050
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_STRING "$PACKAGE_STRING"
2053 _ACEOF
2054
2055 cat >>confdefs.h <<_ACEOF
2056 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2057 _ACEOF
2058
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_URL "$PACKAGE_URL"
2061 _ACEOF
2062
2063
2064 # Let the site file select an alternate cache file if it wants to.
2065 # Prefer an explicitly selected file to automatically selected ones.
2066 ac_site_file1=NONE
2067 ac_site_file2=NONE
2068 if test -n "$CONFIG_SITE"; then
2069   # We do not want a PATH search for config.site.
2070   case $CONFIG_SITE in #((
2071     -*)  ac_site_file1=./$CONFIG_SITE;;
2072     */*) ac_site_file1=$CONFIG_SITE;;
2073     *)   ac_site_file1=./$CONFIG_SITE;;
2074   esac
2075 elif test "x$prefix" != xNONE; then
2076   ac_site_file1=$prefix/share/config.site
2077   ac_site_file2=$prefix/etc/config.site
2078 else
2079   ac_site_file1=$ac_default_prefix/share/config.site
2080   ac_site_file2=$ac_default_prefix/etc/config.site
2081 fi
2082 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2083 do
2084   test "x$ac_site_file" = xNONE && continue
2085   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2086     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2087 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2088     sed 's/^/| /' "$ac_site_file" >&5
2089     . "$ac_site_file" \
2090       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2092 as_fn_error $? "failed to load site script $ac_site_file
2093 See \`config.log' for more details" "$LINENO" 5; }
2094   fi
2095 done
2096
2097 if test -r "$cache_file"; then
2098   # Some versions of bash will fail to source /dev/null (special files
2099   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2100   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2101     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2102 $as_echo "$as_me: loading cache $cache_file" >&6;}
2103     case $cache_file in
2104       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2105       *)                      . "./$cache_file";;
2106     esac
2107   fi
2108 else
2109   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2110 $as_echo "$as_me: creating cache $cache_file" >&6;}
2111   >$cache_file
2112 fi
2113
2114 # Check that the precious variables saved in the cache have kept the same
2115 # value.
2116 ac_cache_corrupted=false
2117 for ac_var in $ac_precious_vars; do
2118   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2119   eval ac_new_set=\$ac_env_${ac_var}_set
2120   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2121   eval ac_new_val=\$ac_env_${ac_var}_value
2122   case $ac_old_set,$ac_new_set in
2123     set,)
2124       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2125 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2126       ac_cache_corrupted=: ;;
2127     ,set)
2128       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2129 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2130       ac_cache_corrupted=: ;;
2131     ,);;
2132     *)
2133       if test "x$ac_old_val" != "x$ac_new_val"; then
2134         # differences in whitespace do not lead to failure.
2135         ac_old_val_w=`echo x $ac_old_val`
2136         ac_new_val_w=`echo x $ac_new_val`
2137         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2138           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2139 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2140           ac_cache_corrupted=:
2141         else
2142           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2143 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2144           eval $ac_var=\$ac_old_val
2145         fi
2146         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2147 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2148         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2149 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2150       fi;;
2151   esac
2152   # Pass precious variables to config.status.
2153   if test "$ac_new_set" = set; then
2154     case $ac_new_val in
2155     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2156     *) ac_arg=$ac_var=$ac_new_val ;;
2157     esac
2158     case " $ac_configure_args " in
2159       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2160       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2161     esac
2162   fi
2163 done
2164 if $ac_cache_corrupted; then
2165   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2167   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2168 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2169   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2170 fi
2171 ## -------------------- ##
2172 ## Main body of script. ##
2173 ## -------------------- ##
2174
2175 ac_ext=c
2176 ac_cpp='$CPP $CPPFLAGS'
2177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2180
2181
2182
2183
2184 ac_aux_dir=
2185 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2186   if test -f "$ac_dir/install-sh"; then
2187     ac_aux_dir=$ac_dir
2188     ac_install_sh="$ac_aux_dir/install-sh -c"
2189     break
2190   elif test -f "$ac_dir/install.sh"; then
2191     ac_aux_dir=$ac_dir
2192     ac_install_sh="$ac_aux_dir/install.sh -c"
2193     break
2194   elif test -f "$ac_dir/shtool"; then
2195     ac_aux_dir=$ac_dir
2196     ac_install_sh="$ac_aux_dir/shtool install -c"
2197     break
2198   fi
2199 done
2200 if test -z "$ac_aux_dir"; then
2201   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2202 fi
2203
2204 # These three variables are undocumented and unsupported,
2205 # and are intended to be withdrawn in a future Autoconf release.
2206 # They can cause serious problems if a builder's source tree is in a directory
2207 # whose full name contains unusual characters.
2208 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2209 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2210 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2211
2212
2213 # Make sure we can run config.sub.
2214 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2215   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2216
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2218 $as_echo_n "checking build system type... " >&6; }
2219 if ${ac_cv_build+:} false; then :
2220   $as_echo_n "(cached) " >&6
2221 else
2222   ac_build_alias=$build_alias
2223 test "x$ac_build_alias" = x &&
2224   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2225 test "x$ac_build_alias" = x &&
2226   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2227 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2228   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2229
2230 fi
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2232 $as_echo "$ac_cv_build" >&6; }
2233 case $ac_cv_build in
2234 *-*-*) ;;
2235 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2236 esac
2237 build=$ac_cv_build
2238 ac_save_IFS=$IFS; IFS='-'
2239 set x $ac_cv_build
2240 shift
2241 build_cpu=$1
2242 build_vendor=$2
2243 shift; shift
2244 # Remember, the first character of IFS is used to create $*,
2245 # except with old shells:
2246 build_os=$*
2247 IFS=$ac_save_IFS
2248 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2249
2250
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2252 $as_echo_n "checking host system type... " >&6; }
2253 if ${ac_cv_host+:} false; then :
2254   $as_echo_n "(cached) " >&6
2255 else
2256   if test "x$host_alias" = x; then
2257   ac_cv_host=$ac_cv_build
2258 else
2259   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2260     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2261 fi
2262
2263 fi
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2265 $as_echo "$ac_cv_host" >&6; }
2266 case $ac_cv_host in
2267 *-*-*) ;;
2268 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2269 esac
2270 host=$ac_cv_host
2271 ac_save_IFS=$IFS; IFS='-'
2272 set x $ac_cv_host
2273 shift
2274 host_cpu=$1
2275 host_vendor=$2
2276 shift; shift
2277 # Remember, the first character of IFS is used to create $*,
2278 # except with old shells:
2279 host_os=$*
2280 IFS=$ac_save_IFS
2281 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2282
2283
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2285 $as_echo_n "checking target system type... " >&6; }
2286 if ${ac_cv_target+:} false; then :
2287   $as_echo_n "(cached) " >&6
2288 else
2289   if test "x$target_alias" = x; then
2290   ac_cv_target=$ac_cv_host
2291 else
2292   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2293     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2294 fi
2295
2296 fi
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2298 $as_echo "$ac_cv_target" >&6; }
2299 case $ac_cv_target in
2300 *-*-*) ;;
2301 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2302 esac
2303 target=$ac_cv_target
2304 ac_save_IFS=$IFS; IFS='-'
2305 set x $ac_cv_target
2306 shift
2307 target_cpu=$1
2308 target_vendor=$2
2309 shift; shift
2310 # Remember, the first character of IFS is used to create $*,
2311 # except with old shells:
2312 target_os=$*
2313 IFS=$ac_save_IFS
2314 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2315
2316
2317 # The aliases save the names the user supplied, while $host etc.
2318 # will get canonicalized.
2319 test -n "$target_alias" &&
2320   test "$program_prefix$program_suffix$program_transform_name" = \
2321     NONENONEs,x,x, &&
2322   program_prefix=${target_alias}-
2323 am__api_version='1.11'
2324
2325 # Find a good install program.  We prefer a C program (faster),
2326 # so one script is as good as another.  But avoid the broken or
2327 # incompatible versions:
2328 # SysV /etc/install, /usr/sbin/install
2329 # SunOS /usr/etc/install
2330 # IRIX /sbin/install
2331 # AIX /bin/install
2332 # AmigaOS /C/install, which installs bootblocks on floppy discs
2333 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2334 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2335 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2336 # OS/2's system install, which has a completely different semantic
2337 # ./install, which can be erroneously created by make from ./install.sh.
2338 # Reject install programs that cannot install multiple files.
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2340 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2341 if test -z "$INSTALL"; then
2342 if ${ac_cv_path_install+:} false; then :
2343   $as_echo_n "(cached) " >&6
2344 else
2345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 for as_dir in $PATH
2347 do
2348   IFS=$as_save_IFS
2349   test -z "$as_dir" && as_dir=.
2350     # Account for people who put trailing slashes in PATH elements.
2351 case $as_dir/ in #((
2352   ./ | .// | /[cC]/* | \
2353   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2354   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2355   /usr/ucb/* ) ;;
2356   *)
2357     # OSF1 and SCO ODT 3.0 have their own names for install.
2358     # Don't use installbsd from OSF since it installs stuff as root
2359     # by default.
2360     for ac_prog in ginstall scoinst install; do
2361       for ac_exec_ext in '' $ac_executable_extensions; do
2362         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2363           if test $ac_prog = install &&
2364             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2365             # AIX install.  It has an incompatible calling convention.
2366             :
2367           elif test $ac_prog = install &&
2368             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2369             # program-specific install script used by HP pwplus--don't use.
2370             :
2371           else
2372             rm -rf conftest.one conftest.two conftest.dir
2373             echo one > conftest.one
2374             echo two > conftest.two
2375             mkdir conftest.dir
2376             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2377               test -s conftest.one && test -s conftest.two &&
2378               test -s conftest.dir/conftest.one &&
2379               test -s conftest.dir/conftest.two
2380             then
2381               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2382               break 3
2383             fi
2384           fi
2385         fi
2386       done
2387     done
2388     ;;
2389 esac
2390
2391   done
2392 IFS=$as_save_IFS
2393
2394 rm -rf conftest.one conftest.two conftest.dir
2395
2396 fi
2397   if test "${ac_cv_path_install+set}" = set; then
2398     INSTALL=$ac_cv_path_install
2399   else
2400     # As a last resort, use the slow shell script.  Don't cache a
2401     # value for INSTALL within a source directory, because that will
2402     # break other packages using the cache if that directory is
2403     # removed, or if the value is a relative name.
2404     INSTALL=$ac_install_sh
2405   fi
2406 fi
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2408 $as_echo "$INSTALL" >&6; }
2409
2410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2411 # It thinks the first close brace ends the variable substitution.
2412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2413
2414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2415
2416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2417
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2419 $as_echo_n "checking whether build environment is sane... " >&6; }
2420 # Just in case
2421 sleep 1
2422 echo timestamp > conftest.file
2423 # Reject unsafe characters in $srcdir or the absolute working directory
2424 # name.  Accept space and tab only in the latter.
2425 am_lf='
2426 '
2427 case `pwd` in
2428   *[\\\"\#\$\&\'\`$am_lf]*)
2429     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2430 esac
2431 case $srcdir in
2432   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2433     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2434 esac
2435
2436 # Do `set' in a subshell so we don't clobber the current shell's
2437 # arguments.  Must try -L first in case configure is actually a
2438 # symlink; some systems play weird games with the mod time of symlinks
2439 # (eg FreeBSD returns the mod time of the symlink's containing
2440 # directory).
2441 if (
2442    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2443    if test "$*" = "X"; then
2444       # -L didn't work.
2445       set X `ls -t "$srcdir/configure" conftest.file`
2446    fi
2447    rm -f conftest.file
2448    if test "$*" != "X $srcdir/configure conftest.file" \
2449       && test "$*" != "X conftest.file $srcdir/configure"; then
2450
2451       # If neither matched, then we have a broken ls.  This can happen
2452       # if, for instance, CONFIG_SHELL is bash and it inherits a
2453       # broken ls alias from the environment.  This has actually
2454       # happened.  Such a system could not be considered "sane".
2455       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2456 alias in your environment" "$LINENO" 5
2457    fi
2458
2459    test "$2" = conftest.file
2460    )
2461 then
2462    # Ok.
2463    :
2464 else
2465    as_fn_error $? "newly created file is older than distributed files!
2466 Check your system clock" "$LINENO" 5
2467 fi
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2469 $as_echo "yes" >&6; }
2470 test "$program_prefix" != NONE &&
2471   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2472 # Use a double $ so make ignores it.
2473 test "$program_suffix" != NONE &&
2474   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2475 # Double any \ or $.
2476 # By default was `s,x,x', remove it if useless.
2477 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2478 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2479
2480 # expand $ac_aux_dir to an absolute path
2481 am_aux_dir=`cd $ac_aux_dir && pwd`
2482
2483 if test x"${MISSING+set}" != xset; then
2484   case $am_aux_dir in
2485   *\ * | *\     *)
2486     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2487   *)
2488     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2489   esac
2490 fi
2491 # Use eval to expand $SHELL
2492 if eval "$MISSING --run true"; then
2493   am_missing_run="$MISSING --run "
2494 else
2495   am_missing_run=
2496   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2497 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2498 fi
2499
2500 if test x"${install_sh}" != xset; then
2501   case $am_aux_dir in
2502   *\ * | *\     *)
2503     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2504   *)
2505     install_sh="\${SHELL} $am_aux_dir/install-sh"
2506   esac
2507 fi
2508
2509 # Installed binaries are usually stripped using `strip' when the user
2510 # run `make install-strip'.  However `strip' might not be the right
2511 # tool to use in cross-compilation environments, therefore Automake
2512 # will honor the `STRIP' environment variable to overrule this program.
2513 if test "$cross_compiling" != no; then
2514   if test -n "$ac_tool_prefix"; then
2515   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2516 set dummy ${ac_tool_prefix}strip; ac_word=$2
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if ${ac_cv_prog_STRIP+:} false; then :
2520   $as_echo_n "(cached) " >&6
2521 else
2522   if test -n "$STRIP"; then
2523   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2524 else
2525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526 for as_dir in $PATH
2527 do
2528   IFS=$as_save_IFS
2529   test -z "$as_dir" && as_dir=.
2530     for ac_exec_ext in '' $ac_executable_extensions; do
2531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2534     break 2
2535   fi
2536 done
2537   done
2538 IFS=$as_save_IFS
2539
2540 fi
2541 fi
2542 STRIP=$ac_cv_prog_STRIP
2543 if test -n "$STRIP"; then
2544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2545 $as_echo "$STRIP" >&6; }
2546 else
2547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2548 $as_echo "no" >&6; }
2549 fi
2550
2551
2552 fi
2553 if test -z "$ac_cv_prog_STRIP"; then
2554   ac_ct_STRIP=$STRIP
2555   # Extract the first word of "strip", so it can be a program name with args.
2556 set dummy strip; ac_word=$2
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2560   $as_echo_n "(cached) " >&6
2561 else
2562   if test -n "$ac_ct_STRIP"; then
2563   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2564 else
2565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566 for as_dir in $PATH
2567 do
2568   IFS=$as_save_IFS
2569   test -z "$as_dir" && as_dir=.
2570     for ac_exec_ext in '' $ac_executable_extensions; do
2571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572     ac_cv_prog_ac_ct_STRIP="strip"
2573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2574     break 2
2575   fi
2576 done
2577   done
2578 IFS=$as_save_IFS
2579
2580 fi
2581 fi
2582 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2583 if test -n "$ac_ct_STRIP"; then
2584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2585 $as_echo "$ac_ct_STRIP" >&6; }
2586 else
2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2589 fi
2590
2591   if test "x$ac_ct_STRIP" = x; then
2592     STRIP=":"
2593   else
2594     case $cross_compiling:$ac_tool_warned in
2595 yes:)
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2598 ac_tool_warned=yes ;;
2599 esac
2600     STRIP=$ac_ct_STRIP
2601   fi
2602 else
2603   STRIP="$ac_cv_prog_STRIP"
2604 fi
2605
2606 fi
2607 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2608
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2610 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2611 if test -z "$MKDIR_P"; then
2612   if ${ac_cv_path_mkdir+:} false; then :
2613   $as_echo_n "(cached) " >&6
2614 else
2615   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2616 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2617 do
2618   IFS=$as_save_IFS
2619   test -z "$as_dir" && as_dir=.
2620     for ac_prog in mkdir gmkdir; do
2621          for ac_exec_ext in '' $ac_executable_extensions; do
2622            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2623            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2624              'mkdir (GNU coreutils) '* | \
2625              'mkdir (coreutils) '* | \
2626              'mkdir (fileutils) '4.1*)
2627                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2628                break 3;;
2629            esac
2630          done
2631        done
2632   done
2633 IFS=$as_save_IFS
2634
2635 fi
2636
2637   test -d ./--version && rmdir ./--version
2638   if test "${ac_cv_path_mkdir+set}" = set; then
2639     MKDIR_P="$ac_cv_path_mkdir -p"
2640   else
2641     # As a last resort, use the slow shell script.  Don't cache a
2642     # value for MKDIR_P within a source directory, because that will
2643     # break other packages using the cache if that directory is
2644     # removed, or if the value is a relative name.
2645     MKDIR_P="$ac_install_sh -d"
2646   fi
2647 fi
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2649 $as_echo "$MKDIR_P" >&6; }
2650
2651 mkdir_p="$MKDIR_P"
2652 case $mkdir_p in
2653   [\\/$]* | ?:[\\/]*) ;;
2654   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2655 esac
2656
2657 for ac_prog in gawk mawk nawk awk
2658 do
2659   # Extract the first word of "$ac_prog", so it can be a program name with args.
2660 set dummy $ac_prog; ac_word=$2
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662 $as_echo_n "checking for $ac_word... " >&6; }
2663 if ${ac_cv_prog_AWK+:} false; then :
2664   $as_echo_n "(cached) " >&6
2665 else
2666   if test -n "$AWK"; then
2667   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2668 else
2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 for as_dir in $PATH
2671 do
2672   IFS=$as_save_IFS
2673   test -z "$as_dir" && as_dir=.
2674     for ac_exec_ext in '' $ac_executable_extensions; do
2675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676     ac_cv_prog_AWK="$ac_prog"
2677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2678     break 2
2679   fi
2680 done
2681   done
2682 IFS=$as_save_IFS
2683
2684 fi
2685 fi
2686 AWK=$ac_cv_prog_AWK
2687 if test -n "$AWK"; then
2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2689 $as_echo "$AWK" >&6; }
2690 else
2691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692 $as_echo "no" >&6; }
2693 fi
2694
2695
2696   test -n "$AWK" && break
2697 done
2698
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2700 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2701 set x ${MAKE-make}
2702 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2703 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2704   $as_echo_n "(cached) " >&6
2705 else
2706   cat >conftest.make <<\_ACEOF
2707 SHELL = /bin/sh
2708 all:
2709         @echo '@@@%%%=$(MAKE)=@@@%%%'
2710 _ACEOF
2711 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2713   *@@@%%%=?*=@@@%%%*)
2714     eval ac_cv_prog_make_${ac_make}_set=yes;;
2715   *)
2716     eval ac_cv_prog_make_${ac_make}_set=no;;
2717 esac
2718 rm -f conftest.make
2719 fi
2720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722 $as_echo "yes" >&6; }
2723   SET_MAKE=
2724 else
2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 $as_echo "no" >&6; }
2727   SET_MAKE="MAKE=${MAKE-make}"
2728 fi
2729
2730 rm -rf .tst 2>/dev/null
2731 mkdir .tst 2>/dev/null
2732 if test -d .tst; then
2733   am__leading_dot=.
2734 else
2735   am__leading_dot=_
2736 fi
2737 rmdir .tst 2>/dev/null
2738
2739 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2740   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2741   # is not polluted with repeated "-I."
2742   am__isrc=' -I$(srcdir)'
2743   # test to see if srcdir already configured
2744   if test -f $srcdir/config.status; then
2745     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2746   fi
2747 fi
2748
2749 # test whether we have cygpath
2750 if test -z "$CYGPATH_W"; then
2751   if (cygpath --version) >/dev/null 2>/dev/null; then
2752     CYGPATH_W='cygpath -w'
2753   else
2754     CYGPATH_W=echo
2755   fi
2756 fi
2757
2758
2759 # Define the identity of the package.
2760  PACKAGE='fuse'
2761  VERSION='2.9.2'
2762
2763
2764 cat >>confdefs.h <<_ACEOF
2765 #define PACKAGE "$PACKAGE"
2766 _ACEOF
2767
2768
2769 cat >>confdefs.h <<_ACEOF
2770 #define VERSION "$VERSION"
2771 _ACEOF
2772
2773 # Some tools Automake needs.
2774
2775 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2776
2777
2778 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2779
2780
2781 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2782
2783
2784 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2785
2786
2787 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2788
2789 # We need awk for the "check" target.  The system "awk" is bad on
2790 # some platforms.
2791 # Always define AMTAR for backward compatibility.
2792
2793 AMTAR=${AMTAR-"${am_missing_run}tar"}
2794
2795 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2796
2797
2798
2799
2800
2801 # Check whether --enable-silent-rules was given.
2802 if test "${enable_silent_rules+set}" = set; then :
2803   enableval=$enable_silent_rules;
2804 fi
2805
2806 case $enable_silent_rules in
2807 yes) AM_DEFAULT_VERBOSITY=0;;
2808 no)  AM_DEFAULT_VERBOSITY=1;;
2809 *)   AM_DEFAULT_VERBOSITY=0;;
2810 esac
2811 AM_BACKSLASH='\'
2812
2813 ac_config_headers="$ac_config_headers include/config.h"
2814
2815
2816 case `pwd` in
2817   *\ * | *\     *)
2818     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2819 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2820 esac
2821
2822
2823
2824 macro_version='2.4'
2825 macro_revision='1.3293'
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839 ltmain="$ac_aux_dir/ltmain.sh"
2840
2841 # Backslashify metacharacters that are still active within
2842 # double-quoted strings.
2843 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2844
2845 # Same as above, but do not quote variable references.
2846 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2847
2848 # Sed substitution to delay expansion of an escaped shell variable in a
2849 # double_quote_subst'ed string.
2850 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2851
2852 # Sed substitution to delay expansion of an escaped single quote.
2853 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2854
2855 # Sed substitution to avoid accidental globbing in evaled expressions
2856 no_glob_subst='s/\*/\\\*/g'
2857
2858 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2859 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2860 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2861
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2863 $as_echo_n "checking how to print strings... " >&6; }
2864 # Test print first, because it will be a builtin if present.
2865 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2866    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2867   ECHO='print -r --'
2868 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2869   ECHO='printf %s\n'
2870 else
2871   # Use this function as a fallback that always works.
2872   func_fallback_echo ()
2873   {
2874     eval 'cat <<_LTECHO_EOF
2875 $1
2876 _LTECHO_EOF'
2877   }
2878   ECHO='func_fallback_echo'
2879 fi
2880
2881 # func_echo_all arg...
2882 # Invoke $ECHO with all args, space-separated.
2883 func_echo_all ()
2884 {
2885     $ECHO ""
2886 }
2887
2888 case "$ECHO" in
2889   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2890 $as_echo "printf" >&6; } ;;
2891   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2892 $as_echo "print -r" >&6; } ;;
2893   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2894 $as_echo "cat" >&6; } ;;
2895 esac
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910 DEPDIR="${am__leading_dot}deps"
2911
2912 ac_config_commands="$ac_config_commands depfiles"
2913
2914
2915 am_make=${MAKE-make}
2916 cat > confinc << 'END'
2917 am__doit:
2918         @echo this is the am__doit target
2919 .PHONY: am__doit
2920 END
2921 # If we don't find an include directive, just comment out the code.
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2923 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2924 am__include="#"
2925 am__quote=
2926 _am_result=none
2927 # First try GNU make style include.
2928 echo "include confinc" > confmf
2929 # Ignore all kinds of additional output from `make'.
2930 case `$am_make -s -f confmf 2> /dev/null` in #(
2931 *the\ am__doit\ target*)
2932   am__include=include
2933   am__quote=
2934   _am_result=GNU
2935   ;;
2936 esac
2937 # Now try BSD make style include.
2938 if test "$am__include" = "#"; then
2939    echo '.include "confinc"' > confmf
2940    case `$am_make -s -f confmf 2> /dev/null` in #(
2941    *the\ am__doit\ target*)
2942      am__include=.include
2943      am__quote="\""
2944      _am_result=BSD
2945      ;;
2946    esac
2947 fi
2948
2949
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2951 $as_echo "$_am_result" >&6; }
2952 rm -f confinc confmf
2953
2954 # Check whether --enable-dependency-tracking was given.
2955 if test "${enable_dependency_tracking+set}" = set; then :
2956   enableval=$enable_dependency_tracking;
2957 fi
2958
2959 if test "x$enable_dependency_tracking" != xno; then
2960   am_depcomp="$ac_aux_dir/depcomp"
2961   AMDEPBACKSLASH='\'
2962 fi
2963  if test "x$enable_dependency_tracking" != xno; then
2964   AMDEP_TRUE=
2965   AMDEP_FALSE='#'
2966 else
2967   AMDEP_TRUE='#'
2968   AMDEP_FALSE=
2969 fi
2970
2971
2972 ac_ext=c
2973 ac_cpp='$CPP $CPPFLAGS'
2974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2977 if test -n "$ac_tool_prefix"; then
2978   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2979 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2981 $as_echo_n "checking for $ac_word... " >&6; }
2982 if ${ac_cv_prog_CC+:} false; then :
2983   $as_echo_n "(cached) " >&6
2984 else
2985   if test -n "$CC"; then
2986   ac_cv_prog_CC="$CC" # Let the user override the test.
2987 else
2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2989 for as_dir in $PATH
2990 do
2991   IFS=$as_save_IFS
2992   test -z "$as_dir" && as_dir=.
2993     for ac_exec_ext in '' $ac_executable_extensions; do
2994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2995     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997     break 2
2998   fi
2999 done
3000   done
3001 IFS=$as_save_IFS
3002
3003 fi
3004 fi
3005 CC=$ac_cv_prog_CC
3006 if test -n "$CC"; then
3007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3008 $as_echo "$CC" >&6; }
3009 else
3010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3011 $as_echo "no" >&6; }
3012 fi
3013
3014
3015 fi
3016 if test -z "$ac_cv_prog_CC"; then
3017   ac_ct_CC=$CC
3018   # Extract the first word of "gcc", so it can be a program name with args.
3019 set dummy gcc; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3023   $as_echo_n "(cached) " >&6
3024 else
3025   if test -n "$ac_ct_CC"; then
3026   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3027 else
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 for as_dir in $PATH
3030 do
3031   IFS=$as_save_IFS
3032   test -z "$as_dir" && as_dir=.
3033     for ac_exec_ext in '' $ac_executable_extensions; do
3034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3035     ac_cv_prog_ac_ct_CC="gcc"
3036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3037     break 2
3038   fi
3039 done
3040   done
3041 IFS=$as_save_IFS
3042
3043 fi
3044 fi
3045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3046 if test -n "$ac_ct_CC"; then
3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3048 $as_echo "$ac_ct_CC" >&6; }
3049 else
3050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3052 fi
3053
3054   if test "x$ac_ct_CC" = x; then
3055     CC=""
3056   else
3057     case $cross_compiling:$ac_tool_warned in
3058 yes:)
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3061 ac_tool_warned=yes ;;
3062 esac
3063     CC=$ac_ct_CC
3064   fi
3065 else
3066   CC="$ac_cv_prog_CC"
3067 fi
3068
3069 if test -z "$CC"; then
3070           if test -n "$ac_tool_prefix"; then
3071     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3072 set dummy ${ac_tool_prefix}cc; ac_word=$2
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3074 $as_echo_n "checking for $ac_word... " >&6; }
3075 if ${ac_cv_prog_CC+:} false; then :
3076   $as_echo_n "(cached) " >&6
3077 else
3078   if test -n "$CC"; then
3079   ac_cv_prog_CC="$CC" # Let the user override the test.
3080 else
3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 for as_dir in $PATH
3083 do
3084   IFS=$as_save_IFS
3085   test -z "$as_dir" && as_dir=.
3086     for ac_exec_ext in '' $ac_executable_extensions; do
3087   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3088     ac_cv_prog_CC="${ac_tool_prefix}cc"
3089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090     break 2
3091   fi
3092 done
3093   done
3094 IFS=$as_save_IFS
3095
3096 fi
3097 fi
3098 CC=$ac_cv_prog_CC
3099 if test -n "$CC"; then
3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3101 $as_echo "$CC" >&6; }
3102 else
3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3104 $as_echo "no" >&6; }
3105 fi
3106
3107
3108   fi
3109 fi
3110 if test -z "$CC"; then
3111   # Extract the first word of "cc", so it can be a program name with args.
3112 set dummy cc; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_CC+:} false; then :
3116   $as_echo_n "(cached) " >&6
3117 else
3118   if test -n "$CC"; then
3119   ac_cv_prog_CC="$CC" # Let the user override the test.
3120 else
3121   ac_prog_rejected=no
3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3123 for as_dir in $PATH
3124 do
3125   IFS=$as_save_IFS
3126   test -z "$as_dir" && as_dir=.
3127     for ac_exec_ext in '' $ac_executable_extensions; do
3128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3129     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3130        ac_prog_rejected=yes
3131        continue
3132      fi
3133     ac_cv_prog_CC="cc"
3134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135     break 2
3136   fi
3137 done
3138   done
3139 IFS=$as_save_IFS
3140
3141 if test $ac_prog_rejected = yes; then
3142   # We found a bogon in the path, so make sure we never use it.
3143   set dummy $ac_cv_prog_CC
3144   shift
3145   if test $# != 0; then
3146     # We chose a different compiler from the bogus one.
3147     # However, it has the same basename, so the bogon will be chosen
3148     # first if we set CC to just the basename; use the full file name.
3149     shift
3150     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3151   fi
3152 fi
3153 fi
3154 fi
3155 CC=$ac_cv_prog_CC
3156 if test -n "$CC"; then
3157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158 $as_echo "$CC" >&6; }
3159 else
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3162 fi
3163
3164
3165 fi
3166 if test -z "$CC"; then
3167   if test -n "$ac_tool_prefix"; then
3168   for ac_prog in cl.exe
3169   do
3170     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if ${ac_cv_prog_CC+:} false; then :
3175   $as_echo_n "(cached) " >&6
3176 else
3177   if test -n "$CC"; then
3178   ac_cv_prog_CC="$CC" # Let the user override the test.
3179 else
3180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3181 for as_dir in $PATH
3182 do
3183   IFS=$as_save_IFS
3184   test -z "$as_dir" && as_dir=.
3185     for ac_exec_ext in '' $ac_executable_extensions; do
3186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3187     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189     break 2
3190   fi
3191 done
3192   done
3193 IFS=$as_save_IFS
3194
3195 fi
3196 fi
3197 CC=$ac_cv_prog_CC
3198 if test -n "$CC"; then
3199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3200 $as_echo "$CC" >&6; }
3201 else
3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3204 fi
3205
3206
3207     test -n "$CC" && break
3208   done
3209 fi
3210 if test -z "$CC"; then
3211   ac_ct_CC=$CC
3212   for ac_prog in cl.exe
3213 do
3214   # Extract the first word of "$ac_prog", so it can be a program name with args.
3215 set dummy $ac_prog; ac_word=$2
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3217 $as_echo_n "checking for $ac_word... " >&6; }
3218 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3219   $as_echo_n "(cached) " >&6
3220 else
3221   if test -n "$ac_ct_CC"; then
3222   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3223 else
3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 for as_dir in $PATH
3226 do
3227   IFS=$as_save_IFS
3228   test -z "$as_dir" && as_dir=.
3229     for ac_exec_ext in '' $ac_executable_extensions; do
3230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3231     ac_cv_prog_ac_ct_CC="$ac_prog"
3232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3233     break 2
3234   fi
3235 done
3236   done
3237 IFS=$as_save_IFS
3238
3239 fi
3240 fi
3241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3242 if test -n "$ac_ct_CC"; then
3243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3244 $as_echo "$ac_ct_CC" >&6; }
3245 else
3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248 fi
3249
3250
3251   test -n "$ac_ct_CC" && break
3252 done
3253
3254   if test "x$ac_ct_CC" = x; then
3255     CC=""
3256   else
3257     case $cross_compiling:$ac_tool_warned in
3258 yes:)
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3261 ac_tool_warned=yes ;;
3262 esac
3263     CC=$ac_ct_CC
3264   fi
3265 fi
3266
3267 fi
3268
3269
3270 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3272 as_fn_error $? "no acceptable C compiler found in \$PATH
3273 See \`config.log' for more details" "$LINENO" 5; }
3274
3275 # Provide some information about the compiler.
3276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3277 set X $ac_compile
3278 ac_compiler=$2
3279 for ac_option in --version -v -V -qversion; do
3280   { { ac_try="$ac_compiler $ac_option >&5"
3281 case "(($ac_try" in
3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283   *) ac_try_echo=$ac_try;;
3284 esac
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3288   ac_status=$?
3289   if test -s conftest.err; then
3290     sed '10a\
3291 ... rest of stderr output deleted ...
3292          10q' conftest.err >conftest.er1
3293     cat conftest.er1 >&5
3294   fi
3295   rm -f conftest.er1 conftest.err
3296   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297   test $ac_status = 0; }
3298 done
3299
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h.  */
3302
3303 int
3304 main ()
3305 {
3306
3307   ;
3308   return 0;
3309 }
3310 _ACEOF
3311 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3313 # Try to create an executable without -o first, disregard a.out.
3314 # It will help us diagnose broken compilers, and finding out an intuition
3315 # of exeext.
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3317 $as_echo_n "checking whether the C compiler works... " >&6; }
3318 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3319
3320 # The possible output files:
3321 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3322
3323 ac_rmfiles=
3324 for ac_file in $ac_files
3325 do
3326   case $ac_file in
3327     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3328     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3329   esac
3330 done
3331 rm -f $ac_rmfiles
3332
3333 if { { ac_try="$ac_link_default"
3334 case "(($ac_try" in
3335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336   *) ac_try_echo=$ac_try;;
3337 esac
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340   (eval "$ac_link_default") 2>&5
3341   ac_status=$?
3342   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343   test $ac_status = 0; }; then :
3344   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3345 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3346 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3347 # so that the user can short-circuit this test for compilers unknown to
3348 # Autoconf.
3349 for ac_file in $ac_files ''
3350 do
3351   test -f "$ac_file" || continue
3352   case $ac_file in
3353     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3354         ;;
3355     [ab].out )
3356         # We found the default executable, but exeext='' is most
3357         # certainly right.
3358         break;;
3359     *.* )
3360         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3361         then :; else
3362            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3363         fi
3364         # We set ac_cv_exeext here because the later test for it is not
3365         # safe: cross compilers may not add the suffix if given an `-o'
3366         # argument, so we may need to know it at that point already.
3367         # Even if this section looks crufty: it has the advantage of
3368         # actually working.
3369         break;;
3370     * )
3371         break;;
3372   esac
3373 done
3374 test "$ac_cv_exeext" = no && ac_cv_exeext=
3375
3376 else
3377   ac_file=''
3378 fi
3379 if test -z "$ac_file"; then :
3380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3382 $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3384
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error 77 "C compiler cannot create executables
3388 See \`config.log' for more details" "$LINENO" 5; }
3389 else
3390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3391 $as_echo "yes" >&6; }
3392 fi
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3394 $as_echo_n "checking for C compiler default output file name... " >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3396 $as_echo "$ac_file" >&6; }
3397 ac_exeext=$ac_cv_exeext
3398
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3400 ac_clean_files=$ac_clean_files_save
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3402 $as_echo_n "checking for suffix of executables... " >&6; }
3403 if { { ac_try="$ac_link"
3404 case "(($ac_try" in
3405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406   *) ac_try_echo=$ac_try;;
3407 esac
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
3410   (eval "$ac_link") 2>&5
3411   ac_status=$?
3412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413   test $ac_status = 0; }; then :
3414   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3415 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3416 # work properly (i.e., refer to `conftest.exe'), while it won't with
3417 # `rm'.
3418 for ac_file in conftest.exe conftest conftest.*; do
3419   test -f "$ac_file" || continue
3420   case $ac_file in
3421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3422     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3423           break;;
3424     * ) break;;
3425   esac
3426 done
3427 else
3428   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3431 See \`config.log' for more details" "$LINENO" 5; }
3432 fi
3433 rm -f conftest conftest$ac_cv_exeext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3435 $as_echo "$ac_cv_exeext" >&6; }
3436
3437 rm -f conftest.$ac_ext
3438 EXEEXT=$ac_cv_exeext
3439 ac_exeext=$EXEEXT
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h.  */
3442 #include <stdio.h>
3443 int
3444 main ()
3445 {
3446 FILE *f = fopen ("conftest.out", "w");
3447  return ferror (f) || fclose (f) != 0;
3448
3449   ;
3450   return 0;
3451 }
3452 _ACEOF
3453 ac_clean_files="$ac_clean_files conftest.out"
3454 # Check that the compiler produces executables we can run.  If not, either
3455 # the compiler is broken, or we cross compile.
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3457 $as_echo_n "checking whether we are cross compiling... " >&6; }
3458 if test "$cross_compiling" != yes; then
3459   { { ac_try="$ac_link"
3460 case "(($ac_try" in
3461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462   *) ac_try_echo=$ac_try;;
3463 esac
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466   (eval "$ac_link") 2>&5
3467   ac_status=$?
3468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469   test $ac_status = 0; }
3470   if { ac_try='./conftest$ac_cv_exeext'
3471   { { case "(($ac_try" in
3472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473   *) ac_try_echo=$ac_try;;
3474 esac
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477   (eval "$ac_try") 2>&5
3478   ac_status=$?
3479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480   test $ac_status = 0; }; }; then
3481     cross_compiling=no
3482   else
3483     if test "$cross_compiling" = maybe; then
3484         cross_compiling=yes
3485     else
3486         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error $? "cannot run C compiled programs.
3489 If you meant to cross compile, use \`--host'.
3490 See \`config.log' for more details" "$LINENO" 5; }
3491     fi
3492   fi
3493 fi
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3495 $as_echo "$cross_compiling" >&6; }
3496
3497 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3498 ac_clean_files=$ac_clean_files_save
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3500 $as_echo_n "checking for suffix of object files... " >&6; }
3501 if ${ac_cv_objext+:} false; then :
3502   $as_echo_n "(cached) " >&6
3503 else
3504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h.  */
3506
3507 int
3508 main ()
3509 {
3510
3511   ;
3512   return 0;
3513 }
3514 _ACEOF
3515 rm -f conftest.o conftest.obj
3516 if { { ac_try="$ac_compile"
3517 case "(($ac_try" in
3518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519   *) ac_try_echo=$ac_try;;
3520 esac
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523   (eval "$ac_compile") 2>&5
3524   ac_status=$?
3525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526   test $ac_status = 0; }; then :
3527   for ac_file in conftest.o conftest.obj conftest.*; do
3528   test -f "$ac_file" || continue;
3529   case $ac_file in
3530     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3531     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3532        break;;
3533   esac
3534 done
3535 else
3536   $as_echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3538
3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 as_fn_error $? "cannot compute suffix of object files: cannot compile
3542 See \`config.log' for more details" "$LINENO" 5; }
3543 fi
3544 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3545 fi
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
3548 OBJEXT=$ac_cv_objext
3549 ac_objext=$OBJEXT
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3551 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3552 if ${ac_cv_c_compiler_gnu+:} false; then :
3553   $as_echo_n "(cached) " >&6
3554 else
3555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h.  */
3557
3558 int
3559 main ()
3560 {
3561 #ifndef __GNUC__
3562        choke me
3563 #endif
3564
3565   ;
3566   return 0;
3567 }
3568 _ACEOF
3569 if ac_fn_c_try_compile "$LINENO"; then :
3570   ac_compiler_gnu=yes
3571 else
3572   ac_compiler_gnu=no
3573 fi
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3576
3577 fi
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3579 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3580 if test $ac_compiler_gnu = yes; then
3581   GCC=yes
3582 else
3583   GCC=
3584 fi
3585 ac_test_CFLAGS=${CFLAGS+set}
3586 ac_save_CFLAGS=$CFLAGS
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3588 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3589 if ${ac_cv_prog_cc_g+:} false; then :
3590   $as_echo_n "(cached) " >&6
3591 else
3592   ac_save_c_werror_flag=$ac_c_werror_flag
3593    ac_c_werror_flag=yes
3594    ac_cv_prog_cc_g=no
3595    CFLAGS="-g"
3596    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h.  */
3598
3599 int
3600 main ()
3601 {
3602
3603   ;
3604   return 0;
3605 }
3606 _ACEOF
3607 if ac_fn_c_try_compile "$LINENO"; then :
3608   ac_cv_prog_cc_g=yes
3609 else
3610   CFLAGS=""
3611       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h.  */
3613
3614 int
3615 main ()
3616 {
3617
3618   ;
3619   return 0;
3620 }
3621 _ACEOF
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623
3624 else
3625   ac_c_werror_flag=$ac_save_c_werror_flag
3626          CFLAGS="-g"
3627          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h.  */
3629
3630 int
3631 main ()
3632 {
3633
3634   ;
3635   return 0;
3636 }
3637 _ACEOF
3638 if ac_fn_c_try_compile "$LINENO"; then :
3639   ac_cv_prog_cc_g=yes
3640 fi
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3642 fi
3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644 fi
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646    ac_c_werror_flag=$ac_save_c_werror_flag
3647 fi
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3649 $as_echo "$ac_cv_prog_cc_g" >&6; }
3650 if test "$ac_test_CFLAGS" = set; then
3651   CFLAGS=$ac_save_CFLAGS
3652 elif test $ac_cv_prog_cc_g = yes; then
3653   if test "$GCC" = yes; then
3654     CFLAGS="-g -O2"
3655   else
3656     CFLAGS="-g"
3657   fi
3658 else
3659   if test "$GCC" = yes; then
3660     CFLAGS="-O2"
3661   else
3662     CFLAGS=
3663   fi
3664 fi
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3666 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3667 if ${ac_cv_prog_cc_c89+:} false; then :
3668   $as_echo_n "(cached) " >&6
3669 else
3670   ac_cv_prog_cc_c89=no
3671 ac_save_CC=$CC
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h.  */
3674 #include <stdarg.h>
3675 #include <stdio.h>
3676 #include <sys/types.h>
3677 #include <sys/stat.h>
3678 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3679 struct buf { int x; };
3680 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3681 static char *e (p, i)
3682      char **p;
3683      int i;
3684 {
3685   return p[i];
3686 }
3687 static char *f (char * (*g) (char **, int), char **p, ...)
3688 {
3689   char *s;
3690   va_list v;
3691   va_start (v,p);
3692   s = g (p, va_arg (v,int));
3693   va_end (v);
3694   return s;
3695 }
3696
3697 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3698    function prototypes and stuff, but not '\xHH' hex character constants.
3699    These don't provoke an error unfortunately, instead are silently treated
3700    as 'x'.  The following induces an error, until -std is added to get
3701    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3702    array size at least.  It's necessary to write '\x00'==0 to get something
3703    that's true only with -std.  */
3704 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3705
3706 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3707    inside strings and character constants.  */
3708 #define FOO(x) 'x'
3709 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3710
3711 int test (int i, double x);
3712 struct s1 {int (*f) (int a);};
3713 struct s2 {int (*f) (double a);};
3714 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3715 int argc;
3716 char **argv;
3717 int
3718 main ()
3719 {
3720 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3721   ;
3722   return 0;
3723 }
3724 _ACEOF
3725 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3726         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3727 do
3728   CC="$ac_save_CC $ac_arg"
3729   if ac_fn_c_try_compile "$LINENO"; then :
3730   ac_cv_prog_cc_c89=$ac_arg
3731 fi
3732 rm -f core conftest.err conftest.$ac_objext
3733   test "x$ac_cv_prog_cc_c89" != "xno" && break
3734 done
3735 rm -f conftest.$ac_ext
3736 CC=$ac_save_CC
3737
3738 fi
3739 # AC_CACHE_VAL
3740 case "x$ac_cv_prog_cc_c89" in
3741   x)
3742     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743 $as_echo "none needed" >&6; } ;;
3744   xno)
3745     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746 $as_echo "unsupported" >&6; } ;;
3747   *)
3748     CC="$CC $ac_cv_prog_cc_c89"
3749     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3751 esac
3752 if test "x$ac_cv_prog_cc_c89" != xno; then :
3753
3754 fi
3755
3756 ac_ext=c
3757 ac_cpp='$CPP $CPPFLAGS'
3758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3761
3762 depcc="$CC"   am_compiler_list=
3763
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3765 $as_echo_n "checking dependency style of $depcc... " >&6; }
3766 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3767   $as_echo_n "(cached) " >&6
3768 else
3769   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3770   # We make a subdir and do the tests there.  Otherwise we can end up
3771   # making bogus files that we don't know about and never remove.  For
3772   # instance it was reported that on HP-UX the gcc test will end up
3773   # making a dummy file named `D' -- because `-MD' means `put the output
3774   # in D'.
3775   mkdir conftest.dir
3776   # Copy depcomp to subdir because otherwise we won't find it if we're
3777   # using a relative directory.
3778   cp "$am_depcomp" conftest.dir
3779   cd conftest.dir
3780   # We will build objects and dependencies in a subdirectory because
3781   # it helps to detect inapplicable dependency modes.  For instance
3782   # both Tru64's cc and ICC support -MD to output dependencies as a
3783   # side effect of compilation, but ICC will put the dependencies in
3784   # the current directory while Tru64 will put them in the object
3785   # directory.
3786   mkdir sub
3787
3788   am_cv_CC_dependencies_compiler_type=none
3789   if test "$am_compiler_list" = ""; then
3790      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3791   fi
3792   am__universal=false
3793   case " $depcc " in #(
3794      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3795      esac
3796
3797   for depmode in $am_compiler_list; do
3798     # Setup a source with many dependencies, because some compilers
3799     # like to wrap large dependency lists on column 80 (with \), and
3800     # we should not choose a depcomp mode which is confused by this.
3801     #
3802     # We need to recreate these files for each test, as the compiler may
3803     # overwrite some of them when testing with obscure command lines.
3804     # This happens at least with the AIX C compiler.
3805     : > sub/conftest.c
3806     for i in 1 2 3 4 5 6; do
3807       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3808       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3809       # Solaris 8's {/usr,}/bin/sh.
3810       touch sub/conftst$i.h
3811     done
3812     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3813
3814     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3815     # mode.  It turns out that the SunPro C++ compiler does not properly
3816     # handle `-M -o', and we need to detect this.  Also, some Intel
3817     # versions had trouble with output in subdirs
3818     am__obj=sub/conftest.${OBJEXT-o}
3819     am__minus_obj="-o $am__obj"
3820     case $depmode in
3821     gcc)
3822       # This depmode causes a compiler race in universal mode.
3823       test "$am__universal" = false || continue
3824       ;;
3825     nosideeffect)
3826       # after this tag, mechanisms are not by side-effect, so they'll
3827       # only be used when explicitly requested
3828       if test "x$enable_dependency_tracking" = xyes; then
3829         continue
3830       else
3831         break
3832       fi
3833       ;;
3834     msvisualcpp | msvcmsys)
3835       # This compiler won't grok `-c -o', but also, the minuso test has
3836       # not run yet.  These depmodes are late enough in the game, and
3837       # so weak that their functioning should not be impacted.
3838       am__obj=conftest.${OBJEXT-o}
3839       am__minus_obj=
3840       ;;
3841     none) break ;;
3842     esac
3843     if depmode=$depmode \
3844        source=sub/conftest.c object=$am__obj \
3845        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3846        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3847          >/dev/null 2>conftest.err &&
3848        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3849        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3850        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3851        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3852       # icc doesn't choke on unknown options, it will just issue warnings
3853       # or remarks (even with -Werror).  So we grep stderr for any message
3854       # that says an option was ignored or not supported.
3855       # When given -MP, icc 7.0 and 7.1 complain thusly:
3856       #   icc: Command line warning: ignoring option '-M'; no argument required
3857       # The diagnosis changed in icc 8.0:
3858       #   icc: Command line remark: option '-MP' not supported
3859       if (grep 'ignoring option' conftest.err ||
3860           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3861         am_cv_CC_dependencies_compiler_type=$depmode
3862         break
3863       fi
3864     fi
3865   done
3866
3867   cd ..
3868   rm -rf conftest.dir
3869 else
3870   am_cv_CC_dependencies_compiler_type=none
3871 fi
3872
3873 fi
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3875 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3876 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3877
3878  if
3879   test "x$enable_dependency_tracking" != xno \
3880   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3881   am__fastdepCC_TRUE=
3882   am__fastdepCC_FALSE='#'
3883 else
3884   am__fastdepCC_TRUE='#'
3885   am__fastdepCC_FALSE=
3886 fi
3887
3888
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3890 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3891 if ${ac_cv_path_SED+:} false; then :
3892   $as_echo_n "(cached) " >&6
3893 else
3894             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3895      for ac_i in 1 2 3 4 5 6 7; do
3896        ac_script="$ac_script$as_nl$ac_script"
3897      done
3898      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3899      { ac_script=; unset ac_script;}
3900      if test -z "$SED"; then
3901   ac_path_SED_found=false
3902   # Loop through the user's path and test for each of PROGNAME-LIST
3903   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904 for as_dir in $PATH
3905 do
3906   IFS=$as_save_IFS
3907   test -z "$as_dir" && as_dir=.
3908     for ac_prog in sed gsed; do
3909     for ac_exec_ext in '' $ac_executable_extensions; do
3910       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3911       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3912 # Check for GNU ac_path_SED and select it if it is found.
3913   # Check for GNU $ac_path_SED
3914 case `"$ac_path_SED" --version 2>&1` in
3915 *GNU*)
3916   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3917 *)
3918   ac_count=0
3919   $as_echo_n 0123456789 >"conftest.in"
3920   while :
3921   do
3922     cat "conftest.in" "conftest.in" >"conftest.tmp"
3923     mv "conftest.tmp" "conftest.in"
3924     cp "conftest.in" "conftest.nl"
3925     $as_echo '' >> "conftest.nl"
3926     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3927     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3928     as_fn_arith $ac_count + 1 && ac_count=$as_val
3929     if test $ac_count -gt ${ac_path_SED_max-0}; then
3930       # Best one so far, save it but keep looking for a better one
3931       ac_cv_path_SED="$ac_path_SED"
3932       ac_path_SED_max=$ac_count
3933     fi
3934     # 10*(2^10) chars as input seems more than enough
3935     test $ac_count -gt 10 && break
3936   done
3937   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3938 esac
3939
3940       $ac_path_SED_found && break 3
3941     done
3942   done
3943   done
3944 IFS=$as_save_IFS
3945   if test -z "$ac_cv_path_SED"; then
3946     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3947   fi
3948 else
3949   ac_cv_path_SED=$SED
3950 fi
3951
3952 fi
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3954 $as_echo "$ac_cv_path_SED" >&6; }
3955  SED="$ac_cv_path_SED"
3956   rm -f conftest.sed
3957
3958 test -z "$SED" && SED=sed
3959 Xsed="$SED -e 1s/^X//"
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3972 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3973 if ${ac_cv_path_GREP+:} false; then :
3974   $as_echo_n "(cached) " >&6
3975 else
3976   if test -z "$GREP"; then
3977   ac_path_GREP_found=false
3978   # Loop through the user's path and test for each of PROGNAME-LIST
3979   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3980 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3981 do
3982   IFS=$as_save_IFS
3983   test -z "$as_dir" && as_dir=.
3984     for ac_prog in grep ggrep; do
3985     for ac_exec_ext in '' $ac_executable_extensions; do
3986       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3987       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3988 # Check for GNU ac_path_GREP and select it if it is found.
3989   # Check for GNU $ac_path_GREP
3990 case `"$ac_path_GREP" --version 2>&1` in
3991 *GNU*)
3992   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3993 *)
3994   ac_count=0
3995   $as_echo_n 0123456789 >"conftest.in"
3996   while :
3997   do
3998     cat "conftest.in" "conftest.in" >"conftest.tmp"
3999     mv "conftest.tmp" "conftest.in"
4000     cp "conftest.in" "conftest.nl"
4001     $as_echo 'GREP' >> "conftest.nl"
4002     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4003     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4004     as_fn_arith $ac_count + 1 && ac_count=$as_val
4005     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4006       # Best one so far, save it but keep looking for a better one
4007       ac_cv_path_GREP="$ac_path_GREP"
4008       ac_path_GREP_max=$ac_count
4009     fi
4010     # 10*(2^10) chars as input seems more than enough
4011     test $ac_count -gt 10 && break
4012   done
4013   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4014 esac
4015
4016       $ac_path_GREP_found && break 3
4017     done
4018   done
4019   done
4020 IFS=$as_save_IFS
4021   if test -z "$ac_cv_path_GREP"; then
4022     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4023   fi
4024 else
4025   ac_cv_path_GREP=$GREP
4026 fi
4027
4028 fi
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4030 $as_echo "$ac_cv_path_GREP" >&6; }
4031  GREP="$ac_cv_path_GREP"
4032
4033
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4035 $as_echo_n "checking for egrep... " >&6; }
4036 if ${ac_cv_path_EGREP+:} false; then :
4037   $as_echo_n "(cached) " >&6
4038 else
4039   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4040    then ac_cv_path_EGREP="$GREP -E"
4041    else
4042      if test -z "$EGREP"; then
4043   ac_path_EGREP_found=false
4044   # Loop through the user's path and test for each of PROGNAME-LIST
4045   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4046 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4047 do
4048   IFS=$as_save_IFS
4049   test -z "$as_dir" && as_dir=.
4050     for ac_prog in egrep; do
4051     for ac_exec_ext in '' $ac_executable_extensions; do
4052       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4053       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4054 # Check for GNU ac_path_EGREP and select it if it is found.
4055   # Check for GNU $ac_path_EGREP
4056 case `"$ac_path_EGREP" --version 2>&1` in
4057 *GNU*)
4058   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4059 *)
4060   ac_count=0
4061   $as_echo_n 0123456789 >"conftest.in"
4062   while :
4063   do
4064     cat "conftest.in" "conftest.in" >"conftest.tmp"
4065     mv "conftest.tmp" "conftest.in"
4066     cp "conftest.in" "conftest.nl"
4067     $as_echo 'EGREP' >> "conftest.nl"
4068     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4069     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4070     as_fn_arith $ac_count + 1 && ac_count=$as_val
4071     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4072       # Best one so far, save it but keep looking for a better one
4073       ac_cv_path_EGREP="$ac_path_EGREP"
4074       ac_path_EGREP_max=$ac_count
4075     fi
4076     # 10*(2^10) chars as input seems more than enough
4077     test $ac_count -gt 10 && break
4078   done
4079   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4080 esac
4081
4082       $ac_path_EGREP_found && break 3
4083     done
4084   done
4085   done
4086 IFS=$as_save_IFS
4087   if test -z "$ac_cv_path_EGREP"; then
4088     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4089   fi
4090 else
4091   ac_cv_path_EGREP=$EGREP
4092 fi
4093
4094    fi
4095 fi
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4097 $as_echo "$ac_cv_path_EGREP" >&6; }
4098  EGREP="$ac_cv_path_EGREP"
4099
4100
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4102 $as_echo_n "checking for fgrep... " >&6; }
4103 if ${ac_cv_path_FGREP+:} false; then :
4104   $as_echo_n "(cached) " >&6
4105 else
4106   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4107    then ac_cv_path_FGREP="$GREP -F"
4108    else
4109      if test -z "$FGREP"; then
4110   ac_path_FGREP_found=false
4111   # Loop through the user's path and test for each of PROGNAME-LIST
4112   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4113 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4114 do
4115   IFS=$as_save_IFS
4116   test -z "$as_dir" && as_dir=.
4117     for ac_prog in fgrep; do
4118     for ac_exec_ext in '' $ac_executable_extensions; do
4119       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4120       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4121 # Check for GNU ac_path_FGREP and select it if it is found.
4122   # Check for GNU $ac_path_FGREP
4123 case `"$ac_path_FGREP" --version 2>&1` in
4124 *GNU*)
4125   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4126 *)
4127   ac_count=0
4128   $as_echo_n 0123456789 >"conftest.in"
4129   while :
4130   do
4131     cat "conftest.in" "conftest.in" >"conftest.tmp"
4132     mv "conftest.tmp" "conftest.in"
4133     cp "conftest.in" "conftest.nl"
4134     $as_echo 'FGREP' >> "conftest.nl"
4135     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4136     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4137     as_fn_arith $ac_count + 1 && ac_count=$as_val
4138     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4139       # Best one so far, save it but keep looking for a better one
4140       ac_cv_path_FGREP="$ac_path_FGREP"
4141       ac_path_FGREP_max=$ac_count
4142     fi
4143     # 10*(2^10) chars as input seems more than enough
4144     test $ac_count -gt 10 && break
4145   done
4146   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4147 esac
4148
4149       $ac_path_FGREP_found && break 3
4150     done
4151   done
4152   done
4153 IFS=$as_save_IFS
4154   if test -z "$ac_cv_path_FGREP"; then
4155     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4156   fi
4157 else
4158   ac_cv_path_FGREP=$FGREP
4159 fi
4160
4161    fi
4162 fi
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4164 $as_echo "$ac_cv_path_FGREP" >&6; }
4165  FGREP="$ac_cv_path_FGREP"
4166
4167
4168 test -z "$GREP" && GREP=grep
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188 # Check whether --with-gnu-ld was given.
4189 if test "${with_gnu_ld+set}" = set; then :
4190   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4191 else
4192   with_gnu_ld=no
4193 fi
4194
4195 ac_prog=ld
4196 if test "$GCC" = yes; then
4197   # Check if gcc -print-prog-name=ld gives a path.
4198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4199 $as_echo_n "checking for ld used by $CC... " >&6; }
4200   case $host in
4201   *-*-mingw*)
4202     # gcc leaves a trailing carriage return which upsets mingw
4203     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4204   *)
4205     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4206   esac
4207   case $ac_prog in
4208     # Accept absolute paths.
4209     [\\/]* | ?:[\\/]*)
4210       re_direlt='/[^/][^/]*/\.\./'
4211       # Canonicalize the pathname of ld
4212       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4213       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4214         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4215       done
4216       test -z "$LD" && LD="$ac_prog"
4217       ;;
4218   "")
4219     # If it fails, then pretend we aren't using GCC.
4220     ac_prog=ld
4221     ;;
4222   *)
4223     # If it is relative, then search for the first ld in PATH.
4224     with_gnu_ld=unknown
4225     ;;
4226   esac
4227 elif test "$with_gnu_ld" = yes; then
4228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4229 $as_echo_n "checking for GNU ld... " >&6; }
4230 else
4231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4232 $as_echo_n "checking for non-GNU ld... " >&6; }
4233 fi
4234 if ${lt_cv_path_LD+:} false; then :
4235   $as_echo_n "(cached) " >&6
4236 else
4237   if test -z "$LD"; then
4238   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4239   for ac_dir in $PATH; do
4240     IFS="$lt_save_ifs"
4241     test -z "$ac_dir" && ac_dir=.
4242     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4243       lt_cv_path_LD="$ac_dir/$ac_prog"
4244       # Check to see if the program is GNU ld.  I'd rather use --version,
4245       # but apparently some variants of GNU ld only accept -v.
4246       # Break only if it was the GNU/non-GNU ld that we prefer.
4247       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4248       *GNU* | *'with BFD'*)
4249         test "$with_gnu_ld" != no && break
4250         ;;
4251       *)
4252         test "$with_gnu_ld" != yes && break
4253         ;;
4254       esac
4255     fi
4256   done
4257   IFS="$lt_save_ifs"
4258 else
4259   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4260 fi
4261 fi
4262
4263 LD="$lt_cv_path_LD"
4264 if test -n "$LD"; then
4265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4266 $as_echo "$LD" >&6; }
4267 else
4268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4270 fi
4271 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4273 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4274 if ${lt_cv_prog_gnu_ld+:} false; then :
4275   $as_echo_n "(cached) " >&6
4276 else
4277   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4278 case `$LD -v 2>&1 </dev/null` in
4279 *GNU* | *'with BFD'*)
4280   lt_cv_prog_gnu_ld=yes
4281   ;;
4282 *)
4283   lt_cv_prog_gnu_ld=no
4284   ;;
4285 esac
4286 fi
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4288 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4289 with_gnu_ld=$lt_cv_prog_gnu_ld
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4300 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4301 if ${lt_cv_path_NM+:} false; then :
4302   $as_echo_n "(cached) " >&6
4303 else
4304   if test -n "$NM"; then
4305   # Let the user override the test.
4306   lt_cv_path_NM="$NM"
4307 else
4308   lt_nm_to_check="${ac_tool_prefix}nm"
4309   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4310     lt_nm_to_check="$lt_nm_to_check nm"
4311   fi
4312   for lt_tmp_nm in $lt_nm_to_check; do
4313     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4314     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4315       IFS="$lt_save_ifs"
4316       test -z "$ac_dir" && ac_dir=.
4317       tmp_nm="$ac_dir/$lt_tmp_nm"
4318       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4319         # Check to see if the nm accepts a BSD-compat flag.
4320         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4321         #   nm: unknown option "B" ignored
4322         # Tru64's nm complains that /dev/null is an invalid object file
4323         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4324         */dev/null* | *'Invalid file or object type'*)
4325           lt_cv_path_NM="$tmp_nm -B"
4326           break
4327           ;;
4328         *)
4329           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4330           */dev/null*)
4331             lt_cv_path_NM="$tmp_nm -p"
4332             break
4333             ;;
4334           *)
4335             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4336             continue # so that we can try to find one that supports BSD flags
4337             ;;
4338           esac
4339           ;;
4340         esac
4341       fi
4342     done
4343     IFS="$lt_save_ifs"
4344   done
4345   : ${lt_cv_path_NM=no}
4346 fi
4347 fi
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4349 $as_echo "$lt_cv_path_NM" >&6; }
4350 if test "$lt_cv_path_NM" != "no"; then
4351   NM="$lt_cv_path_NM"
4352 else
4353   # Didn't find any BSD compatible name lister, look for dumpbin.
4354   if test -n "$DUMPBIN"; then :
4355     # Let the user override the test.
4356   else
4357     if test -n "$ac_tool_prefix"; then
4358   for ac_prog in dumpbin "link -dump"
4359   do
4360     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if ${ac_cv_prog_DUMPBIN+:} false; then :
4365   $as_echo_n "(cached) " >&6
4366 else
4367   if test -n "$DUMPBIN"; then
4368   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4369 else
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 for as_dir in $PATH
4372 do
4373   IFS=$as_save_IFS
4374   test -z "$as_dir" && as_dir=.
4375     for ac_exec_ext in '' $ac_executable_extensions; do
4376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379     break 2
4380   fi
4381 done
4382   done
4383 IFS=$as_save_IFS
4384
4385 fi
4386 fi
4387 DUMPBIN=$ac_cv_prog_DUMPBIN
4388 if test -n "$DUMPBIN"; then
4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4390 $as_echo "$DUMPBIN" >&6; }
4391 else
4392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4394 fi
4395
4396
4397     test -n "$DUMPBIN" && break
4398   done
4399 fi
4400 if test -z "$DUMPBIN"; then
4401   ac_ct_DUMPBIN=$DUMPBIN
4402   for ac_prog in dumpbin "link -dump"
4403 do
4404   # Extract the first word of "$ac_prog", so it can be a program name with args.
4405 set dummy $ac_prog; ac_word=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4409   $as_echo_n "(cached) " >&6
4410 else
4411   if test -n "$ac_ct_DUMPBIN"; then
4412   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4413 else
4414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH
4416 do
4417   IFS=$as_save_IFS
4418   test -z "$as_dir" && as_dir=.
4419     for ac_exec_ext in '' $ac_executable_extensions; do
4420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4421     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423     break 2
4424   fi
4425 done
4426   done
4427 IFS=$as_save_IFS
4428
4429 fi
4430 fi
4431 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4432 if test -n "$ac_ct_DUMPBIN"; then
4433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4434 $as_echo "$ac_ct_DUMPBIN" >&6; }
4435 else
4436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4438 fi
4439
4440
4441   test -n "$ac_ct_DUMPBIN" && break
4442 done
4443
4444   if test "x$ac_ct_DUMPBIN" = x; then
4445     DUMPBIN=":"
4446   else
4447     case $cross_compiling:$ac_tool_warned in
4448 yes:)
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4451 ac_tool_warned=yes ;;
4452 esac
4453     DUMPBIN=$ac_ct_DUMPBIN
4454   fi
4455 fi
4456
4457     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4458     *COFF*)
4459       DUMPBIN="$DUMPBIN -symbols"
4460       ;;
4461     *)
4462       DUMPBIN=:
4463       ;;
4464     esac
4465   fi
4466
4467   if test "$DUMPBIN" != ":"; then
4468     NM="$DUMPBIN"
4469   fi
4470 fi
4471 test -z "$NM" && NM=nm
4472
4473
4474
4475
4476
4477
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4479 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4480 if ${lt_cv_nm_interface+:} false; then :
4481   $as_echo_n "(cached) " >&6
4482 else
4483   lt_cv_nm_interface="BSD nm"
4484   echo "int some_variable = 0;" > conftest.$ac_ext
4485   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4486   (eval "$ac_compile" 2>conftest.err)
4487   cat conftest.err >&5
4488   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4489   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4490   cat conftest.err >&5
4491   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4492   cat conftest.out >&5
4493   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4494     lt_cv_nm_interface="MS dumpbin"
4495   fi
4496   rm -f conftest*
4497 fi
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4499 $as_echo "$lt_cv_nm_interface" >&6; }
4500
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4502 $as_echo_n "checking whether ln -s works... " >&6; }
4503 LN_S=$as_ln_s
4504 if test "$LN_S" = "ln -s"; then
4505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4506 $as_echo "yes" >&6; }
4507 else
4508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4509 $as_echo "no, using $LN_S" >&6; }
4510 fi
4511
4512 # find the maximum length of command line arguments
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4514 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4515 if ${lt_cv_sys_max_cmd_len+:} false; then :
4516   $as_echo_n "(cached) " >&6
4517 else
4518     i=0
4519   teststring="ABCD"
4520
4521   case $build_os in
4522   msdosdjgpp*)
4523     # On DJGPP, this test can blow up pretty badly due to problems in libc
4524     # (any single argument exceeding 2000 bytes causes a buffer overrun
4525     # during glob expansion).  Even if it were fixed, the result of this
4526     # check would be larger than it should be.
4527     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4528     ;;
4529
4530   gnu*)
4531     # Under GNU Hurd, this test is not required because there is
4532     # no limit to the length of command line arguments.
4533     # Libtool will interpret -1 as no limit whatsoever
4534     lt_cv_sys_max_cmd_len=-1;
4535     ;;
4536
4537   cygwin* | mingw* | cegcc*)
4538     # On Win9x/ME, this test blows up -- it succeeds, but takes
4539     # about 5 minutes as the teststring grows exponentially.
4540     # Worse, since 9x/ME are not pre-emptively multitasking,
4541     # you end up with a "frozen" computer, even though with patience
4542     # the test eventually succeeds (with a max line length of 256k).
4543     # Instead, let's just punt: use the minimum linelength reported by
4544     # all of the supported platforms: 8192 (on NT/2K/XP).
4545     lt_cv_sys_max_cmd_len=8192;
4546     ;;
4547
4548   mint*)
4549     # On MiNT this can take a long time and run out of memory.
4550     lt_cv_sys_max_cmd_len=8192;
4551     ;;
4552
4553   amigaos*)
4554     # On AmigaOS with pdksh, this test takes hours, literally.
4555     # So we just punt and use a minimum line length of 8192.
4556     lt_cv_sys_max_cmd_len=8192;
4557     ;;
4558
4559   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4560     # This has been around since 386BSD, at least.  Likely further.
4561     if test -x /sbin/sysctl; then
4562       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4563     elif test -x /usr/sbin/sysctl; then
4564       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4565     else
4566       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4567     fi
4568     # And add a safety zone
4569     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4570     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4571     ;;
4572
4573   interix*)
4574     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4575     lt_cv_sys_max_cmd_len=196608
4576     ;;
4577
4578   osf*)
4579     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4580     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4581     # nice to cause kernel panics so lets avoid the loop below.
4582     # First set a reasonable default.
4583     lt_cv_sys_max_cmd_len=16384
4584     #
4585     if test -x /sbin/sysconfig; then
4586       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4587         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4588       esac
4589     fi
4590     ;;
4591   sco3.2v5*)
4592     lt_cv_sys_max_cmd_len=102400
4593     ;;
4594   sysv5* | sco5v6* | sysv4.2uw2*)
4595     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4596     if test -n "$kargmax"; then
4597       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4598     else
4599       lt_cv_sys_max_cmd_len=32768
4600     fi
4601     ;;
4602   *)
4603     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4604     if test -n "$lt_cv_sys_max_cmd_len"; then
4605       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4606       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4607     else
4608       # Make teststring a little bigger before we do anything with it.
4609       # a 1K string should be a reasonable start.
4610       for i in 1 2 3 4 5 6 7 8 ; do
4611         teststring=$teststring$teststring
4612       done
4613       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4614       # If test is not a shell built-in, we'll probably end up computing a
4615       # maximum length that is only half of the actual maximum length, but
4616       # we can't tell.
4617       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4618                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4619               test $i != 17 # 1/2 MB should be enough
4620       do
4621         i=`expr $i + 1`
4622         teststring=$teststring$teststring
4623       done
4624       # Only check the string length outside the loop.
4625       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4626       teststring=
4627       # Add a significant safety factor because C++ compilers can tack on
4628       # massive amounts of additional arguments before passing them to the
4629       # linker.  It appears as though 1/2 is a usable value.
4630       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4631     fi
4632     ;;
4633   esac
4634
4635 fi
4636
4637 if test -n $lt_cv_sys_max_cmd_len ; then
4638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4639 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4640 else
4641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4642 $as_echo "none" >&6; }
4643 fi
4644 max_cmd_len=$lt_cv_sys_max_cmd_len
4645
4646
4647
4648
4649
4650
4651 : ${CP="cp -f"}
4652 : ${MV="mv -f"}
4653 : ${RM="rm -f"}
4654
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4656 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4657 # Try some XSI features
4658 xsi_shell=no
4659 ( _lt_dummy="a/b/c"
4660   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4661       = c,a/b,b/c, \
4662     && eval 'test $(( 1 + 1 )) -eq 2 \
4663     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4664   && xsi_shell=yes
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4666 $as_echo "$xsi_shell" >&6; }
4667
4668
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4670 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4671 lt_shell_append=no
4672 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4673     >/dev/null 2>&1 \
4674   && lt_shell_append=yes
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4676 $as_echo "$lt_shell_append" >&6; }
4677
4678
4679 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4680   lt_unset=unset
4681 else
4682   lt_unset=false
4683 fi
4684
4685
4686
4687
4688
4689 # test EBCDIC or ASCII
4690 case `echo X|tr X '\101'` in
4691  A) # ASCII based system
4692     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4693   lt_SP2NL='tr \040 \012'
4694   lt_NL2SP='tr \015\012 \040\040'
4695   ;;
4696  *) # EBCDIC based system
4697   lt_SP2NL='tr \100 \n'
4698   lt_NL2SP='tr \r\n \100\100'
4699   ;;
4700 esac
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4711 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4712 if ${lt_cv_to_host_file_cmd+:} false; then :
4713   $as_echo_n "(cached) " >&6
4714 else
4715   case $host in
4716   *-*-mingw* )
4717     case $build in
4718       *-*-mingw* ) # actually msys
4719         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4720         ;;
4721       *-*-cygwin* )
4722         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4723         ;;
4724       * ) # otherwise, assume *nix
4725         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4726         ;;
4727     esac
4728     ;;
4729   *-*-cygwin* )
4730     case $build in
4731       *-*-mingw* ) # actually msys
4732         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4733         ;;
4734       *-*-cygwin* )
4735         lt_cv_to_host_file_cmd=func_convert_file_noop
4736         ;;
4737       * ) # otherwise, assume *nix
4738         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4739         ;;
4740     esac
4741     ;;
4742   * ) # unhandled hosts (and "normal" native builds)
4743     lt_cv_to_host_file_cmd=func_convert_file_noop
4744     ;;
4745 esac
4746
4747 fi
4748
4749 to_host_file_cmd=$lt_cv_to_host_file_cmd
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4751 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4752
4753
4754
4755
4756
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4758 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4759 if ${lt_cv_to_tool_file_cmd+:} false; then :
4760   $as_echo_n "(cached) " >&6
4761 else
4762   #assume ordinary cross tools, or native build.
4763 lt_cv_to_tool_file_cmd=func_convert_file_noop
4764 case $host in
4765   *-*-mingw* )
4766     case $build in
4767       *-*-mingw* ) # actually msys
4768         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4769         ;;
4770     esac
4771     ;;
4772 esac
4773
4774 fi
4775
4776 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4778 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4779
4780
4781
4782
4783
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4785 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4786 if ${lt_cv_ld_reload_flag+:} false; then :
4787   $as_echo_n "(cached) " >&6
4788 else
4789   lt_cv_ld_reload_flag='-r'
4790 fi
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4792 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4793 reload_flag=$lt_cv_ld_reload_flag
4794 case $reload_flag in
4795 "" | " "*) ;;
4796 *) reload_flag=" $reload_flag" ;;
4797 esac
4798 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4799 case $host_os in
4800   cygwin* | mingw* | pw32* | cegcc*)
4801     if test "$GCC" != yes; then
4802       reload_cmds=false
4803     fi
4804     ;;
4805   darwin*)
4806     if test "$GCC" = yes; then
4807       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4808     else
4809       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4810     fi
4811     ;;
4812 esac
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822 if test -n "$ac_tool_prefix"; then
4823   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4824 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_OBJDUMP+:} false; then :
4828   $as_echo_n "(cached) " >&6
4829 else
4830   if test -n "$OBJDUMP"; then
4831   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4832 else
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4834 for as_dir in $PATH
4835 do
4836   IFS=$as_save_IFS
4837   test -z "$as_dir" && as_dir=.
4838     for ac_exec_ext in '' $ac_executable_extensions; do
4839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4840     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4842     break 2
4843   fi
4844 done
4845   done
4846 IFS=$as_save_IFS
4847
4848 fi
4849 fi
4850 OBJDUMP=$ac_cv_prog_OBJDUMP
4851 if test -n "$OBJDUMP"; then
4852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4853 $as_echo "$OBJDUMP" >&6; }
4854 else
4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4857 fi
4858
4859
4860 fi
4861 if test -z "$ac_cv_prog_OBJDUMP"; then
4862   ac_ct_OBJDUMP=$OBJDUMP
4863   # Extract the first word of "objdump", so it can be a program name with args.
4864 set dummy objdump; ac_word=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4868   $as_echo_n "(cached) " >&6
4869 else
4870   if test -n "$ac_ct_OBJDUMP"; then
4871   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4872 else
4873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4874 for as_dir in $PATH
4875 do
4876   IFS=$as_save_IFS
4877   test -z "$as_dir" && as_dir=.
4878     for ac_exec_ext in '' $ac_executable_extensions; do
4879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882     break 2
4883   fi
4884 done
4885   done
4886 IFS=$as_save_IFS
4887
4888 fi
4889 fi
4890 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4891 if test -n "$ac_ct_OBJDUMP"; then
4892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4893 $as_echo "$ac_ct_OBJDUMP" >&6; }
4894 else
4895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4897 fi
4898
4899   if test "x$ac_ct_OBJDUMP" = x; then
4900     OBJDUMP="false"
4901   else
4902     case $cross_compiling:$ac_tool_warned in
4903 yes:)
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4906 ac_tool_warned=yes ;;
4907 esac
4908     OBJDUMP=$ac_ct_OBJDUMP
4909   fi
4910 else
4911   OBJDUMP="$ac_cv_prog_OBJDUMP"
4912 fi
4913
4914 test -z "$OBJDUMP" && OBJDUMP=objdump
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4925 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4926 if ${lt_cv_deplibs_check_method+:} false; then :
4927   $as_echo_n "(cached) " >&6
4928 else
4929   lt_cv_file_magic_cmd='$MAGIC_CMD'
4930 lt_cv_file_magic_test_file=
4931 lt_cv_deplibs_check_method='unknown'
4932 # Need to set the preceding variable on all platforms that support
4933 # interlibrary dependencies.
4934 # 'none' -- dependencies not supported.
4935 # `unknown' -- same as none, but documents that we really don't know.
4936 # 'pass_all' -- all dependencies passed with no checks.
4937 # 'test_compile' -- check by making test program.
4938 # 'file_magic [[regex]]' -- check by looking for files in library path
4939 # which responds to the $file_magic_cmd with a given extended regex.
4940 # If you have `file' or equivalent on your system and you're not sure
4941 # whether `pass_all' will *always* work, you probably want this one.
4942
4943 case $host_os in
4944 aix[4-9]*)
4945   lt_cv_deplibs_check_method=pass_all
4946   ;;
4947
4948 beos*)
4949   lt_cv_deplibs_check_method=pass_all
4950   ;;
4951
4952 bsdi[45]*)
4953   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4954   lt_cv_file_magic_cmd='/usr/bin/file -L'
4955   lt_cv_file_magic_test_file=/shlib/libc.so
4956   ;;
4957
4958 cygwin*)
4959   # func_win32_libid is a shell function defined in ltmain.sh
4960   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4961   lt_cv_file_magic_cmd='func_win32_libid'
4962   ;;
4963
4964 mingw* | pw32*)
4965   # Base MSYS/MinGW do not provide the 'file' command needed by
4966   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4967   # unless we find 'file', for example because we are cross-compiling.
4968   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4969   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4970     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4971     lt_cv_file_magic_cmd='func_win32_libid'
4972   else
4973     # Keep this pattern in sync with the one in func_win32_libid.
4974     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4975     lt_cv_file_magic_cmd='$OBJDUMP -f'
4976   fi
4977   ;;
4978
4979 cegcc*)
4980   # use the weaker test based on 'objdump'. See mingw*.
4981   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4982   lt_cv_file_magic_cmd='$OBJDUMP -f'
4983   ;;
4984
4985 darwin* | rhapsody*)
4986   lt_cv_deplibs_check_method=pass_all
4987   ;;
4988
4989 freebsd* | dragonfly*)
4990   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4991     case $host_cpu in
4992     i*86 )
4993       # Not sure whether the presence of OpenBSD here was a mistake.
4994       # Let's accept both of them until this is cleared up.
4995       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4996       lt_cv_file_magic_cmd=/usr/bin/file
4997       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4998       ;;
4999     esac
5000   else
5001     lt_cv_deplibs_check_method=pass_all
5002   fi
5003   ;;
5004
5005 gnu*)
5006   lt_cv_deplibs_check_method=pass_all
5007   ;;
5008
5009 haiku*)
5010   lt_cv_deplibs_check_method=pass_all
5011   ;;
5012
5013 hpux10.20* | hpux11*)
5014   lt_cv_file_magic_cmd=/usr/bin/file
5015   case $host_cpu in
5016   ia64*)
5017     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5018     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5019     ;;
5020   hppa*64*)
5021     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]'
5022     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5023     ;;
5024   *)
5025     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5026     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5027     ;;
5028   esac
5029   ;;
5030
5031 interix[3-9]*)
5032   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5033   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5034   ;;
5035
5036 irix5* | irix6* | nonstopux*)
5037   case $LD in
5038   *-32|*"-32 ") libmagic=32-bit;;
5039   *-n32|*"-n32 ") libmagic=N32;;
5040   *-64|*"-64 ") libmagic=64-bit;;
5041   *) libmagic=never-match;;
5042   esac
5043   lt_cv_deplibs_check_method=pass_all
5044   ;;
5045
5046 # This must be Linux ELF.
5047 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5048   lt_cv_deplibs_check_method=pass_all
5049   ;;
5050
5051 netbsd*)
5052   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5053     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5054   else
5055     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5056   fi
5057   ;;
5058
5059 newos6*)
5060   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5061   lt_cv_file_magic_cmd=/usr/bin/file
5062   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5063   ;;
5064
5065 *nto* | *qnx*)
5066   lt_cv_deplibs_check_method=pass_all
5067   ;;
5068
5069 openbsd*)
5070   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5071     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5072   else
5073     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5074   fi
5075   ;;
5076
5077 osf3* | osf4* | osf5*)
5078   lt_cv_deplibs_check_method=pass_all
5079   ;;
5080
5081 rdos*)
5082   lt_cv_deplibs_check_method=pass_all
5083   ;;
5084
5085 solaris*)
5086   lt_cv_deplibs_check_method=pass_all
5087   ;;
5088
5089 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5090   lt_cv_deplibs_check_method=pass_all
5091   ;;
5092
5093 sysv4 | sysv4.3*)
5094   case $host_vendor in
5095   motorola)
5096     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]'
5097     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5098     ;;
5099   ncr)
5100     lt_cv_deplibs_check_method=pass_all
5101     ;;
5102   sequent)
5103     lt_cv_file_magic_cmd='/bin/file'
5104     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5105     ;;
5106   sni)
5107     lt_cv_file_magic_cmd='/bin/file'
5108     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5109     lt_cv_file_magic_test_file=/lib/libc.so
5110     ;;
5111   siemens)
5112     lt_cv_deplibs_check_method=pass_all
5113     ;;
5114   pc)
5115     lt_cv_deplibs_check_method=pass_all
5116     ;;
5117   esac
5118   ;;
5119
5120 tpf*)
5121   lt_cv_deplibs_check_method=pass_all
5122   ;;
5123 esac
5124
5125 fi
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5127 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5128
5129 file_magic_glob=
5130 want_nocaseglob=no
5131 if test "$build" = "$host"; then
5132   case $host_os in
5133   mingw* | pw32*)
5134     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5135       want_nocaseglob=yes
5136     else
5137       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5138     fi
5139     ;;
5140   esac
5141 fi
5142
5143 file_magic_cmd=$lt_cv_file_magic_cmd
5144 deplibs_check_method=$lt_cv_deplibs_check_method
5145 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168 if test -n "$ac_tool_prefix"; then
5169   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5170 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_DLLTOOL+:} false; then :
5174   $as_echo_n "(cached) " >&6
5175 else
5176   if test -n "$DLLTOOL"; then
5177   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5181 do
5182   IFS=$as_save_IFS
5183   test -z "$as_dir" && as_dir=.
5184     for ac_exec_ext in '' $ac_executable_extensions; do
5185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188     break 2
5189   fi
5190 done
5191   done
5192 IFS=$as_save_IFS
5193
5194 fi
5195 fi
5196 DLLTOOL=$ac_cv_prog_DLLTOOL
5197 if test -n "$DLLTOOL"; then
5198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5199 $as_echo "$DLLTOOL" >&6; }
5200 else
5201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5203 fi
5204
5205
5206 fi
5207 if test -z "$ac_cv_prog_DLLTOOL"; then
5208   ac_ct_DLLTOOL=$DLLTOOL
5209   # Extract the first word of "dlltool", so it can be a program name with args.
5210 set dummy dlltool; ac_word=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5214   $as_echo_n "(cached) " >&6
5215 else
5216   if test -n "$ac_ct_DLLTOOL"; then
5217   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5218 else
5219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5220 for as_dir in $PATH
5221 do
5222   IFS=$as_save_IFS
5223   test -z "$as_dir" && as_dir=.
5224     for ac_exec_ext in '' $ac_executable_extensions; do
5225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5228     break 2
5229   fi
5230 done
5231   done
5232 IFS=$as_save_IFS
5233
5234 fi
5235 fi
5236 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5237 if test -n "$ac_ct_DLLTOOL"; then
5238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5239 $as_echo "$ac_ct_DLLTOOL" >&6; }
5240 else
5241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5243 fi
5244
5245   if test "x$ac_ct_DLLTOOL" = x; then
5246     DLLTOOL="false"
5247   else
5248     case $cross_compiling:$ac_tool_warned in
5249 yes:)
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5252 ac_tool_warned=yes ;;
5253 esac
5254     DLLTOOL=$ac_ct_DLLTOOL
5255   fi
5256 else
5257   DLLTOOL="$ac_cv_prog_DLLTOOL"
5258 fi
5259
5260 test -z "$DLLTOOL" && DLLTOOL=dlltool
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5272 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5273 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5274   $as_echo_n "(cached) " >&6
5275 else
5276   lt_cv_sharedlib_from_linklib_cmd='unknown'
5277
5278 case $host_os in
5279 cygwin* | mingw* | pw32* | cegcc*)
5280   # two different shell functions defined in ltmain.sh
5281   # decide which to use based on capabilities of $DLLTOOL
5282   case `$DLLTOOL --help 2>&1` in
5283   *--identify-strict*)
5284     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5285     ;;
5286   *)
5287     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5288     ;;
5289   esac
5290   ;;
5291 *)
5292   # fallback: assume linklib IS sharedlib
5293   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5294   ;;
5295 esac
5296
5297 fi
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5299 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5300 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5301 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5302
5303
5304
5305
5306
5307
5308
5309
5310 if test -n "$ac_tool_prefix"; then
5311   for ac_prog in ar
5312   do
5313     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5314 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5316 $as_echo_n "checking for $ac_word... " >&6; }
5317 if ${ac_cv_prog_AR+:} false; then :
5318   $as_echo_n "(cached) " >&6
5319 else
5320   if test -n "$AR"; then
5321   ac_cv_prog_AR="$AR" # Let the user override the test.
5322 else
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 for as_dir in $PATH
5325 do
5326   IFS=$as_save_IFS
5327   test -z "$as_dir" && as_dir=.
5328     for ac_exec_ext in '' $ac_executable_extensions; do
5329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332     break 2
5333   fi
5334 done
5335   done
5336 IFS=$as_save_IFS
5337
5338 fi
5339 fi
5340 AR=$ac_cv_prog_AR
5341 if test -n "$AR"; then
5342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5343 $as_echo "$AR" >&6; }
5344 else
5345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5347 fi
5348
5349
5350     test -n "$AR" && break
5351   done
5352 fi
5353 if test -z "$AR"; then
5354   ac_ct_AR=$AR
5355   for ac_prog in ar
5356 do
5357   # Extract the first word of "$ac_prog", so it can be a program name with args.
5358 set dummy $ac_prog; ac_word=$2
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5360 $as_echo_n "checking for $ac_word... " >&6; }
5361 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5362   $as_echo_n "(cached) " >&6
5363 else
5364   if test -n "$ac_ct_AR"; then
5365   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5369 do
5370   IFS=$as_save_IFS
5371   test -z "$as_dir" && as_dir=.
5372     for ac_exec_ext in '' $ac_executable_extensions; do
5373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374     ac_cv_prog_ac_ct_AR="$ac_prog"
5375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376     break 2
5377   fi
5378 done
5379   done
5380 IFS=$as_save_IFS
5381
5382 fi
5383 fi
5384 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5385 if test -n "$ac_ct_AR"; then
5386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5387 $as_echo "$ac_ct_AR" >&6; }
5388 else
5389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5390 $as_echo "no" >&6; }
5391 fi
5392
5393
5394   test -n "$ac_ct_AR" && break
5395 done
5396
5397   if test "x$ac_ct_AR" = x; then
5398     AR="false"
5399   else
5400     case $cross_compiling:$ac_tool_warned in
5401 yes:)
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5404 ac_tool_warned=yes ;;
5405 esac
5406     AR=$ac_ct_AR
5407   fi
5408 fi
5409
5410 : ${AR=ar}
5411 : ${AR_FLAGS=cru}
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5424 $as_echo_n "checking for archiver @FILE support... " >&6; }
5425 if ${lt_cv_ar_at_file+:} false; then :
5426   $as_echo_n "(cached) " >&6
5427 else
5428   lt_cv_ar_at_file=no
5429    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h.  */
5431
5432 int
5433 main ()
5434 {
5435
5436   ;
5437   return 0;
5438 }
5439 _ACEOF
5440 if ac_fn_c_try_compile "$LINENO"; then :
5441   echo conftest.$ac_objext > conftest.lst
5442       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5443       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5444   (eval $lt_ar_try) 2>&5
5445   ac_status=$?
5446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5447   test $ac_status = 0; }
5448       if test "$ac_status" -eq 0; then
5449         # Ensure the archiver fails upon bogus file names.
5450         rm -f conftest.$ac_objext libconftest.a
5451         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5452   (eval $lt_ar_try) 2>&5
5453   ac_status=$?
5454   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5455   test $ac_status = 0; }
5456         if test "$ac_status" -ne 0; then
5457           lt_cv_ar_at_file=@
5458         fi
5459       fi
5460       rm -f conftest.* libconftest.a
5461
5462 fi
5463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5464
5465 fi
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5467 $as_echo "$lt_cv_ar_at_file" >&6; }
5468
5469 if test "x$lt_cv_ar_at_file" = xno; then
5470   archiver_list_spec=
5471 else
5472   archiver_list_spec=$lt_cv_ar_at_file
5473 fi
5474
5475
5476
5477
5478
5479
5480
5481 if test -n "$ac_tool_prefix"; then
5482   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5483 set dummy ${ac_tool_prefix}strip; ac_word=$2
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5485 $as_echo_n "checking for $ac_word... " >&6; }
5486 if ${ac_cv_prog_STRIP+:} false; then :
5487   $as_echo_n "(cached) " >&6
5488 else
5489   if test -n "$STRIP"; then
5490   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5491 else
5492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493 for as_dir in $PATH
5494 do
5495   IFS=$as_save_IFS
5496   test -z "$as_dir" && as_dir=.
5497     for ac_exec_ext in '' $ac_executable_extensions; do
5498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5499     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501     break 2
5502   fi
5503 done
5504   done
5505 IFS=$as_save_IFS
5506
5507 fi
5508 fi
5509 STRIP=$ac_cv_prog_STRIP
5510 if test -n "$STRIP"; then
5511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5512 $as_echo "$STRIP" >&6; }
5513 else
5514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5515 $as_echo "no" >&6; }
5516 fi
5517
5518
5519 fi
5520 if test -z "$ac_cv_prog_STRIP"; then
5521   ac_ct_STRIP=$STRIP
5522   # Extract the first word of "strip", so it can be a program name with args.
5523 set dummy strip; ac_word=$2
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5525 $as_echo_n "checking for $ac_word... " >&6; }
5526 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5527   $as_echo_n "(cached) " >&6
5528 else
5529   if test -n "$ac_ct_STRIP"; then
5530   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5534 do
5535   IFS=$as_save_IFS
5536   test -z "$as_dir" && as_dir=.
5537     for ac_exec_ext in '' $ac_executable_extensions; do
5538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5539     ac_cv_prog_ac_ct_STRIP="strip"
5540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5541     break 2
5542   fi
5543 done
5544   done
5545 IFS=$as_save_IFS
5546
5547 fi
5548 fi
5549 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5550 if test -n "$ac_ct_STRIP"; then
5551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5552 $as_echo "$ac_ct_STRIP" >&6; }
5553 else
5554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }
5556 fi
5557
5558   if test "x$ac_ct_STRIP" = x; then
5559     STRIP=":"
5560   else
5561     case $cross_compiling:$ac_tool_warned in
5562 yes:)
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5565 ac_tool_warned=yes ;;
5566 esac
5567     STRIP=$ac_ct_STRIP
5568   fi
5569 else
5570   STRIP="$ac_cv_prog_STRIP"
5571 fi
5572
5573 test -z "$STRIP" && STRIP=:
5574
5575
5576
5577
5578
5579
5580 if test -n "$ac_tool_prefix"; then
5581   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5582 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if ${ac_cv_prog_RANLIB+:} false; then :
5586   $as_echo_n "(cached) " >&6
5587 else
5588   if test -n "$RANLIB"; then
5589   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5593 do
5594   IFS=$as_save_IFS
5595   test -z "$as_dir" && as_dir=.
5596     for ac_exec_ext in '' $ac_executable_extensions; do
5597   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5598     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5600     break 2
5601   fi
5602 done
5603   done
5604 IFS=$as_save_IFS
5605
5606 fi
5607 fi
5608 RANLIB=$ac_cv_prog_RANLIB
5609 if test -n "$RANLIB"; then
5610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5611 $as_echo "$RANLIB" >&6; }
5612 else
5613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5615 fi
5616
5617
5618 fi
5619 if test -z "$ac_cv_prog_RANLIB"; then
5620   ac_ct_RANLIB=$RANLIB
5621   # Extract the first word of "ranlib", so it can be a program name with args.
5622 set dummy ranlib; ac_word=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5626   $as_echo_n "(cached) " >&6
5627 else
5628   if test -n "$ac_ct_RANLIB"; then
5629   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5633 do
5634   IFS=$as_save_IFS
5635   test -z "$as_dir" && as_dir=.
5636     for ac_exec_ext in '' $ac_executable_extensions; do
5637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5638     ac_cv_prog_ac_ct_RANLIB="ranlib"
5639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5640     break 2
5641   fi
5642 done
5643   done
5644 IFS=$as_save_IFS
5645
5646 fi
5647 fi
5648 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5649 if test -n "$ac_ct_RANLIB"; then
5650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5651 $as_echo "$ac_ct_RANLIB" >&6; }
5652 else
5653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5655 fi
5656
5657   if test "x$ac_ct_RANLIB" = x; then
5658     RANLIB=":"
5659   else
5660     case $cross_compiling:$ac_tool_warned in
5661 yes:)
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5664 ac_tool_warned=yes ;;
5665 esac
5666     RANLIB=$ac_ct_RANLIB
5667   fi
5668 else
5669   RANLIB="$ac_cv_prog_RANLIB"
5670 fi
5671
5672 test -z "$RANLIB" && RANLIB=:
5673
5674
5675
5676
5677
5678
5679 # Determine commands to create old-style static archives.
5680 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5681 old_postinstall_cmds='chmod 644 $oldlib'
5682 old_postuninstall_cmds=
5683
5684 if test -n "$RANLIB"; then
5685   case $host_os in
5686   openbsd*)
5687     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5688     ;;
5689   *)
5690     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5691     ;;
5692   esac
5693   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5694 fi
5695
5696 case $host_os in
5697   darwin*)
5698     lock_old_archive_extraction=yes ;;
5699   *)
5700     lock_old_archive_extraction=no ;;
5701 esac
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741 # If no C compiler was specified, use CC.
5742 LTCC=${LTCC-"$CC"}
5743
5744 # If no C compiler flags were specified, use CFLAGS.
5745 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5746
5747 # Allow CC to be a program name with arguments.
5748 compiler=$CC
5749
5750
5751 # Check for command to grab the raw symbol name followed by C symbol from nm.
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5753 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5754 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5755   $as_echo_n "(cached) " >&6
5756 else
5757
5758 # These are sane defaults that work on at least a few old systems.
5759 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5760
5761 # Character class describing NM global symbol codes.
5762 symcode='[BCDEGRST]'
5763
5764 # Regexp to match symbols that can be accessed directly from C.
5765 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5766
5767 # Define system-specific variables.
5768 case $host_os in
5769 aix*)
5770   symcode='[BCDT]'
5771   ;;
5772 cygwin* | mingw* | pw32* | cegcc*)
5773   symcode='[ABCDGISTW]'
5774   ;;
5775 hpux*)
5776   if test "$host_cpu" = ia64; then
5777     symcode='[ABCDEGRST]'
5778   fi
5779   ;;
5780 irix* | nonstopux*)
5781   symcode='[BCDEGRST]'
5782   ;;
5783 osf*)
5784   symcode='[BCDEGQRST]'
5785   ;;
5786 solaris*)
5787   symcode='[BDRT]'
5788   ;;
5789 sco3.2v5*)
5790   symcode='[DT]'
5791   ;;
5792 sysv4.2uw2*)
5793   symcode='[DT]'
5794   ;;
5795 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5796   symcode='[ABDT]'
5797   ;;
5798 sysv4)
5799   symcode='[DFNSTU]'
5800   ;;
5801 esac
5802
5803 # If we're using GNU nm, then use its standard symbol codes.
5804 case `$NM -V 2>&1` in
5805 *GNU* | *'with BFD'*)
5806   symcode='[ABCDGIRSTW]' ;;
5807 esac
5808
5809 # Transform an extracted symbol line into a proper C declaration.
5810 # Some systems (esp. on ia64) link data and code symbols differently,
5811 # so use this general approach.
5812 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5813
5814 # Transform an extracted symbol line into symbol name and symbol address
5815 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5816 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'"
5817
5818 # Handle CRLF in mingw tool chain
5819 opt_cr=
5820 case $build_os in
5821 mingw*)
5822   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5823   ;;
5824 esac
5825
5826 # Try without a prefix underscore, then with it.
5827 for ac_symprfx in "" "_"; do
5828
5829   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5830   symxfrm="\\1 $ac_symprfx\\2 \\2"
5831
5832   # Write the raw and C identifiers.
5833   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5834     # Fake it for dumpbin and say T for any non-static function
5835     # and D for any global variable.
5836     # Also find C++ and __fastcall symbols from MSVC++,
5837     # which start with @ or ?.
5838     lt_cv_sys_global_symbol_pipe="$AWK '"\
5839 "     {last_section=section; section=\$ 3};"\
5840 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5841 "     \$ 0!~/External *\|/{next};"\
5842 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5843 "     {if(hide[section]) next};"\
5844 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5845 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5846 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5847 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5848 "     ' prfx=^$ac_symprfx"
5849   else
5850     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5851   fi
5852   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5853
5854   # Check to see that the pipe works correctly.
5855   pipe_works=no
5856
5857   rm -f conftest*
5858   cat > conftest.$ac_ext <<_LT_EOF
5859 #ifdef __cplusplus
5860 extern "C" {
5861 #endif
5862 char nm_test_var;
5863 void nm_test_func(void);
5864 void nm_test_func(void){}
5865 #ifdef __cplusplus
5866 }
5867 #endif
5868 int main(){nm_test_var='a';nm_test_func();return(0);}
5869 _LT_EOF
5870
5871   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5872   (eval $ac_compile) 2>&5
5873   ac_status=$?
5874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5875   test $ac_status = 0; }; then
5876     # Now try to grab the symbols.
5877     nlist=conftest.nm
5878     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5879   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5880   ac_status=$?
5881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5882   test $ac_status = 0; } && test -s "$nlist"; then
5883       # Try sorting and uniquifying the output.
5884       if sort "$nlist" | uniq > "$nlist"T; then
5885         mv -f "$nlist"T "$nlist"
5886       else
5887         rm -f "$nlist"T
5888       fi
5889
5890       # Make sure that we snagged all the symbols we need.
5891       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5892         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5893           cat <<_LT_EOF > conftest.$ac_ext
5894 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5895 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5896 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5897    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5898 # define LT_DLSYM_CONST
5899 #elif defined(__osf__)
5900 /* This system does not cope well with relocations in const data.  */
5901 # define LT_DLSYM_CONST
5902 #else
5903 # define LT_DLSYM_CONST const
5904 #endif
5905
5906 #ifdef __cplusplus
5907 extern "C" {
5908 #endif
5909
5910 _LT_EOF
5911           # Now generate the symbol file.
5912           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5913
5914           cat <<_LT_EOF >> conftest.$ac_ext
5915
5916 /* The mapping between symbol names and symbols.  */
5917 LT_DLSYM_CONST struct {
5918   const char *name;
5919   void       *address;
5920 }
5921 lt__PROGRAM__LTX_preloaded_symbols[] =
5922 {
5923   { "@PROGRAM@", (void *) 0 },
5924 _LT_EOF
5925           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5926           cat <<\_LT_EOF >> conftest.$ac_ext
5927   {0, (void *) 0}
5928 };
5929
5930 /* This works around a problem in FreeBSD linker */
5931 #ifdef FREEBSD_WORKAROUND
5932 static const void *lt_preloaded_setup() {
5933   return lt__PROGRAM__LTX_preloaded_symbols;
5934 }
5935 #endif
5936
5937 #ifdef __cplusplus
5938 }
5939 #endif
5940 _LT_EOF
5941           # Now try linking the two files.
5942           mv conftest.$ac_objext conftstm.$ac_objext
5943           lt_globsym_save_LIBS=$LIBS
5944           lt_globsym_save_CFLAGS=$CFLAGS
5945           LIBS="conftstm.$ac_objext"
5946           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5947           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5948   (eval $ac_link) 2>&5
5949   ac_status=$?
5950   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5951   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5952             pipe_works=yes
5953           fi
5954           LIBS=$lt_globsym_save_LIBS
5955           CFLAGS=$lt_globsym_save_CFLAGS
5956         else
5957           echo "cannot find nm_test_func in $nlist" >&5
5958         fi
5959       else
5960         echo "cannot find nm_test_var in $nlist" >&5
5961       fi
5962     else
5963       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5964     fi
5965   else
5966     echo "$progname: failed program was:" >&5
5967     cat conftest.$ac_ext >&5
5968   fi
5969   rm -rf conftest* conftst*
5970
5971   # Do not use the global_symbol_pipe unless it works.
5972   if test "$pipe_works" = yes; then
5973     break
5974   else
5975     lt_cv_sys_global_symbol_pipe=
5976   fi
5977 done
5978
5979 fi
5980
5981 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5982   lt_cv_sys_global_symbol_to_cdecl=
5983 fi
5984 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5986 $as_echo "failed" >&6; }
5987 else
5988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5989 $as_echo "ok" >&6; }
5990 fi
5991
5992 # Response file support.
5993 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5994   nm_file_list_spec='@'
5995 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5996   nm_file_list_spec='@'
5997 fi
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6026 $as_echo_n "checking for sysroot... " >&6; }
6027
6028 # Check whether --with-sysroot was given.
6029 if test "${with_sysroot+set}" = set; then :
6030   withval=$with_sysroot;
6031 else
6032   with_sysroot=no
6033 fi
6034
6035
6036 lt_sysroot=
6037 case ${with_sysroot} in #(
6038  yes)
6039    if test "$GCC" = yes; then
6040      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6041    fi
6042    ;; #(
6043  /*)
6044    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6045    ;; #(
6046  no|'')
6047    ;; #(
6048  *)
6049    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6050 $as_echo "${with_sysroot}" >&6; }
6051    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6052    ;;
6053 esac
6054
6055  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6056 $as_echo "${lt_sysroot:-no}" >&6; }
6057
6058
6059
6060
6061
6062 # Check whether --enable-libtool-lock was given.
6063 if test "${enable_libtool_lock+set}" = set; then :
6064   enableval=$enable_libtool_lock;
6065 fi
6066
6067 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6068
6069 # Some flags need to be propagated to the compiler or linker for good
6070 # libtool support.
6071 case $host in
6072 ia64-*-hpux*)
6073   # Find out which ABI we are using.
6074   echo 'int i;' > conftest.$ac_ext
6075   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6076   (eval $ac_compile) 2>&5
6077   ac_status=$?
6078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6079   test $ac_status = 0; }; then
6080     case `/usr/bin/file conftest.$ac_objext` in
6081       *ELF-32*)
6082         HPUX_IA64_MODE="32"
6083         ;;
6084       *ELF-64*)
6085         HPUX_IA64_MODE="64"
6086         ;;
6087     esac
6088   fi
6089   rm -rf conftest*
6090   ;;
6091 *-*-irix6*)
6092   # Find out which ABI we are using.
6093   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6094   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6095   (eval $ac_compile) 2>&5
6096   ac_status=$?
6097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6098   test $ac_status = 0; }; then
6099     if test "$lt_cv_prog_gnu_ld" = yes; then
6100       case `/usr/bin/file conftest.$ac_objext` in
6101         *32-bit*)
6102           LD="${LD-ld} -melf32bsmip"
6103           ;;
6104         *N32*)
6105           LD="${LD-ld} -melf32bmipn32"
6106           ;;
6107         *64-bit*)
6108           LD="${LD-ld} -melf64bmip"
6109         ;;
6110       esac
6111     else
6112       case `/usr/bin/file conftest.$ac_objext` in
6113         *32-bit*)
6114           LD="${LD-ld} -32"
6115           ;;
6116         *N32*)
6117           LD="${LD-ld} -n32"
6118           ;;
6119         *64-bit*)
6120           LD="${LD-ld} -64"
6121           ;;
6122       esac
6123     fi
6124   fi
6125   rm -rf conftest*
6126   ;;
6127
6128 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6129 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6130   # Find out which ABI we are using.
6131   echo 'int i;' > conftest.$ac_ext
6132   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6133   (eval $ac_compile) 2>&5
6134   ac_status=$?
6135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6136   test $ac_status = 0; }; then
6137     case `/usr/bin/file conftest.o` in
6138       *32-bit*)
6139         case $host in
6140           x86_64-*kfreebsd*-gnu)
6141             LD="${LD-ld} -m elf_i386_fbsd"
6142             ;;
6143           x86_64-*linux*)
6144             LD="${LD-ld} -m elf_i386"
6145             ;;
6146           ppc64-*linux*|powerpc64-*linux*)
6147             LD="${LD-ld} -m elf32ppclinux"
6148             ;;
6149           s390x-*linux*)
6150             LD="${LD-ld} -m elf_s390"
6151             ;;
6152           sparc64-*linux*)
6153             LD="${LD-ld} -m elf32_sparc"
6154             ;;
6155         esac
6156         ;;
6157       *64-bit*)
6158         case $host in
6159           x86_64-*kfreebsd*-gnu)
6160             LD="${LD-ld} -m elf_x86_64_fbsd"
6161             ;;
6162           x86_64-*linux*)
6163             LD="${LD-ld} -m elf_x86_64"
6164             ;;
6165           ppc*-*linux*|powerpc*-*linux*)
6166             LD="${LD-ld} -m elf64ppc"
6167             ;;
6168           s390*-*linux*|s390*-*tpf*)
6169             LD="${LD-ld} -m elf64_s390"
6170             ;;
6171           sparc*-*linux*)
6172             LD="${LD-ld} -m elf64_sparc"
6173             ;;
6174         esac
6175         ;;
6176     esac
6177   fi
6178   rm -rf conftest*
6179   ;;
6180
6181 *-*-sco3.2v5*)
6182   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6183   SAVE_CFLAGS="$CFLAGS"
6184   CFLAGS="$CFLAGS -belf"
6185   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6186 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6187 if ${lt_cv_cc_needs_belf+:} false; then :
6188   $as_echo_n "(cached) " >&6
6189 else
6190   ac_ext=c
6191 ac_cpp='$CPP $CPPFLAGS'
6192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6195
6196      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6197 /* end confdefs.h.  */
6198
6199 int
6200 main ()
6201 {
6202
6203   ;
6204   return 0;
6205 }
6206 _ACEOF
6207 if ac_fn_c_try_link "$LINENO"; then :
6208   lt_cv_cc_needs_belf=yes
6209 else
6210   lt_cv_cc_needs_belf=no
6211 fi
6212 rm -f core conftest.err conftest.$ac_objext \
6213     conftest$ac_exeext conftest.$ac_ext
6214      ac_ext=c
6215 ac_cpp='$CPP $CPPFLAGS'
6216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6219
6220 fi
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6222 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6223   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6224     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6225     CFLAGS="$SAVE_CFLAGS"
6226   fi
6227   ;;
6228 sparc*-*solaris*)
6229   # Find out which ABI we are using.
6230   echo 'int i;' > conftest.$ac_ext
6231   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6232   (eval $ac_compile) 2>&5
6233   ac_status=$?
6234   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6235   test $ac_status = 0; }; then
6236     case `/usr/bin/file conftest.o` in
6237     *64-bit*)
6238       case $lt_cv_prog_gnu_ld in
6239       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6240       *)
6241         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6242           LD="${LD-ld} -64"
6243         fi
6244         ;;
6245       esac
6246       ;;
6247     esac
6248   fi
6249   rm -rf conftest*
6250   ;;
6251 esac
6252
6253 need_locks="$enable_libtool_lock"
6254
6255 if test -n "$ac_tool_prefix"; then
6256   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6257 set dummy ${ac_tool_prefix}mt; ac_word=$2
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6259 $as_echo_n "checking for $ac_word... " >&6; }
6260 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6261   $as_echo_n "(cached) " >&6
6262 else
6263   if test -n "$MANIFEST_TOOL"; then
6264   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6265 else
6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 for as_dir in $PATH
6268 do
6269   IFS=$as_save_IFS
6270   test -z "$as_dir" && as_dir=.
6271     for ac_exec_ext in '' $ac_executable_extensions; do
6272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6273     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6275     break 2
6276   fi
6277 done
6278   done
6279 IFS=$as_save_IFS
6280
6281 fi
6282 fi
6283 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6284 if test -n "$MANIFEST_TOOL"; then
6285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6286 $as_echo "$MANIFEST_TOOL" >&6; }
6287 else
6288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6290 fi
6291
6292
6293 fi
6294 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6295   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6296   # Extract the first word of "mt", so it can be a program name with args.
6297 set dummy mt; ac_word=$2
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6299 $as_echo_n "checking for $ac_word... " >&6; }
6300 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6301   $as_echo_n "(cached) " >&6
6302 else
6303   if test -n "$ac_ct_MANIFEST_TOOL"; then
6304   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6305 else
6306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 for as_dir in $PATH
6308 do
6309   IFS=$as_save_IFS
6310   test -z "$as_dir" && as_dir=.
6311     for ac_exec_ext in '' $ac_executable_extensions; do
6312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6313     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6315     break 2
6316   fi
6317 done
6318   done
6319 IFS=$as_save_IFS
6320
6321 fi
6322 fi
6323 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6324 if test -n "$ac_ct_MANIFEST_TOOL"; then
6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6326 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6327 else
6328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6329 $as_echo "no" >&6; }
6330 fi
6331
6332   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6333     MANIFEST_TOOL=":"
6334   else
6335     case $cross_compiling:$ac_tool_warned in
6336 yes:)
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6339 ac_tool_warned=yes ;;
6340 esac
6341     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6342   fi
6343 else
6344   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6345 fi
6346
6347 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6349 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6350 if ${lt_cv_path_mainfest_tool+:} false; then :
6351   $as_echo_n "(cached) " >&6
6352 else
6353   lt_cv_path_mainfest_tool=no
6354   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6355   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6356   cat conftest.err >&5
6357   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6358     lt_cv_path_mainfest_tool=yes
6359   fi
6360   rm -f conftest*
6361 fi
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6363 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6364 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6365   MANIFEST_TOOL=:
6366 fi
6367
6368
6369
6370
6371
6372
6373   case $host_os in
6374     rhapsody* | darwin*)
6375     if test -n "$ac_tool_prefix"; then
6376   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6377 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 $as_echo_n "checking for $ac_word... " >&6; }
6380 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6381   $as_echo_n "(cached) " >&6
6382 else
6383   if test -n "$DSYMUTIL"; then
6384   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6385 else
6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 for as_dir in $PATH
6388 do
6389   IFS=$as_save_IFS
6390   test -z "$as_dir" && as_dir=.
6391     for ac_exec_ext in '' $ac_executable_extensions; do
6392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6393     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6395     break 2
6396   fi
6397 done
6398   done
6399 IFS=$as_save_IFS
6400
6401 fi
6402 fi
6403 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6404 if test -n "$DSYMUTIL"; then
6405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6406 $as_echo "$DSYMUTIL" >&6; }
6407 else
6408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6409 $as_echo "no" >&6; }
6410 fi
6411
6412
6413 fi
6414 if test -z "$ac_cv_prog_DSYMUTIL"; then
6415   ac_ct_DSYMUTIL=$DSYMUTIL
6416   # Extract the first word of "dsymutil", so it can be a program name with args.
6417 set dummy dsymutil; ac_word=$2
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419 $as_echo_n "checking for $ac_word... " >&6; }
6420 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6421   $as_echo_n "(cached) " >&6
6422 else
6423   if test -n "$ac_ct_DSYMUTIL"; then
6424   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6425 else
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH
6428 do
6429   IFS=$as_save_IFS
6430   test -z "$as_dir" && as_dir=.
6431     for ac_exec_ext in '' $ac_executable_extensions; do
6432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435     break 2
6436   fi
6437 done
6438   done
6439 IFS=$as_save_IFS
6440
6441 fi
6442 fi
6443 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6444 if test -n "$ac_ct_DSYMUTIL"; then
6445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6446 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6447 else
6448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449 $as_echo "no" >&6; }
6450 fi
6451
6452   if test "x$ac_ct_DSYMUTIL" = x; then
6453     DSYMUTIL=":"
6454   else
6455     case $cross_compiling:$ac_tool_warned in
6456 yes:)
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6459 ac_tool_warned=yes ;;
6460 esac
6461     DSYMUTIL=$ac_ct_DSYMUTIL
6462   fi
6463 else
6464   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6465 fi
6466
6467     if test -n "$ac_tool_prefix"; then
6468   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6469 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6471 $as_echo_n "checking for $ac_word... " >&6; }
6472 if ${ac_cv_prog_NMEDIT+:} false; then :
6473   $as_echo_n "(cached) " >&6
6474 else
6475   if test -n "$NMEDIT"; then
6476   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6477 else
6478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 for as_dir in $PATH
6480 do
6481   IFS=$as_save_IFS
6482   test -z "$as_dir" && as_dir=.
6483     for ac_exec_ext in '' $ac_executable_extensions; do
6484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6485     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6487     break 2
6488   fi
6489 done
6490   done
6491 IFS=$as_save_IFS
6492
6493 fi
6494 fi
6495 NMEDIT=$ac_cv_prog_NMEDIT
6496 if test -n "$NMEDIT"; then
6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6498 $as_echo "$NMEDIT" >&6; }
6499 else
6500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6502 fi
6503
6504
6505 fi
6506 if test -z "$ac_cv_prog_NMEDIT"; then
6507   ac_ct_NMEDIT=$NMEDIT
6508   # Extract the first word of "nmedit", so it can be a program name with args.
6509 set dummy nmedit; ac_word=$2
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 $as_echo_n "checking for $ac_word... " >&6; }
6512 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6513   $as_echo_n "(cached) " >&6
6514 else
6515   if test -n "$ac_ct_NMEDIT"; then
6516   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6517 else
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $PATH
6520 do
6521   IFS=$as_save_IFS
6522   test -z "$as_dir" && as_dir=.
6523     for ac_exec_ext in '' $ac_executable_extensions; do
6524   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6525     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6526     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527     break 2
6528   fi
6529 done
6530   done
6531 IFS=$as_save_IFS
6532
6533 fi
6534 fi
6535 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6536 if test -n "$ac_ct_NMEDIT"; then
6537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6538 $as_echo "$ac_ct_NMEDIT" >&6; }
6539 else
6540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6542 fi
6543
6544   if test "x$ac_ct_NMEDIT" = x; then
6545     NMEDIT=":"
6546   else
6547     case $cross_compiling:$ac_tool_warned in
6548 yes:)
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6551 ac_tool_warned=yes ;;
6552 esac
6553     NMEDIT=$ac_ct_NMEDIT
6554   fi
6555 else
6556   NMEDIT="$ac_cv_prog_NMEDIT"
6557 fi
6558
6559     if test -n "$ac_tool_prefix"; then
6560   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6561 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563 $as_echo_n "checking for $ac_word... " >&6; }
6564 if ${ac_cv_prog_LIPO+:} false; then :
6565   $as_echo_n "(cached) " >&6
6566 else
6567   if test -n "$LIPO"; then
6568   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6569 else
6570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 for as_dir in $PATH
6572 do
6573   IFS=$as_save_IFS
6574   test -z "$as_dir" && as_dir=.
6575     for ac_exec_ext in '' $ac_executable_extensions; do
6576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6577     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6579     break 2
6580   fi
6581 done
6582   done
6583 IFS=$as_save_IFS
6584
6585 fi
6586 fi
6587 LIPO=$ac_cv_prog_LIPO
6588 if test -n "$LIPO"; then
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6590 $as_echo "$LIPO" >&6; }
6591 else
6592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 $as_echo "no" >&6; }
6594 fi
6595
6596
6597 fi
6598 if test -z "$ac_cv_prog_LIPO"; then
6599   ac_ct_LIPO=$LIPO
6600   # Extract the first word of "lipo", so it can be a program name with args.
6601 set dummy lipo; ac_word=$2
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603 $as_echo_n "checking for $ac_word... " >&6; }
6604 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6605   $as_echo_n "(cached) " >&6
6606 else
6607   if test -n "$ac_ct_LIPO"; then
6608   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6612 do
6613   IFS=$as_save_IFS
6614   test -z "$as_dir" && as_dir=.
6615     for ac_exec_ext in '' $ac_executable_extensions; do
6616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6617     ac_cv_prog_ac_ct_LIPO="lipo"
6618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6619     break 2
6620   fi
6621 done
6622   done
6623 IFS=$as_save_IFS
6624
6625 fi
6626 fi
6627 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6628 if test -n "$ac_ct_LIPO"; then
6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6630 $as_echo "$ac_ct_LIPO" >&6; }
6631 else
6632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633 $as_echo "no" >&6; }
6634 fi
6635
6636   if test "x$ac_ct_LIPO" = x; then
6637     LIPO=":"
6638   else
6639     case $cross_compiling:$ac_tool_warned in
6640 yes:)
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6643 ac_tool_warned=yes ;;
6644 esac
6645     LIPO=$ac_ct_LIPO
6646   fi
6647 else
6648   LIPO="$ac_cv_prog_LIPO"
6649 fi
6650
6651     if test -n "$ac_tool_prefix"; then
6652   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6653 set dummy ${ac_tool_prefix}otool; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if ${ac_cv_prog_OTOOL+:} false; then :
6657   $as_echo_n "(cached) " >&6
6658 else
6659   if test -n "$OTOOL"; then
6660   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6664 do
6665   IFS=$as_save_IFS
6666   test -z "$as_dir" && as_dir=.
6667     for ac_exec_ext in '' $ac_executable_extensions; do
6668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671     break 2
6672   fi
6673 done
6674   done
6675 IFS=$as_save_IFS
6676
6677 fi
6678 fi
6679 OTOOL=$ac_cv_prog_OTOOL
6680 if test -n "$OTOOL"; then
6681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6682 $as_echo "$OTOOL" >&6; }
6683 else
6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6686 fi
6687
6688
6689 fi
6690 if test -z "$ac_cv_prog_OTOOL"; then
6691   ac_ct_OTOOL=$OTOOL
6692   # Extract the first word of "otool", so it can be a program name with args.
6693 set dummy otool; ac_word=$2
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6695 $as_echo_n "checking for $ac_word... " >&6; }
6696 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6697   $as_echo_n "(cached) " >&6
6698 else
6699   if test -n "$ac_ct_OTOOL"; then
6700   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6701 else
6702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6703 for as_dir in $PATH
6704 do
6705   IFS=$as_save_IFS
6706   test -z "$as_dir" && as_dir=.
6707     for ac_exec_ext in '' $ac_executable_extensions; do
6708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6709     ac_cv_prog_ac_ct_OTOOL="otool"
6710     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6711     break 2
6712   fi
6713 done
6714   done
6715 IFS=$as_save_IFS
6716
6717 fi
6718 fi
6719 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6720 if test -n "$ac_ct_OTOOL"; then
6721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6722 $as_echo "$ac_ct_OTOOL" >&6; }
6723 else
6724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6725 $as_echo "no" >&6; }
6726 fi
6727
6728   if test "x$ac_ct_OTOOL" = x; then
6729     OTOOL=":"
6730   else
6731     case $cross_compiling:$ac_tool_warned in
6732 yes:)
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6735 ac_tool_warned=yes ;;
6736 esac
6737     OTOOL=$ac_ct_OTOOL
6738   fi
6739 else
6740   OTOOL="$ac_cv_prog_OTOOL"
6741 fi
6742
6743     if test -n "$ac_tool_prefix"; then
6744   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6745 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if ${ac_cv_prog_OTOOL64+:} false; then :
6749   $as_echo_n "(cached) " >&6
6750 else
6751   if test -n "$OTOOL64"; then
6752   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6756 do
6757   IFS=$as_save_IFS
6758   test -z "$as_dir" && as_dir=.
6759     for ac_exec_ext in '' $ac_executable_extensions; do
6760   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6762     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763     break 2
6764   fi
6765 done
6766   done
6767 IFS=$as_save_IFS
6768
6769 fi
6770 fi
6771 OTOOL64=$ac_cv_prog_OTOOL64
6772 if test -n "$OTOOL64"; then
6773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6774 $as_echo "$OTOOL64" >&6; }
6775 else
6776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6778 fi
6779
6780
6781 fi
6782 if test -z "$ac_cv_prog_OTOOL64"; then
6783   ac_ct_OTOOL64=$OTOOL64
6784   # Extract the first word of "otool64", so it can be a program name with args.
6785 set dummy otool64; ac_word=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 $as_echo_n "checking for $ac_word... " >&6; }
6788 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6789   $as_echo_n "(cached) " >&6
6790 else
6791   if test -n "$ac_ct_OTOOL64"; then
6792   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6793 else
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 for as_dir in $PATH
6796 do
6797   IFS=$as_save_IFS
6798   test -z "$as_dir" && as_dir=.
6799     for ac_exec_ext in '' $ac_executable_extensions; do
6800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6801     ac_cv_prog_ac_ct_OTOOL64="otool64"
6802     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6803     break 2
6804   fi
6805 done
6806   done
6807 IFS=$as_save_IFS
6808
6809 fi
6810 fi
6811 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6812 if test -n "$ac_ct_OTOOL64"; then
6813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6814 $as_echo "$ac_ct_OTOOL64" >&6; }
6815 else
6816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 $as_echo "no" >&6; }
6818 fi
6819
6820   if test "x$ac_ct_OTOOL64" = x; then
6821     OTOOL64=":"
6822   else
6823     case $cross_compiling:$ac_tool_warned in
6824 yes:)
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6827 ac_tool_warned=yes ;;
6828 esac
6829     OTOOL64=$ac_ct_OTOOL64
6830   fi
6831 else
6832   OTOOL64="$ac_cv_prog_OTOOL64"
6833 fi
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6862 $as_echo_n "checking for -single_module linker flag... " >&6; }
6863 if ${lt_cv_apple_cc_single_mod+:} false; then :
6864   $as_echo_n "(cached) " >&6
6865 else
6866   lt_cv_apple_cc_single_mod=no
6867       if test -z "${LT_MULTI_MODULE}"; then
6868         # By default we will add the -single_module flag. You can override
6869         # by either setting the environment variable LT_MULTI_MODULE
6870         # non-empty at configure time, or by adding -multi_module to the
6871         # link flags.
6872         rm -rf libconftest.dylib*
6873         echo "int foo(void){return 1;}" > conftest.c
6874         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6875 -dynamiclib -Wl,-single_module conftest.c" >&5
6876         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6877           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6878         _lt_result=$?
6879         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6880           lt_cv_apple_cc_single_mod=yes
6881         else
6882           cat conftest.err >&5
6883         fi
6884         rm -rf libconftest.dylib*
6885         rm -f conftest.*
6886       fi
6887 fi
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6889 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6891 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6892 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6893   $as_echo_n "(cached) " >&6
6894 else
6895   lt_cv_ld_exported_symbols_list=no
6896       save_LDFLAGS=$LDFLAGS
6897       echo "_main" > conftest.sym
6898       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6900 /* end confdefs.h.  */
6901
6902 int
6903 main ()
6904 {
6905
6906   ;
6907   return 0;
6908 }
6909 _ACEOF
6910 if ac_fn_c_try_link "$LINENO"; then :
6911   lt_cv_ld_exported_symbols_list=yes
6912 else
6913   lt_cv_ld_exported_symbols_list=no
6914 fi
6915 rm -f core conftest.err conftest.$ac_objext \
6916     conftest$ac_exeext conftest.$ac_ext
6917         LDFLAGS="$save_LDFLAGS"
6918
6919 fi
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6921 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6923 $as_echo_n "checking for -force_load linker flag... " >&6; }
6924 if ${lt_cv_ld_force_load+:} false; then :
6925   $as_echo_n "(cached) " >&6
6926 else
6927   lt_cv_ld_force_load=no
6928       cat > conftest.c << _LT_EOF
6929 int forced_loaded() { return 2;}
6930 _LT_EOF
6931       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6932       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6933       echo "$AR cru libconftest.a conftest.o" >&5
6934       $AR cru libconftest.a conftest.o 2>&5
6935       echo "$RANLIB libconftest.a" >&5
6936       $RANLIB libconftest.a 2>&5
6937       cat > conftest.c << _LT_EOF
6938 int main() { return 0;}
6939 _LT_EOF
6940       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6941       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6942       _lt_result=$?
6943       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6944         lt_cv_ld_force_load=yes
6945       else
6946         cat conftest.err >&5
6947       fi
6948         rm -f conftest.err libconftest.a conftest conftest.c
6949         rm -rf conftest.dSYM
6950
6951 fi
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6953 $as_echo "$lt_cv_ld_force_load" >&6; }
6954     case $host_os in
6955     rhapsody* | darwin1.[012])
6956       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6957     darwin1.*)
6958       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6959     darwin*) # darwin 5.x on
6960       # if running on 10.5 or later, the deployment target defaults
6961       # to the OS version, if on x86, and 10.4, the deployment
6962       # target defaults to 10.4. Don't you love it?
6963       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6964         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6965           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6966         10.[012]*)
6967           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6968         10.*)
6969           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6970       esac
6971     ;;
6972   esac
6973     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6974       _lt_dar_single_mod='$single_module'
6975     fi
6976     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6977       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6978     else
6979       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6980     fi
6981     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6982       _lt_dsymutil='~$DSYMUTIL $lib || :'
6983     else
6984       _lt_dsymutil=
6985     fi
6986     ;;
6987   esac
6988
6989 ac_ext=c
6990 ac_cpp='$CPP $CPPFLAGS'
6991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6995 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6996 # On Suns, sometimes $CPP names a directory.
6997 if test -n "$CPP" && test -d "$CPP"; then
6998   CPP=
6999 fi
7000 if test -z "$CPP"; then
7001   if ${ac_cv_prog_CPP+:} false; then :
7002   $as_echo_n "(cached) " >&6
7003 else
7004       # Double quotes because CPP needs to be expanded
7005     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7006     do
7007       ac_preproc_ok=false
7008 for ac_c_preproc_warn_flag in '' yes
7009 do
7010   # Use a header file that comes with gcc, so configuring glibc
7011   # with a fresh cross-compiler works.
7012   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7013   # <limits.h> exists even on freestanding compilers.
7014   # On the NeXT, cc -E runs the code through the compiler's parser,
7015   # not just through cpp. "Syntax error" is here to catch this case.
7016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h.  */
7018 #ifdef __STDC__
7019 # include <limits.h>
7020 #else
7021 # include <assert.h>
7022 #endif
7023                      Syntax error
7024 _ACEOF
7025 if ac_fn_c_try_cpp "$LINENO"; then :
7026
7027 else
7028   # Broken: fails on valid input.
7029 continue
7030 fi
7031 rm -f conftest.err conftest.i conftest.$ac_ext
7032
7033   # OK, works on sane cases.  Now check whether nonexistent headers
7034   # can be detected and how.
7035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7036 /* end confdefs.h.  */
7037 #include <ac_nonexistent.h>
7038 _ACEOF
7039 if ac_fn_c_try_cpp "$LINENO"; then :
7040   # Broken: success on invalid input.
7041 continue
7042 else
7043   # Passes both tests.
7044 ac_preproc_ok=:
7045 break
7046 fi
7047 rm -f conftest.err conftest.i conftest.$ac_ext
7048
7049 done
7050 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7051 rm -f conftest.i conftest.err conftest.$ac_ext
7052 if $ac_preproc_ok; then :
7053   break
7054 fi
7055
7056     done
7057     ac_cv_prog_CPP=$CPP
7058
7059 fi
7060   CPP=$ac_cv_prog_CPP
7061 else
7062   ac_cv_prog_CPP=$CPP
7063 fi
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7065 $as_echo "$CPP" >&6; }
7066 ac_preproc_ok=false
7067 for ac_c_preproc_warn_flag in '' yes
7068 do
7069   # Use a header file that comes with gcc, so configuring glibc
7070   # with a fresh cross-compiler works.
7071   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7072   # <limits.h> exists even on freestanding compilers.
7073   # On the NeXT, cc -E runs the code through the compiler's parser,
7074   # not just through cpp. "Syntax error" is here to catch this case.
7075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7076 /* end confdefs.h.  */
7077 #ifdef __STDC__
7078 # include <limits.h>
7079 #else
7080 # include <assert.h>
7081 #endif
7082                      Syntax error
7083 _ACEOF
7084 if ac_fn_c_try_cpp "$LINENO"; then :
7085
7086 else
7087   # Broken: fails on valid input.
7088 continue
7089 fi
7090 rm -f conftest.err conftest.i conftest.$ac_ext
7091
7092   # OK, works on sane cases.  Now check whether nonexistent headers
7093   # can be detected and how.
7094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h.  */
7096 #include <ac_nonexistent.h>
7097 _ACEOF
7098 if ac_fn_c_try_cpp "$LINENO"; then :
7099   # Broken: success on invalid input.
7100 continue
7101 else
7102   # Passes both tests.
7103 ac_preproc_ok=:
7104 break
7105 fi
7106 rm -f conftest.err conftest.i conftest.$ac_ext
7107
7108 done
7109 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7110 rm -f conftest.i conftest.err conftest.$ac_ext
7111 if $ac_preproc_ok; then :
7112
7113 else
7114   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7116 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7117 See \`config.log' for more details" "$LINENO" 5; }
7118 fi
7119
7120 ac_ext=c
7121 ac_cpp='$CPP $CPPFLAGS'
7122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7125
7126
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7128 $as_echo_n "checking for ANSI C header files... " >&6; }
7129 if ${ac_cv_header_stdc+:} false; then :
7130   $as_echo_n "(cached) " >&6
7131 else
7132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133 /* end confdefs.h.  */
7134 #include <stdlib.h>
7135 #include <stdarg.h>
7136 #include <string.h>
7137 #include <float.h>
7138
7139 int
7140 main ()
7141 {
7142
7143   ;
7144   return 0;
7145 }
7146 _ACEOF
7147 if ac_fn_c_try_compile "$LINENO"; then :
7148   ac_cv_header_stdc=yes
7149 else
7150   ac_cv_header_stdc=no
7151 fi
7152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7153
7154 if test $ac_cv_header_stdc = yes; then
7155   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7157 /* end confdefs.h.  */
7158 #include <string.h>
7159
7160 _ACEOF
7161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7162   $EGREP "memchr" >/dev/null 2>&1; then :
7163
7164 else
7165   ac_cv_header_stdc=no
7166 fi
7167 rm -f conftest*
7168
7169 fi
7170
7171 if test $ac_cv_header_stdc = yes; then
7172   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174 /* end confdefs.h.  */
7175 #include <stdlib.h>
7176
7177 _ACEOF
7178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7179   $EGREP "free" >/dev/null 2>&1; then :
7180
7181 else
7182   ac_cv_header_stdc=no
7183 fi
7184 rm -f conftest*
7185
7186 fi
7187
7188 if test $ac_cv_header_stdc = yes; then
7189   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7190   if test "$cross_compiling" = yes; then :
7191   :
7192 else
7193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h.  */
7195 #include <ctype.h>
7196 #include <stdlib.h>
7197 #if ((' ' & 0x0FF) == 0x020)
7198 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7199 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7200 #else
7201 # define ISLOWER(c) \
7202                    (('a' <= (c) && (c) <= 'i') \
7203                      || ('j' <= (c) && (c) <= 'r') \
7204                      || ('s' <= (c) && (c) <= 'z'))
7205 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7206 #endif
7207
7208 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7209 int
7210 main ()
7211 {
7212   int i;
7213   for (i = 0; i < 256; i++)
7214     if (XOR (islower (i), ISLOWER (i))
7215         || toupper (i) != TOUPPER (i))
7216       return 2;
7217   return 0;
7218 }
7219 _ACEOF
7220 if ac_fn_c_try_run "$LINENO"; then :
7221
7222 else
7223   ac_cv_header_stdc=no
7224 fi
7225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7226   conftest.$ac_objext conftest.beam conftest.$ac_ext
7227 fi
7228
7229 fi
7230 fi
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7232 $as_echo "$ac_cv_header_stdc" >&6; }
7233 if test $ac_cv_header_stdc = yes; then
7234
7235 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7236
7237 fi
7238
7239 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7240 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7241                   inttypes.h stdint.h unistd.h
7242 do :
7243   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7244 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7245 "
7246 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7247   cat >>confdefs.h <<_ACEOF
7248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7249 _ACEOF
7250
7251 fi
7252
7253 done
7254
7255
7256 for ac_header in dlfcn.h
7257 do :
7258   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7259 "
7260 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7261   cat >>confdefs.h <<_ACEOF
7262 #define HAVE_DLFCN_H 1
7263 _ACEOF
7264
7265 fi
7266
7267 done
7268
7269
7270
7271
7272
7273 # Set options
7274
7275
7276
7277         enable_dlopen=no
7278
7279
7280   enable_win32_dll=no
7281
7282
7283             # Check whether --enable-shared was given.
7284 if test "${enable_shared+set}" = set; then :
7285   enableval=$enable_shared; p=${PACKAGE-default}
7286     case $enableval in
7287     yes) enable_shared=yes ;;
7288     no) enable_shared=no ;;
7289     *)
7290       enable_shared=no
7291       # Look at the argument we got.  We use all the common list separators.
7292       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7293       for pkg in $enableval; do
7294         IFS="$lt_save_ifs"
7295         if test "X$pkg" = "X$p"; then
7296           enable_shared=yes
7297         fi
7298       done
7299       IFS="$lt_save_ifs"
7300       ;;
7301     esac
7302 else
7303   enable_shared=yes
7304 fi
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314   # Check whether --enable-static was given.
7315 if test "${enable_static+set}" = set; then :
7316   enableval=$enable_static; p=${PACKAGE-default}
7317     case $enableval in
7318     yes) enable_static=yes ;;
7319     no) enable_static=no ;;
7320     *)
7321      enable_static=no
7322       # Look at the argument we got.  We use all the common list separators.
7323       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7324       for pkg in $enableval; do
7325         IFS="$lt_save_ifs"
7326         if test "X$pkg" = "X$p"; then
7327           enable_static=yes
7328         fi
7329       done
7330       IFS="$lt_save_ifs"
7331       ;;
7332     esac
7333 else
7334   enable_static=yes
7335 fi
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346 # Check whether --with-pic was given.
7347 if test "${with_pic+set}" = set; then :
7348   withval=$with_pic; pic_mode="$withval"
7349 else
7350   pic_mode=default
7351 fi
7352
7353
7354 test -z "$pic_mode" && pic_mode=default
7355
7356
7357
7358
7359
7360
7361
7362   # Check whether --enable-fast-install was given.
7363 if test "${enable_fast_install+set}" = set; then :
7364   enableval=$enable_fast_install; p=${PACKAGE-default}
7365     case $enableval in
7366     yes) enable_fast_install=yes ;;
7367     no) enable_fast_install=no ;;
7368     *)
7369       enable_fast_install=no
7370       # Look at the argument we got.  We use all the common list separators.
7371       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7372       for pkg in $enableval; do
7373         IFS="$lt_save_ifs"
7374         if test "X$pkg" = "X$p"; then
7375           enable_fast_install=yes
7376         fi
7377       done
7378       IFS="$lt_save_ifs"
7379       ;;
7380     esac
7381 else
7382   enable_fast_install=yes
7383 fi
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395 # This can be used to rebuild libtool when needed
7396 LIBTOOL_DEPS="$ltmain"
7397
7398 # Always use our own libtool.
7399 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426 test -z "$LN_S" && LN_S="ln -s"
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441 if test -n "${ZSH_VERSION+set}" ; then
7442    setopt NO_GLOB_SUBST
7443 fi
7444
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7446 $as_echo_n "checking for objdir... " >&6; }
7447 if ${lt_cv_objdir+:} false; then :
7448   $as_echo_n "(cached) " >&6
7449 else
7450   rm -f .libs 2>/dev/null
7451 mkdir .libs 2>/dev/null
7452 if test -d .libs; then
7453   lt_cv_objdir=.libs
7454 else
7455   # MS-DOS does not allow filenames that begin with a dot.
7456   lt_cv_objdir=_libs
7457 fi
7458 rmdir .libs 2>/dev/null
7459 fi
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7461 $as_echo "$lt_cv_objdir" >&6; }
7462 objdir=$lt_cv_objdir
7463
7464
7465
7466
7467
7468 cat >>confdefs.h <<_ACEOF
7469 #define LT_OBJDIR "$lt_cv_objdir/"
7470 _ACEOF
7471
7472
7473
7474
7475 case $host_os in
7476 aix3*)
7477   # AIX sometimes has problems with the GCC collect2 program.  For some
7478   # reason, if we set the COLLECT_NAMES environment variable, the problems
7479   # vanish in a puff of smoke.
7480   if test "X${COLLECT_NAMES+set}" != Xset; then
7481     COLLECT_NAMES=
7482     export COLLECT_NAMES
7483   fi
7484   ;;
7485 esac
7486
7487 # Global variables:
7488 ofile=libtool
7489 can_build_shared=yes
7490
7491 # All known linkers require a `.a' archive for static linking (except MSVC,
7492 # which needs '.lib').
7493 libext=a
7494
7495 with_gnu_ld="$lt_cv_prog_gnu_ld"
7496
7497 old_CC="$CC"
7498 old_CFLAGS="$CFLAGS"
7499
7500 # Set sane defaults for various variables
7501 test -z "$CC" && CC=cc
7502 test -z "$LTCC" && LTCC=$CC
7503 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7504 test -z "$LD" && LD=ld
7505 test -z "$ac_objext" && ac_objext=o
7506
7507 for cc_temp in $compiler""; do
7508   case $cc_temp in
7509     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7510     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7511     \-*) ;;
7512     *) break;;
7513   esac
7514 done
7515 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7516
7517
7518 # Only perform the check for file, if the check method requires it
7519 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7520 case $deplibs_check_method in
7521 file_magic*)
7522   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7523     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7524 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7525 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7526   $as_echo_n "(cached) " >&6
7527 else
7528   case $MAGIC_CMD in
7529 [\\/*] |  ?:[\\/]*)
7530   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7531   ;;
7532 *)
7533   lt_save_MAGIC_CMD="$MAGIC_CMD"
7534   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7535   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7536   for ac_dir in $ac_dummy; do
7537     IFS="$lt_save_ifs"
7538     test -z "$ac_dir" && ac_dir=.
7539     if test -f $ac_dir/${ac_tool_prefix}file; then
7540       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7541       if test -n "$file_magic_test_file"; then
7542         case $deplibs_check_method in
7543         "file_magic "*)
7544           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7545           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7546           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7547             $EGREP "$file_magic_regex" > /dev/null; then
7548             :
7549           else
7550             cat <<_LT_EOF 1>&2
7551
7552 *** Warning: the command libtool uses to detect shared libraries,
7553 *** $file_magic_cmd, produces output that libtool cannot recognize.
7554 *** The result is that libtool may fail to recognize shared libraries
7555 *** as such.  This will affect the creation of libtool libraries that
7556 *** depend on shared libraries, but programs linked with such libtool
7557 *** libraries will work regardless of this problem.  Nevertheless, you
7558 *** may want to report the problem to your system manager and/or to
7559 *** bug-libtool@gnu.org
7560
7561 _LT_EOF
7562           fi ;;
7563         esac
7564       fi
7565       break
7566     fi
7567   done
7568   IFS="$lt_save_ifs"
7569   MAGIC_CMD="$lt_save_MAGIC_CMD"
7570   ;;
7571 esac
7572 fi
7573
7574 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7575 if test -n "$MAGIC_CMD"; then
7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7577 $as_echo "$MAGIC_CMD" >&6; }
7578 else
7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7581 fi
7582
7583
7584
7585
7586
7587 if test -z "$lt_cv_path_MAGIC_CMD"; then
7588   if test -n "$ac_tool_prefix"; then
7589     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7590 $as_echo_n "checking for file... " >&6; }
7591 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7592   $as_echo_n "(cached) " >&6
7593 else
7594   case $MAGIC_CMD in
7595 [\\/*] |  ?:[\\/]*)
7596   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7597   ;;
7598 *)
7599   lt_save_MAGIC_CMD="$MAGIC_CMD"
7600   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7601   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7602   for ac_dir in $ac_dummy; do
7603     IFS="$lt_save_ifs"
7604     test -z "$ac_dir" && ac_dir=.
7605     if test -f $ac_dir/file; then
7606       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7607       if test -n "$file_magic_test_file"; then
7608         case $deplibs_check_method in
7609         "file_magic "*)
7610           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7611           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7612           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7613             $EGREP "$file_magic_regex" > /dev/null; then
7614             :
7615           else
7616             cat <<_LT_EOF 1>&2
7617
7618 *** Warning: the command libtool uses to detect shared libraries,
7619 *** $file_magic_cmd, produces output that libtool cannot recognize.
7620 *** The result is that libtool may fail to recognize shared libraries
7621 *** as such.  This will affect the creation of libtool libraries that
7622 *** depend on shared libraries, but programs linked with such libtool
7623 *** libraries will work regardless of this problem.  Nevertheless, you
7624 *** may want to report the problem to your system manager and/or to
7625 *** bug-libtool@gnu.org
7626
7627 _LT_EOF
7628           fi ;;
7629         esac
7630       fi
7631       break
7632     fi
7633   done
7634   IFS="$lt_save_ifs"
7635   MAGIC_CMD="$lt_save_MAGIC_CMD"
7636   ;;
7637 esac
7638 fi
7639
7640 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7641 if test -n "$MAGIC_CMD"; then
7642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7643 $as_echo "$MAGIC_CMD" >&6; }
7644 else
7645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7646 $as_echo "no" >&6; }
7647 fi
7648
7649
7650   else
7651     MAGIC_CMD=:
7652   fi
7653 fi
7654
7655   fi
7656   ;;
7657 esac
7658
7659 # Use C for the default configuration in the libtool script
7660
7661 lt_save_CC="$CC"
7662 ac_ext=c
7663 ac_cpp='$CPP $CPPFLAGS'
7664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7667
7668
7669 # Source file extension for C test sources.
7670 ac_ext=c
7671
7672 # Object file extension for compiled C test sources.
7673 objext=o
7674 objext=$objext
7675
7676 # Code to be used in simple compile tests
7677 lt_simple_compile_test_code="int some_variable = 0;"
7678
7679 # Code to be used in simple link tests
7680 lt_simple_link_test_code='int main(){return(0);}'
7681
7682
7683
7684
7685
7686
7687
7688 # If no C compiler was specified, use CC.
7689 LTCC=${LTCC-"$CC"}
7690
7691 # If no C compiler flags were specified, use CFLAGS.
7692 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7693
7694 # Allow CC to be a program name with arguments.
7695 compiler=$CC
7696
7697 # Save the default compiler, since it gets overwritten when the other
7698 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7699 compiler_DEFAULT=$CC
7700
7701 # save warnings/boilerplate of simple test code
7702 ac_outfile=conftest.$ac_objext
7703 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7704 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7705 _lt_compiler_boilerplate=`cat conftest.err`
7706 $RM conftest*
7707
7708 ac_outfile=conftest.$ac_objext
7709 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7710 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7711 _lt_linker_boilerplate=`cat conftest.err`
7712 $RM -r conftest*
7713
7714
7715 ## CAVEAT EMPTOR:
7716 ## There is no encapsulation within the following macros, do not change
7717 ## the running order or otherwise move them around unless you know exactly
7718 ## what you are doing...
7719 if test -n "$compiler"; then
7720
7721 lt_prog_compiler_no_builtin_flag=
7722
7723 if test "$GCC" = yes; then
7724   case $cc_basename in
7725   nvcc*)
7726     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7727   *)
7728     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7729   esac
7730
7731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7732 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7733 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7734   $as_echo_n "(cached) " >&6
7735 else
7736   lt_cv_prog_compiler_rtti_exceptions=no
7737    ac_outfile=conftest.$ac_objext
7738    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7739    lt_compiler_flag="-fno-rtti -fno-exceptions"
7740    # Insert the option either (1) after the last *FLAGS variable, or
7741    # (2) before a word containing "conftest.", or (3) at the end.
7742    # Note that $ac_compile itself does not contain backslashes and begins
7743    # with a dollar sign (not a hyphen), so the echo should work correctly.
7744    # The option is referenced via a variable to avoid confusing sed.
7745    lt_compile=`echo "$ac_compile" | $SED \
7746    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7747    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7748    -e 's:$: $lt_compiler_flag:'`
7749    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7750    (eval "$lt_compile" 2>conftest.err)
7751    ac_status=$?
7752    cat conftest.err >&5
7753    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754    if (exit $ac_status) && test -s "$ac_outfile"; then
7755      # The compiler can only warn and ignore the option if not recognized
7756      # So say no if there are warnings other than the usual output.
7757      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7758      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7759      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7760        lt_cv_prog_compiler_rtti_exceptions=yes
7761      fi
7762    fi
7763    $RM conftest*
7764
7765 fi
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7767 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7768
7769 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7770     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7771 else
7772     :
7773 fi
7774
7775 fi
7776
7777
7778
7779
7780
7781
7782   lt_prog_compiler_wl=
7783 lt_prog_compiler_pic=
7784 lt_prog_compiler_static=
7785
7786
7787   if test "$GCC" = yes; then
7788     lt_prog_compiler_wl='-Wl,'
7789     lt_prog_compiler_static='-static'
7790
7791     case $host_os in
7792       aix*)
7793       # All AIX code is PIC.
7794       if test "$host_cpu" = ia64; then
7795         # AIX 5 now supports IA64 processor
7796         lt_prog_compiler_static='-Bstatic'
7797       fi
7798       ;;
7799
7800     amigaos*)
7801       case $host_cpu in
7802       powerpc)
7803             # see comment about AmigaOS4 .so support
7804             lt_prog_compiler_pic='-fPIC'
7805         ;;
7806       m68k)
7807             # FIXME: we need at least 68020 code to build shared libraries, but
7808             # adding the `-m68020' flag to GCC prevents building anything better,
7809             # like `-m68040'.
7810             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7811         ;;
7812       esac
7813       ;;
7814
7815     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7816       # PIC is the default for these OSes.
7817       ;;
7818
7819     mingw* | cygwin* | pw32* | os2* | cegcc*)
7820       # This hack is so that the source file can tell whether it is being
7821       # built for inclusion in a dll (and should export symbols for example).
7822       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7823       # (--disable-auto-import) libraries
7824       lt_prog_compiler_pic='-DDLL_EXPORT'
7825       ;;
7826
7827     darwin* | rhapsody*)
7828       # PIC is the default on this platform
7829       # Common symbols not allowed in MH_DYLIB files
7830       lt_prog_compiler_pic='-fno-common'
7831       ;;
7832
7833     haiku*)
7834       # PIC is the default for Haiku.
7835       # The "-static" flag exists, but is broken.
7836       lt_prog_compiler_static=
7837       ;;
7838
7839     hpux*)
7840       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7841       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7842       # sets the default TLS model and affects inlining.
7843       case $host_cpu in
7844       hppa*64*)
7845         # +Z the default
7846         ;;
7847       *)
7848         lt_prog_compiler_pic='-fPIC'
7849         ;;
7850       esac
7851       ;;
7852
7853     interix[3-9]*)
7854       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7855       # Instead, we relocate shared libraries at runtime.
7856       ;;
7857
7858     msdosdjgpp*)
7859       # Just because we use GCC doesn't mean we suddenly get shared libraries
7860       # on systems that don't support them.
7861       lt_prog_compiler_can_build_shared=no
7862       enable_shared=no
7863       ;;
7864
7865     *nto* | *qnx*)
7866       # QNX uses GNU C++, but need to define -shared option too, otherwise
7867       # it will coredump.
7868       lt_prog_compiler_pic='-fPIC -shared'
7869       ;;
7870
7871     sysv4*MP*)
7872       if test -d /usr/nec; then
7873         lt_prog_compiler_pic=-Kconform_pic
7874       fi
7875       ;;
7876
7877     *)
7878       lt_prog_compiler_pic='-fPIC'
7879       ;;
7880     esac
7881
7882     case $cc_basename in
7883     nvcc*) # Cuda Compiler Driver 2.2
7884       lt_prog_compiler_wl='-Xlinker '
7885       lt_prog_compiler_pic='-Xcompiler -fPIC'
7886       ;;
7887     esac
7888   else
7889     # PORTME Check for flag to pass linker flags through the system compiler.
7890     case $host_os in
7891     aix*)
7892       lt_prog_compiler_wl='-Wl,'
7893       if test "$host_cpu" = ia64; then
7894         # AIX 5 now supports IA64 processor
7895         lt_prog_compiler_static='-Bstatic'
7896       else
7897         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7898       fi
7899       ;;
7900
7901     mingw* | cygwin* | pw32* | os2* | cegcc*)
7902       # This hack is so that the source file can tell whether it is being
7903       # built for inclusion in a dll (and should export symbols for example).
7904       lt_prog_compiler_pic='-DDLL_EXPORT'
7905       ;;
7906
7907     hpux9* | hpux10* | hpux11*)
7908       lt_prog_compiler_wl='-Wl,'
7909       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7910       # not for PA HP-UX.
7911       case $host_cpu in
7912       hppa*64*|ia64*)
7913         # +Z the default
7914         ;;
7915       *)
7916         lt_prog_compiler_pic='+Z'
7917         ;;
7918       esac
7919       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7920       lt_prog_compiler_static='${wl}-a ${wl}archive'
7921       ;;
7922
7923     irix5* | irix6* | nonstopux*)
7924       lt_prog_compiler_wl='-Wl,'
7925       # PIC (with -KPIC) is the default.
7926       lt_prog_compiler_static='-non_shared'
7927       ;;
7928
7929     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7930       case $cc_basename in
7931       # old Intel for x86_64 which still supported -KPIC.
7932       ecc*)
7933         lt_prog_compiler_wl='-Wl,'
7934         lt_prog_compiler_pic='-KPIC'
7935         lt_prog_compiler_static='-static'
7936         ;;
7937       # icc used to be incompatible with GCC.
7938       # ICC 10 doesn't accept -KPIC any more.
7939       icc* | ifort*)
7940         lt_prog_compiler_wl='-Wl,'
7941         lt_prog_compiler_pic='-fPIC'
7942         lt_prog_compiler_static='-static'
7943         ;;
7944       # Lahey Fortran 8.1.
7945       lf95*)
7946         lt_prog_compiler_wl='-Wl,'
7947         lt_prog_compiler_pic='--shared'
7948         lt_prog_compiler_static='--static'
7949         ;;
7950       nagfor*)
7951         # NAG Fortran compiler
7952         lt_prog_compiler_wl='-Wl,-Wl,,'
7953         lt_prog_compiler_pic='-PIC'
7954         lt_prog_compiler_static='-Bstatic'
7955         ;;
7956       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7957         # Portland Group compilers (*not* the Pentium gcc compiler,
7958         # which looks to be a dead project)
7959         lt_prog_compiler_wl='-Wl,'
7960         lt_prog_compiler_pic='-fpic'
7961         lt_prog_compiler_static='-Bstatic'
7962         ;;
7963       ccc*)
7964         lt_prog_compiler_wl='-Wl,'
7965         # All Alpha code is PIC.
7966         lt_prog_compiler_static='-non_shared'
7967         ;;
7968       xl* | bgxl* | bgf* | mpixl*)
7969         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7970         lt_prog_compiler_wl='-Wl,'
7971         lt_prog_compiler_pic='-qpic'
7972         lt_prog_compiler_static='-qstaticlink'
7973         ;;
7974       *)
7975         case `$CC -V 2>&1 | sed 5q` in
7976         *Sun\ F* | *Sun*Fortran*)
7977           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7978           lt_prog_compiler_pic='-KPIC'
7979           lt_prog_compiler_static='-Bstatic'
7980           lt_prog_compiler_wl=''
7981           ;;
7982         *Sun\ C*)
7983           # Sun C 5.9
7984           lt_prog_compiler_pic='-KPIC'
7985           lt_prog_compiler_static='-Bstatic'
7986           lt_prog_compiler_wl='-Wl,'
7987           ;;
7988         esac
7989         ;;
7990       esac
7991       ;;
7992
7993     newsos6)
7994       lt_prog_compiler_pic='-KPIC'
7995       lt_prog_compiler_static='-Bstatic'
7996       ;;
7997
7998     *nto* | *qnx*)
7999       # QNX uses GNU C++, but need to define -shared option too, otherwise
8000       # it will coredump.
8001       lt_prog_compiler_pic='-fPIC -shared'
8002       ;;
8003
8004     osf3* | osf4* | osf5*)
8005       lt_prog_compiler_wl='-Wl,'
8006       # All OSF/1 code is PIC.
8007       lt_prog_compiler_static='-non_shared'
8008       ;;
8009
8010     rdos*)
8011       lt_prog_compiler_static='-non_shared'
8012       ;;
8013
8014     solaris*)
8015       lt_prog_compiler_pic='-KPIC'
8016       lt_prog_compiler_static='-Bstatic'
8017       case $cc_basename in
8018       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8019         lt_prog_compiler_wl='-Qoption ld ';;
8020       *)
8021         lt_prog_compiler_wl='-Wl,';;
8022       esac
8023       ;;
8024
8025     sunos4*)
8026       lt_prog_compiler_wl='-Qoption ld '
8027       lt_prog_compiler_pic='-PIC'
8028       lt_prog_compiler_static='-Bstatic'
8029       ;;
8030
8031     sysv4 | sysv4.2uw2* | sysv4.3*)
8032       lt_prog_compiler_wl='-Wl,'
8033       lt_prog_compiler_pic='-KPIC'
8034       lt_prog_compiler_static='-Bstatic'
8035       ;;
8036
8037     sysv4*MP*)
8038       if test -d /usr/nec ;then
8039         lt_prog_compiler_pic='-Kconform_pic'
8040         lt_prog_compiler_static='-Bstatic'
8041       fi
8042       ;;
8043
8044     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8045       lt_prog_compiler_wl='-Wl,'
8046       lt_prog_compiler_pic='-KPIC'
8047       lt_prog_compiler_static='-Bstatic'
8048       ;;
8049
8050     unicos*)
8051       lt_prog_compiler_wl='-Wl,'
8052       lt_prog_compiler_can_build_shared=no
8053       ;;
8054
8055     uts4*)
8056       lt_prog_compiler_pic='-pic'
8057       lt_prog_compiler_static='-Bstatic'
8058       ;;
8059
8060     *)
8061       lt_prog_compiler_can_build_shared=no
8062       ;;
8063     esac
8064   fi
8065
8066 case $host_os in
8067   # For platforms which do not support PIC, -DPIC is meaningless:
8068   *djgpp*)
8069     lt_prog_compiler_pic=
8070     ;;
8071   *)
8072     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8073     ;;
8074 esac
8075
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8077 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8078 if ${lt_cv_prog_compiler_pic+:} false; then :
8079   $as_echo_n "(cached) " >&6
8080 else
8081   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8082 fi
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8084 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8085 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8086
8087 #
8088 # Check to make sure the PIC flag actually works.
8089 #
8090 if test -n "$lt_prog_compiler_pic"; then
8091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8092 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8093 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8094   $as_echo_n "(cached) " >&6
8095 else
8096   lt_cv_prog_compiler_pic_works=no
8097    ac_outfile=conftest.$ac_objext
8098    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8099    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8100    # Insert the option either (1) after the last *FLAGS variable, or
8101    # (2) before a word containing "conftest.", or (3) at the end.
8102    # Note that $ac_compile itself does not contain backslashes and begins
8103    # with a dollar sign (not a hyphen), so the echo should work correctly.
8104    # The option is referenced via a variable to avoid confusing sed.
8105    lt_compile=`echo "$ac_compile" | $SED \
8106    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8107    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8108    -e 's:$: $lt_compiler_flag:'`
8109    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8110    (eval "$lt_compile" 2>conftest.err)
8111    ac_status=$?
8112    cat conftest.err >&5
8113    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114    if (exit $ac_status) && test -s "$ac_outfile"; then
8115      # The compiler can only warn and ignore the option if not recognized
8116      # So say no if there are warnings other than the usual output.
8117      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8118      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8119      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8120        lt_cv_prog_compiler_pic_works=yes
8121      fi
8122    fi
8123    $RM conftest*
8124
8125 fi
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8127 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8128
8129 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8130     case $lt_prog_compiler_pic in
8131      "" | " "*) ;;
8132      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8133      esac
8134 else
8135     lt_prog_compiler_pic=
8136      lt_prog_compiler_can_build_shared=no
8137 fi
8138
8139 fi
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151 #
8152 # Check to make sure the static flag actually works.
8153 #
8154 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8156 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8157 if ${lt_cv_prog_compiler_static_works+:} false; then :
8158   $as_echo_n "(cached) " >&6
8159 else
8160   lt_cv_prog_compiler_static_works=no
8161    save_LDFLAGS="$LDFLAGS"
8162    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8163    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8164    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8165      # The linker can only warn and ignore the option if not recognized
8166      # So say no if there are warnings
8167      if test -s conftest.err; then
8168        # Append any errors to the config.log.
8169        cat conftest.err 1>&5
8170        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8171        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8172        if diff conftest.exp conftest.er2 >/dev/null; then
8173          lt_cv_prog_compiler_static_works=yes
8174        fi
8175      else
8176        lt_cv_prog_compiler_static_works=yes
8177      fi
8178    fi
8179    $RM -r conftest*
8180    LDFLAGS="$save_LDFLAGS"
8181
8182 fi
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8184 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8185
8186 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8187     :
8188 else
8189     lt_prog_compiler_static=
8190 fi
8191
8192
8193
8194
8195
8196
8197
8198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8199 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8200 if ${lt_cv_prog_compiler_c_o+:} false; then :
8201   $as_echo_n "(cached) " >&6
8202 else
8203   lt_cv_prog_compiler_c_o=no
8204    $RM -r conftest 2>/dev/null
8205    mkdir conftest
8206    cd conftest
8207    mkdir out
8208    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8209
8210    lt_compiler_flag="-o out/conftest2.$ac_objext"
8211    # Insert the option either (1) after the last *FLAGS variable, or
8212    # (2) before a word containing "conftest.", or (3) at the end.
8213    # Note that $ac_compile itself does not contain backslashes and begins
8214    # with a dollar sign (not a hyphen), so the echo should work correctly.
8215    lt_compile=`echo "$ac_compile" | $SED \
8216    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8217    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8218    -e 's:$: $lt_compiler_flag:'`
8219    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8220    (eval "$lt_compile" 2>out/conftest.err)
8221    ac_status=$?
8222    cat out/conftest.err >&5
8223    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8225    then
8226      # The compiler can only warn and ignore the option if not recognized
8227      # So say no if there are warnings
8228      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8229      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8230      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8231        lt_cv_prog_compiler_c_o=yes
8232      fi
8233    fi
8234    chmod u+w . 2>&5
8235    $RM conftest*
8236    # SGI C++ compiler will create directory out/ii_files/ for
8237    # template instantiation
8238    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8239    $RM out/* && rmdir out
8240    cd ..
8241    $RM -r conftest
8242    $RM conftest*
8243
8244 fi
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8246 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8247
8248
8249
8250
8251
8252
8253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8254 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8255 if ${lt_cv_prog_compiler_c_o+:} false; then :
8256   $as_echo_n "(cached) " >&6
8257 else
8258   lt_cv_prog_compiler_c_o=no
8259    $RM -r conftest 2>/dev/null
8260    mkdir conftest
8261    cd conftest
8262    mkdir out
8263    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8264
8265    lt_compiler_flag="-o out/conftest2.$ac_objext"
8266    # Insert the option either (1) after the last *FLAGS variable, or
8267    # (2) before a word containing "conftest.", or (3) at the end.
8268    # Note that $ac_compile itself does not contain backslashes and begins
8269    # with a dollar sign (not a hyphen), so the echo should work correctly.
8270    lt_compile=`echo "$ac_compile" | $SED \
8271    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8272    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8273    -e 's:$: $lt_compiler_flag:'`
8274    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8275    (eval "$lt_compile" 2>out/conftest.err)
8276    ac_status=$?
8277    cat out/conftest.err >&5
8278    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8280    then
8281      # The compiler can only warn and ignore the option if not recognized
8282      # So say no if there are warnings
8283      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8284      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8285      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8286        lt_cv_prog_compiler_c_o=yes
8287      fi
8288    fi
8289    chmod u+w . 2>&5
8290    $RM conftest*
8291    # SGI C++ compiler will create directory out/ii_files/ for
8292    # template instantiation
8293    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8294    $RM out/* && rmdir out
8295    cd ..
8296    $RM -r conftest
8297    $RM conftest*
8298
8299 fi
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8301 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8302
8303
8304
8305
8306 hard_links="nottested"
8307 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8308   # do not overwrite the value of need_locks provided by the user
8309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8310 $as_echo_n "checking if we can lock with hard links... " >&6; }
8311   hard_links=yes
8312   $RM conftest*
8313   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8314   touch conftest.a
8315   ln conftest.a conftest.b 2>&5 || hard_links=no
8316   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8318 $as_echo "$hard_links" >&6; }
8319   if test "$hard_links" = no; then
8320     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8321 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8322     need_locks=warn
8323   fi
8324 else
8325   need_locks=no
8326 fi
8327
8328
8329
8330
8331
8332
8333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8334 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8335
8336   runpath_var=
8337   allow_undefined_flag=
8338   always_export_symbols=no
8339   archive_cmds=
8340   archive_expsym_cmds=
8341   compiler_needs_object=no
8342   enable_shared_with_static_runtimes=no
8343   export_dynamic_flag_spec=
8344   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8345   hardcode_automatic=no
8346   hardcode_direct=no
8347   hardcode_direct_absolute=no
8348   hardcode_libdir_flag_spec=
8349   hardcode_libdir_flag_spec_ld=
8350   hardcode_libdir_separator=
8351   hardcode_minus_L=no
8352   hardcode_shlibpath_var=unsupported
8353   inherit_rpath=no
8354   link_all_deplibs=unknown
8355   module_cmds=
8356   module_expsym_cmds=
8357   old_archive_from_new_cmds=
8358   old_archive_from_expsyms_cmds=
8359   thread_safe_flag_spec=
8360   whole_archive_flag_spec=
8361   # include_expsyms should be a list of space-separated symbols to be *always*
8362   # included in the symbol list
8363   include_expsyms=
8364   # exclude_expsyms can be an extended regexp of symbols to exclude
8365   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8366   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8367   # as well as any symbol that contains `d'.
8368   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8369   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8370   # platforms (ab)use it in PIC code, but their linkers get confused if
8371   # the symbol is explicitly referenced.  Since portable code cannot
8372   # rely on this symbol name, it's probably fine to never include it in
8373   # preloaded symbol tables.
8374   # Exclude shared library initialization/finalization symbols.
8375   extract_expsyms_cmds=
8376
8377   case $host_os in
8378   cygwin* | mingw* | pw32* | cegcc*)
8379     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8380     # When not using gcc, we currently assume that we are using
8381     # Microsoft Visual C++.
8382     if test "$GCC" != yes; then
8383       with_gnu_ld=no
8384     fi
8385     ;;
8386   interix*)
8387     # we just hope/assume this is gcc and not c89 (= MSVC++)
8388     with_gnu_ld=yes
8389     ;;
8390   openbsd*)
8391     with_gnu_ld=no
8392     ;;
8393   esac
8394
8395   ld_shlibs=yes
8396
8397   # On some targets, GNU ld is compatible enough with the native linker
8398   # that we're better off using the native interface for both.
8399   lt_use_gnu_ld_interface=no
8400   if test "$with_gnu_ld" = yes; then
8401     case $host_os in
8402       aix*)
8403         # The AIX port of GNU ld has always aspired to compatibility
8404         # with the native linker.  However, as the warning in the GNU ld
8405         # block says, versions before 2.19.5* couldn't really create working
8406         # shared libraries, regardless of the interface used.
8407         case `$LD -v 2>&1` in
8408           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8409           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8410           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8411           *)
8412             lt_use_gnu_ld_interface=yes
8413             ;;
8414         esac
8415         ;;
8416       *)
8417         lt_use_gnu_ld_interface=yes
8418         ;;
8419     esac
8420   fi
8421
8422   if test "$lt_use_gnu_ld_interface" = yes; then
8423     # If archive_cmds runs LD, not CC, wlarc should be empty
8424     wlarc='${wl}'
8425
8426     # Set some defaults for GNU ld with shared library support. These
8427     # are reset later if shared libraries are not supported. Putting them
8428     # here allows them to be overridden if necessary.
8429     runpath_var=LD_RUN_PATH
8430     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8431     export_dynamic_flag_spec='${wl}--export-dynamic'
8432     # ancient GNU ld didn't support --whole-archive et. al.
8433     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8434       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8435     else
8436       whole_archive_flag_spec=
8437     fi
8438     supports_anon_versioning=no
8439     case `$LD -v 2>&1` in
8440       *GNU\ gold*) supports_anon_versioning=yes ;;
8441       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8442       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8443       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8444       *\ 2.11.*) ;; # other 2.11 versions
8445       *) supports_anon_versioning=yes ;;
8446     esac
8447
8448     # See if GNU ld supports shared libraries.
8449     case $host_os in
8450     aix[3-9]*)
8451       # On AIX/PPC, the GNU linker is very broken
8452       if test "$host_cpu" != ia64; then
8453         ld_shlibs=no
8454         cat <<_LT_EOF 1>&2
8455
8456 *** Warning: the GNU linker, at least up to release 2.19, is reported
8457 *** to be unable to reliably create shared libraries on AIX.
8458 *** Therefore, libtool is disabling shared libraries support.  If you
8459 *** really care for shared libraries, you may want to install binutils
8460 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8461 *** You will then need to restart the configuration process.
8462
8463 _LT_EOF
8464       fi
8465       ;;
8466
8467     amigaos*)
8468       case $host_cpu in
8469       powerpc)
8470             # see comment about AmigaOS4 .so support
8471             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8472             archive_expsym_cmds=''
8473         ;;
8474       m68k)
8475             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)'
8476             hardcode_libdir_flag_spec='-L$libdir'
8477             hardcode_minus_L=yes
8478         ;;
8479       esac
8480       ;;
8481
8482     beos*)
8483       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8484         allow_undefined_flag=unsupported
8485         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8486         # support --undefined.  This deserves some investigation.  FIXME
8487         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8488       else
8489         ld_shlibs=no
8490       fi
8491       ;;
8492
8493     cygwin* | mingw* | pw32* | cegcc*)
8494       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8495       # as there is no search path for DLLs.
8496       hardcode_libdir_flag_spec='-L$libdir'
8497       export_dynamic_flag_spec='${wl}--export-all-symbols'
8498       allow_undefined_flag=unsupported
8499       always_export_symbols=no
8500       enable_shared_with_static_runtimes=yes
8501       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'
8502       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8503
8504       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8505         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8506         # If the export-symbols file already is a .def file (1st line
8507         # is EXPORTS), use it as is; otherwise, prepend...
8508         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8509           cp $export_symbols $output_objdir/$soname.def;
8510         else
8511           echo EXPORTS > $output_objdir/$soname.def;
8512           cat $export_symbols >> $output_objdir/$soname.def;
8513         fi~
8514         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8515       else
8516         ld_shlibs=no
8517       fi
8518       ;;
8519
8520     haiku*)
8521       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8522       link_all_deplibs=yes
8523       ;;
8524
8525     interix[3-9]*)
8526       hardcode_direct=no
8527       hardcode_shlibpath_var=no
8528       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8529       export_dynamic_flag_spec='${wl}-E'
8530       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8531       # Instead, shared libraries are loaded at an image base (0x10000000 by
8532       # default) and relocated if they conflict, which is a slow very memory
8533       # consuming and fragmenting process.  To avoid this, we pick a random,
8534       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8535       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8536       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8537       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'
8538       ;;
8539
8540     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8541       tmp_diet=no
8542       if test "$host_os" = linux-dietlibc; then
8543         case $cc_basename in
8544           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8545         esac
8546       fi
8547       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8548          && test "$tmp_diet" = no
8549       then
8550         tmp_addflag=' $pic_flag'
8551         tmp_sharedflag='-shared'
8552         case $cc_basename,$host_cpu in
8553         pgcc*)                          # Portland Group C compiler
8554           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'
8555           tmp_addflag=' $pic_flag'
8556           ;;
8557         pgf77* | pgf90* | pgf95* | pgfortran*)
8558                                         # Portland Group f77 and f90 compilers
8559           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'
8560           tmp_addflag=' $pic_flag -Mnomain' ;;
8561         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8562           tmp_addflag=' -i_dynamic' ;;
8563         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8564           tmp_addflag=' -i_dynamic -nofor_main' ;;
8565         ifc* | ifort*)                  # Intel Fortran compiler
8566           tmp_addflag=' -nofor_main' ;;
8567         lf95*)                          # Lahey Fortran 8.1
8568           whole_archive_flag_spec=
8569           tmp_sharedflag='--shared' ;;
8570         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8571           tmp_sharedflag='-qmkshrobj'
8572           tmp_addflag= ;;
8573         nvcc*)  # Cuda Compiler Driver 2.2
8574           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'
8575           compiler_needs_object=yes
8576           ;;
8577         esac
8578         case `$CC -V 2>&1 | sed 5q` in
8579         *Sun\ C*)                       # Sun C 5.9
8580           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'
8581           compiler_needs_object=yes
8582           tmp_sharedflag='-G' ;;
8583         *Sun\ F*)                       # Sun Fortran 8.3
8584           tmp_sharedflag='-G' ;;
8585         esac
8586         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8587
8588         if test "x$supports_anon_versioning" = xyes; then
8589           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8590             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8591             echo "local: *; };" >> $output_objdir/$libname.ver~
8592             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8593         fi
8594
8595         case $cc_basename in
8596         xlf* | bgf* | bgxlf* | mpixlf*)
8597           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8598           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8599           hardcode_libdir_flag_spec=
8600           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8601           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8602           if test "x$supports_anon_versioning" = xyes; then
8603             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8604               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8605               echo "local: *; };" >> $output_objdir/$libname.ver~
8606               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8607           fi
8608           ;;
8609         esac
8610       else
8611         ld_shlibs=no
8612       fi
8613       ;;
8614
8615     netbsd*)
8616       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8617         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8618         wlarc=
8619       else
8620         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8621         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8622       fi
8623       ;;
8624
8625     solaris*)
8626       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8627         ld_shlibs=no
8628         cat <<_LT_EOF 1>&2
8629
8630 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8631 *** create shared libraries on Solaris systems.  Therefore, libtool
8632 *** is disabling shared libraries support.  We urge you to upgrade GNU
8633 *** binutils to release 2.9.1 or newer.  Another option is to modify
8634 *** your PATH or compiler configuration so that the native linker is
8635 *** used, and then restart.
8636
8637 _LT_EOF
8638       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8639         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8640         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8641       else
8642         ld_shlibs=no
8643       fi
8644       ;;
8645
8646     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8647       case `$LD -v 2>&1` in
8648         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8649         ld_shlibs=no
8650         cat <<_LT_EOF 1>&2
8651
8652 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8653 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8654 *** is disabling shared libraries support.  We urge you to upgrade GNU
8655 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8656 *** your PATH or compiler configuration so that the native linker is
8657 *** used, and then restart.
8658
8659 _LT_EOF
8660         ;;
8661         *)
8662           # For security reasons, it is highly recommended that you always
8663           # use absolute paths for naming shared libraries, and exclude the
8664           # DT_RUNPATH tag from executables and libraries.  But doing so
8665           # requires that you compile everything twice, which is a pain.
8666           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8667             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8668             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8669             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8670           else
8671             ld_shlibs=no
8672           fi
8673         ;;
8674       esac
8675       ;;
8676
8677     sunos4*)
8678       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8679       wlarc=
8680       hardcode_direct=yes
8681       hardcode_shlibpath_var=no
8682       ;;
8683
8684     *)
8685       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8686         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8687         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8688       else
8689         ld_shlibs=no
8690       fi
8691       ;;
8692     esac
8693
8694     if test "$ld_shlibs" = no; then
8695       runpath_var=
8696       hardcode_libdir_flag_spec=
8697       export_dynamic_flag_spec=
8698       whole_archive_flag_spec=
8699     fi
8700   else
8701     # PORTME fill in a description of your system's linker (not GNU ld)
8702     case $host_os in
8703     aix3*)
8704       allow_undefined_flag=unsupported
8705       always_export_symbols=yes
8706       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'
8707       # Note: this linker hardcodes the directories in LIBPATH if there
8708       # are no directories specified by -L.
8709       hardcode_minus_L=yes
8710       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8711         # Neither direct hardcoding nor static linking is supported with a
8712         # broken collect2.
8713         hardcode_direct=unsupported
8714       fi
8715       ;;
8716
8717     aix[4-9]*)
8718       if test "$host_cpu" = ia64; then
8719         # On IA64, the linker does run time linking by default, so we don't
8720         # have to do anything special.
8721         aix_use_runtimelinking=no
8722         exp_sym_flag='-Bexport'
8723         no_entry_flag=""
8724       else
8725         # If we're using GNU nm, then we don't want the "-C" option.
8726         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8727         # Also, AIX nm treats weak defined symbols like other global
8728         # defined symbols, whereas GNU nm marks them as "W".
8729         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8730           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'
8731         else
8732           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'
8733         fi
8734         aix_use_runtimelinking=no
8735
8736         # Test if we are trying to use run time linking or normal
8737         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8738         # need to do runtime linking.
8739         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8740           for ld_flag in $LDFLAGS; do
8741           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8742             aix_use_runtimelinking=yes
8743             break
8744           fi
8745           done
8746           ;;
8747         esac
8748
8749         exp_sym_flag='-bexport'
8750         no_entry_flag='-bnoentry'
8751       fi
8752
8753       # When large executables or shared objects are built, AIX ld can
8754       # have problems creating the table of contents.  If linking a library
8755       # or program results in "error TOC overflow" add -mminimal-toc to
8756       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8757       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8758
8759       archive_cmds=''
8760       hardcode_direct=yes
8761       hardcode_direct_absolute=yes
8762       hardcode_libdir_separator=':'
8763       link_all_deplibs=yes
8764       file_list_spec='${wl}-f,'
8765
8766       if test "$GCC" = yes; then
8767         case $host_os in aix4.[012]|aix4.[012].*)
8768         # We only want to do this on AIX 4.2 and lower, the check
8769         # below for broken collect2 doesn't work under 4.3+
8770           collect2name=`${CC} -print-prog-name=collect2`
8771           if test -f "$collect2name" &&
8772            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8773           then
8774           # We have reworked collect2
8775           :
8776           else
8777           # We have old collect2
8778           hardcode_direct=unsupported
8779           # It fails to find uninstalled libraries when the uninstalled
8780           # path is not listed in the libpath.  Setting hardcode_minus_L
8781           # to unsupported forces relinking
8782           hardcode_minus_L=yes
8783           hardcode_libdir_flag_spec='-L$libdir'
8784           hardcode_libdir_separator=
8785           fi
8786           ;;
8787         esac
8788         shared_flag='-shared'
8789         if test "$aix_use_runtimelinking" = yes; then
8790           shared_flag="$shared_flag "'${wl}-G'
8791         fi
8792       else
8793         # not using gcc
8794         if test "$host_cpu" = ia64; then
8795         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8796         # chokes on -Wl,-G. The following line is correct:
8797           shared_flag='-G'
8798         else
8799           if test "$aix_use_runtimelinking" = yes; then
8800             shared_flag='${wl}-G'
8801           else
8802             shared_flag='${wl}-bM:SRE'
8803           fi
8804         fi
8805       fi
8806
8807       export_dynamic_flag_spec='${wl}-bexpall'
8808       # It seems that -bexpall does not export symbols beginning with
8809       # underscore (_), so it is better to generate a list of symbols to export.
8810       always_export_symbols=yes
8811       if test "$aix_use_runtimelinking" = yes; then
8812         # Warning - without using the other runtime loading flags (-brtl),
8813         # -berok will link without error, but may produce a broken library.
8814         allow_undefined_flag='-berok'
8815         # Determine the default libpath from the value encoded in an
8816         # empty executable.
8817         if test "${lt_cv_aix_libpath+set}" = set; then
8818   aix_libpath=$lt_cv_aix_libpath
8819 else
8820   if ${lt_cv_aix_libpath_+:} false; then :
8821   $as_echo_n "(cached) " >&6
8822 else
8823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h.  */
8825
8826 int
8827 main ()
8828 {
8829
8830   ;
8831   return 0;
8832 }
8833 _ACEOF
8834 if ac_fn_c_try_link "$LINENO"; then :
8835
8836   lt_aix_libpath_sed='
8837       /Import File Strings/,/^$/ {
8838           /^0/ {
8839               s/^0  *\([^ ]*\) *$/\1/
8840               p
8841           }
8842       }'
8843   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8844   # Check for a 64-bit object if we didn't find anything.
8845   if test -z "$lt_cv_aix_libpath_"; then
8846     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8847   fi
8848 fi
8849 rm -f core conftest.err conftest.$ac_objext \
8850     conftest$ac_exeext conftest.$ac_ext
8851   if test -z "$lt_cv_aix_libpath_"; then
8852     lt_cv_aix_libpath_="/usr/lib:/lib"
8853   fi
8854
8855 fi
8856
8857   aix_libpath=$lt_cv_aix_libpath_
8858 fi
8859
8860         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8861         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"
8862       else
8863         if test "$host_cpu" = ia64; then
8864           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8865           allow_undefined_flag="-z nodefs"
8866           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"
8867         else
8868          # Determine the default libpath from the value encoded in an
8869          # empty executable.
8870          if test "${lt_cv_aix_libpath+set}" = set; then
8871   aix_libpath=$lt_cv_aix_libpath
8872 else
8873   if ${lt_cv_aix_libpath_+:} false; then :
8874   $as_echo_n "(cached) " >&6
8875 else
8876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h.  */
8878
8879 int
8880 main ()
8881 {
8882
8883   ;
8884   return 0;
8885 }
8886 _ACEOF
8887 if ac_fn_c_try_link "$LINENO"; then :
8888
8889   lt_aix_libpath_sed='
8890       /Import File Strings/,/^$/ {
8891           /^0/ {
8892               s/^0  *\([^ ]*\) *$/\1/
8893               p
8894           }
8895       }'
8896   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8897   # Check for a 64-bit object if we didn't find anything.
8898   if test -z "$lt_cv_aix_libpath_"; then
8899     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8900   fi
8901 fi
8902 rm -f core conftest.err conftest.$ac_objext \
8903     conftest$ac_exeext conftest.$ac_ext
8904   if test -z "$lt_cv_aix_libpath_"; then
8905     lt_cv_aix_libpath_="/usr/lib:/lib"
8906   fi
8907
8908 fi
8909
8910   aix_libpath=$lt_cv_aix_libpath_
8911 fi
8912
8913          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8914           # Warning - without using the other run time loading flags,
8915           # -berok will link without error, but may produce a broken library.
8916           no_undefined_flag=' ${wl}-bernotok'
8917           allow_undefined_flag=' ${wl}-berok'
8918           if test "$with_gnu_ld" = yes; then
8919             # We only use this code for GNU lds that support --whole-archive.
8920             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8921           else
8922             # Exported symbols can be pulled into shared objects from archives
8923             whole_archive_flag_spec='$convenience'
8924           fi
8925           archive_cmds_need_lc=yes
8926           # This is similar to how AIX traditionally builds its shared libraries.
8927           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'
8928         fi
8929       fi
8930       ;;
8931
8932     amigaos*)
8933       case $host_cpu in
8934       powerpc)
8935             # see comment about AmigaOS4 .so support
8936             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8937             archive_expsym_cmds=''
8938         ;;
8939       m68k)
8940             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)'
8941             hardcode_libdir_flag_spec='-L$libdir'
8942             hardcode_minus_L=yes
8943         ;;
8944       esac
8945       ;;
8946
8947     bsdi[45]*)
8948       export_dynamic_flag_spec=-rdynamic
8949       ;;
8950
8951     cygwin* | mingw* | pw32* | cegcc*)
8952       # When not using gcc, we currently assume that we are using
8953       # Microsoft Visual C++.
8954       # hardcode_libdir_flag_spec is actually meaningless, as there is
8955       # no search path for DLLs.
8956       case $cc_basename in
8957       cl*)
8958         # Native MSVC
8959         hardcode_libdir_flag_spec=' '
8960         allow_undefined_flag=unsupported
8961         always_export_symbols=yes
8962         file_list_spec='@'
8963         # Tell ltmain to make .lib files, not .a files.
8964         libext=lib
8965         # Tell ltmain to make .dll files, not .so files.
8966         shrext_cmds=".dll"
8967         # FIXME: Setting linknames here is a bad hack.
8968         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8969         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8970             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8971           else
8972             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8973           fi~
8974           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8975           linknames='
8976         # The linker will not automatically build a static lib if we build a DLL.
8977         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8978         enable_shared_with_static_runtimes=yes
8979         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8980         # Don't use ranlib
8981         old_postinstall_cmds='chmod 644 $oldlib'
8982         postlink_cmds='lt_outputfile="@OUTPUT@"~
8983           lt_tool_outputfile="@TOOL_OUTPUT@"~
8984           case $lt_outputfile in
8985             *.exe|*.EXE) ;;
8986             *)
8987               lt_outputfile="$lt_outputfile.exe"
8988               lt_tool_outputfile="$lt_tool_outputfile.exe"
8989               ;;
8990           esac~
8991           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8992             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8993             $RM "$lt_outputfile.manifest";
8994           fi'
8995         ;;
8996       *)
8997         # Assume MSVC wrapper
8998         hardcode_libdir_flag_spec=' '
8999         allow_undefined_flag=unsupported
9000         # Tell ltmain to make .lib files, not .a files.
9001         libext=lib
9002         # Tell ltmain to make .dll files, not .so files.
9003         shrext_cmds=".dll"
9004         # FIXME: Setting linknames here is a bad hack.
9005         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9006         # The linker will automatically build a .lib file if we build a DLL.
9007         old_archive_from_new_cmds='true'
9008         # FIXME: Should let the user specify the lib program.
9009         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9010         enable_shared_with_static_runtimes=yes
9011         ;;
9012       esac
9013       ;;
9014
9015     darwin* | rhapsody*)
9016
9017
9018   archive_cmds_need_lc=no
9019   hardcode_direct=no
9020   hardcode_automatic=yes
9021   hardcode_shlibpath_var=unsupported
9022   if test "$lt_cv_ld_force_load" = "yes"; then
9023     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\"`'
9024   else
9025     whole_archive_flag_spec=''
9026   fi
9027   link_all_deplibs=yes
9028   allow_undefined_flag="$_lt_dar_allow_undefined"
9029   case $cc_basename in
9030      ifort*) _lt_dar_can_shared=yes ;;
9031      *) _lt_dar_can_shared=$GCC ;;
9032   esac
9033   if test "$_lt_dar_can_shared" = "yes"; then
9034     output_verbose_link_cmd=func_echo_all
9035     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9036     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9037     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}"
9038     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}"
9039
9040   else
9041   ld_shlibs=no
9042   fi
9043
9044       ;;
9045
9046     dgux*)
9047       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9048       hardcode_libdir_flag_spec='-L$libdir'
9049       hardcode_shlibpath_var=no
9050       ;;
9051
9052     freebsd1*)
9053       ld_shlibs=no
9054       ;;
9055
9056     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9057     # support.  Future versions do this automatically, but an explicit c++rt0.o
9058     # does not break anything, and helps significantly (at the cost of a little
9059     # extra space).
9060     freebsd2.2*)
9061       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9062       hardcode_libdir_flag_spec='-R$libdir'
9063       hardcode_direct=yes
9064       hardcode_shlibpath_var=no
9065       ;;
9066
9067     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9068     freebsd2*)
9069       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9070       hardcode_direct=yes
9071       hardcode_minus_L=yes
9072       hardcode_shlibpath_var=no
9073       ;;
9074
9075     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9076     freebsd* | dragonfly*)
9077       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9078       hardcode_libdir_flag_spec='-R$libdir'
9079       hardcode_direct=yes
9080       hardcode_shlibpath_var=no
9081       ;;
9082
9083     hpux9*)
9084       if test "$GCC" = yes; then
9085         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'
9086       else
9087         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'
9088       fi
9089       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9090       hardcode_libdir_separator=:
9091       hardcode_direct=yes
9092
9093       # hardcode_minus_L: Not really in the search PATH,
9094       # but as the default location of the library.
9095       hardcode_minus_L=yes
9096       export_dynamic_flag_spec='${wl}-E'
9097       ;;
9098
9099     hpux10*)
9100       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9101         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9102       else
9103         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9104       fi
9105       if test "$with_gnu_ld" = no; then
9106         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9107         hardcode_libdir_flag_spec_ld='+b $libdir'
9108         hardcode_libdir_separator=:
9109         hardcode_direct=yes
9110         hardcode_direct_absolute=yes
9111         export_dynamic_flag_spec='${wl}-E'
9112         # hardcode_minus_L: Not really in the search PATH,
9113         # but as the default location of the library.
9114         hardcode_minus_L=yes
9115       fi
9116       ;;
9117
9118     hpux11*)
9119       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9120         case $host_cpu in
9121         hppa*64*)
9122           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9123           ;;
9124         ia64*)
9125           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9126           ;;
9127         *)
9128           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9129           ;;
9130         esac
9131       else
9132         case $host_cpu in
9133         hppa*64*)
9134           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9135           ;;
9136         ia64*)
9137           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9138           ;;
9139         *)
9140
9141           # Older versions of the 11.00 compiler do not understand -b yet
9142           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9143           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9144 $as_echo_n "checking if $CC understands -b... " >&6; }
9145 if ${lt_cv_prog_compiler__b+:} false; then :
9146   $as_echo_n "(cached) " >&6
9147 else
9148   lt_cv_prog_compiler__b=no
9149    save_LDFLAGS="$LDFLAGS"
9150    LDFLAGS="$LDFLAGS -b"
9151    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9152    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9153      # The linker can only warn and ignore the option if not recognized
9154      # So say no if there are warnings
9155      if test -s conftest.err; then
9156        # Append any errors to the config.log.
9157        cat conftest.err 1>&5
9158        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9159        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9160        if diff conftest.exp conftest.er2 >/dev/null; then
9161          lt_cv_prog_compiler__b=yes
9162        fi
9163      else
9164        lt_cv_prog_compiler__b=yes
9165      fi
9166    fi
9167    $RM -r conftest*
9168    LDFLAGS="$save_LDFLAGS"
9169
9170 fi
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9172 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9173
9174 if test x"$lt_cv_prog_compiler__b" = xyes; then
9175     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9176 else
9177     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9178 fi
9179
9180           ;;
9181         esac
9182       fi
9183       if test "$with_gnu_ld" = no; then
9184         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9185         hardcode_libdir_separator=:
9186
9187         case $host_cpu in
9188         hppa*64*|ia64*)
9189           hardcode_direct=no
9190           hardcode_shlibpath_var=no
9191           ;;
9192         *)
9193           hardcode_direct=yes
9194           hardcode_direct_absolute=yes
9195           export_dynamic_flag_spec='${wl}-E'
9196
9197           # hardcode_minus_L: Not really in the search PATH,
9198           # but as the default location of the library.
9199           hardcode_minus_L=yes
9200           ;;
9201         esac
9202       fi
9203       ;;
9204
9205     irix5* | irix6* | nonstopux*)
9206       if test "$GCC" = yes; then
9207         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'
9208         # Try to use the -exported_symbol ld option, if it does not
9209         # work, assume that -exports_file does not work either and
9210         # implicitly export all symbols.
9211         # This should be the same for all languages, so no per-tag cache variable.
9212         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9213 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9214 if ${lt_cv_irix_exported_symbol+:} false; then :
9215   $as_echo_n "(cached) " >&6
9216 else
9217   save_LDFLAGS="$LDFLAGS"
9218            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9219            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9220 /* end confdefs.h.  */
9221 int foo (void) { return 0; }
9222 _ACEOF
9223 if ac_fn_c_try_link "$LINENO"; then :
9224   lt_cv_irix_exported_symbol=yes
9225 else
9226   lt_cv_irix_exported_symbol=no
9227 fi
9228 rm -f core conftest.err conftest.$ac_objext \
9229     conftest$ac_exeext conftest.$ac_ext
9230            LDFLAGS="$save_LDFLAGS"
9231 fi
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9233 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9234         if test "$lt_cv_irix_exported_symbol" = yes; then
9235           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'
9236         fi
9237       else
9238         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'
9239         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'
9240       fi
9241       archive_cmds_need_lc='no'
9242       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9243       hardcode_libdir_separator=:
9244       inherit_rpath=yes
9245       link_all_deplibs=yes
9246       ;;
9247
9248     netbsd*)
9249       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9250         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9251       else
9252         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9253       fi
9254       hardcode_libdir_flag_spec='-R$libdir'
9255       hardcode_direct=yes
9256       hardcode_shlibpath_var=no
9257       ;;
9258
9259     newsos6)
9260       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9261       hardcode_direct=yes
9262       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9263       hardcode_libdir_separator=:
9264       hardcode_shlibpath_var=no
9265       ;;
9266
9267     *nto* | *qnx*)
9268       ;;
9269
9270     openbsd*)
9271       if test -f /usr/libexec/ld.so; then
9272         hardcode_direct=yes
9273         hardcode_shlibpath_var=no
9274         hardcode_direct_absolute=yes
9275         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9276           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9277           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9278           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9279           export_dynamic_flag_spec='${wl}-E'
9280         else
9281           case $host_os in
9282            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9283              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9284              hardcode_libdir_flag_spec='-R$libdir'
9285              ;;
9286            *)
9287              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9288              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9289              ;;
9290           esac
9291         fi
9292       else
9293         ld_shlibs=no
9294       fi
9295       ;;
9296
9297     os2*)
9298       hardcode_libdir_flag_spec='-L$libdir'
9299       hardcode_minus_L=yes
9300       allow_undefined_flag=unsupported
9301       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'
9302       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9303       ;;
9304
9305     osf3*)
9306       if test "$GCC" = yes; then
9307         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9308         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'
9309       else
9310         allow_undefined_flag=' -expect_unresolved \*'
9311         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'
9312       fi
9313       archive_cmds_need_lc='no'
9314       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9315       hardcode_libdir_separator=:
9316       ;;
9317
9318     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9319       if test "$GCC" = yes; then
9320         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9321         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'
9322         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9323       else
9324         allow_undefined_flag=' -expect_unresolved \*'
9325         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'
9326         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~
9327         $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'
9328
9329         # Both c and cxx compiler support -rpath directly
9330         hardcode_libdir_flag_spec='-rpath $libdir'
9331       fi
9332       archive_cmds_need_lc='no'
9333       hardcode_libdir_separator=:
9334       ;;
9335
9336     solaris*)
9337       no_undefined_flag=' -z defs'
9338       if test "$GCC" = yes; then
9339         wlarc='${wl}'
9340         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9341         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9342           $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'
9343       else
9344         case `$CC -V 2>&1` in
9345         *"Compilers 5.0"*)
9346           wlarc=''
9347           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9348           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9349           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9350           ;;
9351         *)
9352           wlarc='${wl}'
9353           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9354           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9355           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9356           ;;
9357         esac
9358       fi
9359       hardcode_libdir_flag_spec='-R$libdir'
9360       hardcode_shlibpath_var=no
9361       case $host_os in
9362       solaris2.[0-5] | solaris2.[0-5].*) ;;
9363       *)
9364         # The compiler driver will combine and reorder linker options,
9365         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9366         # but is careful enough not to reorder.
9367         # Supported since Solaris 2.6 (maybe 2.5.1?)
9368         if test "$GCC" = yes; then
9369           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9370         else
9371           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9372         fi
9373         ;;
9374       esac
9375       link_all_deplibs=yes
9376       ;;
9377
9378     sunos4*)
9379       if test "x$host_vendor" = xsequent; then
9380         # Use $CC to link under sequent, because it throws in some extra .o
9381         # files that make .init and .fini sections work.
9382         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9383       else
9384         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9385       fi
9386       hardcode_libdir_flag_spec='-L$libdir'
9387       hardcode_direct=yes
9388       hardcode_minus_L=yes
9389       hardcode_shlibpath_var=no
9390       ;;
9391
9392     sysv4)
9393       case $host_vendor in
9394         sni)
9395           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9396           hardcode_direct=yes # is this really true???
9397         ;;
9398         siemens)
9399           ## LD is ld it makes a PLAMLIB
9400           ## CC just makes a GrossModule.
9401           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9402           reload_cmds='$CC -r -o $output$reload_objs'
9403           hardcode_direct=no
9404         ;;
9405         motorola)
9406           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9407           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9408         ;;
9409       esac
9410       runpath_var='LD_RUN_PATH'
9411       hardcode_shlibpath_var=no
9412       ;;
9413
9414     sysv4.3*)
9415       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9416       hardcode_shlibpath_var=no
9417       export_dynamic_flag_spec='-Bexport'
9418       ;;
9419
9420     sysv4*MP*)
9421       if test -d /usr/nec; then
9422         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9423         hardcode_shlibpath_var=no
9424         runpath_var=LD_RUN_PATH
9425         hardcode_runpath_var=yes
9426         ld_shlibs=yes
9427       fi
9428       ;;
9429
9430     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9431       no_undefined_flag='${wl}-z,text'
9432       archive_cmds_need_lc=no
9433       hardcode_shlibpath_var=no
9434       runpath_var='LD_RUN_PATH'
9435
9436       if test "$GCC" = yes; then
9437         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9438         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9439       else
9440         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9441         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9442       fi
9443       ;;
9444
9445     sysv5* | sco3.2v5* | sco5v6*)
9446       # Note: We can NOT use -z defs as we might desire, because we do not
9447       # link with -lc, and that would cause any symbols used from libc to
9448       # always be unresolved, which means just about no library would
9449       # ever link correctly.  If we're not using GNU ld we use -z text
9450       # though, which does catch some bad symbols but isn't as heavy-handed
9451       # as -z defs.
9452       no_undefined_flag='${wl}-z,text'
9453       allow_undefined_flag='${wl}-z,nodefs'
9454       archive_cmds_need_lc=no
9455       hardcode_shlibpath_var=no
9456       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9457       hardcode_libdir_separator=':'
9458       link_all_deplibs=yes
9459       export_dynamic_flag_spec='${wl}-Bexport'
9460       runpath_var='LD_RUN_PATH'
9461
9462       if test "$GCC" = yes; then
9463         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9464         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9465       else
9466         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9467         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468       fi
9469       ;;
9470
9471     uts4*)
9472       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9473       hardcode_libdir_flag_spec='-L$libdir'
9474       hardcode_shlibpath_var=no
9475       ;;
9476
9477     *)
9478       ld_shlibs=no
9479       ;;
9480     esac
9481
9482     if test x$host_vendor = xsni; then
9483       case $host in
9484       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9485         export_dynamic_flag_spec='${wl}-Blargedynsym'
9486         ;;
9487       esac
9488     fi
9489   fi
9490
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9492 $as_echo "$ld_shlibs" >&6; }
9493 test "$ld_shlibs" = no && can_build_shared=no
9494
9495 with_gnu_ld=$with_gnu_ld
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511 #
9512 # Do we need to explicitly link libc?
9513 #
9514 case "x$archive_cmds_need_lc" in
9515 x|xyes)
9516   # Assume -lc should be added
9517   archive_cmds_need_lc=yes
9518
9519   if test "$enable_shared" = yes && test "$GCC" = yes; then
9520     case $archive_cmds in
9521     *'~'*)
9522       # FIXME: we may have to deal with multi-command sequences.
9523       ;;
9524     '$CC '*)
9525       # Test whether the compiler implicitly links with -lc since on some
9526       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9527       # to ld, don't add -lc before -lgcc.
9528       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9529 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9530 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9531   $as_echo_n "(cached) " >&6
9532 else
9533   $RM conftest*
9534         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9535
9536         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9537   (eval $ac_compile) 2>&5
9538   ac_status=$?
9539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9540   test $ac_status = 0; } 2>conftest.err; then
9541           soname=conftest
9542           lib=conftest
9543           libobjs=conftest.$ac_objext
9544           deplibs=
9545           wl=$lt_prog_compiler_wl
9546           pic_flag=$lt_prog_compiler_pic
9547           compiler_flags=-v
9548           linker_flags=-v
9549           verstring=
9550           output_objdir=.
9551           libname=conftest
9552           lt_save_allow_undefined_flag=$allow_undefined_flag
9553           allow_undefined_flag=
9554           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9555   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9556   ac_status=$?
9557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9558   test $ac_status = 0; }
9559           then
9560             lt_cv_archive_cmds_need_lc=no
9561           else
9562             lt_cv_archive_cmds_need_lc=yes
9563           fi
9564           allow_undefined_flag=$lt_save_allow_undefined_flag
9565         else
9566           cat conftest.err 1>&5
9567         fi
9568         $RM conftest*
9569
9570 fi
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9572 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9573       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9574       ;;
9575     esac
9576   fi
9577   ;;
9578 esac
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9737 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9738
9739 if test "$GCC" = yes; then
9740   case $host_os in
9741     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9742     *) lt_awk_arg="/^libraries:/" ;;
9743   esac
9744   case $host_os in
9745     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9746     *) lt_sed_strip_eq="s,=/,/,g" ;;
9747   esac
9748   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9749   case $lt_search_path_spec in
9750   *\;*)
9751     # if the path contains ";" then we assume it to be the separator
9752     # otherwise default to the standard path separator (i.e. ":") - it is
9753     # assumed that no part of a normal pathname contains ";" but that should
9754     # okay in the real world where ";" in dirpaths is itself problematic.
9755     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9756     ;;
9757   *)
9758     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9759     ;;
9760   esac
9761   # Ok, now we have the path, separated by spaces, we can step through it
9762   # and add multilib dir if necessary.
9763   lt_tmp_lt_search_path_spec=
9764   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9765   for lt_sys_path in $lt_search_path_spec; do
9766     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9767       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9768     else
9769       test -d "$lt_sys_path" && \
9770         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9771     fi
9772   done
9773   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9774 BEGIN {RS=" "; FS="/|\n";} {
9775   lt_foo="";
9776   lt_count=0;
9777   for (lt_i = NF; lt_i > 0; lt_i--) {
9778     if ($lt_i != "" && $lt_i != ".") {
9779       if ($lt_i == "..") {
9780         lt_count++;
9781       } else {
9782         if (lt_count == 0) {
9783           lt_foo="/" $lt_i lt_foo;
9784         } else {
9785           lt_count--;
9786         }
9787       }
9788     }
9789   }
9790   if (lt_foo != "") { lt_freq[lt_foo]++; }
9791   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9792 }'`
9793   # AWK program above erroneously prepends '/' to C:/dos/paths
9794   # for these hosts.
9795   case $host_os in
9796     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9797       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9798   esac
9799   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9800 else
9801   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9802 fi
9803 library_names_spec=
9804 libname_spec='lib$name'
9805 soname_spec=
9806 shrext_cmds=".so"
9807 postinstall_cmds=
9808 postuninstall_cmds=
9809 finish_cmds=
9810 finish_eval=
9811 shlibpath_var=
9812 shlibpath_overrides_runpath=unknown
9813 version_type=none
9814 dynamic_linker="$host_os ld.so"
9815 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9816 need_lib_prefix=unknown
9817 hardcode_into_libs=no
9818
9819 # when you set need_version to no, make sure it does not cause -set_version
9820 # flags to be left without arguments
9821 need_version=unknown
9822
9823 case $host_os in
9824 aix3*)
9825   version_type=linux
9826   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9827   shlibpath_var=LIBPATH
9828
9829   # AIX 3 has no versioning support, so we append a major version to the name.
9830   soname_spec='${libname}${release}${shared_ext}$major'
9831   ;;
9832
9833 aix[4-9]*)
9834   version_type=linux
9835   need_lib_prefix=no
9836   need_version=no
9837   hardcode_into_libs=yes
9838   if test "$host_cpu" = ia64; then
9839     # AIX 5 supports IA64
9840     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9841     shlibpath_var=LD_LIBRARY_PATH
9842   else
9843     # With GCC up to 2.95.x, collect2 would create an import file
9844     # for dependence libraries.  The import file would start with
9845     # the line `#! .'.  This would cause the generated library to
9846     # depend on `.', always an invalid library.  This was fixed in
9847     # development snapshots of GCC prior to 3.0.
9848     case $host_os in
9849       aix4 | aix4.[01] | aix4.[01].*)
9850       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9851            echo ' yes '
9852            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9853         :
9854       else
9855         can_build_shared=no
9856       fi
9857       ;;
9858     esac
9859     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9860     # soname into executable. Probably we can add versioning support to
9861     # collect2, so additional links can be useful in future.
9862     if test "$aix_use_runtimelinking" = yes; then
9863       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9864       # instead of lib<name>.a to let people know that these are not
9865       # typical AIX shared libraries.
9866       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9867     else
9868       # We preserve .a as extension for shared libraries through AIX4.2
9869       # and later when we are not doing run time linking.
9870       library_names_spec='${libname}${release}.a $libname.a'
9871       soname_spec='${libname}${release}${shared_ext}$major'
9872     fi
9873     shlibpath_var=LIBPATH
9874   fi
9875   ;;
9876
9877 amigaos*)
9878   case $host_cpu in
9879   powerpc)
9880     # Since July 2007 AmigaOS4 officially supports .so libraries.
9881     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9882     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9883     ;;
9884   m68k)
9885     library_names_spec='$libname.ixlibrary $libname.a'
9886     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9887     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'
9888     ;;
9889   esac
9890   ;;
9891
9892 beos*)
9893   library_names_spec='${libname}${shared_ext}'
9894   dynamic_linker="$host_os ld.so"
9895   shlibpath_var=LIBRARY_PATH
9896   ;;
9897
9898 bsdi[45]*)
9899   version_type=linux
9900   need_version=no
9901   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9902   soname_spec='${libname}${release}${shared_ext}$major'
9903   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9904   shlibpath_var=LD_LIBRARY_PATH
9905   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9906   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9907   # the default ld.so.conf also contains /usr/contrib/lib and
9908   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9909   # libtool to hard-code these into programs
9910   ;;
9911
9912 cygwin* | mingw* | pw32* | cegcc*)
9913   version_type=windows
9914   shrext_cmds=".dll"
9915   need_version=no
9916   need_lib_prefix=no
9917
9918   case $GCC,$cc_basename in
9919   yes,*)
9920     # gcc
9921     library_names_spec='$libname.dll.a'
9922     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9923     postinstall_cmds='base_file=`basename \${file}`~
9924       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9925       dldir=$destdir/`dirname \$dlpath`~
9926       test -d \$dldir || mkdir -p \$dldir~
9927       $install_prog $dir/$dlname \$dldir/$dlname~
9928       chmod a+x \$dldir/$dlname~
9929       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9930         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9931       fi'
9932     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9933       dlpath=$dir/\$dldll~
9934        $RM \$dlpath'
9935     shlibpath_overrides_runpath=yes
9936
9937     case $host_os in
9938     cygwin*)
9939       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9940       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9941
9942       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9943       ;;
9944     mingw* | cegcc*)
9945       # MinGW DLLs use traditional 'lib' prefix
9946       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9947       ;;
9948     pw32*)
9949       # pw32 DLLs use 'pw' prefix rather than 'lib'
9950       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9951       ;;
9952     esac
9953     dynamic_linker='Win32 ld.exe'
9954     ;;
9955
9956   *,cl*)
9957     # Native MSVC
9958     libname_spec='$name'
9959     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9960     library_names_spec='${libname}.dll.lib'
9961
9962     case $build_os in
9963     mingw*)
9964       sys_lib_search_path_spec=
9965       lt_save_ifs=$IFS
9966       IFS=';'
9967       for lt_path in $LIB
9968       do
9969         IFS=$lt_save_ifs
9970         # Let DOS variable expansion print the short 8.3 style file name.
9971         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9972         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9973       done
9974       IFS=$lt_save_ifs
9975       # Convert to MSYS style.
9976       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9977       ;;
9978     cygwin*)
9979       # Convert to unix form, then to dos form, then back to unix form
9980       # but this time dos style (no spaces!) so that the unix form looks
9981       # like /cygdrive/c/PROGRA~1:/cygdr...
9982       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9983       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9984       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9985       ;;
9986     *)
9987       sys_lib_search_path_spec="$LIB"
9988       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9989         # It is most probably a Windows format PATH.
9990         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9991       else
9992         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9993       fi
9994       # FIXME: find the short name or the path components, as spaces are
9995       # common. (e.g. "Program Files" -> "PROGRA~1")
9996       ;;
9997     esac
9998
9999     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10000     postinstall_cmds='base_file=`basename \${file}`~
10001       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10002       dldir=$destdir/`dirname \$dlpath`~
10003       test -d \$dldir || mkdir -p \$dldir~
10004       $install_prog $dir/$dlname \$dldir/$dlname'
10005     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10006       dlpath=$dir/\$dldll~
10007        $RM \$dlpath'
10008     shlibpath_overrides_runpath=yes
10009     dynamic_linker='Win32 link.exe'
10010     ;;
10011
10012   *)
10013     # Assume MSVC wrapper
10014     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10015     dynamic_linker='Win32 ld.exe'
10016     ;;
10017   esac
10018   # FIXME: first we should search . and the directory the executable is in
10019   shlibpath_var=PATH
10020   ;;
10021
10022 darwin* | rhapsody*)
10023   dynamic_linker="$host_os dyld"
10024   version_type=darwin
10025   need_lib_prefix=no
10026   need_version=no
10027   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10028   soname_spec='${libname}${release}${major}$shared_ext'
10029   shlibpath_overrides_runpath=yes
10030   shlibpath_var=DYLD_LIBRARY_PATH
10031   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10032
10033   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10034   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10035   ;;
10036
10037 dgux*)
10038   version_type=linux
10039   need_lib_prefix=no
10040   need_version=no
10041   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10042   soname_spec='${libname}${release}${shared_ext}$major'
10043   shlibpath_var=LD_LIBRARY_PATH
10044   ;;
10045
10046 freebsd1*)
10047   dynamic_linker=no
10048   ;;
10049
10050 freebsd* | dragonfly*)
10051   # DragonFly does not have aout.  When/if they implement a new
10052   # versioning mechanism, adjust this.
10053   if test -x /usr/bin/objformat; then
10054     objformat=`/usr/bin/objformat`
10055   else
10056     case $host_os in
10057     freebsd[123]*) objformat=aout ;;
10058     *) objformat=elf ;;
10059     esac
10060   fi
10061   version_type=freebsd-$objformat
10062   case $version_type in
10063     freebsd-elf*)
10064       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10065       need_version=no
10066       need_lib_prefix=no
10067       ;;
10068     freebsd-*)
10069       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10070       need_version=yes
10071       ;;
10072   esac
10073   shlibpath_var=LD_LIBRARY_PATH
10074   case $host_os in
10075   freebsd2*)
10076     shlibpath_overrides_runpath=yes
10077     ;;
10078   freebsd3.[01]* | freebsdelf3.[01]*)
10079     shlibpath_overrides_runpath=yes
10080     hardcode_into_libs=yes
10081     ;;
10082   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10083   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10084     shlibpath_overrides_runpath=no
10085     hardcode_into_libs=yes
10086     ;;
10087   *) # from 4.6 on, and DragonFly
10088     shlibpath_overrides_runpath=yes
10089     hardcode_into_libs=yes
10090     ;;
10091   esac
10092   ;;
10093
10094 gnu*)
10095   version_type=linux
10096   need_lib_prefix=no
10097   need_version=no
10098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10099   soname_spec='${libname}${release}${shared_ext}$major'
10100   shlibpath_var=LD_LIBRARY_PATH
10101   hardcode_into_libs=yes
10102   ;;
10103
10104 haiku*)
10105   version_type=linux
10106   need_lib_prefix=no
10107   need_version=no
10108   dynamic_linker="$host_os runtime_loader"
10109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10110   soname_spec='${libname}${release}${shared_ext}$major'
10111   shlibpath_var=LIBRARY_PATH
10112   shlibpath_overrides_runpath=yes
10113   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10114   hardcode_into_libs=yes
10115   ;;
10116
10117 hpux9* | hpux10* | hpux11*)
10118   # Give a soname corresponding to the major version so that dld.sl refuses to
10119   # link against other versions.
10120   version_type=sunos
10121   need_lib_prefix=no
10122   need_version=no
10123   case $host_cpu in
10124   ia64*)
10125     shrext_cmds='.so'
10126     hardcode_into_libs=yes
10127     dynamic_linker="$host_os dld.so"
10128     shlibpath_var=LD_LIBRARY_PATH
10129     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10130     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10131     soname_spec='${libname}${release}${shared_ext}$major'
10132     if test "X$HPUX_IA64_MODE" = X32; then
10133       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10134     else
10135       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10136     fi
10137     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10138     ;;
10139   hppa*64*)
10140     shrext_cmds='.sl'
10141     hardcode_into_libs=yes
10142     dynamic_linker="$host_os dld.sl"
10143     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10144     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10145     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146     soname_spec='${libname}${release}${shared_ext}$major'
10147     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10148     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10149     ;;
10150   *)
10151     shrext_cmds='.sl'
10152     dynamic_linker="$host_os dld.sl"
10153     shlibpath_var=SHLIB_PATH
10154     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10155     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10156     soname_spec='${libname}${release}${shared_ext}$major'
10157     ;;
10158   esac
10159   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10160   postinstall_cmds='chmod 555 $lib'
10161   # or fails outright, so override atomically:
10162   install_override_mode=555
10163   ;;
10164
10165 interix[3-9]*)
10166   version_type=linux
10167   need_lib_prefix=no
10168   need_version=no
10169   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10170   soname_spec='${libname}${release}${shared_ext}$major'
10171   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10172   shlibpath_var=LD_LIBRARY_PATH
10173   shlibpath_overrides_runpath=no
10174   hardcode_into_libs=yes
10175   ;;
10176
10177 irix5* | irix6* | nonstopux*)
10178   case $host_os in
10179     nonstopux*) version_type=nonstopux ;;
10180     *)
10181         if test "$lt_cv_prog_gnu_ld" = yes; then
10182                 version_type=linux
10183         else
10184                 version_type=irix
10185         fi ;;
10186   esac
10187   need_lib_prefix=no
10188   need_version=no
10189   soname_spec='${libname}${release}${shared_ext}$major'
10190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10191   case $host_os in
10192   irix5* | nonstopux*)
10193     libsuff= shlibsuff=
10194     ;;
10195   *)
10196     case $LD in # libtool.m4 will add one of these switches to LD
10197     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10198       libsuff= shlibsuff= libmagic=32-bit;;
10199     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10200       libsuff=32 shlibsuff=N32 libmagic=N32;;
10201     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10202       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10203     *) libsuff= shlibsuff= libmagic=never-match;;
10204     esac
10205     ;;
10206   esac
10207   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10208   shlibpath_overrides_runpath=no
10209   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10210   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10211   hardcode_into_libs=yes
10212   ;;
10213
10214 # No shared lib support for Linux oldld, aout, or coff.
10215 linux*oldld* | linux*aout* | linux*coff*)
10216   dynamic_linker=no
10217   ;;
10218
10219 # This must be Linux ELF.
10220 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10221   version_type=linux
10222   need_lib_prefix=no
10223   need_version=no
10224   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10225   soname_spec='${libname}${release}${shared_ext}$major'
10226   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10227   shlibpath_var=LD_LIBRARY_PATH
10228   shlibpath_overrides_runpath=no
10229
10230   # Some binutils ld are patched to set DT_RUNPATH
10231   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10232   $as_echo_n "(cached) " >&6
10233 else
10234   lt_cv_shlibpath_overrides_runpath=no
10235     save_LDFLAGS=$LDFLAGS
10236     save_libdir=$libdir
10237     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10238          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10239     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h.  */
10241
10242 int
10243 main ()
10244 {
10245
10246   ;
10247   return 0;
10248 }
10249 _ACEOF
10250 if ac_fn_c_try_link "$LINENO"; then :
10251   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10252   lt_cv_shlibpath_overrides_runpath=yes
10253 fi
10254 fi
10255 rm -f core conftest.err conftest.$ac_objext \
10256     conftest$ac_exeext conftest.$ac_ext
10257     LDFLAGS=$save_LDFLAGS
10258     libdir=$save_libdir
10259
10260 fi
10261
10262   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10263
10264   # This implies no fast_install, which is unacceptable.
10265   # Some rework will be needed to allow for fast_install
10266   # before this can be enabled.
10267   hardcode_into_libs=yes
10268
10269   # Append ld.so.conf contents to the search path
10270   if test -f /etc/ld.so.conf; then
10271     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' ' '`
10272     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10273   fi
10274
10275   # We used to test for /lib/ld.so.1 and disable shared libraries on
10276   # powerpc, because MkLinux only supported shared libraries with the
10277   # GNU dynamic linker.  Since this was broken with cross compilers,
10278   # most powerpc-linux boxes support dynamic linking these days and
10279   # people can always --disable-shared, the test was removed, and we
10280   # assume the GNU/Linux dynamic linker is in use.
10281   dynamic_linker='GNU/Linux ld.so'
10282   ;;
10283
10284 netbsd*)
10285   version_type=sunos
10286   need_lib_prefix=no
10287   need_version=no
10288   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10289     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10290     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10291     dynamic_linker='NetBSD (a.out) ld.so'
10292   else
10293     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10294     soname_spec='${libname}${release}${shared_ext}$major'
10295     dynamic_linker='NetBSD ld.elf_so'
10296   fi
10297   shlibpath_var=LD_LIBRARY_PATH
10298   shlibpath_overrides_runpath=yes
10299   hardcode_into_libs=yes
10300   ;;
10301
10302 newsos6)
10303   version_type=linux
10304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10305   shlibpath_var=LD_LIBRARY_PATH
10306   shlibpath_overrides_runpath=yes
10307   ;;
10308
10309 *nto* | *qnx*)
10310   version_type=qnx
10311   need_lib_prefix=no
10312   need_version=no
10313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10314   soname_spec='${libname}${release}${shared_ext}$major'
10315   shlibpath_var=LD_LIBRARY_PATH
10316   shlibpath_overrides_runpath=no
10317   hardcode_into_libs=yes
10318   dynamic_linker='ldqnx.so'
10319   ;;
10320
10321 openbsd*)
10322   version_type=sunos
10323   sys_lib_dlsearch_path_spec="/usr/lib"
10324   need_lib_prefix=no
10325   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10326   case $host_os in
10327     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10328     *)                          need_version=no  ;;
10329   esac
10330   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10331   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10332   shlibpath_var=LD_LIBRARY_PATH
10333   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10334     case $host_os in
10335       openbsd2.[89] | openbsd2.[89].*)
10336         shlibpath_overrides_runpath=no
10337         ;;
10338       *)
10339         shlibpath_overrides_runpath=yes
10340         ;;
10341       esac
10342   else
10343     shlibpath_overrides_runpath=yes
10344   fi
10345   ;;
10346
10347 os2*)
10348   libname_spec='$name'
10349   shrext_cmds=".dll"
10350   need_lib_prefix=no
10351   library_names_spec='$libname${shared_ext} $libname.a'
10352   dynamic_linker='OS/2 ld.exe'
10353   shlibpath_var=LIBPATH
10354   ;;
10355
10356 osf3* | osf4* | osf5*)
10357   version_type=osf
10358   need_lib_prefix=no
10359   need_version=no
10360   soname_spec='${libname}${release}${shared_ext}$major'
10361   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362   shlibpath_var=LD_LIBRARY_PATH
10363   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10364   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10365   ;;
10366
10367 rdos*)
10368   dynamic_linker=no
10369   ;;
10370
10371 solaris*)
10372   version_type=linux
10373   need_lib_prefix=no
10374   need_version=no
10375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10376   soname_spec='${libname}${release}${shared_ext}$major'
10377   shlibpath_var=LD_LIBRARY_PATH
10378   shlibpath_overrides_runpath=yes
10379   hardcode_into_libs=yes
10380   # ldd complains unless libraries are executable
10381   postinstall_cmds='chmod +x $lib'
10382   ;;
10383
10384 sunos4*)
10385   version_type=sunos
10386   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10387   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10388   shlibpath_var=LD_LIBRARY_PATH
10389   shlibpath_overrides_runpath=yes
10390   if test "$with_gnu_ld" = yes; then
10391     need_lib_prefix=no
10392   fi
10393   need_version=yes
10394   ;;
10395
10396 sysv4 | sysv4.3*)
10397   version_type=linux
10398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10399   soname_spec='${libname}${release}${shared_ext}$major'
10400   shlibpath_var=LD_LIBRARY_PATH
10401   case $host_vendor in
10402     sni)
10403       shlibpath_overrides_runpath=no
10404       need_lib_prefix=no
10405       runpath_var=LD_RUN_PATH
10406       ;;
10407     siemens)
10408       need_lib_prefix=no
10409       ;;
10410     motorola)
10411       need_lib_prefix=no
10412       need_version=no
10413       shlibpath_overrides_runpath=no
10414       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10415       ;;
10416   esac
10417   ;;
10418
10419 sysv4*MP*)
10420   if test -d /usr/nec ;then
10421     version_type=linux
10422     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10423     soname_spec='$libname${shared_ext}.$major'
10424     shlibpath_var=LD_LIBRARY_PATH
10425   fi
10426   ;;
10427
10428 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10429   version_type=freebsd-elf
10430   need_lib_prefix=no
10431   need_version=no
10432   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10433   soname_spec='${libname}${release}${shared_ext}$major'
10434   shlibpath_var=LD_LIBRARY_PATH
10435   shlibpath_overrides_runpath=yes
10436   hardcode_into_libs=yes
10437   if test "$with_gnu_ld" = yes; then
10438     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10439   else
10440     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10441     case $host_os in
10442       sco3.2v5*)
10443         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10444         ;;
10445     esac
10446   fi
10447   sys_lib_dlsearch_path_spec='/usr/lib'
10448   ;;
10449
10450 tpf*)
10451   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10452   version_type=linux
10453   need_lib_prefix=no
10454   need_version=no
10455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10456   shlibpath_var=LD_LIBRARY_PATH
10457   shlibpath_overrides_runpath=no
10458   hardcode_into_libs=yes
10459   ;;
10460
10461 uts4*)
10462   version_type=linux
10463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10464   soname_spec='${libname}${release}${shared_ext}$major'
10465   shlibpath_var=LD_LIBRARY_PATH
10466   ;;
10467
10468 *)
10469   dynamic_linker=no
10470   ;;
10471 esac
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10473 $as_echo "$dynamic_linker" >&6; }
10474 test "$dynamic_linker" = no && can_build_shared=no
10475
10476 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10477 if test "$GCC" = yes; then
10478   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10479 fi
10480
10481 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10482   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10483 fi
10484 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10485   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10486 fi
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10580 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10581 hardcode_action=
10582 if test -n "$hardcode_libdir_flag_spec" ||
10583    test -n "$runpath_var" ||
10584    test "X$hardcode_automatic" = "Xyes" ; then
10585
10586   # We can hardcode non-existent directories.
10587   if test "$hardcode_direct" != no &&
10588      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10589      # have to relink, otherwise we might link with an installed library
10590      # when we should be linking with a yet-to-be-installed one
10591      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10592      test "$hardcode_minus_L" != no; then
10593     # Linking always hardcodes the temporary library directory.
10594     hardcode_action=relink
10595   else
10596     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10597     hardcode_action=immediate
10598   fi
10599 else
10600   # We cannot hardcode anything, or else we can only hardcode existing
10601   # directories.
10602   hardcode_action=unsupported
10603 fi
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10605 $as_echo "$hardcode_action" >&6; }
10606
10607 if test "$hardcode_action" = relink ||
10608    test "$inherit_rpath" = yes; then
10609   # Fast installation is not supported
10610   enable_fast_install=no
10611 elif test "$shlibpath_overrides_runpath" = yes ||
10612      test "$enable_shared" = no; then
10613   # Fast installation is not necessary
10614   enable_fast_install=needless
10615 fi
10616
10617
10618
10619
10620
10621
10622   if test "x$enable_dlopen" != xyes; then
10623   enable_dlopen=unknown
10624   enable_dlopen_self=unknown
10625   enable_dlopen_self_static=unknown
10626 else
10627   lt_cv_dlopen=no
10628   lt_cv_dlopen_libs=
10629
10630   case $host_os in
10631   beos*)
10632     lt_cv_dlopen="load_add_on"
10633     lt_cv_dlopen_libs=
10634     lt_cv_dlopen_self=yes
10635     ;;
10636
10637   mingw* | pw32* | cegcc*)
10638     lt_cv_dlopen="LoadLibrary"
10639     lt_cv_dlopen_libs=
10640     ;;
10641
10642   cygwin*)
10643     lt_cv_dlopen="dlopen"
10644     lt_cv_dlopen_libs=
10645     ;;
10646
10647   darwin*)
10648   # if libdl is installed we need to link against it
10649     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10650 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10651 if ${ac_cv_lib_dl_dlopen+:} false; then :
10652   $as_echo_n "(cached) " >&6
10653 else
10654   ac_check_lib_save_LIBS=$LIBS
10655 LIBS="-ldl  $LIBS"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h.  */
10658
10659 /* Override any GCC internal prototype to avoid an error.
10660    Use char because int might match the return type of a GCC
10661    builtin and then its argument prototype would still apply.  */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char dlopen ();
10666 int
10667 main ()
10668 {
10669 return dlopen ();
10670   ;
10671   return 0;
10672 }
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675   ac_cv_lib_dl_dlopen=yes
10676 else
10677   ac_cv_lib_dl_dlopen=no
10678 fi
10679 rm -f core conftest.err conftest.$ac_objext \
10680     conftest$ac_exeext conftest.$ac_ext
10681 LIBS=$ac_check_lib_save_LIBS
10682 fi
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10684 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10685 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10686   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10687 else
10688
10689     lt_cv_dlopen="dyld"
10690     lt_cv_dlopen_libs=
10691     lt_cv_dlopen_self=yes
10692
10693 fi
10694
10695     ;;
10696
10697   *)
10698     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10699 if test "x$ac_cv_func_shl_load" = xyes; then :
10700   lt_cv_dlopen="shl_load"
10701 else
10702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10703 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10704 if ${ac_cv_lib_dld_shl_load+:} false; then :
10705   $as_echo_n "(cached) " >&6
10706 else
10707   ac_check_lib_save_LIBS=$LIBS
10708 LIBS="-ldld  $LIBS"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h.  */
10711
10712 /* Override any GCC internal prototype to avoid an error.
10713    Use char because int might match the return type of a GCC
10714    builtin and then its argument prototype would still apply.  */
10715 #ifdef __cplusplus
10716 extern "C"
10717 #endif
10718 char shl_load ();
10719 int
10720 main ()
10721 {
10722 return shl_load ();
10723   ;
10724   return 0;
10725 }
10726 _ACEOF
10727 if ac_fn_c_try_link "$LINENO"; then :
10728   ac_cv_lib_dld_shl_load=yes
10729 else
10730   ac_cv_lib_dld_shl_load=no
10731 fi
10732 rm -f core conftest.err conftest.$ac_objext \
10733     conftest$ac_exeext conftest.$ac_ext
10734 LIBS=$ac_check_lib_save_LIBS
10735 fi
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10737 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10738 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10739   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10740 else
10741   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10742 if test "x$ac_cv_func_dlopen" = xyes; then :
10743   lt_cv_dlopen="dlopen"
10744 else
10745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10746 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10747 if ${ac_cv_lib_dl_dlopen+:} false; then :
10748   $as_echo_n "(cached) " >&6
10749 else
10750   ac_check_lib_save_LIBS=$LIBS
10751 LIBS="-ldl  $LIBS"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h.  */
10754
10755 /* Override any GCC internal prototype to avoid an error.
10756    Use char because int might match the return type of a GCC
10757    builtin and then its argument prototype would still apply.  */
10758 #ifdef __cplusplus
10759 extern "C"
10760 #endif
10761 char dlopen ();
10762 int
10763 main ()
10764 {
10765 return dlopen ();
10766   ;
10767   return 0;
10768 }
10769 _ACEOF
10770 if ac_fn_c_try_link "$LINENO"; then :
10771   ac_cv_lib_dl_dlopen=yes
10772 else
10773   ac_cv_lib_dl_dlopen=no
10774 fi
10775 rm -f core conftest.err conftest.$ac_objext \
10776     conftest$ac_exeext conftest.$ac_ext
10777 LIBS=$ac_check_lib_save_LIBS
10778 fi
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10780 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10781 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10782   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10783 else
10784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10785 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10786 if ${ac_cv_lib_svld_dlopen+:} false; then :
10787   $as_echo_n "(cached) " >&6
10788 else
10789   ac_check_lib_save_LIBS=$LIBS
10790 LIBS="-lsvld  $LIBS"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h.  */
10793
10794 /* Override any GCC internal prototype to avoid an error.
10795    Use char because int might match the return type of a GCC
10796    builtin and then its argument prototype would still apply.  */
10797 #ifdef __cplusplus
10798 extern "C"
10799 #endif
10800 char dlopen ();
10801 int
10802 main ()
10803 {
10804 return dlopen ();
10805   ;
10806   return 0;
10807 }
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810   ac_cv_lib_svld_dlopen=yes
10811 else
10812   ac_cv_lib_svld_dlopen=no
10813 fi
10814 rm -f core conftest.err conftest.$ac_objext \
10815     conftest$ac_exeext conftest.$ac_ext
10816 LIBS=$ac_check_lib_save_LIBS
10817 fi
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10819 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10820 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10821   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10822 else
10823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10824 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10825 if ${ac_cv_lib_dld_dld_link+:} false; then :
10826   $as_echo_n "(cached) " >&6
10827 else
10828   ac_check_lib_save_LIBS=$LIBS
10829 LIBS="-ldld  $LIBS"
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h.  */
10832
10833 /* Override any GCC internal prototype to avoid an error.
10834    Use char because int might match the return type of a GCC
10835    builtin and then its argument prototype would still apply.  */
10836 #ifdef __cplusplus
10837 extern "C"
10838 #endif
10839 char dld_link ();
10840 int
10841 main ()
10842 {
10843 return dld_link ();
10844   ;
10845   return 0;
10846 }
10847 _ACEOF
10848 if ac_fn_c_try_link "$LINENO"; then :
10849   ac_cv_lib_dld_dld_link=yes
10850 else
10851   ac_cv_lib_dld_dld_link=no
10852 fi
10853 rm -f core conftest.err conftest.$ac_objext \
10854     conftest$ac_exeext conftest.$ac_ext
10855 LIBS=$ac_check_lib_save_LIBS
10856 fi
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10858 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10859 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10860   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10861 fi
10862
10863
10864 fi
10865
10866
10867 fi
10868
10869
10870 fi
10871
10872
10873 fi
10874
10875
10876 fi
10877
10878     ;;
10879   esac
10880
10881   if test "x$lt_cv_dlopen" != xno; then
10882     enable_dlopen=yes
10883   else
10884     enable_dlopen=no
10885   fi
10886
10887   case $lt_cv_dlopen in
10888   dlopen)
10889     save_CPPFLAGS="$CPPFLAGS"
10890     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10891
10892     save_LDFLAGS="$LDFLAGS"
10893     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10894
10895     save_LIBS="$LIBS"
10896     LIBS="$lt_cv_dlopen_libs $LIBS"
10897
10898     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10899 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10900 if ${lt_cv_dlopen_self+:} false; then :
10901   $as_echo_n "(cached) " >&6
10902 else
10903           if test "$cross_compiling" = yes; then :
10904   lt_cv_dlopen_self=cross
10905 else
10906   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10907   lt_status=$lt_dlunknown
10908   cat > conftest.$ac_ext <<_LT_EOF
10909 #line $LINENO "configure"
10910 #include "confdefs.h"
10911
10912 #if HAVE_DLFCN_H
10913 #include <dlfcn.h>
10914 #endif
10915
10916 #include <stdio.h>
10917
10918 #ifdef RTLD_GLOBAL
10919 #  define LT_DLGLOBAL           RTLD_GLOBAL
10920 #else
10921 #  ifdef DL_GLOBAL
10922 #    define LT_DLGLOBAL         DL_GLOBAL
10923 #  else
10924 #    define LT_DLGLOBAL         0
10925 #  endif
10926 #endif
10927
10928 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10929    find out it does not work in some platform. */
10930 #ifndef LT_DLLAZY_OR_NOW
10931 #  ifdef RTLD_LAZY
10932 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10933 #  else
10934 #    ifdef DL_LAZY
10935 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10936 #    else
10937 #      ifdef RTLD_NOW
10938 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10939 #      else
10940 #        ifdef DL_NOW
10941 #          define LT_DLLAZY_OR_NOW      DL_NOW
10942 #        else
10943 #          define LT_DLLAZY_OR_NOW      0
10944 #        endif
10945 #      endif
10946 #    endif
10947 #  endif
10948 #endif
10949
10950 /* When -fvisbility=hidden is used, assume the code has been annotated
10951    correspondingly for the symbols needed.  */
10952 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10953 int fnord () __attribute__((visibility("default")));
10954 #endif
10955
10956 int fnord () { return 42; }
10957 int main ()
10958 {
10959   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10960   int status = $lt_dlunknown;
10961
10962   if (self)
10963     {
10964       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10965       else
10966         {
10967           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10968           else puts (dlerror ());
10969         }
10970       /* dlclose (self); */
10971     }
10972   else
10973     puts (dlerror ());
10974
10975   return status;
10976 }
10977 _LT_EOF
10978   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10979   (eval $ac_link) 2>&5
10980   ac_status=$?
10981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10982   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10983     (./conftest; exit; ) >&5 2>/dev/null
10984     lt_status=$?
10985     case x$lt_status in
10986       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10987       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10988       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10989     esac
10990   else :
10991     # compilation failed
10992     lt_cv_dlopen_self=no
10993   fi
10994 fi
10995 rm -fr conftest*
10996
10997
10998 fi
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11000 $as_echo "$lt_cv_dlopen_self" >&6; }
11001
11002     if test "x$lt_cv_dlopen_self" = xyes; then
11003       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11004       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11005 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11006 if ${lt_cv_dlopen_self_static+:} false; then :
11007   $as_echo_n "(cached) " >&6
11008 else
11009           if test "$cross_compiling" = yes; then :
11010   lt_cv_dlopen_self_static=cross
11011 else
11012   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11013   lt_status=$lt_dlunknown
11014   cat > conftest.$ac_ext <<_LT_EOF
11015 #line $LINENO "configure"
11016 #include "confdefs.h"
11017
11018 #if HAVE_DLFCN_H
11019 #include <dlfcn.h>
11020 #endif
11021
11022 #include <stdio.h>
11023
11024 #ifdef RTLD_GLOBAL
11025 #  define LT_DLGLOBAL           RTLD_GLOBAL
11026 #else
11027 #  ifdef DL_GLOBAL
11028 #    define LT_DLGLOBAL         DL_GLOBAL
11029 #  else
11030 #    define LT_DLGLOBAL         0
11031 #  endif
11032 #endif
11033
11034 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11035    find out it does not work in some platform. */
11036 #ifndef LT_DLLAZY_OR_NOW
11037 #  ifdef RTLD_LAZY
11038 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11039 #  else
11040 #    ifdef DL_LAZY
11041 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11042 #    else
11043 #      ifdef RTLD_NOW
11044 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11045 #      else
11046 #        ifdef DL_NOW
11047 #          define LT_DLLAZY_OR_NOW      DL_NOW
11048 #        else
11049 #          define LT_DLLAZY_OR_NOW      0
11050 #        endif
11051 #      endif
11052 #    endif
11053 #  endif
11054 #endif
11055
11056 /* When -fvisbility=hidden is used, assume the code has been annotated
11057    correspondingly for the symbols needed.  */
11058 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11059 int fnord () __attribute__((visibility("default")));
11060 #endif
11061
11062 int fnord () { return 42; }
11063 int main ()
11064 {
11065   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11066   int status = $lt_dlunknown;
11067
11068   if (self)
11069     {
11070       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11071       else
11072         {
11073           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11074           else puts (dlerror ());
11075         }
11076       /* dlclose (self); */
11077     }
11078   else
11079     puts (dlerror ());
11080
11081   return status;
11082 }
11083 _LT_EOF
11084   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11085   (eval $ac_link) 2>&5
11086   ac_status=$?
11087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11088   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11089     (./conftest; exit; ) >&5 2>/dev/null
11090     lt_status=$?
11091     case x$lt_status in
11092       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11093       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11094       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11095     esac
11096   else :
11097     # compilation failed
11098     lt_cv_dlopen_self_static=no
11099   fi
11100 fi
11101 rm -fr conftest*
11102
11103
11104 fi
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11106 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11107     fi
11108
11109     CPPFLAGS="$save_CPPFLAGS"
11110     LDFLAGS="$save_LDFLAGS"
11111     LIBS="$save_LIBS"
11112     ;;
11113   esac
11114
11115   case $lt_cv_dlopen_self in
11116   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11117   *) enable_dlopen_self=unknown ;;
11118   esac
11119
11120   case $lt_cv_dlopen_self_static in
11121   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11122   *) enable_dlopen_self_static=unknown ;;
11123   esac
11124 fi
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142 striplib=
11143 old_striplib=
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11145 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11146 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11147   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11148   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11150 $as_echo "yes" >&6; }
11151 else
11152 # FIXME - insert some real tests, host_os isn't really good enough
11153   case $host_os in
11154   darwin*)
11155     if test -n "$STRIP" ; then
11156       striplib="$STRIP -x"
11157       old_striplib="$STRIP -S"
11158       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11159 $as_echo "yes" >&6; }
11160     else
11161       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11162 $as_echo "no" >&6; }
11163     fi
11164     ;;
11165   *)
11166     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11167 $as_echo "no" >&6; }
11168     ;;
11169   esac
11170 fi
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183   # Report which library types will actually be built
11184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11185 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11187 $as_echo "$can_build_shared" >&6; }
11188
11189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11190 $as_echo_n "checking whether to build shared libraries... " >&6; }
11191   test "$can_build_shared" = "no" && enable_shared=no
11192
11193   # On AIX, shared libraries and static libraries use the same namespace, and
11194   # are all built from PIC.
11195   case $host_os in
11196   aix3*)
11197     test "$enable_shared" = yes && enable_static=no
11198     if test -n "$RANLIB"; then
11199       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11200       postinstall_cmds='$RANLIB $lib'
11201     fi
11202     ;;
11203
11204   aix[4-9]*)
11205     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11206       test "$enable_shared" = yes && enable_static=no
11207     fi
11208     ;;
11209   esac
11210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11211 $as_echo "$enable_shared" >&6; }
11212
11213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11214 $as_echo_n "checking whether to build static libraries... " >&6; }
11215   # Make sure either enable_shared or enable_static is yes.
11216   test "$enable_shared" = yes || enable_static=yes
11217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11218 $as_echo "$enable_static" >&6; }
11219
11220
11221
11222
11223 fi
11224 ac_ext=c
11225 ac_cpp='$CPP $CPPFLAGS'
11226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11229
11230 CC="$lt_save_CC"
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244         ac_config_commands="$ac_config_commands libtool"
11245
11246
11247
11248
11249 # Only expand once:
11250
11251
11252 ac_ext=c
11253 ac_cpp='$CPP $CPPFLAGS'
11254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11257 if test -n "$ac_tool_prefix"; then
11258   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11259 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11261 $as_echo_n "checking for $ac_word... " >&6; }
11262 if ${ac_cv_prog_CC+:} false; then :
11263   $as_echo_n "(cached) " >&6
11264 else
11265   if test -n "$CC"; then
11266   ac_cv_prog_CC="$CC" # Let the user override the test.
11267 else
11268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11269 for as_dir in $PATH
11270 do
11271   IFS=$as_save_IFS
11272   test -z "$as_dir" && as_dir=.
11273     for ac_exec_ext in '' $ac_executable_extensions; do
11274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11275     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11277     break 2
11278   fi
11279 done
11280   done
11281 IFS=$as_save_IFS
11282
11283 fi
11284 fi
11285 CC=$ac_cv_prog_CC
11286 if test -n "$CC"; then
11287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11288 $as_echo "$CC" >&6; }
11289 else
11290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11291 $as_echo "no" >&6; }
11292 fi
11293
11294
11295 fi
11296 if test -z "$ac_cv_prog_CC"; then
11297   ac_ct_CC=$CC
11298   # Extract the first word of "gcc", so it can be a program name with args.
11299 set dummy gcc; ac_word=$2
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11301 $as_echo_n "checking for $ac_word... " >&6; }
11302 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11303   $as_echo_n "(cached) " >&6
11304 else
11305   if test -n "$ac_ct_CC"; then
11306   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11307 else
11308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11309 for as_dir in $PATH
11310 do
11311   IFS=$as_save_IFS
11312   test -z "$as_dir" && as_dir=.
11313     for ac_exec_ext in '' $ac_executable_extensions; do
11314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11315     ac_cv_prog_ac_ct_CC="gcc"
11316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11317     break 2
11318   fi
11319 done
11320   done
11321 IFS=$as_save_IFS
11322
11323 fi
11324 fi
11325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11326 if test -n "$ac_ct_CC"; then
11327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11328 $as_echo "$ac_ct_CC" >&6; }
11329 else
11330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11331 $as_echo "no" >&6; }
11332 fi
11333
11334   if test "x$ac_ct_CC" = x; then
11335     CC=""
11336   else
11337     case $cross_compiling:$ac_tool_warned in
11338 yes:)
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11341 ac_tool_warned=yes ;;
11342 esac
11343     CC=$ac_ct_CC
11344   fi
11345 else
11346   CC="$ac_cv_prog_CC"
11347 fi
11348
11349 if test -z "$CC"; then
11350           if test -n "$ac_tool_prefix"; then
11351     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11352 set dummy ${ac_tool_prefix}cc; ac_word=$2
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11354 $as_echo_n "checking for $ac_word... " >&6; }
11355 if ${ac_cv_prog_CC+:} false; then :
11356   $as_echo_n "(cached) " >&6
11357 else
11358   if test -n "$CC"; then
11359   ac_cv_prog_CC="$CC" # Let the user override the test.
11360 else
11361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11362 for as_dir in $PATH
11363 do
11364   IFS=$as_save_IFS
11365   test -z "$as_dir" && as_dir=.
11366     for ac_exec_ext in '' $ac_executable_extensions; do
11367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11368     ac_cv_prog_CC="${ac_tool_prefix}cc"
11369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11370     break 2
11371   fi
11372 done
11373   done
11374 IFS=$as_save_IFS
11375
11376 fi
11377 fi
11378 CC=$ac_cv_prog_CC
11379 if test -n "$CC"; then
11380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11381 $as_echo "$CC" >&6; }
11382 else
11383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11384 $as_echo "no" >&6; }
11385 fi
11386
11387
11388   fi
11389 fi
11390 if test -z "$CC"; then
11391   # Extract the first word of "cc", so it can be a program name with args.
11392 set dummy cc; ac_word=$2
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11394 $as_echo_n "checking for $ac_word... " >&6; }
11395 if ${ac_cv_prog_CC+:} false; then :
11396   $as_echo_n "(cached) " >&6
11397 else
11398   if test -n "$CC"; then
11399   ac_cv_prog_CC="$CC" # Let the user override the test.
11400 else
11401   ac_prog_rejected=no
11402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11403 for as_dir in $PATH
11404 do
11405   IFS=$as_save_IFS
11406   test -z "$as_dir" && as_dir=.
11407     for ac_exec_ext in '' $ac_executable_extensions; do
11408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11409     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11410        ac_prog_rejected=yes
11411        continue
11412      fi
11413     ac_cv_prog_CC="cc"
11414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11415     break 2
11416   fi
11417 done
11418   done
11419 IFS=$as_save_IFS
11420
11421 if test $ac_prog_rejected = yes; then
11422   # We found a bogon in the path, so make sure we never use it.
11423   set dummy $ac_cv_prog_CC
11424   shift
11425   if test $# != 0; then
11426     # We chose a different compiler from the bogus one.
11427     # However, it has the same basename, so the bogon will be chosen
11428     # first if we set CC to just the basename; use the full file name.
11429     shift
11430     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11431   fi
11432 fi
11433 fi
11434 fi
11435 CC=$ac_cv_prog_CC
11436 if test -n "$CC"; then
11437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11438 $as_echo "$CC" >&6; }
11439 else
11440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11441 $as_echo "no" >&6; }
11442 fi
11443
11444
11445 fi
11446 if test -z "$CC"; then
11447   if test -n "$ac_tool_prefix"; then
11448   for ac_prog in cl.exe
11449   do
11450     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11451 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11453 $as_echo_n "checking for $ac_word... " >&6; }
11454 if ${ac_cv_prog_CC+:} false; then :
11455   $as_echo_n "(cached) " >&6
11456 else
11457   if test -n "$CC"; then
11458   ac_cv_prog_CC="$CC" # Let the user override the test.
11459 else
11460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11461 for as_dir in $PATH
11462 do
11463   IFS=$as_save_IFS
11464   test -z "$as_dir" && as_dir=.
11465     for ac_exec_ext in '' $ac_executable_extensions; do
11466   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11467     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11468     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11469     break 2
11470   fi
11471 done
11472   done
11473 IFS=$as_save_IFS
11474
11475 fi
11476 fi
11477 CC=$ac_cv_prog_CC
11478 if test -n "$CC"; then
11479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11480 $as_echo "$CC" >&6; }
11481 else
11482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11483 $as_echo "no" >&6; }
11484 fi
11485
11486
11487     test -n "$CC" && break
11488   done
11489 fi
11490 if test -z "$CC"; then
11491   ac_ct_CC=$CC
11492   for ac_prog in cl.exe
11493 do
11494   # Extract the first word of "$ac_prog", so it can be a program name with args.
11495 set dummy $ac_prog; ac_word=$2
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11497 $as_echo_n "checking for $ac_word... " >&6; }
11498 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11499   $as_echo_n "(cached) " >&6
11500 else
11501   if test -n "$ac_ct_CC"; then
11502   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11503 else
11504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11505 for as_dir in $PATH
11506 do
11507   IFS=$as_save_IFS
11508   test -z "$as_dir" && as_dir=.
11509     for ac_exec_ext in '' $ac_executable_extensions; do
11510   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11511     ac_cv_prog_ac_ct_CC="$ac_prog"
11512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11513     break 2
11514   fi
11515 done
11516   done
11517 IFS=$as_save_IFS
11518
11519 fi
11520 fi
11521 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11522 if test -n "$ac_ct_CC"; then
11523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11524 $as_echo "$ac_ct_CC" >&6; }
11525 else
11526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11527 $as_echo "no" >&6; }
11528 fi
11529
11530
11531   test -n "$ac_ct_CC" && break
11532 done
11533
11534   if test "x$ac_ct_CC" = x; then
11535     CC=""
11536   else
11537     case $cross_compiling:$ac_tool_warned in
11538 yes:)
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11541 ac_tool_warned=yes ;;
11542 esac
11543     CC=$ac_ct_CC
11544   fi
11545 fi
11546
11547 fi
11548
11549
11550 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11552 as_fn_error $? "no acceptable C compiler found in \$PATH
11553 See \`config.log' for more details" "$LINENO" 5; }
11554
11555 # Provide some information about the compiler.
11556 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11557 set X $ac_compile
11558 ac_compiler=$2
11559 for ac_option in --version -v -V -qversion; do
11560   { { ac_try="$ac_compiler $ac_option >&5"
11561 case "(($ac_try" in
11562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11563   *) ac_try_echo=$ac_try;;
11564 esac
11565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11566 $as_echo "$ac_try_echo"; } >&5
11567   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11568   ac_status=$?
11569   if test -s conftest.err; then
11570     sed '10a\
11571 ... rest of stderr output deleted ...
11572          10q' conftest.err >conftest.er1
11573     cat conftest.er1 >&5
11574   fi
11575   rm -f conftest.er1 conftest.err
11576   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11577   test $ac_status = 0; }
11578 done
11579
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11581 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11582 if ${ac_cv_c_compiler_gnu+:} false; then :
11583   $as_echo_n "(cached) " >&6
11584 else
11585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h.  */
11587
11588 int
11589 main ()
11590 {
11591 #ifndef __GNUC__
11592        choke me
11593 #endif
11594
11595   ;
11596   return 0;
11597 }
11598 _ACEOF
11599 if ac_fn_c_try_compile "$LINENO"; then :
11600   ac_compiler_gnu=yes
11601 else
11602   ac_compiler_gnu=no
11603 fi
11604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11605 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11606
11607 fi
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11609 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11610 if test $ac_compiler_gnu = yes; then
11611   GCC=yes
11612 else
11613   GCC=
11614 fi
11615 ac_test_CFLAGS=${CFLAGS+set}
11616 ac_save_CFLAGS=$CFLAGS
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11618 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11619 if ${ac_cv_prog_cc_g+:} false; then :
11620   $as_echo_n "(cached) " >&6
11621 else
11622   ac_save_c_werror_flag=$ac_c_werror_flag
11623    ac_c_werror_flag=yes
11624    ac_cv_prog_cc_g=no
11625    CFLAGS="-g"
11626    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11627 /* end confdefs.h.  */
11628
11629 int
11630 main ()
11631 {
11632
11633   ;
11634   return 0;
11635 }
11636 _ACEOF
11637 if ac_fn_c_try_compile "$LINENO"; then :
11638   ac_cv_prog_cc_g=yes
11639 else
11640   CFLAGS=""
11641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11642 /* end confdefs.h.  */
11643
11644 int
11645 main ()
11646 {
11647
11648   ;
11649   return 0;
11650 }
11651 _ACEOF
11652 if ac_fn_c_try_compile "$LINENO"; then :
11653
11654 else
11655   ac_c_werror_flag=$ac_save_c_werror_flag
11656          CFLAGS="-g"
11657          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658 /* end confdefs.h.  */
11659
11660 int
11661 main ()
11662 {
11663
11664   ;
11665   return 0;
11666 }
11667 _ACEOF
11668 if ac_fn_c_try_compile "$LINENO"; then :
11669   ac_cv_prog_cc_g=yes
11670 fi
11671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11672 fi
11673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11674 fi
11675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11676    ac_c_werror_flag=$ac_save_c_werror_flag
11677 fi
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11679 $as_echo "$ac_cv_prog_cc_g" >&6; }
11680 if test "$ac_test_CFLAGS" = set; then
11681   CFLAGS=$ac_save_CFLAGS
11682 elif test $ac_cv_prog_cc_g = yes; then
11683   if test "$GCC" = yes; then
11684     CFLAGS="-g -O2"
11685   else
11686     CFLAGS="-g"
11687   fi
11688 else
11689   if test "$GCC" = yes; then
11690     CFLAGS="-O2"
11691   else
11692     CFLAGS=
11693   fi
11694 fi
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11696 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11697 if ${ac_cv_prog_cc_c89+:} false; then :
11698   $as_echo_n "(cached) " >&6
11699 else
11700   ac_cv_prog_cc_c89=no
11701 ac_save_CC=$CC
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h.  */
11704 #include <stdarg.h>
11705 #include <stdio.h>
11706 #include <sys/types.h>
11707 #include <sys/stat.h>
11708 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11709 struct buf { int x; };
11710 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11711 static char *e (p, i)
11712      char **p;
11713      int i;
11714 {
11715   return p[i];
11716 }
11717 static char *f (char * (*g) (char **, int), char **p, ...)
11718 {
11719   char *s;
11720   va_list v;
11721   va_start (v,p);
11722   s = g (p, va_arg (v,int));
11723   va_end (v);
11724   return s;
11725 }
11726
11727 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11728    function prototypes and stuff, but not '\xHH' hex character constants.
11729    These don't provoke an error unfortunately, instead are silently treated
11730    as 'x'.  The following induces an error, until -std is added to get
11731    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11732    array size at least.  It's necessary to write '\x00'==0 to get something
11733    that's true only with -std.  */
11734 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11735
11736 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11737    inside strings and character constants.  */
11738 #define FOO(x) 'x'
11739 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11740
11741 int test (int i, double x);
11742 struct s1 {int (*f) (int a);};
11743 struct s2 {int (*f) (double a);};
11744 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11745 int argc;
11746 char **argv;
11747 int
11748 main ()
11749 {
11750 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11751   ;
11752   return 0;
11753 }
11754 _ACEOF
11755 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11756         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11757 do
11758   CC="$ac_save_CC $ac_arg"
11759   if ac_fn_c_try_compile "$LINENO"; then :
11760   ac_cv_prog_cc_c89=$ac_arg
11761 fi
11762 rm -f core conftest.err conftest.$ac_objext
11763   test "x$ac_cv_prog_cc_c89" != "xno" && break
11764 done
11765 rm -f conftest.$ac_ext
11766 CC=$ac_save_CC
11767
11768 fi
11769 # AC_CACHE_VAL
11770 case "x$ac_cv_prog_cc_c89" in
11771   x)
11772     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11773 $as_echo "none needed" >&6; } ;;
11774   xno)
11775     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11776 $as_echo "unsupported" >&6; } ;;
11777   *)
11778     CC="$CC $ac_cv_prog_cc_c89"
11779     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11780 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11781 esac
11782 if test "x$ac_cv_prog_cc_c89" != xno; then :
11783
11784 fi
11785
11786 ac_ext=c
11787 ac_cpp='$CPP $CPPFLAGS'
11788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11791
11792 depcc="$CC"   am_compiler_list=
11793
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11795 $as_echo_n "checking dependency style of $depcc... " >&6; }
11796 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11797   $as_echo_n "(cached) " >&6
11798 else
11799   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11800   # We make a subdir and do the tests there.  Otherwise we can end up
11801   # making bogus files that we don't know about and never remove.  For
11802   # instance it was reported that on HP-UX the gcc test will end up
11803   # making a dummy file named `D' -- because `-MD' means `put the output
11804   # in D'.
11805   mkdir conftest.dir
11806   # Copy depcomp to subdir because otherwise we won't find it if we're
11807   # using a relative directory.
11808   cp "$am_depcomp" conftest.dir
11809   cd conftest.dir
11810   # We will build objects and dependencies in a subdirectory because
11811   # it helps to detect inapplicable dependency modes.  For instance
11812   # both Tru64's cc and ICC support -MD to output dependencies as a
11813   # side effect of compilation, but ICC will put the dependencies in
11814   # the current directory while Tru64 will put them in the object
11815   # directory.
11816   mkdir sub
11817
11818   am_cv_CC_dependencies_compiler_type=none
11819   if test "$am_compiler_list" = ""; then
11820      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11821   fi
11822   am__universal=false
11823   case " $depcc " in #(
11824      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11825      esac
11826
11827   for depmode in $am_compiler_list; do
11828     # Setup a source with many dependencies, because some compilers
11829     # like to wrap large dependency lists on column 80 (with \), and
11830     # we should not choose a depcomp mode which is confused by this.
11831     #
11832     # We need to recreate these files for each test, as the compiler may
11833     # overwrite some of them when testing with obscure command lines.
11834     # This happens at least with the AIX C compiler.
11835     : > sub/conftest.c
11836     for i in 1 2 3 4 5 6; do
11837       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11838       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11839       # Solaris 8's {/usr,}/bin/sh.
11840       touch sub/conftst$i.h
11841     done
11842     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11843
11844     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11845     # mode.  It turns out that the SunPro C++ compiler does not properly
11846     # handle `-M -o', and we need to detect this.  Also, some Intel
11847     # versions had trouble with output in subdirs
11848     am__obj=sub/conftest.${OBJEXT-o}
11849     am__minus_obj="-o $am__obj"
11850     case $depmode in
11851     gcc)
11852       # This depmode causes a compiler race in universal mode.
11853       test "$am__universal" = false || continue
11854       ;;
11855     nosideeffect)
11856       # after this tag, mechanisms are not by side-effect, so they'll
11857       # only be used when explicitly requested
11858       if test "x$enable_dependency_tracking" = xyes; then
11859         continue
11860       else
11861         break
11862       fi
11863       ;;
11864     msvisualcpp | msvcmsys)
11865       # This compiler won't grok `-c -o', but also, the minuso test has
11866       # not run yet.  These depmodes are late enough in the game, and
11867       # so weak that their functioning should not be impacted.
11868       am__obj=conftest.${OBJEXT-o}
11869       am__minus_obj=
11870       ;;
11871     none) break ;;
11872     esac
11873     if depmode=$depmode \
11874        source=sub/conftest.c object=$am__obj \
11875        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11876        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11877          >/dev/null 2>conftest.err &&
11878        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11879        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11880        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11881        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11882       # icc doesn't choke on unknown options, it will just issue warnings
11883       # or remarks (even with -Werror).  So we grep stderr for any message
11884       # that says an option was ignored or not supported.
11885       # When given -MP, icc 7.0 and 7.1 complain thusly:
11886       #   icc: Command line warning: ignoring option '-M'; no argument required
11887       # The diagnosis changed in icc 8.0:
11888       #   icc: Command line remark: option '-MP' not supported
11889       if (grep 'ignoring option' conftest.err ||
11890           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11891         am_cv_CC_dependencies_compiler_type=$depmode
11892         break
11893       fi
11894     fi
11895   done
11896
11897   cd ..
11898   rm -rf conftest.dir
11899 else
11900   am_cv_CC_dependencies_compiler_type=none
11901 fi
11902
11903 fi
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11905 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11906 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11907
11908  if
11909   test "x$enable_dependency_tracking" != xno \
11910   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11911   am__fastdepCC_TRUE=
11912   am__fastdepCC_FALSE='#'
11913 else
11914   am__fastdepCC_TRUE='#'
11915   am__fastdepCC_FALSE=
11916 fi
11917
11918
11919
11920 if test "x$CC" != xcc; then
11921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11922 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11923 else
11924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11925 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11926 fi
11927 set dummy $CC; ac_cc=`$as_echo "$2" |
11928                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11929 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
11930   $as_echo_n "(cached) " >&6
11931 else
11932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h.  */
11934
11935 int
11936 main ()
11937 {
11938
11939   ;
11940   return 0;
11941 }
11942 _ACEOF
11943 # Make sure it works both with $CC and with simple cc.
11944 # We do the test twice because some compilers refuse to overwrite an
11945 # existing .o file with -o, though they will create one.
11946 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11947 rm -f conftest2.*
11948 if { { case "(($ac_try" in
11949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11950   *) ac_try_echo=$ac_try;;
11951 esac
11952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11953 $as_echo "$ac_try_echo"; } >&5
11954   (eval "$ac_try") 2>&5
11955   ac_status=$?
11956   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11957   test $ac_status = 0; } &&
11958    test -f conftest2.$ac_objext && { { case "(($ac_try" in
11959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11960   *) ac_try_echo=$ac_try;;
11961 esac
11962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11963 $as_echo "$ac_try_echo"; } >&5
11964   (eval "$ac_try") 2>&5
11965   ac_status=$?
11966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11967   test $ac_status = 0; };
11968 then
11969   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11970   if test "x$CC" != xcc; then
11971     # Test first that cc exists at all.
11972     if { ac_try='cc -c conftest.$ac_ext >&5'
11973   { { case "(($ac_try" in
11974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11975   *) ac_try_echo=$ac_try;;
11976 esac
11977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11978 $as_echo "$ac_try_echo"; } >&5
11979   (eval "$ac_try") 2>&5
11980   ac_status=$?
11981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11982   test $ac_status = 0; }; }; then
11983       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11984       rm -f conftest2.*
11985       if { { case "(($ac_try" in
11986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11987   *) ac_try_echo=$ac_try;;
11988 esac
11989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11990 $as_echo "$ac_try_echo"; } >&5
11991   (eval "$ac_try") 2>&5
11992   ac_status=$?
11993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11994   test $ac_status = 0; } &&
11995          test -f conftest2.$ac_objext && { { case "(($ac_try" in
11996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11997   *) ac_try_echo=$ac_try;;
11998 esac
11999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12000 $as_echo "$ac_try_echo"; } >&5
12001   (eval "$ac_try") 2>&5
12002   ac_status=$?
12003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12004   test $ac_status = 0; };
12005       then
12006         # cc works too.
12007         :
12008       else
12009         # cc exists but doesn't like -o.
12010         eval ac_cv_prog_cc_${ac_cc}_c_o=no
12011       fi
12012     fi
12013   fi
12014 else
12015   eval ac_cv_prog_cc_${ac_cc}_c_o=no
12016 fi
12017 rm -f core conftest*
12018
12019 fi
12020 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12022 $as_echo "yes" >&6; }
12023 else
12024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12026
12027 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12028
12029 fi
12030
12031 # FIXME: we rely on the cache variable name because
12032 # there is no other way.
12033 set dummy $CC
12034 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12035 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12036 if test "$am_t" != yes; then
12037    # Losing compiler, so override with the script.
12038    # FIXME: It is wrong to rewrite CC.
12039    # But if we don't then we get into trouble of one sort or another.
12040    # A longer-term fix would be to have automake use am__CC in this case,
12041    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12042    CC="$am_aux_dir/compile $CC"
12043 fi
12044
12045
12046
12047 case $target_os in
12048      *linux*)   arch=linux;;
12049      *netbsd*)  arch=netbsd;;
12050      *bsd*)     arch=bsd;;
12051      *)         arch=unknown;;
12052 esac
12053
12054 if test "$ac_env_CFLAGS_set" != set; then
12055         CFLAGS="-Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing"
12056 fi
12057
12058 # Check whether --enable-lib was given.
12059 if test "${enable_lib+set}" = set; then :
12060   enableval=$enable_lib;
12061 fi
12062
12063 # Check whether --enable-util was given.
12064 if test "${enable_util+set}" = set; then :
12065   enableval=$enable_util;
12066 fi
12067
12068 # Check whether --enable-example was given.
12069 if test "${enable_example+set}" = set; then :
12070   enableval=$enable_example;
12071 fi
12072
12073 # Check whether --enable-mtab was given.
12074 if test "${enable_mtab+set}" = set; then :
12075   enableval=$enable_mtab;
12076 fi
12077
12078
12079
12080 # Check whether --with-pkgconfigdir was given.
12081 if test "${with_pkgconfigdir+set}" = set; then :
12082   withval=$with_pkgconfigdir; pkgconfigdir=$withval
12083 else
12084   pkgconfigdir='${libdir}/pkgconfig'
12085 fi
12086
12087
12088
12089 subdirs2="include"
12090
12091 if test "$enable_lib" != "no"; then
12092         subdirs2="$subdirs2 lib";
12093 fi
12094 if test "$arch" = linux -a "$enable_util" != "no"; then
12095         subdirs2="$subdirs2 util";
12096 fi
12097 if test "$enable_example" != "no"; then
12098         subdirs2="$subdirs2 example";
12099 fi
12100 if test "$enable_mtab" = "no"; then
12101
12102 $as_echo "#define IGNORE_MTAB 1" >>confdefs.h
12103
12104 fi
12105
12106 for ac_func in fork setxattr fdatasync splice vmsplice utimensat
12107 do :
12108   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12109 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12110 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12111   cat >>confdefs.h <<_ACEOF
12112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12113 _ACEOF
12114
12115 fi
12116 done
12117
12118 for ac_func in posix_fallocate
12119 do :
12120   ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
12121 if test "x$ac_cv_func_posix_fallocate" = xyes; then :
12122   cat >>confdefs.h <<_ACEOF
12123 #define HAVE_POSIX_FALLOCATE 1
12124 _ACEOF
12125
12126 fi
12127 done
12128
12129 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
12130 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
12131
12132 cat >>confdefs.h <<_ACEOF
12133 #define HAVE_STRUCT_STAT_ST_ATIM 1
12134 _ACEOF
12135
12136
12137 fi
12138
12139 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
12140 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
12141
12142 cat >>confdefs.h <<_ACEOF
12143 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12144 _ACEOF
12145
12146
12147 fi
12148
12149
12150 LIBS=
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12152 $as_echo_n "checking for library containing dlopen... " >&6; }
12153 if ${ac_cv_search_dlopen+:} false; then :
12154   $as_echo_n "(cached) " >&6
12155 else
12156   ac_func_search_save_LIBS=$LIBS
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h.  */
12159
12160 /* Override any GCC internal prototype to avoid an error.
12161    Use char because int might match the return type of a GCC
12162    builtin and then its argument prototype would still apply.  */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char dlopen ();
12167 int
12168 main ()
12169 {
12170 return dlopen ();
12171   ;
12172   return 0;
12173 }
12174 _ACEOF
12175 for ac_lib in '' dl; do
12176   if test -z "$ac_lib"; then
12177     ac_res="none required"
12178   else
12179     ac_res=-l$ac_lib
12180     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12181   fi
12182   if ac_fn_c_try_link "$LINENO"; then :
12183   ac_cv_search_dlopen=$ac_res
12184 fi
12185 rm -f core conftest.err conftest.$ac_objext \
12186     conftest$ac_exeext
12187   if ${ac_cv_search_dlopen+:} false; then :
12188   break
12189 fi
12190 done
12191 if ${ac_cv_search_dlopen+:} false; then :
12192
12193 else
12194   ac_cv_search_dlopen=no
12195 fi
12196 rm conftest.$ac_ext
12197 LIBS=$ac_func_search_save_LIBS
12198 fi
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12200 $as_echo "$ac_cv_search_dlopen" >&6; }
12201 ac_res=$ac_cv_search_dlopen
12202 if test "$ac_res" != no; then :
12203   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12204
12205 fi
12206
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
12208 $as_echo_n "checking for library containing clock_gettime... " >&6; }
12209 if ${ac_cv_search_clock_gettime+:} false; then :
12210   $as_echo_n "(cached) " >&6
12211 else
12212   ac_func_search_save_LIBS=$LIBS
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h.  */
12215
12216 /* Override any GCC internal prototype to avoid an error.
12217    Use char because int might match the return type of a GCC
12218    builtin and then its argument prototype would still apply.  */
12219 #ifdef __cplusplus
12220 extern "C"
12221 #endif
12222 char clock_gettime ();
12223 int
12224 main ()
12225 {
12226 return clock_gettime ();
12227   ;
12228   return 0;
12229 }
12230 _ACEOF
12231 for ac_lib in '' rt; do
12232   if test -z "$ac_lib"; then
12233     ac_res="none required"
12234   else
12235     ac_res=-l$ac_lib
12236     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12237   fi
12238   if ac_fn_c_try_link "$LINENO"; then :
12239   ac_cv_search_clock_gettime=$ac_res
12240 fi
12241 rm -f core conftest.err conftest.$ac_objext \
12242     conftest$ac_exeext
12243   if ${ac_cv_search_clock_gettime+:} false; then :
12244   break
12245 fi
12246 done
12247 if ${ac_cv_search_clock_gettime+:} false; then :
12248
12249 else
12250   ac_cv_search_clock_gettime=no
12251 fi
12252 rm conftest.$ac_ext
12253 LIBS=$ac_func_search_save_LIBS
12254 fi
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
12256 $as_echo "$ac_cv_search_clock_gettime" >&6; }
12257 ac_res=$ac_cv_search_clock_gettime
12258 if test "$ac_res" != no; then :
12259   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12260
12261 fi
12262
12263 libfuse_libs=$LIBS
12264 LIBS=
12265
12266 # Check whether --with-libiconv-prefix was given.
12267 if test "${with_libiconv_prefix+set}" = set; then :
12268   withval=$with_libiconv_prefix;
12269     for dir in `echo "$withval" | tr : ' '`; do
12270       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
12271       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
12272     done
12273
12274 fi
12275
12276
12277       if test "X$prefix" = "XNONE"; then
12278     acl_final_prefix="$ac_default_prefix"
12279   else
12280     acl_final_prefix="$prefix"
12281   fi
12282   if test "X$exec_prefix" = "XNONE"; then
12283     acl_final_exec_prefix='${prefix}'
12284   else
12285     acl_final_exec_prefix="$exec_prefix"
12286   fi
12287   acl_save_prefix="$prefix"
12288   prefix="$acl_final_prefix"
12289   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12290   prefix="$acl_save_prefix"
12291
12292
12293 # Check whether --with-gnu-ld was given.
12294 if test "${with_gnu_ld+set}" = set; then :
12295   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12296 else
12297   with_gnu_ld=no
12298 fi
12299
12300 # Prepare PATH_SEPARATOR.
12301 # The user is always right.
12302 if test "${PATH_SEPARATOR+set}" != set; then
12303   echo "#! /bin/sh" >conf$$.sh
12304   echo  "exit 0"   >>conf$$.sh
12305   chmod +x conf$$.sh
12306   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12307     PATH_SEPARATOR=';'
12308   else
12309     PATH_SEPARATOR=:
12310   fi
12311   rm -f conf$$.sh
12312 fi
12313 ac_prog=ld
12314 if test "$GCC" = yes; then
12315   # Check if gcc -print-prog-name=ld gives a path.
12316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12317 $as_echo_n "checking for ld used by GCC... " >&6; }
12318   case $host in
12319   *-*-mingw*)
12320     # gcc leaves a trailing carriage return which upsets mingw
12321     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12322   *)
12323     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12324   esac
12325   case $ac_prog in
12326     # Accept absolute paths.
12327     [\\/]* | [A-Za-z]:[\\/]*)
12328       re_direlt='/[^/][^/]*/\.\./'
12329       # Canonicalize the path of ld
12330       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12331       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12332         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12333       done
12334       test -z "$LD" && LD="$ac_prog"
12335       ;;
12336   "")
12337     # If it fails, then pretend we aren't using GCC.
12338     ac_prog=ld
12339     ;;
12340   *)
12341     # If it is relative, then search for the first ld in PATH.
12342     with_gnu_ld=unknown
12343     ;;
12344   esac
12345 elif test "$with_gnu_ld" = yes; then
12346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12347 $as_echo_n "checking for GNU ld... " >&6; }
12348 else
12349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12350 $as_echo_n "checking for non-GNU ld... " >&6; }
12351 fi
12352 if ${acl_cv_path_LD+:} false; then :
12353   $as_echo_n "(cached) " >&6
12354 else
12355   if test -z "$LD"; then
12356   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12357   for ac_dir in $PATH; do
12358     test -z "$ac_dir" && ac_dir=.
12359     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12360       acl_cv_path_LD="$ac_dir/$ac_prog"
12361       # Check to see if the program is GNU ld.  I'd rather use --version,
12362       # but apparently some GNU ld's only accept -v.
12363       # Break only if it was the GNU/non-GNU ld that we prefer.
12364       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12365       *GNU* | *'with BFD'*)
12366         test "$with_gnu_ld" != no && break ;;
12367       *)
12368         test "$with_gnu_ld" != yes && break ;;
12369       esac
12370     fi
12371   done
12372   IFS="$ac_save_ifs"
12373 else
12374   acl_cv_path_LD="$LD" # Let the user override the test with a path.
12375 fi
12376 fi
12377
12378 LD="$acl_cv_path_LD"
12379 if test -n "$LD"; then
12380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12381 $as_echo "$LD" >&6; }
12382 else
12383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12384 $as_echo "no" >&6; }
12385 fi
12386 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12388 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12389 if ${acl_cv_prog_gnu_ld+:} false; then :
12390   $as_echo_n "(cached) " >&6
12391 else
12392   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12393 case `$LD -v 2>&1 </dev/null` in
12394 *GNU* | *'with BFD'*)
12395   acl_cv_prog_gnu_ld=yes ;;
12396 *)
12397   acl_cv_prog_gnu_ld=no ;;
12398 esac
12399 fi
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12401 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12402 with_gnu_ld=$acl_cv_prog_gnu_ld
12403
12404
12405
12406
12407                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12408 $as_echo_n "checking for shared library run path origin... " >&6; }
12409 if ${acl_cv_rpath+:} false; then :
12410   $as_echo_n "(cached) " >&6
12411 else
12412
12413     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12414     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12415     . ./conftest.sh
12416     rm -f ./conftest.sh
12417     acl_cv_rpath=done
12418
12419 fi
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12421 $as_echo "$acl_cv_rpath" >&6; }
12422   wl="$acl_cv_wl"
12423   acl_libext="$acl_cv_libext"
12424   acl_shlibext="$acl_cv_shlibext"
12425   acl_libname_spec="$acl_cv_libname_spec"
12426   acl_library_names_spec="$acl_cv_library_names_spec"
12427   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12428   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12429   acl_hardcode_direct="$acl_cv_hardcode_direct"
12430   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12431     # Check whether --enable-rpath was given.
12432 if test "${enable_rpath+set}" = set; then :
12433   enableval=$enable_rpath; :
12434 else
12435   enable_rpath=yes
12436 fi
12437
12438
12439
12440
12441   acl_libdirstem=lib
12442   acl_libdirstem2=
12443   case "$host_os" in
12444     solaris*)
12445                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
12446 $as_echo_n "checking for 64-bit host... " >&6; }
12447 if ${gl_cv_solaris_64bit+:} false; then :
12448   $as_echo_n "(cached) " >&6
12449 else
12450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h.  */
12452
12453 #ifdef _LP64
12454 sixtyfour bits
12455 #endif
12456
12457 _ACEOF
12458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12459   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
12460   gl_cv_solaris_64bit=yes
12461 else
12462   gl_cv_solaris_64bit=no
12463 fi
12464 rm -f conftest*
12465
12466
12467 fi
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
12469 $as_echo "$gl_cv_solaris_64bit" >&6; }
12470       if test $gl_cv_solaris_64bit = yes; then
12471         acl_libdirstem=lib/64
12472         case "$host_cpu" in
12473           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
12474           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
12475         esac
12476       fi
12477       ;;
12478     *)
12479       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12480       if test -n "$searchpath"; then
12481         acl_save_IFS="${IFS=    }"; IFS=":"
12482         for searchdir in $searchpath; do
12483           if test -d "$searchdir"; then
12484             case "$searchdir" in
12485               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12486               */../ | */.. )
12487                 # Better ignore directories of this form. They are misleading.
12488                 ;;
12489               *) searchdir=`cd "$searchdir" && pwd`
12490                  case "$searchdir" in
12491                    */lib64 ) acl_libdirstem=lib64 ;;
12492                  esac ;;
12493             esac
12494           fi
12495         done
12496         IFS="$acl_save_IFS"
12497       fi
12498       ;;
12499   esac
12500   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513     use_additional=yes
12514
12515   acl_save_prefix="$prefix"
12516   prefix="$acl_final_prefix"
12517   acl_save_exec_prefix="$exec_prefix"
12518   exec_prefix="$acl_final_exec_prefix"
12519
12520     eval additional_includedir=\"$includedir\"
12521     eval additional_libdir=\"$libdir\"
12522
12523   exec_prefix="$acl_save_exec_prefix"
12524   prefix="$acl_save_prefix"
12525
12526
12527 # Check whether --with-libiconv-prefix was given.
12528 if test "${with_libiconv_prefix+set}" = set; then :
12529   withval=$with_libiconv_prefix;
12530     if test "X$withval" = "Xno"; then
12531       use_additional=no
12532     else
12533       if test "X$withval" = "X"; then
12534
12535   acl_save_prefix="$prefix"
12536   prefix="$acl_final_prefix"
12537   acl_save_exec_prefix="$exec_prefix"
12538   exec_prefix="$acl_final_exec_prefix"
12539
12540           eval additional_includedir=\"$includedir\"
12541           eval additional_libdir=\"$libdir\"
12542
12543   exec_prefix="$acl_save_exec_prefix"
12544   prefix="$acl_save_prefix"
12545
12546       else
12547         additional_includedir="$withval/include"
12548         additional_libdir="$withval/$acl_libdirstem"
12549         if test "$acl_libdirstem2" != "$acl_libdirstem" \
12550            && ! test -d "$withval/$acl_libdirstem"; then
12551           additional_libdir="$withval/$acl_libdirstem2"
12552         fi
12553       fi
12554     fi
12555
12556 fi
12557
12558       LIBICONV=
12559   LTLIBICONV=
12560   INCICONV=
12561   LIBICONV_PREFIX=
12562       HAVE_LIBICONV=
12563   rpathdirs=
12564   ltrpathdirs=
12565   names_already_handled=
12566   names_next_round='iconv '
12567   while test -n "$names_next_round"; do
12568     names_this_round="$names_next_round"
12569     names_next_round=
12570     for name in $names_this_round; do
12571       already_handled=
12572       for n in $names_already_handled; do
12573         if test "$n" = "$name"; then
12574           already_handled=yes
12575           break
12576         fi
12577       done
12578       if test -z "$already_handled"; then
12579         names_already_handled="$names_already_handled $name"
12580                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12581         eval value=\"\$HAVE_LIB$uppername\"
12582         if test -n "$value"; then
12583           if test "$value" = yes; then
12584             eval value=\"\$LIB$uppername\"
12585             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12586             eval value=\"\$LTLIB$uppername\"
12587             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12588           else
12589                                     :
12590           fi
12591         else
12592                               found_dir=
12593           found_la=
12594           found_so=
12595           found_a=
12596           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
12597           if test -n "$acl_shlibext"; then
12598             shrext=".$acl_shlibext"             # typically: shrext=.so
12599           else
12600             shrext=
12601           fi
12602           if test $use_additional = yes; then
12603             dir="$additional_libdir"
12604                                     if test -n "$acl_shlibext"; then
12605               if test -f "$dir/$libname$shrext"; then
12606                 found_dir="$dir"
12607                 found_so="$dir/$libname$shrext"
12608               else
12609                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12610                   ver=`(cd "$dir" && \
12611                         for f in "$libname$shrext".*; do echo "$f"; done \
12612                         | sed -e "s,^$libname$shrext\\\\.,," \
12613                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12614                         | sed 1q ) 2>/dev/null`
12615                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12616                     found_dir="$dir"
12617                     found_so="$dir/$libname$shrext.$ver"
12618                   fi
12619                 else
12620                   eval library_names=\"$acl_library_names_spec\"
12621                   for f in $library_names; do
12622                     if test -f "$dir/$f"; then
12623                       found_dir="$dir"
12624                       found_so="$dir/$f"
12625                       break
12626                     fi
12627                   done
12628                 fi
12629               fi
12630             fi
12631                         if test "X$found_dir" = "X"; then
12632               if test -f "$dir/$libname.$acl_libext"; then
12633                 found_dir="$dir"
12634                 found_a="$dir/$libname.$acl_libext"
12635               fi
12636             fi
12637             if test "X$found_dir" != "X"; then
12638               if test -f "$dir/$libname.la"; then
12639                 found_la="$dir/$libname.la"
12640               fi
12641             fi
12642           fi
12643           if test "X$found_dir" = "X"; then
12644             for x in $LDFLAGS $LTLIBICONV; do
12645
12646   acl_save_prefix="$prefix"
12647   prefix="$acl_final_prefix"
12648   acl_save_exec_prefix="$exec_prefix"
12649   exec_prefix="$acl_final_exec_prefix"
12650   eval x=\"$x\"
12651   exec_prefix="$acl_save_exec_prefix"
12652   prefix="$acl_save_prefix"
12653
12654               case "$x" in
12655                 -L*)
12656                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12657                                     if test -n "$acl_shlibext"; then
12658                     if test -f "$dir/$libname$shrext"; then
12659                       found_dir="$dir"
12660                       found_so="$dir/$libname$shrext"
12661                     else
12662                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12663                         ver=`(cd "$dir" && \
12664                               for f in "$libname$shrext".*; do echo "$f"; done \
12665                               | sed -e "s,^$libname$shrext\\\\.,," \
12666                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12667                               | sed 1q ) 2>/dev/null`
12668                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12669                           found_dir="$dir"
12670                           found_so="$dir/$libname$shrext.$ver"
12671                         fi
12672                       else
12673                         eval library_names=\"$acl_library_names_spec\"
12674                         for f in $library_names; do
12675                           if test -f "$dir/$f"; then
12676                             found_dir="$dir"
12677                             found_so="$dir/$f"
12678                             break
12679                           fi
12680                         done
12681                       fi
12682                     fi
12683                   fi
12684                                     if test "X$found_dir" = "X"; then
12685                     if test -f "$dir/$libname.$acl_libext"; then
12686                       found_dir="$dir"
12687                       found_a="$dir/$libname.$acl_libext"
12688                     fi
12689                   fi
12690                   if test "X$found_dir" != "X"; then
12691                     if test -f "$dir/$libname.la"; then
12692                       found_la="$dir/$libname.la"
12693                     fi
12694                   fi
12695                   ;;
12696               esac
12697               if test "X$found_dir" != "X"; then
12698                 break
12699               fi
12700             done
12701           fi
12702           if test "X$found_dir" != "X"; then
12703                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12704             if test "X$found_so" != "X"; then
12705                                                         if test "$enable_rpath" = no \
12706                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
12707                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
12708                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12709               else
12710                                                                                 haveit=
12711                 for x in $ltrpathdirs; do
12712                   if test "X$x" = "X$found_dir"; then
12713                     haveit=yes
12714                     break
12715                   fi
12716                 done
12717                 if test -z "$haveit"; then
12718                   ltrpathdirs="$ltrpathdirs $found_dir"
12719                 fi
12720                                 if test "$acl_hardcode_direct" = yes; then
12721                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12722                 else
12723                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12724                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12725                                                             haveit=
12726                     for x in $rpathdirs; do
12727                       if test "X$x" = "X$found_dir"; then
12728                         haveit=yes
12729                         break
12730                       fi
12731                     done
12732                     if test -z "$haveit"; then
12733                       rpathdirs="$rpathdirs $found_dir"
12734                     fi
12735                   else
12736                                                                                 haveit=
12737                     for x in $LDFLAGS $LIBICONV; do
12738
12739   acl_save_prefix="$prefix"
12740   prefix="$acl_final_prefix"
12741   acl_save_exec_prefix="$exec_prefix"
12742   exec_prefix="$acl_final_exec_prefix"
12743   eval x=\"$x\"
12744   exec_prefix="$acl_save_exec_prefix"
12745   prefix="$acl_save_prefix"
12746
12747                       if test "X$x" = "X-L$found_dir"; then
12748                         haveit=yes
12749                         break
12750                       fi
12751                     done
12752                     if test -z "$haveit"; then
12753                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12754                     fi
12755                     if test "$acl_hardcode_minus_L" != no; then
12756                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12757                     else
12758                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12759                     fi
12760                   fi
12761                 fi
12762               fi
12763             else
12764               if test "X$found_a" != "X"; then
12765                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12766               else
12767                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12768               fi
12769             fi
12770                         additional_includedir=
12771             case "$found_dir" in
12772               */$acl_libdirstem | */$acl_libdirstem/)
12773                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12774                 if test "$name" = 'iconv'; then
12775                   LIBICONV_PREFIX="$basedir"
12776                 fi
12777                 additional_includedir="$basedir/include"
12778                 ;;
12779               */$acl_libdirstem2 | */$acl_libdirstem2/)
12780                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
12781                 if test "$name" = 'iconv'; then
12782                   LIBICONV_PREFIX="$basedir"
12783                 fi
12784                 additional_includedir="$basedir/include"
12785                 ;;
12786             esac
12787             if test "X$additional_includedir" != "X"; then
12788                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
12789                 haveit=
12790                 if test "X$additional_includedir" = "X/usr/local/include"; then
12791                   if test -n "$GCC"; then
12792                     case $host_os in
12793                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12794                     esac
12795                   fi
12796                 fi
12797                 if test -z "$haveit"; then
12798                   for x in $CPPFLAGS $INCICONV; do
12799
12800   acl_save_prefix="$prefix"
12801   prefix="$acl_final_prefix"
12802   acl_save_exec_prefix="$exec_prefix"
12803   exec_prefix="$acl_final_exec_prefix"
12804   eval x=\"$x\"
12805   exec_prefix="$acl_save_exec_prefix"
12806   prefix="$acl_save_prefix"
12807
12808                     if test "X$x" = "X-I$additional_includedir"; then
12809                       haveit=yes
12810                       break
12811                     fi
12812                   done
12813                   if test -z "$haveit"; then
12814                     if test -d "$additional_includedir"; then
12815                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12816                     fi
12817                   fi
12818                 fi
12819               fi
12820             fi
12821                         if test -n "$found_la"; then
12822                                                         save_libdir="$libdir"
12823               case "$found_la" in
12824                 */* | *\\*) . "$found_la" ;;
12825                 *) . "./$found_la" ;;
12826               esac
12827               libdir="$save_libdir"
12828                             for dep in $dependency_libs; do
12829                 case "$dep" in
12830                   -L*)
12831                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12832                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
12833                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
12834                       haveit=
12835                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
12836                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
12837                         if test -n "$GCC"; then
12838                           case $host_os in
12839                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12840                           esac
12841                         fi
12842                       fi
12843                       if test -z "$haveit"; then
12844                         haveit=
12845                         for x in $LDFLAGS $LIBICONV; do
12846
12847   acl_save_prefix="$prefix"
12848   prefix="$acl_final_prefix"
12849   acl_save_exec_prefix="$exec_prefix"
12850   exec_prefix="$acl_final_exec_prefix"
12851   eval x=\"$x\"
12852   exec_prefix="$acl_save_exec_prefix"
12853   prefix="$acl_save_prefix"
12854
12855                           if test "X$x" = "X-L$additional_libdir"; then
12856                             haveit=yes
12857                             break
12858                           fi
12859                         done
12860                         if test -z "$haveit"; then
12861                           if test -d "$additional_libdir"; then
12862                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12863                           fi
12864                         fi
12865                         haveit=
12866                         for x in $LDFLAGS $LTLIBICONV; do
12867
12868   acl_save_prefix="$prefix"
12869   prefix="$acl_final_prefix"
12870   acl_save_exec_prefix="$exec_prefix"
12871   exec_prefix="$acl_final_exec_prefix"
12872   eval x=\"$x\"
12873   exec_prefix="$acl_save_exec_prefix"
12874   prefix="$acl_save_prefix"
12875
12876                           if test "X$x" = "X-L$additional_libdir"; then
12877                             haveit=yes
12878                             break
12879                           fi
12880                         done
12881                         if test -z "$haveit"; then
12882                           if test -d "$additional_libdir"; then
12883                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12884                           fi
12885                         fi
12886                       fi
12887                     fi
12888                     ;;
12889                   -R*)
12890                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
12891                     if test "$enable_rpath" != no; then
12892                                                                   haveit=
12893                       for x in $rpathdirs; do
12894                         if test "X$x" = "X$dir"; then
12895                           haveit=yes
12896                           break
12897                         fi
12898                       done
12899                       if test -z "$haveit"; then
12900                         rpathdirs="$rpathdirs $dir"
12901                       fi
12902                                                                   haveit=
12903                       for x in $ltrpathdirs; do
12904                         if test "X$x" = "X$dir"; then
12905                           haveit=yes
12906                           break
12907                         fi
12908                       done
12909                       if test -z "$haveit"; then
12910                         ltrpathdirs="$ltrpathdirs $dir"
12911                       fi
12912                     fi
12913                     ;;
12914                   -l*)
12915                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12916                     ;;
12917                   *.la)
12918                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12919                     ;;
12920                   *)
12921                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12922                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12923                     ;;
12924                 esac
12925               done
12926             fi
12927           else
12928                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12929             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12930           fi
12931         fi
12932       fi
12933     done
12934   done
12935   if test "X$rpathdirs" != "X"; then
12936     if test -n "$acl_hardcode_libdir_separator"; then
12937                         alldirs=
12938       for found_dir in $rpathdirs; do
12939         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12940       done
12941             acl_save_libdir="$libdir"
12942       libdir="$alldirs"
12943       eval flag=\"$acl_hardcode_libdir_flag_spec\"
12944       libdir="$acl_save_libdir"
12945       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12946     else
12947             for found_dir in $rpathdirs; do
12948         acl_save_libdir="$libdir"
12949         libdir="$found_dir"
12950         eval flag=\"$acl_hardcode_libdir_flag_spec\"
12951         libdir="$acl_save_libdir"
12952         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12953       done
12954     fi
12955   fi
12956   if test "X$ltrpathdirs" != "X"; then
12957             for found_dir in $ltrpathdirs; do
12958       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12959     done
12960   fi
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973           am_save_CPPFLAGS="$CPPFLAGS"
12974
12975   for element in $INCICONV; do
12976     haveit=
12977     for x in $CPPFLAGS; do
12978
12979   acl_save_prefix="$prefix"
12980   prefix="$acl_final_prefix"
12981   acl_save_exec_prefix="$exec_prefix"
12982   exec_prefix="$acl_final_exec_prefix"
12983   eval x=\"$x\"
12984   exec_prefix="$acl_save_exec_prefix"
12985   prefix="$acl_save_prefix"
12986
12987       if test "X$x" = "X$element"; then
12988         haveit=yes
12989         break
12990       fi
12991     done
12992     if test -z "$haveit"; then
12993       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12994     fi
12995   done
12996
12997
12998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12999 $as_echo_n "checking for iconv... " >&6; }
13000 if ${am_cv_func_iconv+:} false; then :
13001   $as_echo_n "(cached) " >&6
13002 else
13003
13004     am_cv_func_iconv="no, consider installing GNU libiconv"
13005     am_cv_lib_iconv=no
13006     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h.  */
13008 #include <stdlib.h>
13009 #include <iconv.h>
13010 int
13011 main ()
13012 {
13013 iconv_t cd = iconv_open("","");
13014        iconv(cd,NULL,NULL,NULL,NULL);
13015        iconv_close(cd);
13016   ;
13017   return 0;
13018 }
13019 _ACEOF
13020 if ac_fn_c_try_link "$LINENO"; then :
13021   am_cv_func_iconv=yes
13022 fi
13023 rm -f core conftest.err conftest.$ac_objext \
13024     conftest$ac_exeext conftest.$ac_ext
13025     if test "$am_cv_func_iconv" != yes; then
13026       am_save_LIBS="$LIBS"
13027       LIBS="$LIBS $LIBICONV"
13028       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h.  */
13030 #include <stdlib.h>
13031 #include <iconv.h>
13032 int
13033 main ()
13034 {
13035 iconv_t cd = iconv_open("","");
13036          iconv(cd,NULL,NULL,NULL,NULL);
13037          iconv_close(cd);
13038   ;
13039   return 0;
13040 }
13041 _ACEOF
13042 if ac_fn_c_try_link "$LINENO"; then :
13043   am_cv_lib_iconv=yes
13044         am_cv_func_iconv=yes
13045 fi
13046 rm -f core conftest.err conftest.$ac_objext \
13047     conftest$ac_exeext conftest.$ac_ext
13048       LIBS="$am_save_LIBS"
13049     fi
13050
13051 fi
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13053 $as_echo "$am_cv_func_iconv" >&6; }
13054   if test "$am_cv_func_iconv" = yes; then
13055     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13056 $as_echo_n "checking for working iconv... " >&6; }
13057 if ${am_cv_func_iconv_works+:} false; then :
13058   $as_echo_n "(cached) " >&6
13059 else
13060
13061             am_save_LIBS="$LIBS"
13062       if test $am_cv_lib_iconv = yes; then
13063         LIBS="$LIBS $LIBICONV"
13064       fi
13065       if test "$cross_compiling" = yes; then :
13066   case "$host_os" in
13067            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13068            *)            am_cv_func_iconv_works="guessing yes" ;;
13069          esac
13070 else
13071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13072 /* end confdefs.h.  */
13073
13074 #include <iconv.h>
13075 #include <string.h>
13076 int main ()
13077 {
13078   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13079      returns.  */
13080   {
13081     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13082     if (cd_utf8_to_88591 != (iconv_t)(-1))
13083       {
13084         static const char input[] = "\342\202\254"; /* EURO SIGN */
13085         char buf[10];
13086         const char *inptr = input;
13087         size_t inbytesleft = strlen (input);
13088         char *outptr = buf;
13089         size_t outbytesleft = sizeof (buf);
13090         size_t res = iconv (cd_utf8_to_88591,
13091                             (char **) &inptr, &inbytesleft,
13092                             &outptr, &outbytesleft);
13093         if (res == 0)
13094           return 1;
13095       }
13096   }
13097   /* Test against Solaris 10 bug: Failures are not distinguishable from
13098      successful returns.  */
13099   {
13100     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
13101     if (cd_ascii_to_88591 != (iconv_t)(-1))
13102       {
13103         static const char input[] = "\263";
13104         char buf[10];
13105         const char *inptr = input;
13106         size_t inbytesleft = strlen (input);
13107         char *outptr = buf;
13108         size_t outbytesleft = sizeof (buf);
13109         size_t res = iconv (cd_ascii_to_88591,
13110                             (char **) &inptr, &inbytesleft,
13111                             &outptr, &outbytesleft);
13112         if (res == 0)
13113           return 1;
13114       }
13115   }
13116 #if 0 /* This bug could be worked around by the caller.  */
13117   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
13118   {
13119     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13120     if (cd_88591_to_utf8 != (iconv_t)(-1))
13121       {
13122         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13123         char buf[50];
13124         const char *inptr = input;
13125         size_t inbytesleft = strlen (input);
13126         char *outptr = buf;
13127         size_t outbytesleft = sizeof (buf);
13128         size_t res = iconv (cd_88591_to_utf8,
13129                             (char **) &inptr, &inbytesleft,
13130                             &outptr, &outbytesleft);
13131         if ((int)res > 0)
13132           return 1;
13133       }
13134   }
13135 #endif
13136   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13137      provided.  */
13138   if (/* Try standardized names.  */
13139       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13140       /* Try IRIX, OSF/1 names.  */
13141       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13142       /* Try AIX names.  */
13143       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13144       /* Try HP-UX names.  */
13145       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13146     return 1;
13147   return 0;
13148 }
13149 _ACEOF
13150 if ac_fn_c_try_run "$LINENO"; then :
13151   am_cv_func_iconv_works=yes
13152 else
13153   am_cv_func_iconv_works=no
13154 fi
13155 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13156   conftest.$ac_objext conftest.beam conftest.$ac_ext
13157 fi
13158
13159       LIBS="$am_save_LIBS"
13160
13161 fi
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13163 $as_echo "$am_cv_func_iconv_works" >&6; }
13164     case "$am_cv_func_iconv_works" in
13165       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13166       *)   am_func_iconv=yes ;;
13167     esac
13168   else
13169     am_func_iconv=no am_cv_lib_iconv=no
13170   fi
13171   if test "$am_func_iconv" = yes; then
13172
13173 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13174
13175   fi
13176   if test "$am_cv_lib_iconv" = yes; then
13177     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13178 $as_echo_n "checking how to link with libiconv... " >&6; }
13179     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13180 $as_echo "$LIBICONV" >&6; }
13181   else
13182             CPPFLAGS="$am_save_CPPFLAGS"
13183     LIBICONV=
13184     LTLIBICONV=
13185   fi
13186
13187
13188
13189   if test "$am_cv_func_iconv" = yes; then
13190     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13191 $as_echo_n "checking for iconv declaration... " >&6; }
13192     if ${am_cv_proto_iconv+:} false; then :
13193   $as_echo_n "(cached) " >&6
13194 else
13195
13196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13197 /* end confdefs.h.  */
13198
13199 #include <stdlib.h>
13200 #include <iconv.h>
13201 extern
13202 #ifdef __cplusplus
13203 "C"
13204 #endif
13205 #if defined(__STDC__) || defined(__cplusplus)
13206 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
13207 #else
13208 size_t iconv();
13209 #endif
13210
13211 int
13212 main ()
13213 {
13214
13215   ;
13216   return 0;
13217 }
13218 _ACEOF
13219 if ac_fn_c_try_compile "$LINENO"; then :
13220   am_cv_proto_iconv_arg1=""
13221 else
13222   am_cv_proto_iconv_arg1="const"
13223 fi
13224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13225       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
13226 fi
13227
13228     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13229     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
13230          $am_cv_proto_iconv" >&5
13231 $as_echo "
13232          $am_cv_proto_iconv" >&6; }
13233
13234 cat >>confdefs.h <<_ACEOF
13235 #define ICONV_CONST $am_cv_proto_iconv_arg1
13236 _ACEOF
13237
13238   fi
13239
13240 libfuse_libs="$libfuse_libs $LTLIBICONV"
13241  if test "$am_cv_func_iconv" = yes; then
13242   ICONV_TRUE=
13243   ICONV_FALSE='#'
13244 else
13245   ICONV_TRUE='#'
13246   ICONV_FALSE=
13247 fi
13248
13249
13250
13251 if test -z "$MOUNT_FUSE_PATH"; then
13252         MOUNT_FUSE_PATH=/sbin
13253 fi
13254
13255 if test -z "$UDEV_RULES_PATH"; then
13256         UDEV_RULES_PATH=/etc/udev/rules.d
13257 fi
13258
13259 if test -z "$INIT_D_PATH"; then
13260         INIT_D_PATH=/etc/init.d
13261 fi
13262
13263
13264
13265
13266  if test "$arch" = linux; then
13267   LINUX_TRUE=
13268   LINUX_FALSE='#'
13269 else
13270   LINUX_TRUE='#'
13271   LINUX_FALSE=
13272 fi
13273
13274  if test "$arch" = netbsd; then
13275   NETBSD_TRUE=
13276   NETBSD_FALSE='#'
13277 else
13278   NETBSD_TRUE='#'
13279   NETBSD_FALSE=
13280 fi
13281
13282  if test "$arch" = bsd; then
13283   BSD_TRUE=
13284   BSD_FALSE='#'
13285 else
13286   BSD_TRUE='#'
13287   BSD_FALSE=
13288 fi
13289
13290
13291 util_linux_ok=yes
13292 if test "$arch" = linux -a "$cross_compiling" != "yes"; then
13293         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if umount supports --fake --no-canonicalize" >&5
13294 $as_echo_n "checking if umount supports --fake --no-canonicalize... " >&6; }
13295         # exit code of umount is 1 if option is unrecognised, 2 otherwise
13296         umount --fake --no-canonicalize > /dev/null 2>&1
13297         if test $? != 1; then
13298                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13299 $as_echo "yes" >&6; }
13300         else
13301                 firstline=`umount --fake --no-canonicalize 2>&1 | head -1`
13302                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $firstline" >&5
13303 $as_echo "$firstline" >&6; }
13304                 util_linux_ok=no
13305         fi
13306 fi
13307
13308 ac_config_files="$ac_config_files fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile doc/Makefile"
13309
13310 cat >confcache <<\_ACEOF
13311 # This file is a shell script that caches the results of configure
13312 # tests run on this system so they can be shared between configure
13313 # scripts and configure runs, see configure's option --config-cache.
13314 # It is not useful on other systems.  If it contains results you don't
13315 # want to keep, you may remove or edit it.
13316 #
13317 # config.status only pays attention to the cache file if you give it
13318 # the --recheck option to rerun configure.
13319 #
13320 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13321 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13322 # following values.
13323
13324 _ACEOF
13325
13326 # The following way of writing the cache mishandles newlines in values,
13327 # but we know of no workaround that is simple, portable, and efficient.
13328 # So, we kill variables containing newlines.
13329 # Ultrix sh set writes to stderr and can't be redirected directly,
13330 # and sets the high bit in the cache file unless we assign to the vars.
13331 (
13332   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13333     eval ac_val=\$$ac_var
13334     case $ac_val in #(
13335     *${as_nl}*)
13336       case $ac_var in #(
13337       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13338 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13339       esac
13340       case $ac_var in #(
13341       _ | IFS | as_nl) ;; #(
13342       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13343       *) { eval $ac_var=; unset $ac_var;} ;;
13344       esac ;;
13345     esac
13346   done
13347
13348   (set) 2>&1 |
13349     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13350     *${as_nl}ac_space=\ *)
13351       # `set' does not quote correctly, so add quotes: double-quote
13352       # substitution turns \\\\ into \\, and sed turns \\ into \.
13353       sed -n \
13354         "s/'/'\\\\''/g;
13355           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13356       ;; #(
13357     *)
13358       # `set' quotes correctly as required by POSIX, so do not add quotes.
13359       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13360       ;;
13361     esac |
13362     sort
13363 ) |
13364   sed '
13365      /^ac_cv_env_/b end
13366      t clear
13367      :clear
13368      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13369      t end
13370      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13371      :end' >>confcache
13372 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13373   if test -w "$cache_file"; then
13374     if test "x$cache_file" != "x/dev/null"; then
13375       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13376 $as_echo "$as_me: updating cache $cache_file" >&6;}
13377       if test ! -f "$cache_file" || test -h "$cache_file"; then
13378         cat confcache >"$cache_file"
13379       else
13380         case $cache_file in #(
13381         */* | ?:*)
13382           mv -f confcache "$cache_file"$$ &&
13383           mv -f "$cache_file"$$ "$cache_file" ;; #(
13384         *)
13385           mv -f confcache "$cache_file" ;;
13386         esac
13387       fi
13388     fi
13389   else
13390     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13391 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13392   fi
13393 fi
13394 rm -f confcache
13395
13396 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13397 # Let make expand exec_prefix.
13398 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13399
13400 DEFS=-DHAVE_CONFIG_H
13401
13402 ac_libobjs=
13403 ac_ltlibobjs=
13404 U=
13405 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13406   # 1. Remove the extension, and $U if already installed.
13407   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13408   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13409   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13410   #    will be set to the directory where LIBOBJS objects are built.
13411   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13412   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13413 done
13414 LIBOBJS=$ac_libobjs
13415
13416 LTLIBOBJS=$ac_ltlibobjs
13417
13418
13419  if test -n "$EXEEXT"; then
13420   am__EXEEXT_TRUE=
13421   am__EXEEXT_FALSE='#'
13422 else
13423   am__EXEEXT_TRUE='#'
13424   am__EXEEXT_FALSE=
13425 fi
13426
13427 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13428   as_fn_error $? "conditional \"AMDEP\" was never defined.
13429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13430 fi
13431 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13432   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13434 fi
13435 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13436   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13438 fi
13439 if test -z "${ICONV_TRUE}" && test -z "${ICONV_FALSE}"; then
13440   as_fn_error $? "conditional \"ICONV\" was never defined.
13441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13442 fi
13443 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
13444   as_fn_error $? "conditional \"LINUX\" was never defined.
13445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13446 fi
13447 if test -z "${NETBSD_TRUE}" && test -z "${NETBSD_FALSE}"; then
13448   as_fn_error $? "conditional \"NETBSD\" was never defined.
13449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13450 fi
13451 if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
13452   as_fn_error $? "conditional \"BSD\" was never defined.
13453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13454 fi
13455
13456 : "${CONFIG_STATUS=./config.status}"
13457 ac_write_fail=0
13458 ac_clean_files_save=$ac_clean_files
13459 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13461 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13462 as_write_fail=0
13463 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13464 #! $SHELL
13465 # Generated by $as_me.
13466 # Run this file to recreate the current configuration.
13467 # Compiler output produced by configure, useful for debugging
13468 # configure, is in config.log if it exists.
13469
13470 debug=false
13471 ac_cs_recheck=false
13472 ac_cs_silent=false
13473
13474 SHELL=\${CONFIG_SHELL-$SHELL}
13475 export SHELL
13476 _ASEOF
13477 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13478 ## -------------------- ##
13479 ## M4sh Initialization. ##
13480 ## -------------------- ##
13481
13482 # Be more Bourne compatible
13483 DUALCASE=1; export DUALCASE # for MKS sh
13484 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13485   emulate sh
13486   NULLCMD=:
13487   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13488   # is contrary to our usage.  Disable this feature.
13489   alias -g '${1+"$@"}'='"$@"'
13490   setopt NO_GLOB_SUBST
13491 else
13492   case `(set -o) 2>/dev/null` in #(
13493   *posix*) :
13494     set -o posix ;; #(
13495   *) :
13496      ;;
13497 esac
13498 fi
13499
13500
13501 as_nl='
13502 '
13503 export as_nl
13504 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13505 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13506 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13508 # Prefer a ksh shell builtin over an external printf program on Solaris,
13509 # but without wasting forks for bash or zsh.
13510 if test -z "$BASH_VERSION$ZSH_VERSION" \
13511     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13512   as_echo='print -r --'
13513   as_echo_n='print -rn --'
13514 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13515   as_echo='printf %s\n'
13516   as_echo_n='printf %s'
13517 else
13518   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13519     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13520     as_echo_n='/usr/ucb/echo -n'
13521   else
13522     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13523     as_echo_n_body='eval
13524       arg=$1;
13525       case $arg in #(
13526       *"$as_nl"*)
13527         expr "X$arg" : "X\\(.*\\)$as_nl";
13528         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13529       esac;
13530       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13531     '
13532     export as_echo_n_body
13533     as_echo_n='sh -c $as_echo_n_body as_echo'
13534   fi
13535   export as_echo_body
13536   as_echo='sh -c $as_echo_body as_echo'
13537 fi
13538
13539 # The user is always right.
13540 if test "${PATH_SEPARATOR+set}" != set; then
13541   PATH_SEPARATOR=:
13542   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13543     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13544       PATH_SEPARATOR=';'
13545   }
13546 fi
13547
13548
13549 # IFS
13550 # We need space, tab and new line, in precisely that order.  Quoting is
13551 # there to prevent editors from complaining about space-tab.
13552 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13553 # splitting by setting IFS to empty value.)
13554 IFS=" ""        $as_nl"
13555
13556 # Find who we are.  Look in the path if we contain no directory separator.
13557 as_myself=
13558 case $0 in #((
13559   *[\\/]* ) as_myself=$0 ;;
13560   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13561 for as_dir in $PATH
13562 do
13563   IFS=$as_save_IFS
13564   test -z "$as_dir" && as_dir=.
13565     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13566   done
13567 IFS=$as_save_IFS
13568
13569      ;;
13570 esac
13571 # We did not find ourselves, most probably we were run as `sh COMMAND'
13572 # in which case we are not to be found in the path.
13573 if test "x$as_myself" = x; then
13574   as_myself=$0
13575 fi
13576 if test ! -f "$as_myself"; then
13577   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13578   exit 1
13579 fi
13580
13581 # Unset variables that we do not need and which cause bugs (e.g. in
13582 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13583 # suppresses any "Segmentation fault" message there.  '((' could
13584 # trigger a bug in pdksh 5.2.14.
13585 for as_var in BASH_ENV ENV MAIL MAILPATH
13586 do eval test x\${$as_var+set} = xset \
13587   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13588 done
13589 PS1='$ '
13590 PS2='> '
13591 PS4='+ '
13592
13593 # NLS nuisances.
13594 LC_ALL=C
13595 export LC_ALL
13596 LANGUAGE=C
13597 export LANGUAGE
13598
13599 # CDPATH.
13600 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13601
13602
13603 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13604 # ----------------------------------------
13605 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13606 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13607 # script with STATUS, using 1 if that was 0.
13608 as_fn_error ()
13609 {
13610   as_status=$1; test $as_status -eq 0 && as_status=1
13611   if test "$4"; then
13612     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13613     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13614   fi
13615   $as_echo "$as_me: error: $2" >&2
13616   as_fn_exit $as_status
13617 } # as_fn_error
13618
13619
13620 # as_fn_set_status STATUS
13621 # -----------------------
13622 # Set $? to STATUS, without forking.
13623 as_fn_set_status ()
13624 {
13625   return $1
13626 } # as_fn_set_status
13627
13628 # as_fn_exit STATUS
13629 # -----------------
13630 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13631 as_fn_exit ()
13632 {
13633   set +e
13634   as_fn_set_status $1
13635   exit $1
13636 } # as_fn_exit
13637
13638 # as_fn_unset VAR
13639 # ---------------
13640 # Portably unset VAR.
13641 as_fn_unset ()
13642 {
13643   { eval $1=; unset $1;}
13644 }
13645 as_unset=as_fn_unset
13646 # as_fn_append VAR VALUE
13647 # ----------------------
13648 # Append the text in VALUE to the end of the definition contained in VAR. Take
13649 # advantage of any shell optimizations that allow amortized linear growth over
13650 # repeated appends, instead of the typical quadratic growth present in naive
13651 # implementations.
13652 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13653   eval 'as_fn_append ()
13654   {
13655     eval $1+=\$2
13656   }'
13657 else
13658   as_fn_append ()
13659   {
13660     eval $1=\$$1\$2
13661   }
13662 fi # as_fn_append
13663
13664 # as_fn_arith ARG...
13665 # ------------------
13666 # Perform arithmetic evaluation on the ARGs, and store the result in the
13667 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13668 # must be portable across $(()) and expr.
13669 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13670   eval 'as_fn_arith ()
13671   {
13672     as_val=$(( $* ))
13673   }'
13674 else
13675   as_fn_arith ()
13676   {
13677     as_val=`expr "$@" || test $? -eq 1`
13678   }
13679 fi # as_fn_arith
13680
13681
13682 if expr a : '\(a\)' >/dev/null 2>&1 &&
13683    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13684   as_expr=expr
13685 else
13686   as_expr=false
13687 fi
13688
13689 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13690   as_basename=basename
13691 else
13692   as_basename=false
13693 fi
13694
13695 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13696   as_dirname=dirname
13697 else
13698   as_dirname=false
13699 fi
13700
13701 as_me=`$as_basename -- "$0" ||
13702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13703          X"$0" : 'X\(//\)$' \| \
13704          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13705 $as_echo X/"$0" |
13706     sed '/^.*\/\([^/][^/]*\)\/*$/{
13707             s//\1/
13708             q
13709           }
13710           /^X\/\(\/\/\)$/{
13711             s//\1/
13712             q
13713           }
13714           /^X\/\(\/\).*/{
13715             s//\1/
13716             q
13717           }
13718           s/.*/./; q'`
13719
13720 # Avoid depending upon Character Ranges.
13721 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13722 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13723 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13724 as_cr_digits='0123456789'
13725 as_cr_alnum=$as_cr_Letters$as_cr_digits
13726
13727 ECHO_C= ECHO_N= ECHO_T=
13728 case `echo -n x` in #(((((
13729 -n*)
13730   case `echo 'xy\c'` in
13731   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13732   xy)  ECHO_C='\c';;
13733   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13734        ECHO_T=' ';;
13735   esac;;
13736 *)
13737   ECHO_N='-n';;
13738 esac
13739
13740 rm -f conf$$ conf$$.exe conf$$.file
13741 if test -d conf$$.dir; then
13742   rm -f conf$$.dir/conf$$.file
13743 else
13744   rm -f conf$$.dir
13745   mkdir conf$$.dir 2>/dev/null
13746 fi
13747 if (echo >conf$$.file) 2>/dev/null; then
13748   if ln -s conf$$.file conf$$ 2>/dev/null; then
13749     as_ln_s='ln -s'
13750     # ... but there are two gotchas:
13751     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13752     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13753     # In both cases, we have to default to `cp -p'.
13754     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13755       as_ln_s='cp -p'
13756   elif ln conf$$.file conf$$ 2>/dev/null; then
13757     as_ln_s=ln
13758   else
13759     as_ln_s='cp -p'
13760   fi
13761 else
13762   as_ln_s='cp -p'
13763 fi
13764 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13765 rmdir conf$$.dir 2>/dev/null
13766
13767
13768 # as_fn_mkdir_p
13769 # -------------
13770 # Create "$as_dir" as a directory, including parents if necessary.
13771 as_fn_mkdir_p ()
13772 {
13773
13774   case $as_dir in #(
13775   -*) as_dir=./$as_dir;;
13776   esac
13777   test -d "$as_dir" || eval $as_mkdir_p || {
13778     as_dirs=
13779     while :; do
13780       case $as_dir in #(
13781       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13782       *) as_qdir=$as_dir;;
13783       esac
13784       as_dirs="'$as_qdir' $as_dirs"
13785       as_dir=`$as_dirname -- "$as_dir" ||
13786 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13787          X"$as_dir" : 'X\(//\)[^/]' \| \
13788          X"$as_dir" : 'X\(//\)$' \| \
13789          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13790 $as_echo X"$as_dir" |
13791     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13792             s//\1/
13793             q
13794           }
13795           /^X\(\/\/\)[^/].*/{
13796             s//\1/
13797             q
13798           }
13799           /^X\(\/\/\)$/{
13800             s//\1/
13801             q
13802           }
13803           /^X\(\/\).*/{
13804             s//\1/
13805             q
13806           }
13807           s/.*/./; q'`
13808       test -d "$as_dir" && break
13809     done
13810     test -z "$as_dirs" || eval "mkdir $as_dirs"
13811   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13812
13813
13814 } # as_fn_mkdir_p
13815 if mkdir -p . 2>/dev/null; then
13816   as_mkdir_p='mkdir -p "$as_dir"'
13817 else
13818   test -d ./-p && rmdir ./-p
13819   as_mkdir_p=false
13820 fi
13821
13822 if test -x / >/dev/null 2>&1; then
13823   as_test_x='test -x'
13824 else
13825   if ls -dL / >/dev/null 2>&1; then
13826     as_ls_L_option=L
13827   else
13828     as_ls_L_option=
13829   fi
13830   as_test_x='
13831     eval sh -c '\''
13832       if test -d "$1"; then
13833         test -d "$1/.";
13834       else
13835         case $1 in #(
13836         -*)set "./$1";;
13837         esac;
13838         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13839         ???[sx]*):;;*)false;;esac;fi
13840     '\'' sh
13841   '
13842 fi
13843 as_executable_p=$as_test_x
13844
13845 # Sed expression to map a string onto a valid CPP name.
13846 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13847
13848 # Sed expression to map a string onto a valid variable name.
13849 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13850
13851
13852 exec 6>&1
13853 ## ----------------------------------- ##
13854 ## Main body of $CONFIG_STATUS script. ##
13855 ## ----------------------------------- ##
13856 _ASEOF
13857 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13858
13859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13860 # Save the log message, to keep $0 and so on meaningful, and to
13861 # report actual input values of CONFIG_FILES etc. instead of their
13862 # values after options handling.
13863 ac_log="
13864 This file was extended by fuse $as_me 2.9.2, which was
13865 generated by GNU Autoconf 2.68.  Invocation command line was
13866
13867   CONFIG_FILES    = $CONFIG_FILES
13868   CONFIG_HEADERS  = $CONFIG_HEADERS
13869   CONFIG_LINKS    = $CONFIG_LINKS
13870   CONFIG_COMMANDS = $CONFIG_COMMANDS
13871   $ $0 $@
13872
13873 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13874 "
13875
13876 _ACEOF
13877
13878 case $ac_config_files in *"
13879 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13880 esac
13881
13882 case $ac_config_headers in *"
13883 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13884 esac
13885
13886
13887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13888 # Files that config.status was made for.
13889 config_files="$ac_config_files"
13890 config_headers="$ac_config_headers"
13891 config_commands="$ac_config_commands"
13892
13893 _ACEOF
13894
13895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13896 ac_cs_usage="\
13897 \`$as_me' instantiates files and other configuration actions
13898 from templates according to the current configuration.  Unless the files
13899 and actions are specified as TAGs, all are instantiated by default.
13900
13901 Usage: $0 [OPTION]... [TAG]...
13902
13903   -h, --help       print this help, then exit
13904   -V, --version    print version number and configuration settings, then exit
13905       --config     print configuration, then exit
13906   -q, --quiet, --silent
13907                    do not print progress messages
13908   -d, --debug      don't remove temporary files
13909       --recheck    update $as_me by reconfiguring in the same conditions
13910       --file=FILE[:TEMPLATE]
13911                    instantiate the configuration file FILE
13912       --header=FILE[:TEMPLATE]
13913                    instantiate the configuration header FILE
13914
13915 Configuration files:
13916 $config_files
13917
13918 Configuration headers:
13919 $config_headers
13920
13921 Configuration commands:
13922 $config_commands
13923
13924 Report bugs to the package provider."
13925
13926 _ACEOF
13927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13928 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13929 ac_cs_version="\\
13930 fuse config.status 2.9.2
13931 configured by $0, generated by GNU Autoconf 2.68,
13932   with options \\"\$ac_cs_config\\"
13933
13934 Copyright (C) 2010 Free Software Foundation, Inc.
13935 This config.status script is free software; the Free Software Foundation
13936 gives unlimited permission to copy, distribute and modify it."
13937
13938 ac_pwd='$ac_pwd'
13939 srcdir='$srcdir'
13940 INSTALL='$INSTALL'
13941 MKDIR_P='$MKDIR_P'
13942 AWK='$AWK'
13943 test -n "\$AWK" || AWK=awk
13944 _ACEOF
13945
13946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13947 # The default lists apply if the user does not specify any file.
13948 ac_need_defaults=:
13949 while test $# != 0
13950 do
13951   case $1 in
13952   --*=?*)
13953     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13954     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13955     ac_shift=:
13956     ;;
13957   --*=)
13958     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13959     ac_optarg=
13960     ac_shift=:
13961     ;;
13962   *)
13963     ac_option=$1
13964     ac_optarg=$2
13965     ac_shift=shift
13966     ;;
13967   esac
13968
13969   case $ac_option in
13970   # Handling of the options.
13971   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13972     ac_cs_recheck=: ;;
13973   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13974     $as_echo "$ac_cs_version"; exit ;;
13975   --config | --confi | --conf | --con | --co | --c )
13976     $as_echo "$ac_cs_config"; exit ;;
13977   --debug | --debu | --deb | --de | --d | -d )
13978     debug=: ;;
13979   --file | --fil | --fi | --f )
13980     $ac_shift
13981     case $ac_optarg in
13982     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13983     '') as_fn_error $? "missing file argument" ;;
13984     esac
13985     as_fn_append CONFIG_FILES " '$ac_optarg'"
13986     ac_need_defaults=false;;
13987   --header | --heade | --head | --hea )
13988     $ac_shift
13989     case $ac_optarg in
13990     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13991     esac
13992     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13993     ac_need_defaults=false;;
13994   --he | --h)
13995     # Conflict between --help and --header
13996     as_fn_error $? "ambiguous option: \`$1'
13997 Try \`$0 --help' for more information.";;
13998   --help | --hel | -h )
13999     $as_echo "$ac_cs_usage"; exit ;;
14000   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14001   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14002     ac_cs_silent=: ;;
14003
14004   # This is an error.
14005   -*) as_fn_error $? "unrecognized option: \`$1'
14006 Try \`$0 --help' for more information." ;;
14007
14008   *) as_fn_append ac_config_targets " $1"
14009      ac_need_defaults=false ;;
14010
14011   esac
14012   shift
14013 done
14014
14015 ac_configure_extra_args=
14016
14017 if $ac_cs_silent; then
14018   exec 6>/dev/null
14019   ac_configure_extra_args="$ac_configure_extra_args --silent"
14020 fi
14021
14022 _ACEOF
14023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14024 if \$ac_cs_recheck; then
14025   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14026   shift
14027   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14028   CONFIG_SHELL='$SHELL'
14029   export CONFIG_SHELL
14030   exec "\$@"
14031 fi
14032
14033 _ACEOF
14034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14035 exec 5>>config.log
14036 {
14037   echo
14038   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14039 ## Running $as_me. ##
14040 _ASBOX
14041   $as_echo "$ac_log"
14042 } >&5
14043
14044 _ACEOF
14045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14046 #
14047 # INIT-COMMANDS
14048 #
14049 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14050
14051
14052 # The HP-UX ksh and POSIX shell print the target directory to stdout
14053 # if CDPATH is set.
14054 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14055
14056 sed_quote_subst='$sed_quote_subst'
14057 double_quote_subst='$double_quote_subst'
14058 delay_variable_subst='$delay_variable_subst'
14059 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14060 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14061 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14062 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14063 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14064 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14065 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14066 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14067 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14068 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14069 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14070 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14071 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14072 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14073 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14074 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14075 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14076 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14077 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14078 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14079 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14080 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14081 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14082 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14083 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14084 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14085 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14086 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14087 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14088 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14089 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14090 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14091 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14092 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14093 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14094 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14095 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14096 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14097 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14098 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14099 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14100 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14101 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14102 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14103 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14104 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14105 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14106 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14107 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14108 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14109 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14110 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14111 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14112 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14113 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14114 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"`'
14115 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14116 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14117 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14118 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14119 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14120 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14121 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14122 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14123 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14124 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14125 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14126 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14127 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14128 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14129 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14130 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14131 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14132 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14133 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14134 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14135 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14136 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14137 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14138 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14139 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14140 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14141 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14142 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14143 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14144 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14145 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14146 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14147 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14148 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14149 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14150 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14151 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14152 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14153 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14154 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14155 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14156 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14157 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14158 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14159 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14160 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14161 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14162 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14163 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14164 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14165 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14166 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14167 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14168 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14169 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14170 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14171 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14172 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14173 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14174 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14175 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14176 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14177 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14178 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14179 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14180 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14181 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14182 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14183 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14184 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14185 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14186 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14187 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14188 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14189
14190 LTCC='$LTCC'
14191 LTCFLAGS='$LTCFLAGS'
14192 compiler='$compiler_DEFAULT'
14193
14194 # A function that is used when there is no print builtin or printf.
14195 func_fallback_echo ()
14196 {
14197   eval 'cat <<_LTECHO_EOF
14198 \$1
14199 _LTECHO_EOF'
14200 }
14201
14202 # Quote evaled strings.
14203 for var in SHELL \
14204 ECHO \
14205 SED \
14206 GREP \
14207 EGREP \
14208 FGREP \
14209 LD \
14210 NM \
14211 LN_S \
14212 lt_SP2NL \
14213 lt_NL2SP \
14214 reload_flag \
14215 OBJDUMP \
14216 deplibs_check_method \
14217 file_magic_cmd \
14218 file_magic_glob \
14219 want_nocaseglob \
14220 DLLTOOL \
14221 sharedlib_from_linklib_cmd \
14222 AR \
14223 AR_FLAGS \
14224 archiver_list_spec \
14225 STRIP \
14226 RANLIB \
14227 CC \
14228 CFLAGS \
14229 compiler \
14230 lt_cv_sys_global_symbol_pipe \
14231 lt_cv_sys_global_symbol_to_cdecl \
14232 lt_cv_sys_global_symbol_to_c_name_address \
14233 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14234 nm_file_list_spec \
14235 lt_prog_compiler_no_builtin_flag \
14236 lt_prog_compiler_pic \
14237 lt_prog_compiler_wl \
14238 lt_prog_compiler_static \
14239 lt_cv_prog_compiler_c_o \
14240 need_locks \
14241 MANIFEST_TOOL \
14242 DSYMUTIL \
14243 NMEDIT \
14244 LIPO \
14245 OTOOL \
14246 OTOOL64 \
14247 shrext_cmds \
14248 export_dynamic_flag_spec \
14249 whole_archive_flag_spec \
14250 compiler_needs_object \
14251 with_gnu_ld \
14252 allow_undefined_flag \
14253 no_undefined_flag \
14254 hardcode_libdir_flag_spec \
14255 hardcode_libdir_flag_spec_ld \
14256 hardcode_libdir_separator \
14257 exclude_expsyms \
14258 include_expsyms \
14259 file_list_spec \
14260 variables_saved_for_relink \
14261 libname_spec \
14262 library_names_spec \
14263 soname_spec \
14264 install_override_mode \
14265 finish_eval \
14266 old_striplib \
14267 striplib; do
14268     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14269     *[\\\\\\\`\\"\\\$]*)
14270       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14271       ;;
14272     *)
14273       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14274       ;;
14275     esac
14276 done
14277
14278 # Double-quote double-evaled strings.
14279 for var in reload_cmds \
14280 old_postinstall_cmds \
14281 old_postuninstall_cmds \
14282 old_archive_cmds \
14283 extract_expsyms_cmds \
14284 old_archive_from_new_cmds \
14285 old_archive_from_expsyms_cmds \
14286 archive_cmds \
14287 archive_expsym_cmds \
14288 module_cmds \
14289 module_expsym_cmds \
14290 export_symbols_cmds \
14291 prelink_cmds \
14292 postlink_cmds \
14293 postinstall_cmds \
14294 postuninstall_cmds \
14295 finish_cmds \
14296 sys_lib_search_path_spec \
14297 sys_lib_dlsearch_path_spec; do
14298     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14299     *[\\\\\\\`\\"\\\$]*)
14300       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14301       ;;
14302     *)
14303       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14304       ;;
14305     esac
14306 done
14307
14308 ac_aux_dir='$ac_aux_dir'
14309 xsi_shell='$xsi_shell'
14310 lt_shell_append='$lt_shell_append'
14311
14312 # See if we are running on zsh, and set the options which allow our
14313 # commands through without removal of \ escapes INIT.
14314 if test -n "\${ZSH_VERSION+set}" ; then
14315    setopt NO_GLOB_SUBST
14316 fi
14317
14318
14319     PACKAGE='$PACKAGE'
14320     VERSION='$VERSION'
14321     TIMESTAMP='$TIMESTAMP'
14322     RM='$RM'
14323     ofile='$ofile'
14324
14325
14326
14327
14328 _ACEOF
14329
14330 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14331
14332 # Handling of arguments.
14333 for ac_config_target in $ac_config_targets
14334 do
14335   case $ac_config_target in
14336     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14337     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14338     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14339     "fuse.pc") CONFIG_FILES="$CONFIG_FILES fuse.pc" ;;
14340     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14341     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14342     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
14343     "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
14344     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14345     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14346
14347   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14348   esac
14349 done
14350
14351
14352 # If the user did not use the arguments to specify the items to instantiate,
14353 # then the envvar interface is used.  Set only those that are not.
14354 # We use the long form for the default assignment because of an extremely
14355 # bizarre bug on SunOS 4.1.3.
14356 if $ac_need_defaults; then
14357   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14358   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14359   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14360 fi
14361
14362 # Have a temporary directory for convenience.  Make it in the build tree
14363 # simply because there is no reason against having it here, and in addition,
14364 # creating and moving files from /tmp can sometimes cause problems.
14365 # Hook for its removal unless debugging.
14366 # Note that there is a small window in which the directory will not be cleaned:
14367 # after its creation but before its name has been assigned to `$tmp'.
14368 $debug ||
14369 {
14370   tmp= ac_tmp=
14371   trap 'exit_status=$?
14372   : "${ac_tmp:=$tmp}"
14373   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14374 ' 0
14375   trap 'as_fn_exit 1' 1 2 13 15
14376 }
14377 # Create a (secure) tmp directory for tmp files.
14378
14379 {
14380   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14381   test -d "$tmp"
14382 }  ||
14383 {
14384   tmp=./conf$$-$RANDOM
14385   (umask 077 && mkdir "$tmp")
14386 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14387 ac_tmp=$tmp
14388
14389 # Set up the scripts for CONFIG_FILES section.
14390 # No need to generate them if there are no CONFIG_FILES.
14391 # This happens for instance with `./config.status config.h'.
14392 if test -n "$CONFIG_FILES"; then
14393
14394
14395 ac_cr=`echo X | tr X '\015'`
14396 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14397 # But we know of no other shell where ac_cr would be empty at this
14398 # point, so we can use a bashism as a fallback.
14399 if test "x$ac_cr" = x; then
14400   eval ac_cr=\$\'\\r\'
14401 fi
14402 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14403 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14404   ac_cs_awk_cr='\\r'
14405 else
14406   ac_cs_awk_cr=$ac_cr
14407 fi
14408
14409 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14410 _ACEOF
14411
14412
14413 {
14414   echo "cat >conf$$subs.awk <<_ACEOF" &&
14415   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14416   echo "_ACEOF"
14417 } >conf$$subs.sh ||
14418   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14419 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14420 ac_delim='%!_!# '
14421 for ac_last_try in false false false false false :; do
14422   . ./conf$$subs.sh ||
14423     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14424
14425   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14426   if test $ac_delim_n = $ac_delim_num; then
14427     break
14428   elif $ac_last_try; then
14429     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14430   else
14431     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14432   fi
14433 done
14434 rm -f conf$$subs.sh
14435
14436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14437 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14438 _ACEOF
14439 sed -n '
14440 h
14441 s/^/S["/; s/!.*/"]=/
14442 p
14443 g
14444 s/^[^!]*!//
14445 :repl
14446 t repl
14447 s/'"$ac_delim"'$//
14448 t delim
14449 :nl
14450 h
14451 s/\(.\{148\}\)..*/\1/
14452 t more1
14453 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14454 p
14455 n
14456 b repl
14457 :more1
14458 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14459 p
14460 g
14461 s/.\{148\}//
14462 t nl
14463 :delim
14464 h
14465 s/\(.\{148\}\)..*/\1/
14466 t more2
14467 s/["\\]/\\&/g; s/^/"/; s/$/"/
14468 p
14469 b
14470 :more2
14471 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14472 p
14473 g
14474 s/.\{148\}//
14475 t delim
14476 ' <conf$$subs.awk | sed '
14477 /^[^""]/{
14478   N
14479   s/\n//
14480 }
14481 ' >>$CONFIG_STATUS || ac_write_fail=1
14482 rm -f conf$$subs.awk
14483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14484 _ACAWK
14485 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14486   for (key in S) S_is_set[key] = 1
14487   FS = "\a"
14488
14489 }
14490 {
14491   line = $ 0
14492   nfields = split(line, field, "@")
14493   substed = 0
14494   len = length(field[1])
14495   for (i = 2; i < nfields; i++) {
14496     key = field[i]
14497     keylen = length(key)
14498     if (S_is_set[key]) {
14499       value = S[key]
14500       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14501       len += length(value) + length(field[++i])
14502       substed = 1
14503     } else
14504       len += 1 + keylen
14505   }
14506
14507   print line
14508 }
14509
14510 _ACAWK
14511 _ACEOF
14512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14513 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14514   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14515 else
14516   cat
14517 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14518   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14519 _ACEOF
14520
14521 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14522 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14523 # trailing colons and then remove the whole line if VPATH becomes empty
14524 # (actually we leave an empty line to preserve line numbers).
14525 if test "x$srcdir" = x.; then
14526   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14527 h
14528 s///
14529 s/^/:/
14530 s/[      ]*$/:/
14531 s/:\$(srcdir):/:/g
14532 s/:\${srcdir}:/:/g
14533 s/:@srcdir@:/:/g
14534 s/^:*//
14535 s/:*$//
14536 x
14537 s/\(=[   ]*\).*/\1/
14538 G
14539 s/\n//
14540 s/^[^=]*=[       ]*$//
14541 }'
14542 fi
14543
14544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14545 fi # test -n "$CONFIG_FILES"
14546
14547 # Set up the scripts for CONFIG_HEADERS section.
14548 # No need to generate them if there are no CONFIG_HEADERS.
14549 # This happens for instance with `./config.status Makefile'.
14550 if test -n "$CONFIG_HEADERS"; then
14551 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14552 BEGIN {
14553 _ACEOF
14554
14555 # Transform confdefs.h into an awk script `defines.awk', embedded as
14556 # here-document in config.status, that substitutes the proper values into
14557 # config.h.in to produce config.h.
14558
14559 # Create a delimiter string that does not exist in confdefs.h, to ease
14560 # handling of long lines.
14561 ac_delim='%!_!# '
14562 for ac_last_try in false false :; do
14563   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14564   if test -z "$ac_tt"; then
14565     break
14566   elif $ac_last_try; then
14567     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14568   else
14569     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14570   fi
14571 done
14572
14573 # For the awk script, D is an array of macro values keyed by name,
14574 # likewise P contains macro parameters if any.  Preserve backslash
14575 # newline sequences.
14576
14577 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14578 sed -n '
14579 s/.\{148\}/&'"$ac_delim"'/g
14580 t rset
14581 :rset
14582 s/^[     ]*#[    ]*define[       ][      ]*/ /
14583 t def
14584 d
14585 :def
14586 s/\\$//
14587 t bsnl
14588 s/["\\]/\\&/g
14589 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14590 D["\1"]=" \3"/p
14591 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14592 d
14593 :bsnl
14594 s/["\\]/\\&/g
14595 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14596 D["\1"]=" \3\\\\\\n"\\/p
14597 t cont
14598 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14599 t cont
14600 d
14601 :cont
14602 n
14603 s/.\{148\}/&'"$ac_delim"'/g
14604 t clear
14605 :clear
14606 s/\\$//
14607 t bsnlc
14608 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14609 d
14610 :bsnlc
14611 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14612 b cont
14613 ' <confdefs.h | sed '
14614 s/'"$ac_delim"'/"\\\
14615 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14616
14617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14618   for (key in D) D_is_set[key] = 1
14619   FS = "\a"
14620 }
14621 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14622   line = \$ 0
14623   split(line, arg, " ")
14624   if (arg[1] == "#") {
14625     defundef = arg[2]
14626     mac1 = arg[3]
14627   } else {
14628     defundef = substr(arg[1], 2)
14629     mac1 = arg[2]
14630   }
14631   split(mac1, mac2, "(") #)
14632   macro = mac2[1]
14633   prefix = substr(line, 1, index(line, defundef) - 1)
14634   if (D_is_set[macro]) {
14635     # Preserve the white space surrounding the "#".
14636     print prefix "define", macro P[macro] D[macro]
14637     next
14638   } else {
14639     # Replace #undef with comments.  This is necessary, for example,
14640     # in the case of _POSIX_SOURCE, which is predefined and required
14641     # on some systems where configure will not decide to define it.
14642     if (defundef == "undef") {
14643       print "/*", prefix defundef, macro, "*/"
14644       next
14645     }
14646   }
14647 }
14648 { print }
14649 _ACAWK
14650 _ACEOF
14651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14652   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14653 fi # test -n "$CONFIG_HEADERS"
14654
14655
14656 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14657 shift
14658 for ac_tag
14659 do
14660   case $ac_tag in
14661   :[FHLC]) ac_mode=$ac_tag; continue;;
14662   esac
14663   case $ac_mode$ac_tag in
14664   :[FHL]*:*);;
14665   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14666   :[FH]-) ac_tag=-:-;;
14667   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14668   esac
14669   ac_save_IFS=$IFS
14670   IFS=:
14671   set x $ac_tag
14672   IFS=$ac_save_IFS
14673   shift
14674   ac_file=$1
14675   shift
14676
14677   case $ac_mode in
14678   :L) ac_source=$1;;
14679   :[FH])
14680     ac_file_inputs=
14681     for ac_f
14682     do
14683       case $ac_f in
14684       -) ac_f="$ac_tmp/stdin";;
14685       *) # Look for the file first in the build tree, then in the source tree
14686          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14687          # because $ac_f cannot contain `:'.
14688          test -f "$ac_f" ||
14689            case $ac_f in
14690            [\\/$]*) false;;
14691            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14692            esac ||
14693            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14694       esac
14695       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14696       as_fn_append ac_file_inputs " '$ac_f'"
14697     done
14698
14699     # Let's still pretend it is `configure' which instantiates (i.e., don't
14700     # use $as_me), people would be surprised to read:
14701     #    /* config.h.  Generated by config.status.  */
14702     configure_input='Generated from '`
14703           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14704         `' by configure.'
14705     if test x"$ac_file" != x-; then
14706       configure_input="$ac_file.  $configure_input"
14707       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14708 $as_echo "$as_me: creating $ac_file" >&6;}
14709     fi
14710     # Neutralize special characters interpreted by sed in replacement strings.
14711     case $configure_input in #(
14712     *\&* | *\|* | *\\* )
14713        ac_sed_conf_input=`$as_echo "$configure_input" |
14714        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14715     *) ac_sed_conf_input=$configure_input;;
14716     esac
14717
14718     case $ac_tag in
14719     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14720       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14721     esac
14722     ;;
14723   esac
14724
14725   ac_dir=`$as_dirname -- "$ac_file" ||
14726 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14727          X"$ac_file" : 'X\(//\)[^/]' \| \
14728          X"$ac_file" : 'X\(//\)$' \| \
14729          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14730 $as_echo X"$ac_file" |
14731     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14732             s//\1/
14733             q
14734           }
14735           /^X\(\/\/\)[^/].*/{
14736             s//\1/
14737             q
14738           }
14739           /^X\(\/\/\)$/{
14740             s//\1/
14741             q
14742           }
14743           /^X\(\/\).*/{
14744             s//\1/
14745             q
14746           }
14747           s/.*/./; q'`
14748   as_dir="$ac_dir"; as_fn_mkdir_p
14749   ac_builddir=.
14750
14751 case "$ac_dir" in
14752 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14753 *)
14754   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14755   # A ".." for each directory in $ac_dir_suffix.
14756   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14757   case $ac_top_builddir_sub in
14758   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14759   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14760   esac ;;
14761 esac
14762 ac_abs_top_builddir=$ac_pwd
14763 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14764 # for backward compatibility:
14765 ac_top_builddir=$ac_top_build_prefix
14766
14767 case $srcdir in
14768   .)  # We are building in place.
14769     ac_srcdir=.
14770     ac_top_srcdir=$ac_top_builddir_sub
14771     ac_abs_top_srcdir=$ac_pwd ;;
14772   [\\/]* | ?:[\\/]* )  # Absolute name.
14773     ac_srcdir=$srcdir$ac_dir_suffix;
14774     ac_top_srcdir=$srcdir
14775     ac_abs_top_srcdir=$srcdir ;;
14776   *) # Relative name.
14777     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14778     ac_top_srcdir=$ac_top_build_prefix$srcdir
14779     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14780 esac
14781 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14782
14783
14784   case $ac_mode in
14785   :F)
14786   #
14787   # CONFIG_FILE
14788   #
14789
14790   case $INSTALL in
14791   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14792   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14793   esac
14794   ac_MKDIR_P=$MKDIR_P
14795   case $MKDIR_P in
14796   [\\/$]* | ?:[\\/]* ) ;;
14797   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14798   esac
14799 _ACEOF
14800
14801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14802 # If the template does not know about datarootdir, expand it.
14803 # FIXME: This hack should be removed a few years after 2.60.
14804 ac_datarootdir_hack=; ac_datarootdir_seen=
14805 ac_sed_dataroot='
14806 /datarootdir/ {
14807   p
14808   q
14809 }
14810 /@datadir@/p
14811 /@docdir@/p
14812 /@infodir@/p
14813 /@localedir@/p
14814 /@mandir@/p'
14815 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14816 *datarootdir*) ac_datarootdir_seen=yes;;
14817 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14818   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14819 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14820 _ACEOF
14821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14822   ac_datarootdir_hack='
14823   s&@datadir@&$datadir&g
14824   s&@docdir@&$docdir&g
14825   s&@infodir@&$infodir&g
14826   s&@localedir@&$localedir&g
14827   s&@mandir@&$mandir&g
14828   s&\\\${datarootdir}&$datarootdir&g' ;;
14829 esac
14830 _ACEOF
14831
14832 # Neutralize VPATH when `$srcdir' = `.'.
14833 # Shell code in configure.ac might set extrasub.
14834 # FIXME: do we really want to maintain this feature?
14835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14836 ac_sed_extra="$ac_vpsub
14837 $extrasub
14838 _ACEOF
14839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14840 :t
14841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14842 s|@configure_input@|$ac_sed_conf_input|;t t
14843 s&@top_builddir@&$ac_top_builddir_sub&;t t
14844 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14845 s&@srcdir@&$ac_srcdir&;t t
14846 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14847 s&@top_srcdir@&$ac_top_srcdir&;t t
14848 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14849 s&@builddir@&$ac_builddir&;t t
14850 s&@abs_builddir@&$ac_abs_builddir&;t t
14851 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14852 s&@INSTALL@&$ac_INSTALL&;t t
14853 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14854 $ac_datarootdir_hack
14855 "
14856 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14857   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14858
14859 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14860   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14861   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14862       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14863   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14864 which seems to be undefined.  Please make sure it is defined" >&5
14865 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14866 which seems to be undefined.  Please make sure it is defined" >&2;}
14867
14868   rm -f "$ac_tmp/stdin"
14869   case $ac_file in
14870   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14871   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14872   esac \
14873   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14874  ;;
14875   :H)
14876   #
14877   # CONFIG_HEADER
14878   #
14879   if test x"$ac_file" != x-; then
14880     {
14881       $as_echo "/* $configure_input  */" \
14882       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14883     } >"$ac_tmp/config.h" \
14884       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14885     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14886       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14887 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14888     else
14889       rm -f "$ac_file"
14890       mv "$ac_tmp/config.h" "$ac_file" \
14891         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14892     fi
14893   else
14894     $as_echo "/* $configure_input  */" \
14895       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14896       || as_fn_error $? "could not create -" "$LINENO" 5
14897   fi
14898 # Compute "$ac_file"'s index in $config_headers.
14899 _am_arg="$ac_file"
14900 _am_stamp_count=1
14901 for _am_header in $config_headers :; do
14902   case $_am_header in
14903     $_am_arg | $_am_arg:* )
14904       break ;;
14905     * )
14906       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14907   esac
14908 done
14909 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14910 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14911          X"$_am_arg" : 'X\(//\)[^/]' \| \
14912          X"$_am_arg" : 'X\(//\)$' \| \
14913          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14914 $as_echo X"$_am_arg" |
14915     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14916             s//\1/
14917             q
14918           }
14919           /^X\(\/\/\)[^/].*/{
14920             s//\1/
14921             q
14922           }
14923           /^X\(\/\/\)$/{
14924             s//\1/
14925             q
14926           }
14927           /^X\(\/\).*/{
14928             s//\1/
14929             q
14930           }
14931           s/.*/./; q'`/stamp-h$_am_stamp_count
14932  ;;
14933
14934   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14935 $as_echo "$as_me: executing $ac_file commands" >&6;}
14936  ;;
14937   esac
14938
14939
14940   case $ac_file$ac_mode in
14941     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14942   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14943   # are listed without --file.  Let's play safe and only enable the eval
14944   # if we detect the quoting.
14945   case $CONFIG_FILES in
14946   *\'*) eval set x "$CONFIG_FILES" ;;
14947   *)   set x $CONFIG_FILES ;;
14948   esac
14949   shift
14950   for mf
14951   do
14952     # Strip MF so we end up with the name of the file.
14953     mf=`echo "$mf" | sed -e 's/:.*$//'`
14954     # Check whether this is an Automake generated Makefile or not.
14955     # We used to match only the files named `Makefile.in', but
14956     # some people rename them; so instead we look at the file content.
14957     # Grep'ing the first line is not enough: some people post-process
14958     # each Makefile.in and add a new line on top of each file to say so.
14959     # Grep'ing the whole file is not good either: AIX grep has a line
14960     # limit of 2048, but all sed's we know have understand at least 4000.
14961     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14962       dirpart=`$as_dirname -- "$mf" ||
14963 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14964          X"$mf" : 'X\(//\)[^/]' \| \
14965          X"$mf" : 'X\(//\)$' \| \
14966          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14967 $as_echo X"$mf" |
14968     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14969             s//\1/
14970             q
14971           }
14972           /^X\(\/\/\)[^/].*/{
14973             s//\1/
14974             q
14975           }
14976           /^X\(\/\/\)$/{
14977             s//\1/
14978             q
14979           }
14980           /^X\(\/\).*/{
14981             s//\1/
14982             q
14983           }
14984           s/.*/./; q'`
14985     else
14986       continue
14987     fi
14988     # Extract the definition of DEPDIR, am__include, and am__quote
14989     # from the Makefile without running `make'.
14990     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14991     test -z "$DEPDIR" && continue
14992     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14993     test -z "am__include" && continue
14994     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14995     # When using ansi2knr, U may be empty or an underscore; expand it
14996     U=`sed -n 's/^U = //p' < "$mf"`
14997     # Find all dependency output files, they are included files with
14998     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14999     # simplest approach to changing $(DEPDIR) to its actual value in the
15000     # expansion.
15001     for file in `sed -n "
15002       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15003          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15004       # Make sure the directory exists.
15005       test -f "$dirpart/$file" && continue
15006       fdir=`$as_dirname -- "$file" ||
15007 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15008          X"$file" : 'X\(//\)[^/]' \| \
15009          X"$file" : 'X\(//\)$' \| \
15010          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15011 $as_echo X"$file" |
15012     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15013             s//\1/
15014             q
15015           }
15016           /^X\(\/\/\)[^/].*/{
15017             s//\1/
15018             q
15019           }
15020           /^X\(\/\/\)$/{
15021             s//\1/
15022             q
15023           }
15024           /^X\(\/\).*/{
15025             s//\1/
15026             q
15027           }
15028           s/.*/./; q'`
15029       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15030       # echo "creating $dirpart/$file"
15031       echo '# dummy' > "$dirpart/$file"
15032     done
15033   done
15034 }
15035  ;;
15036     "libtool":C)
15037
15038     # See if we are running on zsh, and set the options which allow our
15039     # commands through without removal of \ escapes.
15040     if test -n "${ZSH_VERSION+set}" ; then
15041       setopt NO_GLOB_SUBST
15042     fi
15043
15044     cfgfile="${ofile}T"
15045     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15046     $RM "$cfgfile"
15047
15048     cat <<_LT_EOF >> "$cfgfile"
15049 #! $SHELL
15050
15051 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15052 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15053 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15054 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15055 #
15056 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15057 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15058 #                 Inc.
15059 #   Written by Gordon Matzigkeit, 1996
15060 #
15061 #   This file is part of GNU Libtool.
15062 #
15063 # GNU Libtool is free software; you can redistribute it and/or
15064 # modify it under the terms of the GNU General Public License as
15065 # published by the Free Software Foundation; either version 2 of
15066 # the License, or (at your option) any later version.
15067 #
15068 # As a special exception to the GNU General Public License,
15069 # if you distribute this file as part of a program or library that
15070 # is built using GNU Libtool, you may include this file under the
15071 # same distribution terms that you use for the rest of that program.
15072 #
15073 # GNU Libtool is distributed in the hope that it will be useful,
15074 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15075 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15076 # GNU General Public License for more details.
15077 #
15078 # You should have received a copy of the GNU General Public License
15079 # along with GNU Libtool; see the file COPYING.  If not, a copy
15080 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15081 # obtained by writing to the Free Software Foundation, Inc.,
15082 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15083
15084
15085 # The names of the tagged configurations supported by this script.
15086 available_tags=""
15087
15088 # ### BEGIN LIBTOOL CONFIG
15089
15090 # Which release of libtool.m4 was used?
15091 macro_version=$macro_version
15092 macro_revision=$macro_revision
15093
15094 # Whether or not to build shared libraries.
15095 build_libtool_libs=$enable_shared
15096
15097 # Whether or not to build static libraries.
15098 build_old_libs=$enable_static
15099
15100 # What type of objects to build.
15101 pic_mode=$pic_mode
15102
15103 # Whether or not to optimize for fast installation.
15104 fast_install=$enable_fast_install
15105
15106 # Shell to use when invoking shell scripts.
15107 SHELL=$lt_SHELL
15108
15109 # An echo program that protects backslashes.
15110 ECHO=$lt_ECHO
15111
15112 # The host system.
15113 host_alias=$host_alias
15114 host=$host
15115 host_os=$host_os
15116
15117 # The build system.
15118 build_alias=$build_alias
15119 build=$build
15120 build_os=$build_os
15121
15122 # A sed program that does not truncate output.
15123 SED=$lt_SED
15124
15125 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15126 Xsed="\$SED -e 1s/^X//"
15127
15128 # A grep program that handles long lines.
15129 GREP=$lt_GREP
15130
15131 # An ERE matcher.
15132 EGREP=$lt_EGREP
15133
15134 # A literal string matcher.
15135 FGREP=$lt_FGREP
15136
15137 # A BSD- or MS-compatible name lister.
15138 NM=$lt_NM
15139
15140 # Whether we need soft or hard links.
15141 LN_S=$lt_LN_S
15142
15143 # What is the maximum length of a command?
15144 max_cmd_len=$max_cmd_len
15145
15146 # Object file suffix (normally "o").
15147 objext=$ac_objext
15148
15149 # Executable file suffix (normally "").
15150 exeext=$exeext
15151
15152 # whether the shell understands "unset".
15153 lt_unset=$lt_unset
15154
15155 # turn spaces into newlines.
15156 SP2NL=$lt_lt_SP2NL
15157
15158 # turn newlines into spaces.
15159 NL2SP=$lt_lt_NL2SP
15160
15161 # convert \$build file names to \$host format.
15162 to_host_file_cmd=$lt_cv_to_host_file_cmd
15163
15164 # convert \$build files to toolchain format.
15165 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15166
15167 # An object symbol dumper.
15168 OBJDUMP=$lt_OBJDUMP
15169
15170 # Method to check whether dependent libraries are shared objects.
15171 deplibs_check_method=$lt_deplibs_check_method
15172
15173 # Command to use when deplibs_check_method = "file_magic".
15174 file_magic_cmd=$lt_file_magic_cmd
15175
15176 # How to find potential files when deplibs_check_method = "file_magic".
15177 file_magic_glob=$lt_file_magic_glob
15178
15179 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15180 want_nocaseglob=$lt_want_nocaseglob
15181
15182 # DLL creation program.
15183 DLLTOOL=$lt_DLLTOOL
15184
15185 # Command to associate shared and link libraries.
15186 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15187
15188 # The archiver.
15189 AR=$lt_AR
15190
15191 # Flags to create an archive.
15192 AR_FLAGS=$lt_AR_FLAGS
15193
15194 # How to feed a file listing to the archiver.
15195 archiver_list_spec=$lt_archiver_list_spec
15196
15197 # A symbol stripping program.
15198 STRIP=$lt_STRIP
15199
15200 # Commands used to install an old-style archive.
15201 RANLIB=$lt_RANLIB
15202 old_postinstall_cmds=$lt_old_postinstall_cmds
15203 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15204
15205 # Whether to use a lock for old archive extraction.
15206 lock_old_archive_extraction=$lock_old_archive_extraction
15207
15208 # A C compiler.
15209 LTCC=$lt_CC
15210
15211 # LTCC compiler flags.
15212 LTCFLAGS=$lt_CFLAGS
15213
15214 # Take the output of nm and produce a listing of raw symbols and C names.
15215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15216
15217 # Transform the output of nm in a proper C declaration.
15218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15219
15220 # Transform the output of nm in a C name address pair.
15221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15222
15223 # Transform the output of nm in a C name address pair when lib prefix is needed.
15224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15225
15226 # Specify filename containing input files for \$NM.
15227 nm_file_list_spec=$lt_nm_file_list_spec
15228
15229 # The root where to search for dependent libraries,and in which our libraries should be installed.
15230 lt_sysroot=$lt_sysroot
15231
15232 # The name of the directory that contains temporary libtool files.
15233 objdir=$objdir
15234
15235 # Used to examine libraries when file_magic_cmd begins with "file".
15236 MAGIC_CMD=$MAGIC_CMD
15237
15238 # Must we lock files when doing compilation?
15239 need_locks=$lt_need_locks
15240
15241 # Manifest tool.
15242 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15243
15244 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15245 DSYMUTIL=$lt_DSYMUTIL
15246
15247 # Tool to change global to local symbols on Mac OS X.
15248 NMEDIT=$lt_NMEDIT
15249
15250 # Tool to manipulate fat objects and archives on Mac OS X.
15251 LIPO=$lt_LIPO
15252
15253 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15254 OTOOL=$lt_OTOOL
15255
15256 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15257 OTOOL64=$lt_OTOOL64
15258
15259 # Old archive suffix (normally "a").
15260 libext=$libext
15261
15262 # Shared library suffix (normally ".so").
15263 shrext_cmds=$lt_shrext_cmds
15264
15265 # The commands to extract the exported symbol list from a shared archive.
15266 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15267
15268 # Variables whose values should be saved in libtool wrapper scripts and
15269 # restored at link time.
15270 variables_saved_for_relink=$lt_variables_saved_for_relink
15271
15272 # Do we need the "lib" prefix for modules?
15273 need_lib_prefix=$need_lib_prefix
15274
15275 # Do we need a version for libraries?
15276 need_version=$need_version
15277
15278 # Library versioning type.
15279 version_type=$version_type
15280
15281 # Shared library runtime path variable.
15282 runpath_var=$runpath_var
15283
15284 # Shared library path variable.
15285 shlibpath_var=$shlibpath_var
15286
15287 # Is shlibpath searched before the hard-coded library search path?
15288 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15289
15290 # Format of library name prefix.
15291 libname_spec=$lt_libname_spec
15292
15293 # List of archive names.  First name is the real one, the rest are links.
15294 # The last name is the one that the linker finds with -lNAME
15295 library_names_spec=$lt_library_names_spec
15296
15297 # The coded name of the library, if different from the real name.
15298 soname_spec=$lt_soname_spec
15299
15300 # Permission mode override for installation of shared libraries.
15301 install_override_mode=$lt_install_override_mode
15302
15303 # Command to use after installation of a shared archive.
15304 postinstall_cmds=$lt_postinstall_cmds
15305
15306 # Command to use after uninstallation of a shared archive.
15307 postuninstall_cmds=$lt_postuninstall_cmds
15308
15309 # Commands used to finish a libtool library installation in a directory.
15310 finish_cmds=$lt_finish_cmds
15311
15312 # As "finish_cmds", except a single script fragment to be evaled but
15313 # not shown.
15314 finish_eval=$lt_finish_eval
15315
15316 # Whether we should hardcode library paths into libraries.
15317 hardcode_into_libs=$hardcode_into_libs
15318
15319 # Compile-time system search path for libraries.
15320 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15321
15322 # Run-time system search path for libraries.
15323 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15324
15325 # Whether dlopen is supported.
15326 dlopen_support=$enable_dlopen
15327
15328 # Whether dlopen of programs is supported.
15329 dlopen_self=$enable_dlopen_self
15330
15331 # Whether dlopen of statically linked programs is supported.
15332 dlopen_self_static=$enable_dlopen_self_static
15333
15334 # Commands to strip libraries.
15335 old_striplib=$lt_old_striplib
15336 striplib=$lt_striplib
15337
15338
15339 # The linker used to build libraries.
15340 LD=$lt_LD
15341
15342 # How to create reloadable object files.
15343 reload_flag=$lt_reload_flag
15344 reload_cmds=$lt_reload_cmds
15345
15346 # Commands used to build an old-style archive.
15347 old_archive_cmds=$lt_old_archive_cmds
15348
15349 # A language specific compiler.
15350 CC=$lt_compiler
15351
15352 # Is the compiler the GNU compiler?
15353 with_gcc=$GCC
15354
15355 # Compiler flag to turn off builtin functions.
15356 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15357
15358 # Additional compiler flags for building library objects.
15359 pic_flag=$lt_lt_prog_compiler_pic
15360
15361 # How to pass a linker flag through the compiler.
15362 wl=$lt_lt_prog_compiler_wl
15363
15364 # Compiler flag to prevent dynamic linking.
15365 link_static_flag=$lt_lt_prog_compiler_static
15366
15367 # Does compiler simultaneously support -c and -o options?
15368 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15369
15370 # Whether or not to add -lc for building shared libraries.
15371 build_libtool_need_lc=$archive_cmds_need_lc
15372
15373 # Whether or not to disallow shared libs when runtime libs are static.
15374 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15375
15376 # Compiler flag to allow reflexive dlopens.
15377 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15378
15379 # Compiler flag to generate shared objects directly from archives.
15380 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15381
15382 # Whether the compiler copes with passing no objects directly.
15383 compiler_needs_object=$lt_compiler_needs_object
15384
15385 # Create an old-style archive from a shared archive.
15386 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15387
15388 # Create a temporary old-style archive to link instead of a shared archive.
15389 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15390
15391 # Commands used to build a shared archive.
15392 archive_cmds=$lt_archive_cmds
15393 archive_expsym_cmds=$lt_archive_expsym_cmds
15394
15395 # Commands used to build a loadable module if different from building
15396 # a shared archive.
15397 module_cmds=$lt_module_cmds
15398 module_expsym_cmds=$lt_module_expsym_cmds
15399
15400 # Whether we are building with GNU ld or not.
15401 with_gnu_ld=$lt_with_gnu_ld
15402
15403 # Flag that allows shared libraries with undefined symbols to be built.
15404 allow_undefined_flag=$lt_allow_undefined_flag
15405
15406 # Flag that enforces no undefined symbols.
15407 no_undefined_flag=$lt_no_undefined_flag
15408
15409 # Flag to hardcode \$libdir into a binary during linking.
15410 # This must work even if \$libdir does not exist
15411 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15412
15413 # If ld is used when linking, flag to hardcode \$libdir into a binary
15414 # during linking.  This must work even if \$libdir does not exist.
15415 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15416
15417 # Whether we need a single "-rpath" flag with a separated argument.
15418 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15419
15420 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15421 # DIR into the resulting binary.
15422 hardcode_direct=$hardcode_direct
15423
15424 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15425 # DIR into the resulting binary and the resulting library dependency is
15426 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15427 # library is relocated.
15428 hardcode_direct_absolute=$hardcode_direct_absolute
15429
15430 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15431 # into the resulting binary.
15432 hardcode_minus_L=$hardcode_minus_L
15433
15434 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15435 # into the resulting binary.
15436 hardcode_shlibpath_var=$hardcode_shlibpath_var
15437
15438 # Set to "yes" if building a shared library automatically hardcodes DIR
15439 # into the library and all subsequent libraries and executables linked
15440 # against it.
15441 hardcode_automatic=$hardcode_automatic
15442
15443 # Set to yes if linker adds runtime paths of dependent libraries
15444 # to runtime path list.
15445 inherit_rpath=$inherit_rpath
15446
15447 # Whether libtool must link a program against all its dependency libraries.
15448 link_all_deplibs=$link_all_deplibs
15449
15450 # Set to "yes" if exported symbols are required.
15451 always_export_symbols=$always_export_symbols
15452
15453 # The commands to list exported symbols.
15454 export_symbols_cmds=$lt_export_symbols_cmds
15455
15456 # Symbols that should not be listed in the preloaded symbols.
15457 exclude_expsyms=$lt_exclude_expsyms
15458
15459 # Symbols that must always be exported.
15460 include_expsyms=$lt_include_expsyms
15461
15462 # Commands necessary for linking programs (against libraries) with templates.
15463 prelink_cmds=$lt_prelink_cmds
15464
15465 # Commands necessary for finishing linking programs.
15466 postlink_cmds=$lt_postlink_cmds
15467
15468 # Specify filename containing input files.
15469 file_list_spec=$lt_file_list_spec
15470
15471 # How to hardcode a shared library path into an executable.
15472 hardcode_action=$hardcode_action
15473
15474 # ### END LIBTOOL CONFIG
15475
15476 _LT_EOF
15477
15478   case $host_os in
15479   aix3*)
15480     cat <<\_LT_EOF >> "$cfgfile"
15481 # AIX sometimes has problems with the GCC collect2 program.  For some
15482 # reason, if we set the COLLECT_NAMES environment variable, the problems
15483 # vanish in a puff of smoke.
15484 if test "X${COLLECT_NAMES+set}" != Xset; then
15485   COLLECT_NAMES=
15486   export COLLECT_NAMES
15487 fi
15488 _LT_EOF
15489     ;;
15490   esac
15491
15492
15493 ltmain="$ac_aux_dir/ltmain.sh"
15494
15495
15496   # We use sed instead of cat because bash on DJGPP gets confused if
15497   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15498   # text mode, it properly converts lines to CR/LF.  This bash problem
15499   # is reportedly fixed, but why not run on old versions too?
15500   sed '$q' "$ltmain" >> "$cfgfile" \
15501      || (rm -f "$cfgfile"; exit 1)
15502
15503   if test x"$xsi_shell" = xyes; then
15504   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15505 func_dirname ()\
15506 {\
15507 \    case ${1} in\
15508 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15509 \      *  ) func_dirname_result="${3}" ;;\
15510 \    esac\
15511 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15512   && mv -f "$cfgfile.tmp" "$cfgfile" \
15513     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15514 test 0 -eq $? || _lt_function_replace_fail=:
15515
15516
15517   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15518 func_basename ()\
15519 {\
15520 \    func_basename_result="${1##*/}"\
15521 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15522   && mv -f "$cfgfile.tmp" "$cfgfile" \
15523     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15524 test 0 -eq $? || _lt_function_replace_fail=:
15525
15526
15527   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15528 func_dirname_and_basename ()\
15529 {\
15530 \    case ${1} in\
15531 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15532 \      *  ) func_dirname_result="${3}" ;;\
15533 \    esac\
15534 \    func_basename_result="${1##*/}"\
15535 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15536   && mv -f "$cfgfile.tmp" "$cfgfile" \
15537     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15538 test 0 -eq $? || _lt_function_replace_fail=:
15539
15540
15541   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15542 func_stripname ()\
15543 {\
15544 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15545 \    # positional parameters, so assign one to ordinary parameter first.\
15546 \    func_stripname_result=${3}\
15547 \    func_stripname_result=${func_stripname_result#"${1}"}\
15548 \    func_stripname_result=${func_stripname_result%"${2}"}\
15549 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15550   && mv -f "$cfgfile.tmp" "$cfgfile" \
15551     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15552 test 0 -eq $? || _lt_function_replace_fail=:
15553
15554
15555   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15556 func_split_long_opt ()\
15557 {\
15558 \    func_split_long_opt_name=${1%%=*}\
15559 \    func_split_long_opt_arg=${1#*=}\
15560 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15561   && mv -f "$cfgfile.tmp" "$cfgfile" \
15562     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15563 test 0 -eq $? || _lt_function_replace_fail=:
15564
15565
15566   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15567 func_split_short_opt ()\
15568 {\
15569 \    func_split_short_opt_arg=${1#??}\
15570 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15571 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15572   && mv -f "$cfgfile.tmp" "$cfgfile" \
15573     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15574 test 0 -eq $? || _lt_function_replace_fail=:
15575
15576
15577   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15578 func_lo2o ()\
15579 {\
15580 \    case ${1} in\
15581 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15582 \      *)    func_lo2o_result=${1} ;;\
15583 \    esac\
15584 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15585   && mv -f "$cfgfile.tmp" "$cfgfile" \
15586     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15587 test 0 -eq $? || _lt_function_replace_fail=:
15588
15589
15590   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15591 func_xform ()\
15592 {\
15593     func_xform_result=${1%.*}.lo\
15594 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15595   && mv -f "$cfgfile.tmp" "$cfgfile" \
15596     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15597 test 0 -eq $? || _lt_function_replace_fail=:
15598
15599
15600   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15601 func_arith ()\
15602 {\
15603     func_arith_result=$(( $* ))\
15604 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15605   && mv -f "$cfgfile.tmp" "$cfgfile" \
15606     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15607 test 0 -eq $? || _lt_function_replace_fail=:
15608
15609
15610   sed -e '/^func_len ()$/,/^} # func_len /c\
15611 func_len ()\
15612 {\
15613     func_len_result=${#1}\
15614 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15615   && mv -f "$cfgfile.tmp" "$cfgfile" \
15616     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15617 test 0 -eq $? || _lt_function_replace_fail=:
15618
15619 fi
15620
15621 if test x"$lt_shell_append" = xyes; then
15622   sed -e '/^func_append ()$/,/^} # func_append /c\
15623 func_append ()\
15624 {\
15625     eval "${1}+=\\${2}"\
15626 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15627   && mv -f "$cfgfile.tmp" "$cfgfile" \
15628     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15629 test 0 -eq $? || _lt_function_replace_fail=:
15630
15631
15632   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15633 func_append_quoted ()\
15634 {\
15635 \    func_quote_for_eval "${2}"\
15636 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15637 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15638   && mv -f "$cfgfile.tmp" "$cfgfile" \
15639     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15640 test 0 -eq $? || _lt_function_replace_fail=:
15641
15642
15643   # Save a `func_append' function call where possible by direct use of '+='
15644   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15645     && mv -f "$cfgfile.tmp" "$cfgfile" \
15646       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15647   test 0 -eq $? || _lt_function_replace_fail=:
15648 else
15649   # Save a `func_append' function call even when '+=' is not available
15650   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15651     && mv -f "$cfgfile.tmp" "$cfgfile" \
15652       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15653   test 0 -eq $? || _lt_function_replace_fail=:
15654 fi
15655
15656 if test x"$_lt_function_replace_fail" = x":"; then
15657   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15658 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15659 fi
15660
15661
15662    mv -f "$cfgfile" "$ofile" ||
15663     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15664   chmod +x "$ofile"
15665
15666  ;;
15667
15668   esac
15669 done # for ac_tag
15670
15671
15672 as_fn_exit 0
15673 _ACEOF
15674 ac_clean_files=$ac_clean_files_save
15675
15676 test $ac_write_fail = 0 ||
15677   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15678
15679
15680 # configure is writing to config.log, and then calls config.status.
15681 # config.status does its own redirection, appending to config.log.
15682 # Unfortunately, on DOS this fails, as config.log is still kept open
15683 # by configure, so config.status won't be able to write to it; its
15684 # output is simply discarded.  So we exec the FD to /dev/null,
15685 # effectively closing config.log, so it can be properly (re)opened and
15686 # appended to by config.status.  When coming back to configure, we
15687 # need to make the FD available again.
15688 if test "$no_create" != yes; then
15689   ac_cs_success=:
15690   ac_config_status_args=
15691   test "$silent" = yes &&
15692     ac_config_status_args="$ac_config_status_args --quiet"
15693   exec 5>/dev/null
15694   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15695   exec 5>>config.log
15696   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15697   # would make configure fail if this is the last instruction.
15698   $ac_cs_success || as_fn_exit 1
15699 fi
15700 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15701   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15702 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15703 fi
15704
15705
15706 if test "$util_linux_ok" = no; then
15707         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15708 ******************************************************************
15709 * Please install util-linux version 2.18 or later which supports *
15710 * --fake and --no-canonicalize options in mount and umount       *
15711 ******************************************************************" >&5
15712 $as_echo "$as_me: WARNING:
15713 ******************************************************************
15714 * Please install util-linux version 2.18 or later which supports *
15715 * --fake and --no-canonicalize options in mount and umount       *
15716 ******************************************************************" >&2;}
15717 fi