util/ulockmgr_server.c: conditionally define closefrom (fix glibc-2.34+)
[platform/upstream/fuse.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for fuse 2.9.9.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204     PATH=/empty FPATH=/empty; export PATH FPATH
205     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208   if (eval "$as_required") 2>/dev/null; then :
209   as_have_required=yes
210 else
211   as_have_required=no
212 fi
213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220   IFS=$as_save_IFS
221   test -z "$as_dir" && as_dir=.
222   as_found=:
223   case $as_dir in #(
224          /*)
225            for as_base in sh bash ksh sh5; do
226              # Try only shells that exist, to save several forks.
227              as_shell=$as_dir/$as_base
228              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230   CONFIG_SHELL=$as_shell as_have_required=yes
231                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   break 2
233 fi
234 fi
235            done;;
236        esac
237   as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241   CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246       if test "x$CONFIG_SHELL" != x; then :
247   export CONFIG_SHELL
248              # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256   *v*x* | *x*v* ) as_opts=-vx ;;
257   *v* ) as_opts=-v ;;
258   *x* ) as_opts=-x ;;
259   * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268     if test x$as_have_required = xno; then :
269   $as_echo "$0: This script requires a shell more modern than all"
270   $as_echo "$0: the shells that I found on your system."
271   if test x${ZSH_VERSION+set} = xset ; then
272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274   else
275     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279   fi
280   exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298   { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307   return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315   set +e
316   as_fn_set_status $1
317   exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326   case $as_dir in #(
327   -*) as_dir=./$as_dir;;
328   esac
329   test -d "$as_dir" || eval $as_mkdir_p || {
330     as_dirs=
331     while :; do
332       case $as_dir in #(
333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334       *) as_qdir=$as_dir;;
335       esac
336       as_dirs="'$as_qdir' $as_dirs"
337       as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339          X"$as_dir" : 'X\(//\)[^/]' \| \
340          X"$as_dir" : 'X\(//\)$' \| \
341          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\/\)[^/].*/{
348             s//\1/
349             q
350           }
351           /^X\(\/\/\)$/{
352             s//\1/
353             q
354           }
355           /^X\(\/\).*/{
356             s//\1/
357             q
358           }
359           s/.*/./; q'`
360       test -d "$as_dir" && break
361     done
362     test -z "$as_dirs" || eval "mkdir $as_dirs"
363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373   test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382   eval 'as_fn_append ()
383   {
384     eval $1+=\$2
385   }'
386 else
387   as_fn_append ()
388   {
389     eval $1=\$$1\$2
390   }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399   eval 'as_fn_arith ()
400   {
401     as_val=$(( $* ))
402   }'
403 else
404   as_fn_arith ()
405   {
406     as_val=`expr "$@" || test $? -eq 1`
407   }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418   as_status=$1; test $as_status -eq 0 && as_status=1
419   if test "$4"; then
420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422   fi
423   $as_echo "$as_me: error: $2" >&2
424   as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
429   as_expr=expr
430 else
431   as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435   as_basename=basename
436 else
437   as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441   as_dirname=dirname
442 else
443   as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448          X"$0" : 'X\(//\)$' \| \
449          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451     sed '/^.*\/\([^/][^/]*\)\/*$/{
452             s//\1/
453             q
454           }
455           /^X\/\(\/\/\)$/{
456             s//\1/
457             q
458           }
459           /^X\/\(\/\).*/{
460             s//\1/
461             q
462           }
463           s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478   sed -n '
479     p
480     /[$]LINENO/=
481   ' <$as_myself |
482     sed '
483       s/[$]LINENO.*/&-/
484       t lineno
485       b
486       :lineno
487       N
488       :loop
489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490       t loop
491       s/-\n.*//
492     ' >$as_me.lineno &&
493   chmod +x "$as_me.lineno" ||
494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497   # already done that, so ensure we don't try to do so again and fall
498   # in an infinite loop.  This has already happened in practice.
499   _as_can_reexec=no; export _as_can_reexec
500   # Don't try to exec as it changes $[0], causing all sort of problems
501   # (the dirname of $[0] is not the place where we might find the
502   # original and so on.  Autoconf is especially sensitive to this).
503   . "./$as_me.lineno"
504   # Exit status is that of the last command.
505   exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511   case `echo 'xy\c'` in
512   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
513   xy)  ECHO_C='\c';;
514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515        ECHO_T=' ';;
516   esac;;
517 *)
518   ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523   rm -f conf$$.dir/conf$$.file
524 else
525   rm -f conf$$.dir
526   mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529   if ln -s conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s='ln -s'
531     # ... but there are two gotchas:
532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534     # In both cases, we have to default to `cp -pR'.
535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536       as_ln_s='cp -pR'
537   elif ln conf$$.file conf$$ 2>/dev/null; then
538     as_ln_s=ln
539   else
540     as_ln_s='cp -pR'
541   fi
542 else
543   as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549   as_mkdir_p='mkdir -p "$as_dir"'
550 else
551   test -d ./-p && rmdir ./-p
552   as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='fuse'
589 PACKAGE_TARNAME='fuse'
590 PACKAGE_VERSION='2.9.9'
591 PACKAGE_STRING='fuse 2.9.9'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 # Factoring default headers for most tests.
596 ac_includes_default="\
597 #include <stdio.h>
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
600 #endif
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
603 #endif
604 #ifdef STDC_HEADERS
605 # include <stdlib.h>
606 # include <stddef.h>
607 #else
608 # ifdef HAVE_STDLIB_H
609 #  include <stdlib.h>
610 # endif
611 #endif
612 #ifdef HAVE_STRING_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 #  include <memory.h>
615 # endif
616 # include <string.h>
617 #endif
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
620 #endif
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
623 #endif
624 #ifdef HAVE_STDINT_H
625 # include <stdint.h>
626 #endif
627 #ifdef HAVE_UNISTD_H
628 # include <unistd.h>
629 #endif"
630
631 ac_subst_vars='am__EXEEXT_FALSE
632 am__EXEEXT_TRUE
633 LTLIBOBJS
634 LIBOBJS
635 BSD_FALSE
636 BSD_TRUE
637 NETBSD_FALSE
638 NETBSD_TRUE
639 LINUX_FALSE
640 LINUX_TRUE
641 subdirs2
642 INIT_D_PATH
643 UDEV_RULES_PATH
644 MOUNT_FUSE_PATH
645 libfuse_libs
646 ICONV_FALSE
647 ICONV_TRUE
648 LTLIBICONV
649 LIBICONV
650 pkgconfigdir
651 CPP
652 LT_SYS_LIBRARY_PATH
653 OTOOL64
654 OTOOL
655 LIPO
656 NMEDIT
657 DSYMUTIL
658 MANIFEST_TOOL
659 RANLIB
660 ac_ct_AR
661 AR
662 DLLTOOL
663 OBJDUMP
664 LN_S
665 NM
666 ac_ct_DUMPBIN
667 DUMPBIN
668 LD
669 FGREP
670 EGREP
671 GREP
672 SED
673 am__fastdepCC_FALSE
674 am__fastdepCC_TRUE
675 CCDEPMODE
676 am__nodep
677 AMDEPBACKSLASH
678 AMDEP_FALSE
679 AMDEP_TRUE
680 am__quote
681 am__include
682 DEPDIR
683 OBJEXT
684 EXEEXT
685 ac_ct_CC
686 CPPFLAGS
687 LDFLAGS
688 CFLAGS
689 CC
690 LIBTOOL
691 AM_BACKSLASH
692 AM_DEFAULT_VERBOSITY
693 AM_DEFAULT_V
694 AM_V
695 am__untar
696 am__tar
697 AMTAR
698 am__leading_dot
699 SET_MAKE
700 AWK
701 mkdir_p
702 MKDIR_P
703 INSTALL_STRIP_PROGRAM
704 STRIP
705 install_sh
706 MAKEINFO
707 AUTOHEADER
708 AUTOMAKE
709 AUTOCONF
710 ACLOCAL
711 VERSION
712 PACKAGE
713 CYGPATH_W
714 am__isrc
715 INSTALL_DATA
716 INSTALL_SCRIPT
717 INSTALL_PROGRAM
718 target_os
719 target_vendor
720 target_cpu
721 target
722 host_os
723 host_vendor
724 host_cpu
725 host
726 build_os
727 build_vendor
728 build_cpu
729 build
730 target_alias
731 host_alias
732 build_alias
733 LIBS
734 ECHO_T
735 ECHO_N
736 ECHO_C
737 DEFS
738 mandir
739 localedir
740 libdir
741 psdir
742 pdfdir
743 dvidir
744 htmldir
745 infodir
746 docdir
747 oldincludedir
748 includedir
749 runstatedir
750 localstatedir
751 sharedstatedir
752 sysconfdir
753 datadir
754 datarootdir
755 libexecdir
756 sbindir
757 bindir
758 program_transform_name
759 prefix
760 exec_prefix
761 PACKAGE_URL
762 PACKAGE_BUGREPORT
763 PACKAGE_STRING
764 PACKAGE_VERSION
765 PACKAGE_TARNAME
766 PACKAGE_NAME
767 PATH_SEPARATOR
768 SHELL'
769 ac_subst_files=''
770 ac_user_opts='
771 enable_option_checking
772 enable_silent_rules
773 enable_shared
774 enable_static
775 with_pic
776 enable_fast_install
777 with_aix_soname
778 enable_dependency_tracking
779 with_gnu_ld
780 with_sysroot
781 enable_libtool_lock
782 enable_largefile
783 enable_lib
784 enable_util
785 enable_example
786 enable_mtab
787 with_pkgconfigdir
788 with_libiconv_prefix
789 enable_rpath
790 '
791       ac_precious_vars='build_alias
792 host_alias
793 target_alias
794 CC
795 CFLAGS
796 LDFLAGS
797 LIBS
798 CPPFLAGS
799 LT_SYS_LIBRARY_PATH
800 CPP'
801
802
803 # Initialize some variables set by options.
804 ac_init_help=
805 ac_init_version=false
806 ac_unrecognized_opts=
807 ac_unrecognized_sep=
808 # The variables have the same names as the options, with
809 # dashes changed to underlines.
810 cache_file=/dev/null
811 exec_prefix=NONE
812 no_create=
813 no_recursion=
814 prefix=NONE
815 program_prefix=NONE
816 program_suffix=NONE
817 program_transform_name=s,x,x,
818 silent=
819 site=
820 srcdir=
821 verbose=
822 x_includes=NONE
823 x_libraries=NONE
824
825 # Installation directory options.
826 # These are left unexpanded so users can "make install exec_prefix=/foo"
827 # and all the variables that are supposed to be based on exec_prefix
828 # by default will actually change.
829 # Use braces instead of parens because sh, perl, etc. also accept them.
830 # (The list follows the same order as the GNU Coding Standards.)
831 bindir='${exec_prefix}/bin'
832 sbindir='${exec_prefix}/sbin'
833 libexecdir='${exec_prefix}/libexec'
834 datarootdir='${prefix}/share'
835 datadir='${datarootdir}'
836 sysconfdir='${prefix}/etc'
837 sharedstatedir='${prefix}/com'
838 localstatedir='${prefix}/var'
839 runstatedir='${localstatedir}/run'
840 includedir='${prefix}/include'
841 oldincludedir='/usr/include'
842 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
843 infodir='${datarootdir}/info'
844 htmldir='${docdir}'
845 dvidir='${docdir}'
846 pdfdir='${docdir}'
847 psdir='${docdir}'
848 libdir='${exec_prefix}/lib'
849 localedir='${datarootdir}/locale'
850 mandir='${datarootdir}/man'
851
852 ac_prev=
853 ac_dashdash=
854 for ac_option
855 do
856   # If the previous option needs an argument, assign it.
857   if test -n "$ac_prev"; then
858     eval $ac_prev=\$ac_option
859     ac_prev=
860     continue
861   fi
862
863   case $ac_option in
864   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865   *=)   ac_optarg= ;;
866   *)    ac_optarg=yes ;;
867   esac
868
869   # Accept the important Cygnus configure options, so we can diagnose typos.
870
871   case $ac_dashdash$ac_option in
872   --)
873     ac_dashdash=yes ;;
874
875   -bindir | --bindir | --bindi | --bind | --bin | --bi)
876     ac_prev=bindir ;;
877   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
878     bindir=$ac_optarg ;;
879
880   -build | --build | --buil | --bui | --bu)
881     ac_prev=build_alias ;;
882   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
883     build_alias=$ac_optarg ;;
884
885   -cache-file | --cache-file | --cache-fil | --cache-fi \
886   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
887     ac_prev=cache_file ;;
888   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
889   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
890     cache_file=$ac_optarg ;;
891
892   --config-cache | -C)
893     cache_file=config.cache ;;
894
895   -datadir | --datadir | --datadi | --datad)
896     ac_prev=datadir ;;
897   -datadir=* | --datadir=* | --datadi=* | --datad=*)
898     datadir=$ac_optarg ;;
899
900   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
901   | --dataroo | --dataro | --datar)
902     ac_prev=datarootdir ;;
903   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
904   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
905     datarootdir=$ac_optarg ;;
906
907   -disable-* | --disable-*)
908     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
909     # Reject names that are not valid shell variable names.
910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911       as_fn_error $? "invalid feature name: $ac_useropt"
912     ac_useropt_orig=$ac_useropt
913     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914     case $ac_user_opts in
915       *"
916 "enable_$ac_useropt"
917 "*) ;;
918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
919          ac_unrecognized_sep=', ';;
920     esac
921     eval enable_$ac_useropt=no ;;
922
923   -docdir | --docdir | --docdi | --doc | --do)
924     ac_prev=docdir ;;
925   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
926     docdir=$ac_optarg ;;
927
928   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
929     ac_prev=dvidir ;;
930   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
931     dvidir=$ac_optarg ;;
932
933   -enable-* | --enable-*)
934     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
935     # Reject names that are not valid shell variable names.
936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937       as_fn_error $? "invalid feature name: $ac_useropt"
938     ac_useropt_orig=$ac_useropt
939     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940     case $ac_user_opts in
941       *"
942 "enable_$ac_useropt"
943 "*) ;;
944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
945          ac_unrecognized_sep=', ';;
946     esac
947     eval enable_$ac_useropt=\$ac_optarg ;;
948
949   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
950   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
951   | --exec | --exe | --ex)
952     ac_prev=exec_prefix ;;
953   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
954   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
955   | --exec=* | --exe=* | --ex=*)
956     exec_prefix=$ac_optarg ;;
957
958   -gas | --gas | --ga | --g)
959     # Obsolete; use --with-gas.
960     with_gas=yes ;;
961
962   -help | --help | --hel | --he | -h)
963     ac_init_help=long ;;
964   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
965     ac_init_help=recursive ;;
966   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
967     ac_init_help=short ;;
968
969   -host | --host | --hos | --ho)
970     ac_prev=host_alias ;;
971   -host=* | --host=* | --hos=* | --ho=*)
972     host_alias=$ac_optarg ;;
973
974   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
975     ac_prev=htmldir ;;
976   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
977   | --ht=*)
978     htmldir=$ac_optarg ;;
979
980   -includedir | --includedir | --includedi | --included | --include \
981   | --includ | --inclu | --incl | --inc)
982     ac_prev=includedir ;;
983   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
984   | --includ=* | --inclu=* | --incl=* | --inc=*)
985     includedir=$ac_optarg ;;
986
987   -infodir | --infodir | --infodi | --infod | --info | --inf)
988     ac_prev=infodir ;;
989   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
990     infodir=$ac_optarg ;;
991
992   -libdir | --libdir | --libdi | --libd)
993     ac_prev=libdir ;;
994   -libdir=* | --libdir=* | --libdi=* | --libd=*)
995     libdir=$ac_optarg ;;
996
997   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
998   | --libexe | --libex | --libe)
999     ac_prev=libexecdir ;;
1000   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1001   | --libexe=* | --libex=* | --libe=*)
1002     libexecdir=$ac_optarg ;;
1003
1004   -localedir | --localedir | --localedi | --localed | --locale)
1005     ac_prev=localedir ;;
1006   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1007     localedir=$ac_optarg ;;
1008
1009   -localstatedir | --localstatedir | --localstatedi | --localstated \
1010   | --localstate | --localstat | --localsta | --localst | --locals)
1011     ac_prev=localstatedir ;;
1012   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1013   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1014     localstatedir=$ac_optarg ;;
1015
1016   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1017     ac_prev=mandir ;;
1018   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1019     mandir=$ac_optarg ;;
1020
1021   -nfp | --nfp | --nf)
1022     # Obsolete; use --without-fp.
1023     with_fp=no ;;
1024
1025   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1026   | --no-cr | --no-c | -n)
1027     no_create=yes ;;
1028
1029   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1030   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1031     no_recursion=yes ;;
1032
1033   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1034   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1035   | --oldin | --oldi | --old | --ol | --o)
1036     ac_prev=oldincludedir ;;
1037   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1038   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1039   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1040     oldincludedir=$ac_optarg ;;
1041
1042   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1043     ac_prev=prefix ;;
1044   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1045     prefix=$ac_optarg ;;
1046
1047   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1048   | --program-pre | --program-pr | --program-p)
1049     ac_prev=program_prefix ;;
1050   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1051   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1052     program_prefix=$ac_optarg ;;
1053
1054   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1055   | --program-suf | --program-su | --program-s)
1056     ac_prev=program_suffix ;;
1057   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1058   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1059     program_suffix=$ac_optarg ;;
1060
1061   -program-transform-name | --program-transform-name \
1062   | --program-transform-nam | --program-transform-na \
1063   | --program-transform-n | --program-transform- \
1064   | --program-transform | --program-transfor \
1065   | --program-transfo | --program-transf \
1066   | --program-trans | --program-tran \
1067   | --progr-tra | --program-tr | --program-t)
1068     ac_prev=program_transform_name ;;
1069   -program-transform-name=* | --program-transform-name=* \
1070   | --program-transform-nam=* | --program-transform-na=* \
1071   | --program-transform-n=* | --program-transform-=* \
1072   | --program-transform=* | --program-transfor=* \
1073   | --program-transfo=* | --program-transf=* \
1074   | --program-trans=* | --program-tran=* \
1075   | --progr-tra=* | --program-tr=* | --program-t=*)
1076     program_transform_name=$ac_optarg ;;
1077
1078   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1079     ac_prev=pdfdir ;;
1080   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1081     pdfdir=$ac_optarg ;;
1082
1083   -psdir | --psdir | --psdi | --psd | --ps)
1084     ac_prev=psdir ;;
1085   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1086     psdir=$ac_optarg ;;
1087
1088   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1089   | -silent | --silent | --silen | --sile | --sil)
1090     silent=yes ;;
1091
1092   -runstatedir | --runstatedir | --runstatedi | --runstated \
1093   | --runstate | --runstat | --runsta | --runst | --runs \
1094   | --run | --ru | --r)
1095     ac_prev=runstatedir ;;
1096   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1097   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1098   | --run=* | --ru=* | --r=*)
1099     runstatedir=$ac_optarg ;;
1100
1101   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1102     ac_prev=sbindir ;;
1103   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1104   | --sbi=* | --sb=*)
1105     sbindir=$ac_optarg ;;
1106
1107   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1108   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1109   | --sharedst | --shareds | --shared | --share | --shar \
1110   | --sha | --sh)
1111     ac_prev=sharedstatedir ;;
1112   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1113   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1114   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1115   | --sha=* | --sh=*)
1116     sharedstatedir=$ac_optarg ;;
1117
1118   -site | --site | --sit)
1119     ac_prev=site ;;
1120   -site=* | --site=* | --sit=*)
1121     site=$ac_optarg ;;
1122
1123   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1124     ac_prev=srcdir ;;
1125   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1126     srcdir=$ac_optarg ;;
1127
1128   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1129   | --syscon | --sysco | --sysc | --sys | --sy)
1130     ac_prev=sysconfdir ;;
1131   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1132   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1133     sysconfdir=$ac_optarg ;;
1134
1135   -target | --target | --targe | --targ | --tar | --ta | --t)
1136     ac_prev=target_alias ;;
1137   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1138     target_alias=$ac_optarg ;;
1139
1140   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1141     verbose=yes ;;
1142
1143   -version | --version | --versio | --versi | --vers | -V)
1144     ac_init_version=: ;;
1145
1146   -with-* | --with-*)
1147     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1148     # Reject names that are not valid shell variable names.
1149     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1150       as_fn_error $? "invalid package name: $ac_useropt"
1151     ac_useropt_orig=$ac_useropt
1152     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153     case $ac_user_opts in
1154       *"
1155 "with_$ac_useropt"
1156 "*) ;;
1157       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1158          ac_unrecognized_sep=', ';;
1159     esac
1160     eval with_$ac_useropt=\$ac_optarg ;;
1161
1162   -without-* | --without-*)
1163     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1164     # Reject names that are not valid shell variable names.
1165     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1166       as_fn_error $? "invalid package name: $ac_useropt"
1167     ac_useropt_orig=$ac_useropt
1168     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169     case $ac_user_opts in
1170       *"
1171 "with_$ac_useropt"
1172 "*) ;;
1173       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1174          ac_unrecognized_sep=', ';;
1175     esac
1176     eval with_$ac_useropt=no ;;
1177
1178   --x)
1179     # Obsolete; use --with-x.
1180     with_x=yes ;;
1181
1182   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1183   | --x-incl | --x-inc | --x-in | --x-i)
1184     ac_prev=x_includes ;;
1185   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1186   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1187     x_includes=$ac_optarg ;;
1188
1189   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1190   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1191     ac_prev=x_libraries ;;
1192   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1193   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1194     x_libraries=$ac_optarg ;;
1195
1196   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1197 Try \`$0 --help' for more information"
1198     ;;
1199
1200   *=*)
1201     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1202     # Reject names that are not valid shell variable names.
1203     case $ac_envvar in #(
1204       '' | [0-9]* | *[!_$as_cr_alnum]* )
1205       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1206     esac
1207     eval $ac_envvar=\$ac_optarg
1208     export $ac_envvar ;;
1209
1210   *)
1211     # FIXME: should be removed in autoconf 3.0.
1212     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1213     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1214       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1215     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1216     ;;
1217
1218   esac
1219 done
1220
1221 if test -n "$ac_prev"; then
1222   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1223   as_fn_error $? "missing argument to $ac_option"
1224 fi
1225
1226 if test -n "$ac_unrecognized_opts"; then
1227   case $enable_option_checking in
1228     no) ;;
1229     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1230     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1231   esac
1232 fi
1233
1234 # Check all directory arguments for consistency.
1235 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1236                 datadir sysconfdir sharedstatedir localstatedir includedir \
1237                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1238                 libdir localedir mandir runstatedir
1239 do
1240   eval ac_val=\$$ac_var
1241   # Remove trailing slashes.
1242   case $ac_val in
1243     */ )
1244       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1245       eval $ac_var=\$ac_val;;
1246   esac
1247   # Be sure to have absolute directory names.
1248   case $ac_val in
1249     [\\/$]* | ?:[\\/]* )  continue;;
1250     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1251   esac
1252   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1253 done
1254
1255 # There might be people who depend on the old broken behavior: `$host'
1256 # used to hold the argument of --host etc.
1257 # FIXME: To remove some day.
1258 build=$build_alias
1259 host=$host_alias
1260 target=$target_alias
1261
1262 # FIXME: To remove some day.
1263 if test "x$host_alias" != x; then
1264   if test "x$build_alias" = x; then
1265     cross_compiling=maybe
1266   elif test "x$build_alias" != "x$host_alias"; then
1267     cross_compiling=yes
1268   fi
1269 fi
1270
1271 ac_tool_prefix=
1272 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1273
1274 test "$silent" = yes && exec 6>/dev/null
1275
1276
1277 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1278 ac_ls_di=`ls -di .` &&
1279 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1280   as_fn_error $? "working directory cannot be determined"
1281 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1282   as_fn_error $? "pwd does not report name of working directory"
1283
1284
1285 # Find the source files, if location was not specified.
1286 if test -z "$srcdir"; then
1287   ac_srcdir_defaulted=yes
1288   # Try the directory containing this script, then the parent directory.
1289   ac_confdir=`$as_dirname -- "$as_myself" ||
1290 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1291          X"$as_myself" : 'X\(//\)[^/]' \| \
1292          X"$as_myself" : 'X\(//\)$' \| \
1293          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1294 $as_echo X"$as_myself" |
1295     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1296             s//\1/
1297             q
1298           }
1299           /^X\(\/\/\)[^/].*/{
1300             s//\1/
1301             q
1302           }
1303           /^X\(\/\/\)$/{
1304             s//\1/
1305             q
1306           }
1307           /^X\(\/\).*/{
1308             s//\1/
1309             q
1310           }
1311           s/.*/./; q'`
1312   srcdir=$ac_confdir
1313   if test ! -r "$srcdir/$ac_unique_file"; then
1314     srcdir=..
1315   fi
1316 else
1317   ac_srcdir_defaulted=no
1318 fi
1319 if test ! -r "$srcdir/$ac_unique_file"; then
1320   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1321   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1322 fi
1323 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1324 ac_abs_confdir=`(
1325         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1326         pwd)`
1327 # When building in place, set srcdir=.
1328 if test "$ac_abs_confdir" = "$ac_pwd"; then
1329   srcdir=.
1330 fi
1331 # Remove unnecessary trailing slashes from srcdir.
1332 # Double slashes in file names in object file debugging info
1333 # mess up M-x gdb in Emacs.
1334 case $srcdir in
1335 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1336 esac
1337 for ac_var in $ac_precious_vars; do
1338   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1339   eval ac_env_${ac_var}_value=\$${ac_var}
1340   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1341   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1342 done
1343
1344 #
1345 # Report the --help message.
1346 #
1347 if test "$ac_init_help" = "long"; then
1348   # Omit some internal or obsolete options to make the list less imposing.
1349   # This message is too long to be a string in the A/UX 3.1 sh.
1350   cat <<_ACEOF
1351 \`configure' configures fuse 2.9.9 to adapt to many kinds of systems.
1352
1353 Usage: $0 [OPTION]... [VAR=VALUE]...
1354
1355 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1356 VAR=VALUE.  See below for descriptions of some of the useful variables.
1357
1358 Defaults for the options are specified in brackets.
1359
1360 Configuration:
1361   -h, --help              display this help and exit
1362       --help=short        display options specific to this package
1363       --help=recursive    display the short help of all the included packages
1364   -V, --version           display version information and exit
1365   -q, --quiet, --silent   do not print \`checking ...' messages
1366       --cache-file=FILE   cache test results in FILE [disabled]
1367   -C, --config-cache      alias for \`--cache-file=config.cache'
1368   -n, --no-create         do not create output files
1369       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1370
1371 Installation directories:
1372   --prefix=PREFIX         install architecture-independent files in PREFIX
1373                           [$ac_default_prefix]
1374   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1375                           [PREFIX]
1376
1377 By default, \`make install' will install all the files in
1378 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1379 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1380 for instance \`--prefix=\$HOME'.
1381
1382 For better control, use the options below.
1383
1384 Fine tuning of the installation directories:
1385   --bindir=DIR            user executables [EPREFIX/bin]
1386   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1387   --libexecdir=DIR        program executables [EPREFIX/libexec]
1388   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1389   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1390   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1391   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1392   --libdir=DIR            object code libraries [EPREFIX/lib]
1393   --includedir=DIR        C header files [PREFIX/include]
1394   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1395   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1396   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1397   --infodir=DIR           info documentation [DATAROOTDIR/info]
1398   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1399   --mandir=DIR            man documentation [DATAROOTDIR/man]
1400   --docdir=DIR            documentation root [DATAROOTDIR/doc/fuse]
1401   --htmldir=DIR           html documentation [DOCDIR]
1402   --dvidir=DIR            dvi documentation [DOCDIR]
1403   --pdfdir=DIR            pdf documentation [DOCDIR]
1404   --psdir=DIR             ps documentation [DOCDIR]
1405 _ACEOF
1406
1407   cat <<\_ACEOF
1408
1409 Program names:
1410   --program-prefix=PREFIX            prepend PREFIX to installed program names
1411   --program-suffix=SUFFIX            append SUFFIX to installed program names
1412   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1413
1414 System types:
1415   --build=BUILD     configure for building on BUILD [guessed]
1416   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1417   --target=TARGET   configure for building compilers for TARGET [HOST]
1418 _ACEOF
1419 fi
1420
1421 if test -n "$ac_init_help"; then
1422   case $ac_init_help in
1423      short | recursive ) echo "Configuration of fuse 2.9.9:";;
1424    esac
1425   cat <<\_ACEOF
1426
1427 Optional Features:
1428   --disable-option-checking  ignore unrecognized --enable/--with options
1429   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1430   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1431   --enable-silent-rules   less verbose build output (undo: "make V=1")
1432   --disable-silent-rules  verbose build output (undo: "make V=0")
1433   --enable-shared[=PKGS]  build shared libraries [default=yes]
1434   --enable-static[=PKGS]  build static libraries [default=yes]
1435   --enable-fast-install[=PKGS]
1436                           optimize for fast installation [default=yes]
1437   --enable-dependency-tracking
1438                           do not reject slow dependency extractors
1439   --disable-dependency-tracking
1440                           speeds up one-time build
1441   --disable-libtool-lock  avoid locking (might break parallel builds)
1442   --disable-largefile     omit support for large files
1443   --enable-lib            Compile with library
1444   --enable-util           Compile with util
1445   --enable-example        Compile with examples
1446   --disable-mtab          Disable and ignore usage of /etc/mtab
1447   --disable-rpath         do not hardcode runtime library paths
1448
1449 Optional Packages:
1450   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1451   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1452   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1453                           both]
1454   --with-aix-soname=aix|svr4|both
1455                           shared library versioning (aka "SONAME") variant to
1456                           provide on AIX, [default=aix].
1457   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1458   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1459                           compiler's sysroot if not specified).
1460   --with-pkgconfigdir=DIR      pkgconfig file in DIR [LIBDIR/pkgconfig]
1461   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
1462   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1463   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1464   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1465
1466 Some influential environment variables:
1467   CC          C compiler command
1468   CFLAGS      C compiler flags
1469   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1470               nonstandard directory <lib dir>
1471   LIBS        libraries to pass to the linker, e.g. -l<library>
1472   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1473               you have headers in a nonstandard directory <include dir>
1474   LT_SYS_LIBRARY_PATH
1475               User-defined run-time library search path.
1476   CPP         C preprocessor
1477
1478 Use these variables to override the choices made by `configure' or to help
1479 it to find libraries and programs with nonstandard names/locations.
1480
1481 Report bugs to the package provider.
1482 _ACEOF
1483 ac_status=$?
1484 fi
1485
1486 if test "$ac_init_help" = "recursive"; then
1487   # If there are subdirs, report their specific --help.
1488   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489     test -d "$ac_dir" ||
1490       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1491       continue
1492     ac_builddir=.
1493
1494 case "$ac_dir" in
1495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496 *)
1497   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1498   # A ".." for each directory in $ac_dir_suffix.
1499   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1500   case $ac_top_builddir_sub in
1501   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1502   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503   esac ;;
1504 esac
1505 ac_abs_top_builddir=$ac_pwd
1506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1507 # for backward compatibility:
1508 ac_top_builddir=$ac_top_build_prefix
1509
1510 case $srcdir in
1511   .)  # We are building in place.
1512     ac_srcdir=.
1513     ac_top_srcdir=$ac_top_builddir_sub
1514     ac_abs_top_srcdir=$ac_pwd ;;
1515   [\\/]* | ?:[\\/]* )  # Absolute name.
1516     ac_srcdir=$srcdir$ac_dir_suffix;
1517     ac_top_srcdir=$srcdir
1518     ac_abs_top_srcdir=$srcdir ;;
1519   *) # Relative name.
1520     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1521     ac_top_srcdir=$ac_top_build_prefix$srcdir
1522     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1523 esac
1524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1525
1526     cd "$ac_dir" || { ac_status=$?; continue; }
1527     # Check for guested configure.
1528     if test -f "$ac_srcdir/configure.gnu"; then
1529       echo &&
1530       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1531     elif test -f "$ac_srcdir/configure"; then
1532       echo &&
1533       $SHELL "$ac_srcdir/configure" --help=recursive
1534     else
1535       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1536     fi || ac_status=$?
1537     cd "$ac_pwd" || { ac_status=$?; break; }
1538   done
1539 fi
1540
1541 test -n "$ac_init_help" && exit $ac_status
1542 if $ac_init_version; then
1543   cat <<\_ACEOF
1544 fuse configure 2.9.9
1545 generated by GNU Autoconf 2.69
1546
1547 Copyright (C) 2012 Free Software Foundation, Inc.
1548 This configure script is free software; the Free Software Foundation
1549 gives unlimited permission to copy, distribute and modify it.
1550 _ACEOF
1551   exit
1552 fi
1553
1554 ## ------------------------ ##
1555 ## Autoconf initialization. ##
1556 ## ------------------------ ##
1557
1558 # ac_fn_c_try_compile LINENO
1559 # --------------------------
1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1561 ac_fn_c_try_compile ()
1562 {
1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564   rm -f conftest.$ac_objext
1565   if { { ac_try="$ac_compile"
1566 case "(($ac_try" in
1567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1568   *) ac_try_echo=$ac_try;;
1569 esac
1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571 $as_echo "$ac_try_echo"; } >&5
1572   (eval "$ac_compile") 2>conftest.err
1573   ac_status=$?
1574   if test -s conftest.err; then
1575     grep -v '^ *+' conftest.err >conftest.er1
1576     cat conftest.er1 >&5
1577     mv -f conftest.er1 conftest.err
1578   fi
1579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580   test $ac_status = 0; } && {
1581          test -z "$ac_c_werror_flag" ||
1582          test ! -s conftest.err
1583        } && test -s conftest.$ac_objext; then :
1584   ac_retval=0
1585 else
1586   $as_echo "$as_me: failed program was:" >&5
1587 sed 's/^/| /' conftest.$ac_ext >&5
1588
1589         ac_retval=1
1590 fi
1591   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1592   as_fn_set_status $ac_retval
1593
1594 } # ac_fn_c_try_compile
1595
1596 # ac_fn_c_try_link LINENO
1597 # -----------------------
1598 # Try to link conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_link ()
1600 {
1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602   rm -f conftest.$ac_objext conftest$ac_exeext
1603   if { { ac_try="$ac_link"
1604 case "(($ac_try" in
1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606   *) ac_try_echo=$ac_try;;
1607 esac
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610   (eval "$ac_link") 2>conftest.err
1611   ac_status=$?
1612   if test -s conftest.err; then
1613     grep -v '^ *+' conftest.err >conftest.er1
1614     cat conftest.er1 >&5
1615     mv -f conftest.er1 conftest.err
1616   fi
1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618   test $ac_status = 0; } && {
1619          test -z "$ac_c_werror_flag" ||
1620          test ! -s conftest.err
1621        } && test -s conftest$ac_exeext && {
1622          test "$cross_compiling" = yes ||
1623          test -x conftest$ac_exeext
1624        }; then :
1625   ac_retval=0
1626 else
1627   $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.$ac_ext >&5
1629
1630         ac_retval=1
1631 fi
1632   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1633   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1634   # interfere with the next link command; also delete a directory that is
1635   # left behind by Apple's compiler.  We do this before executing the actions.
1636   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638   as_fn_set_status $ac_retval
1639
1640 } # ac_fn_c_try_link
1641
1642 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1643 # -------------------------------------------------------
1644 # Tests whether HEADER exists and can be compiled using the include files in
1645 # INCLUDES, setting the cache variable VAR accordingly.
1646 ac_fn_c_check_header_compile ()
1647 {
1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1650 $as_echo_n "checking for $2... " >&6; }
1651 if eval \${$3+:} false; then :
1652   $as_echo_n "(cached) " >&6
1653 else
1654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h.  */
1656 $4
1657 #include <$2>
1658 _ACEOF
1659 if ac_fn_c_try_compile "$LINENO"; then :
1660   eval "$3=yes"
1661 else
1662   eval "$3=no"
1663 fi
1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1665 fi
1666 eval ac_res=\$$3
1667                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670
1671 } # ac_fn_c_check_header_compile
1672
1673 # ac_fn_c_try_cpp LINENO
1674 # ----------------------
1675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_c_try_cpp ()
1677 {
1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679   if { { ac_try="$ac_cpp conftest.$ac_ext"
1680 case "(($ac_try" in
1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682   *) ac_try_echo=$ac_try;;
1683 esac
1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685 $as_echo "$ac_try_echo"; } >&5
1686   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1687   ac_status=$?
1688   if test -s conftest.err; then
1689     grep -v '^ *+' conftest.err >conftest.er1
1690     cat conftest.er1 >&5
1691     mv -f conftest.er1 conftest.err
1692   fi
1693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694   test $ac_status = 0; } > conftest.i && {
1695          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1696          test ! -s conftest.err
1697        }; then :
1698   ac_retval=0
1699 else
1700   $as_echo "$as_me: failed program was:" >&5
1701 sed 's/^/| /' conftest.$ac_ext >&5
1702
1703     ac_retval=1
1704 fi
1705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706   as_fn_set_status $ac_retval
1707
1708 } # ac_fn_c_try_cpp
1709
1710 # ac_fn_c_try_run LINENO
1711 # ----------------------
1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1713 # that executables *can* be run.
1714 ac_fn_c_try_run ()
1715 {
1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717   if { { ac_try="$ac_link"
1718 case "(($ac_try" in
1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720   *) ac_try_echo=$ac_try;;
1721 esac
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724   (eval "$ac_link") 2>&5
1725   ac_status=$?
1726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1728   { { case "(($ac_try" in
1729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730   *) ac_try_echo=$ac_try;;
1731 esac
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734   (eval "$ac_try") 2>&5
1735   ac_status=$?
1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737   test $ac_status = 0; }; }; then :
1738   ac_retval=0
1739 else
1740   $as_echo "$as_me: program exited with status $ac_status" >&5
1741        $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1743
1744        ac_retval=$ac_status
1745 fi
1746   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1747   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748   as_fn_set_status $ac_retval
1749
1750 } # ac_fn_c_try_run
1751
1752 # ac_fn_c_check_func LINENO FUNC VAR
1753 # ----------------------------------
1754 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1755 ac_fn_c_check_func ()
1756 {
1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1759 $as_echo_n "checking for $2... " >&6; }
1760 if eval \${$3+:} false; then :
1761   $as_echo_n "(cached) " >&6
1762 else
1763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h.  */
1765 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1767 #define $2 innocuous_$2
1768
1769 /* System header to define __stub macros and hopefully few prototypes,
1770     which can conflict with char $2 (); below.
1771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1772     <limits.h> exists even on freestanding compilers.  */
1773
1774 #ifdef __STDC__
1775 # include <limits.h>
1776 #else
1777 # include <assert.h>
1778 #endif
1779
1780 #undef $2
1781
1782 /* Override any GCC internal prototype to avoid an error.
1783    Use char because int might match the return type of a GCC
1784    builtin and then its argument prototype would still apply.  */
1785 #ifdef __cplusplus
1786 extern "C"
1787 #endif
1788 char $2 ();
1789 /* The GNU C library defines this for functions which it implements
1790     to always fail with ENOSYS.  Some functions are actually named
1791     something starting with __ and the normal name is an alias.  */
1792 #if defined __stub_$2 || defined __stub___$2
1793 choke me
1794 #endif
1795
1796 int
1797 main ()
1798 {
1799 return $2 ();
1800   ;
1801   return 0;
1802 }
1803 _ACEOF
1804 if ac_fn_c_try_link "$LINENO"; then :
1805   eval "$3=yes"
1806 else
1807   eval "$3=no"
1808 fi
1809 rm -f core conftest.err conftest.$ac_objext \
1810     conftest$ac_exeext conftest.$ac_ext
1811 fi
1812 eval ac_res=\$$3
1813                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816
1817 } # ac_fn_c_check_func
1818
1819 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1820 # ----------------------------------------------------
1821 # Tries to find if the field MEMBER exists in type AGGR, after including
1822 # INCLUDES, setting cache variable VAR accordingly.
1823 ac_fn_c_check_member ()
1824 {
1825   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1827 $as_echo_n "checking for $2.$3... " >&6; }
1828 if eval \${$4+:} false; then :
1829   $as_echo_n "(cached) " >&6
1830 else
1831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1832 /* end confdefs.h.  */
1833 $5
1834 int
1835 main ()
1836 {
1837 static $2 ac_aggr;
1838 if (ac_aggr.$3)
1839 return 0;
1840   ;
1841   return 0;
1842 }
1843 _ACEOF
1844 if ac_fn_c_try_compile "$LINENO"; then :
1845   eval "$4=yes"
1846 else
1847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848 /* end confdefs.h.  */
1849 $5
1850 int
1851 main ()
1852 {
1853 static $2 ac_aggr;
1854 if (sizeof ac_aggr.$3)
1855 return 0;
1856   ;
1857   return 0;
1858 }
1859 _ACEOF
1860 if ac_fn_c_try_compile "$LINENO"; then :
1861   eval "$4=yes"
1862 else
1863   eval "$4=no"
1864 fi
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866 fi
1867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1868 fi
1869 eval ac_res=\$$4
1870                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1872   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1874 } # ac_fn_c_check_member
1875 cat >config.log <<_ACEOF
1876 This file contains any messages produced by compilers while
1877 running configure, to aid debugging if configure makes a mistake.
1878
1879 It was created by fuse $as_me 2.9.9, which was
1880 generated by GNU Autoconf 2.69.  Invocation command line was
1881
1882   $ $0 $@
1883
1884 _ACEOF
1885 exec 5>>config.log
1886 {
1887 cat <<_ASUNAME
1888 ## --------- ##
1889 ## Platform. ##
1890 ## --------- ##
1891
1892 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1893 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1894 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1895 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1896 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1897
1898 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1899 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1900
1901 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1902 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1903 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1904 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1905 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1906 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1907 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1908
1909 _ASUNAME
1910
1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 for as_dir in $PATH
1913 do
1914   IFS=$as_save_IFS
1915   test -z "$as_dir" && as_dir=.
1916     $as_echo "PATH: $as_dir"
1917   done
1918 IFS=$as_save_IFS
1919
1920 } >&5
1921
1922 cat >&5 <<_ACEOF
1923
1924
1925 ## ----------- ##
1926 ## Core tests. ##
1927 ## ----------- ##
1928
1929 _ACEOF
1930
1931
1932 # Keep a trace of the command line.
1933 # Strip out --no-create and --no-recursion so they do not pile up.
1934 # Strip out --silent because we don't want to record it for future runs.
1935 # Also quote any args containing shell meta-characters.
1936 # Make two passes to allow for proper duplicate-argument suppression.
1937 ac_configure_args=
1938 ac_configure_args0=
1939 ac_configure_args1=
1940 ac_must_keep_next=false
1941 for ac_pass in 1 2
1942 do
1943   for ac_arg
1944   do
1945     case $ac_arg in
1946     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1947     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1948     | -silent | --silent | --silen | --sile | --sil)
1949       continue ;;
1950     *\'*)
1951       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1952     esac
1953     case $ac_pass in
1954     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1955     2)
1956       as_fn_append ac_configure_args1 " '$ac_arg'"
1957       if test $ac_must_keep_next = true; then
1958         ac_must_keep_next=false # Got value, back to normal.
1959       else
1960         case $ac_arg in
1961           *=* | --config-cache | -C | -disable-* | --disable-* \
1962           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1963           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1964           | -with-* | --with-* | -without-* | --without-* | --x)
1965             case "$ac_configure_args0 " in
1966               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1967             esac
1968             ;;
1969           -* ) ac_must_keep_next=true ;;
1970         esac
1971       fi
1972       as_fn_append ac_configure_args " '$ac_arg'"
1973       ;;
1974     esac
1975   done
1976 done
1977 { ac_configure_args0=; unset ac_configure_args0;}
1978 { ac_configure_args1=; unset ac_configure_args1;}
1979
1980 # When interrupted or exit'd, cleanup temporary files, and complete
1981 # config.log.  We remove comments because anyway the quotes in there
1982 # would cause problems or look ugly.
1983 # WARNING: Use '\'' to represent an apostrophe within the trap.
1984 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1985 trap 'exit_status=$?
1986   # Save into config.log some information that might help in debugging.
1987   {
1988     echo
1989
1990     $as_echo "## ---------------- ##
1991 ## Cache variables. ##
1992 ## ---------------- ##"
1993     echo
1994     # The following way of writing the cache mishandles newlines in values,
1995 (
1996   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1997     eval ac_val=\$$ac_var
1998     case $ac_val in #(
1999     *${as_nl}*)
2000       case $ac_var in #(
2001       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2002 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2003       esac
2004       case $ac_var in #(
2005       _ | IFS | as_nl) ;; #(
2006       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2007       *) { eval $ac_var=; unset $ac_var;} ;;
2008       esac ;;
2009     esac
2010   done
2011   (set) 2>&1 |
2012     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2013     *${as_nl}ac_space=\ *)
2014       sed -n \
2015         "s/'\''/'\''\\\\'\'''\''/g;
2016           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2017       ;; #(
2018     *)
2019       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2020       ;;
2021     esac |
2022     sort
2023 )
2024     echo
2025
2026     $as_echo "## ----------------- ##
2027 ## Output variables. ##
2028 ## ----------------- ##"
2029     echo
2030     for ac_var in $ac_subst_vars
2031     do
2032       eval ac_val=\$$ac_var
2033       case $ac_val in
2034       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035       esac
2036       $as_echo "$ac_var='\''$ac_val'\''"
2037     done | sort
2038     echo
2039
2040     if test -n "$ac_subst_files"; then
2041       $as_echo "## ------------------- ##
2042 ## File substitutions. ##
2043 ## ------------------- ##"
2044       echo
2045       for ac_var in $ac_subst_files
2046       do
2047         eval ac_val=\$$ac_var
2048         case $ac_val in
2049         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2050         esac
2051         $as_echo "$ac_var='\''$ac_val'\''"
2052       done | sort
2053       echo
2054     fi
2055
2056     if test -s confdefs.h; then
2057       $as_echo "## ----------- ##
2058 ## confdefs.h. ##
2059 ## ----------- ##"
2060       echo
2061       cat confdefs.h
2062       echo
2063     fi
2064     test "$ac_signal" != 0 &&
2065       $as_echo "$as_me: caught signal $ac_signal"
2066     $as_echo "$as_me: exit $exit_status"
2067   } >&5
2068   rm -f core *.core core.conftest.* &&
2069     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2070     exit $exit_status
2071 ' 0
2072 for ac_signal in 1 2 13 15; do
2073   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2074 done
2075 ac_signal=0
2076
2077 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2078 rm -f -r conftest* confdefs.h
2079
2080 $as_echo "/* confdefs.h */" > confdefs.h
2081
2082 # Predefined preprocessor variables.
2083
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_NAME "$PACKAGE_NAME"
2086 _ACEOF
2087
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2090 _ACEOF
2091
2092 cat >>confdefs.h <<_ACEOF
2093 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2094 _ACEOF
2095
2096 cat >>confdefs.h <<_ACEOF
2097 #define PACKAGE_STRING "$PACKAGE_STRING"
2098 _ACEOF
2099
2100 cat >>confdefs.h <<_ACEOF
2101 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2102 _ACEOF
2103
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_URL "$PACKAGE_URL"
2106 _ACEOF
2107
2108
2109 # Let the site file select an alternate cache file if it wants to.
2110 # Prefer an explicitly selected file to automatically selected ones.
2111 ac_site_file1=NONE
2112 ac_site_file2=NONE
2113 if test -n "$CONFIG_SITE"; then
2114   # We do not want a PATH search for config.site.
2115   case $CONFIG_SITE in #((
2116     -*)  ac_site_file1=./$CONFIG_SITE;;
2117     */*) ac_site_file1=$CONFIG_SITE;;
2118     *)   ac_site_file1=./$CONFIG_SITE;;
2119   esac
2120 elif test "x$prefix" != xNONE; then
2121   ac_site_file1=$prefix/share/config.site
2122   ac_site_file2=$prefix/etc/config.site
2123 else
2124   ac_site_file1=$ac_default_prefix/share/config.site
2125   ac_site_file2=$ac_default_prefix/etc/config.site
2126 fi
2127 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2128 do
2129   test "x$ac_site_file" = xNONE && continue
2130   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2131     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2132 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2133     sed 's/^/| /' "$ac_site_file" >&5
2134     . "$ac_site_file" \
2135       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2137 as_fn_error $? "failed to load site script $ac_site_file
2138 See \`config.log' for more details" "$LINENO" 5; }
2139   fi
2140 done
2141
2142 if test -r "$cache_file"; then
2143   # Some versions of bash will fail to source /dev/null (special files
2144   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2145   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2146     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2147 $as_echo "$as_me: loading cache $cache_file" >&6;}
2148     case $cache_file in
2149       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2150       *)                      . "./$cache_file";;
2151     esac
2152   fi
2153 else
2154   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2155 $as_echo "$as_me: creating cache $cache_file" >&6;}
2156   >$cache_file
2157 fi
2158
2159 # Check that the precious variables saved in the cache have kept the same
2160 # value.
2161 ac_cache_corrupted=false
2162 for ac_var in $ac_precious_vars; do
2163   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2164   eval ac_new_set=\$ac_env_${ac_var}_set
2165   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2166   eval ac_new_val=\$ac_env_${ac_var}_value
2167   case $ac_old_set,$ac_new_set in
2168     set,)
2169       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2170 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2171       ac_cache_corrupted=: ;;
2172     ,set)
2173       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2174 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2175       ac_cache_corrupted=: ;;
2176     ,);;
2177     *)
2178       if test "x$ac_old_val" != "x$ac_new_val"; then
2179         # differences in whitespace do not lead to failure.
2180         ac_old_val_w=`echo x $ac_old_val`
2181         ac_new_val_w=`echo x $ac_new_val`
2182         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2183           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2184 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2185           ac_cache_corrupted=:
2186         else
2187           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2188 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2189           eval $ac_var=\$ac_old_val
2190         fi
2191         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2192 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2193         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2194 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2195       fi;;
2196   esac
2197   # Pass precious variables to config.status.
2198   if test "$ac_new_set" = set; then
2199     case $ac_new_val in
2200     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2201     *) ac_arg=$ac_var=$ac_new_val ;;
2202     esac
2203     case " $ac_configure_args " in
2204       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2205       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2206     esac
2207   fi
2208 done
2209 if $ac_cache_corrupted; then
2210   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2212   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2213 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2214   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2215 fi
2216 ## -------------------- ##
2217 ## Main body of script. ##
2218 ## -------------------- ##
2219
2220 ac_ext=c
2221 ac_cpp='$CPP $CPPFLAGS'
2222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2225
2226
2227
2228
2229
2230 ac_aux_dir=
2231 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2232   if test -f "$ac_dir/install-sh"; then
2233     ac_aux_dir=$ac_dir
2234     ac_install_sh="$ac_aux_dir/install-sh -c"
2235     break
2236   elif test -f "$ac_dir/install.sh"; then
2237     ac_aux_dir=$ac_dir
2238     ac_install_sh="$ac_aux_dir/install.sh -c"
2239     break
2240   elif test -f "$ac_dir/shtool"; then
2241     ac_aux_dir=$ac_dir
2242     ac_install_sh="$ac_aux_dir/shtool install -c"
2243     break
2244   fi
2245 done
2246 if test -z "$ac_aux_dir"; then
2247   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2248 fi
2249
2250 # These three variables are undocumented and unsupported,
2251 # and are intended to be withdrawn in a future Autoconf release.
2252 # They can cause serious problems if a builder's source tree is in a directory
2253 # whose full name contains unusual characters.
2254 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2255 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2256 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2257
2258
2259 # Make sure we can run config.sub.
2260 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2261   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2262
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2264 $as_echo_n "checking build system type... " >&6; }
2265 if ${ac_cv_build+:} false; then :
2266   $as_echo_n "(cached) " >&6
2267 else
2268   ac_build_alias=$build_alias
2269 test "x$ac_build_alias" = x &&
2270   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2271 test "x$ac_build_alias" = x &&
2272   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2273 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2274   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2275
2276 fi
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2278 $as_echo "$ac_cv_build" >&6; }
2279 case $ac_cv_build in
2280 *-*-*) ;;
2281 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2282 esac
2283 build=$ac_cv_build
2284 ac_save_IFS=$IFS; IFS='-'
2285 set x $ac_cv_build
2286 shift
2287 build_cpu=$1
2288 build_vendor=$2
2289 shift; shift
2290 # Remember, the first character of IFS is used to create $*,
2291 # except with old shells:
2292 build_os=$*
2293 IFS=$ac_save_IFS
2294 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2295
2296
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2298 $as_echo_n "checking host system type... " >&6; }
2299 if ${ac_cv_host+:} false; then :
2300   $as_echo_n "(cached) " >&6
2301 else
2302   if test "x$host_alias" = x; then
2303   ac_cv_host=$ac_cv_build
2304 else
2305   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2306     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2307 fi
2308
2309 fi
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2311 $as_echo "$ac_cv_host" >&6; }
2312 case $ac_cv_host in
2313 *-*-*) ;;
2314 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2315 esac
2316 host=$ac_cv_host
2317 ac_save_IFS=$IFS; IFS='-'
2318 set x $ac_cv_host
2319 shift
2320 host_cpu=$1
2321 host_vendor=$2
2322 shift; shift
2323 # Remember, the first character of IFS is used to create $*,
2324 # except with old shells:
2325 host_os=$*
2326 IFS=$ac_save_IFS
2327 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2328
2329
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2331 $as_echo_n "checking target system type... " >&6; }
2332 if ${ac_cv_target+:} false; then :
2333   $as_echo_n "(cached) " >&6
2334 else
2335   if test "x$target_alias" = x; then
2336   ac_cv_target=$ac_cv_host
2337 else
2338   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2339     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2340 fi
2341
2342 fi
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2344 $as_echo "$ac_cv_target" >&6; }
2345 case $ac_cv_target in
2346 *-*-*) ;;
2347 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2348 esac
2349 target=$ac_cv_target
2350 ac_save_IFS=$IFS; IFS='-'
2351 set x $ac_cv_target
2352 shift
2353 target_cpu=$1
2354 target_vendor=$2
2355 shift; shift
2356 # Remember, the first character of IFS is used to create $*,
2357 # except with old shells:
2358 target_os=$*
2359 IFS=$ac_save_IFS
2360 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2361
2362
2363 # The aliases save the names the user supplied, while $host etc.
2364 # will get canonicalized.
2365 test -n "$target_alias" &&
2366   test "$program_prefix$program_suffix$program_transform_name" = \
2367     NONENONEs,x,x, &&
2368   program_prefix=${target_alias}-
2369 am__api_version='1.15'
2370
2371 # Find a good install program.  We prefer a C program (faster),
2372 # so one script is as good as another.  But avoid the broken or
2373 # incompatible versions:
2374 # SysV /etc/install, /usr/sbin/install
2375 # SunOS /usr/etc/install
2376 # IRIX /sbin/install
2377 # AIX /bin/install
2378 # AmigaOS /C/install, which installs bootblocks on floppy discs
2379 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2380 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2381 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2382 # OS/2's system install, which has a completely different semantic
2383 # ./install, which can be erroneously created by make from ./install.sh.
2384 # Reject install programs that cannot install multiple files.
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2386 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2387 if test -z "$INSTALL"; then
2388 if ${ac_cv_path_install+:} false; then :
2389   $as_echo_n "(cached) " >&6
2390 else
2391   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 for as_dir in $PATH
2393 do
2394   IFS=$as_save_IFS
2395   test -z "$as_dir" && as_dir=.
2396     # Account for people who put trailing slashes in PATH elements.
2397 case $as_dir/ in #((
2398   ./ | .// | /[cC]/* | \
2399   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2400   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2401   /usr/ucb/* ) ;;
2402   *)
2403     # OSF1 and SCO ODT 3.0 have their own names for install.
2404     # Don't use installbsd from OSF since it installs stuff as root
2405     # by default.
2406     for ac_prog in ginstall scoinst install; do
2407       for ac_exec_ext in '' $ac_executable_extensions; do
2408         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2409           if test $ac_prog = install &&
2410             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2411             # AIX install.  It has an incompatible calling convention.
2412             :
2413           elif test $ac_prog = install &&
2414             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2415             # program-specific install script used by HP pwplus--don't use.
2416             :
2417           else
2418             rm -rf conftest.one conftest.two conftest.dir
2419             echo one > conftest.one
2420             echo two > conftest.two
2421             mkdir conftest.dir
2422             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2423               test -s conftest.one && test -s conftest.two &&
2424               test -s conftest.dir/conftest.one &&
2425               test -s conftest.dir/conftest.two
2426             then
2427               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2428               break 3
2429             fi
2430           fi
2431         fi
2432       done
2433     done
2434     ;;
2435 esac
2436
2437   done
2438 IFS=$as_save_IFS
2439
2440 rm -rf conftest.one conftest.two conftest.dir
2441
2442 fi
2443   if test "${ac_cv_path_install+set}" = set; then
2444     INSTALL=$ac_cv_path_install
2445   else
2446     # As a last resort, use the slow shell script.  Don't cache a
2447     # value for INSTALL within a source directory, because that will
2448     # break other packages using the cache if that directory is
2449     # removed, or if the value is a relative name.
2450     INSTALL=$ac_install_sh
2451   fi
2452 fi
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2454 $as_echo "$INSTALL" >&6; }
2455
2456 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2457 # It thinks the first close brace ends the variable substitution.
2458 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2459
2460 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2461
2462 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2463
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2465 $as_echo_n "checking whether build environment is sane... " >&6; }
2466 # Reject unsafe characters in $srcdir or the absolute working directory
2467 # name.  Accept space and tab only in the latter.
2468 am_lf='
2469 '
2470 case `pwd` in
2471   *[\\\"\#\$\&\'\`$am_lf]*)
2472     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2473 esac
2474 case $srcdir in
2475   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2476     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2477 esac
2478
2479 # Do 'set' in a subshell so we don't clobber the current shell's
2480 # arguments.  Must try -L first in case configure is actually a
2481 # symlink; some systems play weird games with the mod time of symlinks
2482 # (eg FreeBSD returns the mod time of the symlink's containing
2483 # directory).
2484 if (
2485    am_has_slept=no
2486    for am_try in 1 2; do
2487      echo "timestamp, slept: $am_has_slept" > conftest.file
2488      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2489      if test "$*" = "X"; then
2490         # -L didn't work.
2491         set X `ls -t "$srcdir/configure" conftest.file`
2492      fi
2493      if test "$*" != "X $srcdir/configure conftest.file" \
2494         && test "$*" != "X conftest.file $srcdir/configure"; then
2495
2496         # If neither matched, then we have a broken ls.  This can happen
2497         # if, for instance, CONFIG_SHELL is bash and it inherits a
2498         # broken ls alias from the environment.  This has actually
2499         # happened.  Such a system could not be considered "sane".
2500         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2501   alias in your environment" "$LINENO" 5
2502      fi
2503      if test "$2" = conftest.file || test $am_try -eq 2; then
2504        break
2505      fi
2506      # Just in case.
2507      sleep 1
2508      am_has_slept=yes
2509    done
2510    test "$2" = conftest.file
2511    )
2512 then
2513    # Ok.
2514    :
2515 else
2516    as_fn_error $? "newly created file is older than distributed files!
2517 Check your system clock" "$LINENO" 5
2518 fi
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2520 $as_echo "yes" >&6; }
2521 # If we didn't sleep, we still need to ensure time stamps of config.status and
2522 # generated files are strictly newer.
2523 am_sleep_pid=
2524 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2525   ( sleep 1 ) &
2526   am_sleep_pid=$!
2527 fi
2528
2529 rm -f conftest.file
2530
2531 test "$program_prefix" != NONE &&
2532   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2533 # Use a double $ so make ignores it.
2534 test "$program_suffix" != NONE &&
2535   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2536 # Double any \ or $.
2537 # By default was `s,x,x', remove it if useless.
2538 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2539 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2540
2541 # Expand $ac_aux_dir to an absolute path.
2542 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2543
2544 if test x"${MISSING+set}" != xset; then
2545   case $am_aux_dir in
2546   *\ * | *\     *)
2547     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2548   *)
2549     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2550   esac
2551 fi
2552 # Use eval to expand $SHELL
2553 if eval "$MISSING --is-lightweight"; then
2554   am_missing_run="$MISSING "
2555 else
2556   am_missing_run=
2557   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2558 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2559 fi
2560
2561 if test x"${install_sh+set}" != xset; then
2562   case $am_aux_dir in
2563   *\ * | *\     *)
2564     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2565   *)
2566     install_sh="\${SHELL} $am_aux_dir/install-sh"
2567   esac
2568 fi
2569
2570 # Installed binaries are usually stripped using 'strip' when the user
2571 # run "make install-strip".  However 'strip' might not be the right
2572 # tool to use in cross-compilation environments, therefore Automake
2573 # will honor the 'STRIP' environment variable to overrule this program.
2574 if test "$cross_compiling" != no; then
2575   if test -n "$ac_tool_prefix"; then
2576   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2577 set dummy ${ac_tool_prefix}strip; ac_word=$2
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2579 $as_echo_n "checking for $ac_word... " >&6; }
2580 if ${ac_cv_prog_STRIP+:} false; then :
2581   $as_echo_n "(cached) " >&6
2582 else
2583   if test -n "$STRIP"; then
2584   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2585 else
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2587 for as_dir in $PATH
2588 do
2589   IFS=$as_save_IFS
2590   test -z "$as_dir" && as_dir=.
2591     for ac_exec_ext in '' $ac_executable_extensions; do
2592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2593     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2595     break 2
2596   fi
2597 done
2598   done
2599 IFS=$as_save_IFS
2600
2601 fi
2602 fi
2603 STRIP=$ac_cv_prog_STRIP
2604 if test -n "$STRIP"; then
2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2606 $as_echo "$STRIP" >&6; }
2607 else
2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2609 $as_echo "no" >&6; }
2610 fi
2611
2612
2613 fi
2614 if test -z "$ac_cv_prog_STRIP"; then
2615   ac_ct_STRIP=$STRIP
2616   # Extract the first word of "strip", so it can be a program name with args.
2617 set dummy strip; ac_word=$2
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2619 $as_echo_n "checking for $ac_word... " >&6; }
2620 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2621   $as_echo_n "(cached) " >&6
2622 else
2623   if test -n "$ac_ct_STRIP"; then
2624   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2625 else
2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 for as_dir in $PATH
2628 do
2629   IFS=$as_save_IFS
2630   test -z "$as_dir" && as_dir=.
2631     for ac_exec_ext in '' $ac_executable_extensions; do
2632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2633     ac_cv_prog_ac_ct_STRIP="strip"
2634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2635     break 2
2636   fi
2637 done
2638   done
2639 IFS=$as_save_IFS
2640
2641 fi
2642 fi
2643 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2644 if test -n "$ac_ct_STRIP"; then
2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2646 $as_echo "$ac_ct_STRIP" >&6; }
2647 else
2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 $as_echo "no" >&6; }
2650 fi
2651
2652   if test "x$ac_ct_STRIP" = x; then
2653     STRIP=":"
2654   else
2655     case $cross_compiling:$ac_tool_warned in
2656 yes:)
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2659 ac_tool_warned=yes ;;
2660 esac
2661     STRIP=$ac_ct_STRIP
2662   fi
2663 else
2664   STRIP="$ac_cv_prog_STRIP"
2665 fi
2666
2667 fi
2668 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2669
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2671 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2672 if test -z "$MKDIR_P"; then
2673   if ${ac_cv_path_mkdir+:} false; then :
2674   $as_echo_n "(cached) " >&6
2675 else
2676   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2678 do
2679   IFS=$as_save_IFS
2680   test -z "$as_dir" && as_dir=.
2681     for ac_prog in mkdir gmkdir; do
2682          for ac_exec_ext in '' $ac_executable_extensions; do
2683            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2684            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2685              'mkdir (GNU coreutils) '* | \
2686              'mkdir (coreutils) '* | \
2687              'mkdir (fileutils) '4.1*)
2688                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2689                break 3;;
2690            esac
2691          done
2692        done
2693   done
2694 IFS=$as_save_IFS
2695
2696 fi
2697
2698   test -d ./--version && rmdir ./--version
2699   if test "${ac_cv_path_mkdir+set}" = set; then
2700     MKDIR_P="$ac_cv_path_mkdir -p"
2701   else
2702     # As a last resort, use the slow shell script.  Don't cache a
2703     # value for MKDIR_P within a source directory, because that will
2704     # break other packages using the cache if that directory is
2705     # removed, or if the value is a relative name.
2706     MKDIR_P="$ac_install_sh -d"
2707   fi
2708 fi
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2710 $as_echo "$MKDIR_P" >&6; }
2711
2712 for ac_prog in gawk mawk nawk awk
2713 do
2714   # Extract the first word of "$ac_prog", so it can be a program name with args.
2715 set dummy $ac_prog; ac_word=$2
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if ${ac_cv_prog_AWK+:} false; then :
2719   $as_echo_n "(cached) " >&6
2720 else
2721   if test -n "$AWK"; then
2722   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2723 else
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2725 for as_dir in $PATH
2726 do
2727   IFS=$as_save_IFS
2728   test -z "$as_dir" && as_dir=.
2729     for ac_exec_ext in '' $ac_executable_extensions; do
2730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731     ac_cv_prog_AWK="$ac_prog"
2732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733     break 2
2734   fi
2735 done
2736   done
2737 IFS=$as_save_IFS
2738
2739 fi
2740 fi
2741 AWK=$ac_cv_prog_AWK
2742 if test -n "$AWK"; then
2743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2744 $as_echo "$AWK" >&6; }
2745 else
2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747 $as_echo "no" >&6; }
2748 fi
2749
2750
2751   test -n "$AWK" && break
2752 done
2753
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2755 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2756 set x ${MAKE-make}
2757 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2758 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2759   $as_echo_n "(cached) " >&6
2760 else
2761   cat >conftest.make <<\_ACEOF
2762 SHELL = /bin/sh
2763 all:
2764         @echo '@@@%%%=$(MAKE)=@@@%%%'
2765 _ACEOF
2766 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2768   *@@@%%%=?*=@@@%%%*)
2769     eval ac_cv_prog_make_${ac_make}_set=yes;;
2770   *)
2771     eval ac_cv_prog_make_${ac_make}_set=no;;
2772 esac
2773 rm -f conftest.make
2774 fi
2775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2777 $as_echo "yes" >&6; }
2778   SET_MAKE=
2779 else
2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2782   SET_MAKE="MAKE=${MAKE-make}"
2783 fi
2784
2785 rm -rf .tst 2>/dev/null
2786 mkdir .tst 2>/dev/null
2787 if test -d .tst; then
2788   am__leading_dot=.
2789 else
2790   am__leading_dot=_
2791 fi
2792 rmdir .tst 2>/dev/null
2793
2794 # Check whether --enable-silent-rules was given.
2795 if test "${enable_silent_rules+set}" = set; then :
2796   enableval=$enable_silent_rules;
2797 fi
2798
2799 case $enable_silent_rules in # (((
2800   yes) AM_DEFAULT_VERBOSITY=0;;
2801    no) AM_DEFAULT_VERBOSITY=1;;
2802     *) AM_DEFAULT_VERBOSITY=1;;
2803 esac
2804 am_make=${MAKE-make}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2806 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2807 if ${am_cv_make_support_nested_variables+:} false; then :
2808   $as_echo_n "(cached) " >&6
2809 else
2810   if $as_echo 'TRUE=$(BAR$(V))
2811 BAR0=false
2812 BAR1=true
2813 V=1
2814 am__doit:
2815         @$(TRUE)
2816 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2817   am_cv_make_support_nested_variables=yes
2818 else
2819   am_cv_make_support_nested_variables=no
2820 fi
2821 fi
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2823 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2824 if test $am_cv_make_support_nested_variables = yes; then
2825     AM_V='$(V)'
2826   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2827 else
2828   AM_V=$AM_DEFAULT_VERBOSITY
2829   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2830 fi
2831 AM_BACKSLASH='\'
2832
2833 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2834   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2835   # is not polluted with repeated "-I."
2836   am__isrc=' -I$(srcdir)'
2837   # test to see if srcdir already configured
2838   if test -f $srcdir/config.status; then
2839     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2840   fi
2841 fi
2842
2843 # test whether we have cygpath
2844 if test -z "$CYGPATH_W"; then
2845   if (cygpath --version) >/dev/null 2>/dev/null; then
2846     CYGPATH_W='cygpath -w'
2847   else
2848     CYGPATH_W=echo
2849   fi
2850 fi
2851
2852
2853 # Define the identity of the package.
2854  PACKAGE='fuse'
2855  VERSION='2.9.9'
2856
2857
2858 cat >>confdefs.h <<_ACEOF
2859 #define PACKAGE "$PACKAGE"
2860 _ACEOF
2861
2862
2863 cat >>confdefs.h <<_ACEOF
2864 #define VERSION "$VERSION"
2865 _ACEOF
2866
2867 # Some tools Automake needs.
2868
2869 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2870
2871
2872 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2873
2874
2875 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2876
2877
2878 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2879
2880
2881 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2882
2883 # For better backward compatibility.  To be removed once Automake 1.9.x
2884 # dies out for good.  For more background, see:
2885 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2886 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2887 mkdir_p='$(MKDIR_P)'
2888
2889 # We need awk for the "check" target (and possibly the TAP driver).  The
2890 # system "awk" is bad on some platforms.
2891 # Always define AMTAR for backward compatibility.  Yes, it's still used
2892 # in the wild :-(  We should find a proper way to deprecate it ...
2893 AMTAR='$${TAR-tar}'
2894
2895
2896 # We'll loop over all known methods to create a tar archive until one works.
2897 _am_tools='gnutar  pax cpio none'
2898
2899 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2900
2901
2902
2903
2904
2905
2906 # POSIX will say in a future version that running "rm -f" with no argument
2907 # is OK; and we want to be able to make that assumption in our Makefile
2908 # recipes.  So use an aggressive probe to check that the usage we want is
2909 # actually supported "in the wild" to an acceptable degree.
2910 # See automake bug#10828.
2911 # To make any issue more visible, cause the running configure to be aborted
2912 # by default if the 'rm' program in use doesn't match our expectations; the
2913 # user can still override this though.
2914 if rm -f && rm -fr && rm -rf; then : OK; else
2915   cat >&2 <<'END'
2916 Oops!
2917
2918 Your 'rm' program seems unable to run without file operands specified
2919 on the command line, even when the '-f' option is present.  This is contrary
2920 to the behaviour of most rm programs out there, and not conforming with
2921 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2922
2923 Please tell bug-automake@gnu.org about your system, including the value
2924 of your $PATH and any error possibly output before this message.  This
2925 can help us improve future automake versions.
2926
2927 END
2928   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2929     echo 'Configuration will proceed anyway, since you have set the' >&2
2930     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2931     echo >&2
2932   else
2933     cat >&2 <<'END'
2934 Aborting the configuration process, to ensure you take notice of the issue.
2935
2936 You can download and install GNU coreutils to get an 'rm' implementation
2937 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2938
2939 If you want to complete the configuration process using your problematic
2940 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2941 to "yes", and re-run configure.
2942
2943 END
2944     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2945   fi
2946 fi
2947
2948 # Check whether --enable-silent-rules was given.
2949 if test "${enable_silent_rules+set}" = set; then :
2950   enableval=$enable_silent_rules;
2951 fi
2952
2953 case $enable_silent_rules in # (((
2954   yes) AM_DEFAULT_VERBOSITY=0;;
2955    no) AM_DEFAULT_VERBOSITY=1;;
2956     *) AM_DEFAULT_VERBOSITY=0;;
2957 esac
2958 am_make=${MAKE-make}
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2960 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2961 if ${am_cv_make_support_nested_variables+:} false; then :
2962   $as_echo_n "(cached) " >&6
2963 else
2964   if $as_echo 'TRUE=$(BAR$(V))
2965 BAR0=false
2966 BAR1=true
2967 V=1
2968 am__doit:
2969         @$(TRUE)
2970 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2971   am_cv_make_support_nested_variables=yes
2972 else
2973   am_cv_make_support_nested_variables=no
2974 fi
2975 fi
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2977 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2978 if test $am_cv_make_support_nested_variables = yes; then
2979     AM_V='$(V)'
2980   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2981 else
2982   AM_V=$AM_DEFAULT_VERBOSITY
2983   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2984 fi
2985 AM_BACKSLASH='\'
2986
2987 ac_config_headers="$ac_config_headers include/config.h"
2988
2989
2990 case `pwd` in
2991   *\ * | *\     *)
2992     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2993 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2994 esac
2995
2996
2997
2998 macro_version='2.4.6'
2999 macro_revision='2.4.6'
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013 ltmain=$ac_aux_dir/ltmain.sh
3014
3015 # Backslashify metacharacters that are still active within
3016 # double-quoted strings.
3017 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3018
3019 # Same as above, but do not quote variable references.
3020 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3021
3022 # Sed substitution to delay expansion of an escaped shell variable in a
3023 # double_quote_subst'ed string.
3024 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3025
3026 # Sed substitution to delay expansion of an escaped single quote.
3027 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3028
3029 # Sed substitution to avoid accidental globbing in evaled expressions
3030 no_glob_subst='s/\*/\\\*/g'
3031
3032 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3033 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3034 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3035
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3037 $as_echo_n "checking how to print strings... " >&6; }
3038 # Test print first, because it will be a builtin if present.
3039 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3040    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3041   ECHO='print -r --'
3042 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3043   ECHO='printf %s\n'
3044 else
3045   # Use this function as a fallback that always works.
3046   func_fallback_echo ()
3047   {
3048     eval 'cat <<_LTECHO_EOF
3049 $1
3050 _LTECHO_EOF'
3051   }
3052   ECHO='func_fallback_echo'
3053 fi
3054
3055 # func_echo_all arg...
3056 # Invoke $ECHO with all args, space-separated.
3057 func_echo_all ()
3058 {
3059     $ECHO ""
3060 }
3061
3062 case $ECHO in
3063   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3064 $as_echo "printf" >&6; } ;;
3065   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3066 $as_echo "print -r" >&6; } ;;
3067   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3068 $as_echo "cat" >&6; } ;;
3069 esac
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084 DEPDIR="${am__leading_dot}deps"
3085
3086 ac_config_commands="$ac_config_commands depfiles"
3087
3088
3089 am_make=${MAKE-make}
3090 cat > confinc << 'END'
3091 am__doit:
3092         @echo this is the am__doit target
3093 .PHONY: am__doit
3094 END
3095 # If we don't find an include directive, just comment out the code.
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3097 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3098 am__include="#"
3099 am__quote=
3100 _am_result=none
3101 # First try GNU make style include.
3102 echo "include confinc" > confmf
3103 # Ignore all kinds of additional output from 'make'.
3104 case `$am_make -s -f confmf 2> /dev/null` in #(
3105 *the\ am__doit\ target*)
3106   am__include=include
3107   am__quote=
3108   _am_result=GNU
3109   ;;
3110 esac
3111 # Now try BSD make style include.
3112 if test "$am__include" = "#"; then
3113    echo '.include "confinc"' > confmf
3114    case `$am_make -s -f confmf 2> /dev/null` in #(
3115    *the\ am__doit\ target*)
3116      am__include=.include
3117      am__quote="\""
3118      _am_result=BSD
3119      ;;
3120    esac
3121 fi
3122
3123
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3125 $as_echo "$_am_result" >&6; }
3126 rm -f confinc confmf
3127
3128 # Check whether --enable-dependency-tracking was given.
3129 if test "${enable_dependency_tracking+set}" = set; then :
3130   enableval=$enable_dependency_tracking;
3131 fi
3132
3133 if test "x$enable_dependency_tracking" != xno; then
3134   am_depcomp="$ac_aux_dir/depcomp"
3135   AMDEPBACKSLASH='\'
3136   am__nodep='_no'
3137 fi
3138  if test "x$enable_dependency_tracking" != xno; then
3139   AMDEP_TRUE=
3140   AMDEP_FALSE='#'
3141 else
3142   AMDEP_TRUE='#'
3143   AMDEP_FALSE=
3144 fi
3145
3146
3147 ac_ext=c
3148 ac_cpp='$CPP $CPPFLAGS'
3149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3152 if test -n "$ac_tool_prefix"; then
3153   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3154 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3156 $as_echo_n "checking for $ac_word... " >&6; }
3157 if ${ac_cv_prog_CC+:} false; then :
3158   $as_echo_n "(cached) " >&6
3159 else
3160   if test -n "$CC"; then
3161   ac_cv_prog_CC="$CC" # Let the user override the test.
3162 else
3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3164 for as_dir in $PATH
3165 do
3166   IFS=$as_save_IFS
3167   test -z "$as_dir" && as_dir=.
3168     for ac_exec_ext in '' $ac_executable_extensions; do
3169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3170     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3172     break 2
3173   fi
3174 done
3175   done
3176 IFS=$as_save_IFS
3177
3178 fi
3179 fi
3180 CC=$ac_cv_prog_CC
3181 if test -n "$CC"; then
3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3183 $as_echo "$CC" >&6; }
3184 else
3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3186 $as_echo "no" >&6; }
3187 fi
3188
3189
3190 fi
3191 if test -z "$ac_cv_prog_CC"; then
3192   ac_ct_CC=$CC
3193   # Extract the first word of "gcc", so it can be a program name with args.
3194 set dummy gcc; ac_word=$2
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 $as_echo_n "checking for $ac_word... " >&6; }
3197 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3198   $as_echo_n "(cached) " >&6
3199 else
3200   if test -n "$ac_ct_CC"; then
3201   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3202 else
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 for as_dir in $PATH
3205 do
3206   IFS=$as_save_IFS
3207   test -z "$as_dir" && as_dir=.
3208     for ac_exec_ext in '' $ac_executable_extensions; do
3209   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3210     ac_cv_prog_ac_ct_CC="gcc"
3211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3212     break 2
3213   fi
3214 done
3215   done
3216 IFS=$as_save_IFS
3217
3218 fi
3219 fi
3220 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3221 if test -n "$ac_ct_CC"; then
3222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3223 $as_echo "$ac_ct_CC" >&6; }
3224 else
3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3226 $as_echo "no" >&6; }
3227 fi
3228
3229   if test "x$ac_ct_CC" = x; then
3230     CC=""
3231   else
3232     case $cross_compiling:$ac_tool_warned in
3233 yes:)
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3236 ac_tool_warned=yes ;;
3237 esac
3238     CC=$ac_ct_CC
3239   fi
3240 else
3241   CC="$ac_cv_prog_CC"
3242 fi
3243
3244 if test -z "$CC"; then
3245           if test -n "$ac_tool_prefix"; then
3246     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3247 set dummy ${ac_tool_prefix}cc; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if ${ac_cv_prog_CC+:} false; then :
3251   $as_echo_n "(cached) " >&6
3252 else
3253   if test -n "$CC"; then
3254   ac_cv_prog_CC="$CC" # Let the user override the test.
3255 else
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 for as_dir in $PATH
3258 do
3259   IFS=$as_save_IFS
3260   test -z "$as_dir" && as_dir=.
3261     for ac_exec_ext in '' $ac_executable_extensions; do
3262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3263     ac_cv_prog_CC="${ac_tool_prefix}cc"
3264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265     break 2
3266   fi
3267 done
3268   done
3269 IFS=$as_save_IFS
3270
3271 fi
3272 fi
3273 CC=$ac_cv_prog_CC
3274 if test -n "$CC"; then
3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3276 $as_echo "$CC" >&6; }
3277 else
3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3280 fi
3281
3282
3283   fi
3284 fi
3285 if test -z "$CC"; then
3286   # Extract the first word of "cc", so it can be a program name with args.
3287 set dummy cc; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if ${ac_cv_prog_CC+:} false; then :
3291   $as_echo_n "(cached) " >&6
3292 else
3293   if test -n "$CC"; then
3294   ac_cv_prog_CC="$CC" # Let the user override the test.
3295 else
3296   ac_prog_rejected=no
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 for as_dir in $PATH
3299 do
3300   IFS=$as_save_IFS
3301   test -z "$as_dir" && as_dir=.
3302     for ac_exec_ext in '' $ac_executable_extensions; do
3303   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3305        ac_prog_rejected=yes
3306        continue
3307      fi
3308     ac_cv_prog_CC="cc"
3309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3310     break 2
3311   fi
3312 done
3313   done
3314 IFS=$as_save_IFS
3315
3316 if test $ac_prog_rejected = yes; then
3317   # We found a bogon in the path, so make sure we never use it.
3318   set dummy $ac_cv_prog_CC
3319   shift
3320   if test $# != 0; then
3321     # We chose a different compiler from the bogus one.
3322     # However, it has the same basename, so the bogon will be chosen
3323     # first if we set CC to just the basename; use the full file name.
3324     shift
3325     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3326   fi
3327 fi
3328 fi
3329 fi
3330 CC=$ac_cv_prog_CC
3331 if test -n "$CC"; then
3332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333 $as_echo "$CC" >&6; }
3334 else
3335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3337 fi
3338
3339
3340 fi
3341 if test -z "$CC"; then
3342   if test -n "$ac_tool_prefix"; then
3343   for ac_prog in cl.exe
3344   do
3345     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348 $as_echo_n "checking for $ac_word... " >&6; }
3349 if ${ac_cv_prog_CC+:} false; then :
3350   $as_echo_n "(cached) " >&6
3351 else
3352   if test -n "$CC"; then
3353   ac_cv_prog_CC="$CC" # Let the user override the test.
3354 else
3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 for as_dir in $PATH
3357 do
3358   IFS=$as_save_IFS
3359   test -z "$as_dir" && as_dir=.
3360     for ac_exec_ext in '' $ac_executable_extensions; do
3361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3362     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3364     break 2
3365   fi
3366 done
3367   done
3368 IFS=$as_save_IFS
3369
3370 fi
3371 fi
3372 CC=$ac_cv_prog_CC
3373 if test -n "$CC"; then
3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3375 $as_echo "$CC" >&6; }
3376 else
3377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3378 $as_echo "no" >&6; }
3379 fi
3380
3381
3382     test -n "$CC" && break
3383   done
3384 fi
3385 if test -z "$CC"; then
3386   ac_ct_CC=$CC
3387   for ac_prog in cl.exe
3388 do
3389   # Extract the first word of "$ac_prog", so it can be a program name with args.
3390 set dummy $ac_prog; ac_word=$2
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3392 $as_echo_n "checking for $ac_word... " >&6; }
3393 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3394   $as_echo_n "(cached) " >&6
3395 else
3396   if test -n "$ac_ct_CC"; then
3397   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3398 else
3399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3400 for as_dir in $PATH
3401 do
3402   IFS=$as_save_IFS
3403   test -z "$as_dir" && as_dir=.
3404     for ac_exec_ext in '' $ac_executable_extensions; do
3405   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3406     ac_cv_prog_ac_ct_CC="$ac_prog"
3407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408     break 2
3409   fi
3410 done
3411   done
3412 IFS=$as_save_IFS
3413
3414 fi
3415 fi
3416 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3417 if test -n "$ac_ct_CC"; then
3418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3419 $as_echo "$ac_ct_CC" >&6; }
3420 else
3421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422 $as_echo "no" >&6; }
3423 fi
3424
3425
3426   test -n "$ac_ct_CC" && break
3427 done
3428
3429   if test "x$ac_ct_CC" = x; then
3430     CC=""
3431   else
3432     case $cross_compiling:$ac_tool_warned in
3433 yes:)
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3436 ac_tool_warned=yes ;;
3437 esac
3438     CC=$ac_ct_CC
3439   fi
3440 fi
3441
3442 fi
3443
3444
3445 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447 as_fn_error $? "no acceptable C compiler found in \$PATH
3448 See \`config.log' for more details" "$LINENO" 5; }
3449
3450 # Provide some information about the compiler.
3451 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3452 set X $ac_compile
3453 ac_compiler=$2
3454 for ac_option in --version -v -V -qversion; do
3455   { { ac_try="$ac_compiler $ac_option >&5"
3456 case "(($ac_try" in
3457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458   *) ac_try_echo=$ac_try;;
3459 esac
3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461 $as_echo "$ac_try_echo"; } >&5
3462   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3463   ac_status=$?
3464   if test -s conftest.err; then
3465     sed '10a\
3466 ... rest of stderr output deleted ...
3467          10q' conftest.err >conftest.er1
3468     cat conftest.er1 >&5
3469   fi
3470   rm -f conftest.er1 conftest.err
3471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472   test $ac_status = 0; }
3473 done
3474
3475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3476 /* end confdefs.h.  */
3477
3478 int
3479 main ()
3480 {
3481
3482   ;
3483   return 0;
3484 }
3485 _ACEOF
3486 ac_clean_files_save=$ac_clean_files
3487 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3488 # Try to create an executable without -o first, disregard a.out.
3489 # It will help us diagnose broken compilers, and finding out an intuition
3490 # of exeext.
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3492 $as_echo_n "checking whether the C compiler works... " >&6; }
3493 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3494
3495 # The possible output files:
3496 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3497
3498 ac_rmfiles=
3499 for ac_file in $ac_files
3500 do
3501   case $ac_file in
3502     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3503     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3504   esac
3505 done
3506 rm -f $ac_rmfiles
3507
3508 if { { ac_try="$ac_link_default"
3509 case "(($ac_try" in
3510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511   *) ac_try_echo=$ac_try;;
3512 esac
3513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3514 $as_echo "$ac_try_echo"; } >&5
3515   (eval "$ac_link_default") 2>&5
3516   ac_status=$?
3517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3518   test $ac_status = 0; }; then :
3519   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3520 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3521 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3522 # so that the user can short-circuit this test for compilers unknown to
3523 # Autoconf.
3524 for ac_file in $ac_files ''
3525 do
3526   test -f "$ac_file" || continue
3527   case $ac_file in
3528     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3529         ;;
3530     [ab].out )
3531         # We found the default executable, but exeext='' is most
3532         # certainly right.
3533         break;;
3534     *.* )
3535         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3536         then :; else
3537            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3538         fi
3539         # We set ac_cv_exeext here because the later test for it is not
3540         # safe: cross compilers may not add the suffix if given an `-o'
3541         # argument, so we may need to know it at that point already.
3542         # Even if this section looks crufty: it has the advantage of
3543         # actually working.
3544         break;;
3545     * )
3546         break;;
3547   esac
3548 done
3549 test "$ac_cv_exeext" = no && ac_cv_exeext=
3550
3551 else
3552   ac_file=''
3553 fi
3554 if test -z "$ac_file"; then :
3555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3557 $as_echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.$ac_ext >&5
3559
3560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562 as_fn_error 77 "C compiler cannot create executables
3563 See \`config.log' for more details" "$LINENO" 5; }
3564 else
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3566 $as_echo "yes" >&6; }
3567 fi
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3569 $as_echo_n "checking for C compiler default output file name... " >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3571 $as_echo "$ac_file" >&6; }
3572 ac_exeext=$ac_cv_exeext
3573
3574 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3575 ac_clean_files=$ac_clean_files_save
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3577 $as_echo_n "checking for suffix of executables... " >&6; }
3578 if { { ac_try="$ac_link"
3579 case "(($ac_try" in
3580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581   *) ac_try_echo=$ac_try;;
3582 esac
3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584 $as_echo "$ac_try_echo"; } >&5
3585   (eval "$ac_link") 2>&5
3586   ac_status=$?
3587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588   test $ac_status = 0; }; then :
3589   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3590 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3591 # work properly (i.e., refer to `conftest.exe'), while it won't with
3592 # `rm'.
3593 for ac_file in conftest.exe conftest conftest.*; do
3594   test -f "$ac_file" || continue
3595   case $ac_file in
3596     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3597     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3598           break;;
3599     * ) break;;
3600   esac
3601 done
3602 else
3603   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3606 See \`config.log' for more details" "$LINENO" 5; }
3607 fi
3608 rm -f conftest conftest$ac_cv_exeext
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3610 $as_echo "$ac_cv_exeext" >&6; }
3611
3612 rm -f conftest.$ac_ext
3613 EXEEXT=$ac_cv_exeext
3614 ac_exeext=$EXEEXT
3615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3616 /* end confdefs.h.  */
3617 #include <stdio.h>
3618 int
3619 main ()
3620 {
3621 FILE *f = fopen ("conftest.out", "w");
3622  return ferror (f) || fclose (f) != 0;
3623
3624   ;
3625   return 0;
3626 }
3627 _ACEOF
3628 ac_clean_files="$ac_clean_files conftest.out"
3629 # Check that the compiler produces executables we can run.  If not, either
3630 # the compiler is broken, or we cross compile.
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3632 $as_echo_n "checking whether we are cross compiling... " >&6; }
3633 if test "$cross_compiling" != yes; then
3634   { { ac_try="$ac_link"
3635 case "(($ac_try" in
3636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637   *) ac_try_echo=$ac_try;;
3638 esac
3639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641   (eval "$ac_link") 2>&5
3642   ac_status=$?
3643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644   test $ac_status = 0; }
3645   if { ac_try='./conftest$ac_cv_exeext'
3646   { { case "(($ac_try" in
3647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3648   *) ac_try_echo=$ac_try;;
3649 esac
3650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651 $as_echo "$ac_try_echo"; } >&5
3652   (eval "$ac_try") 2>&5
3653   ac_status=$?
3654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655   test $ac_status = 0; }; }; then
3656     cross_compiling=no
3657   else
3658     if test "$cross_compiling" = maybe; then
3659         cross_compiling=yes
3660     else
3661         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663 as_fn_error $? "cannot run C compiled programs.
3664 If you meant to cross compile, use \`--host'.
3665 See \`config.log' for more details" "$LINENO" 5; }
3666     fi
3667   fi
3668 fi
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3670 $as_echo "$cross_compiling" >&6; }
3671
3672 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3673 ac_clean_files=$ac_clean_files_save
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3675 $as_echo_n "checking for suffix of object files... " >&6; }
3676 if ${ac_cv_objext+:} false; then :
3677   $as_echo_n "(cached) " >&6
3678 else
3679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3680 /* end confdefs.h.  */
3681
3682 int
3683 main ()
3684 {
3685
3686   ;
3687   return 0;
3688 }
3689 _ACEOF
3690 rm -f conftest.o conftest.obj
3691 if { { ac_try="$ac_compile"
3692 case "(($ac_try" in
3693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694   *) ac_try_echo=$ac_try;;
3695 esac
3696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3697 $as_echo "$ac_try_echo"; } >&5
3698   (eval "$ac_compile") 2>&5
3699   ac_status=$?
3700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701   test $ac_status = 0; }; then :
3702   for ac_file in conftest.o conftest.obj conftest.*; do
3703   test -f "$ac_file" || continue;
3704   case $ac_file in
3705     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3706     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3707        break;;
3708   esac
3709 done
3710 else
3711   $as_echo "$as_me: failed program was:" >&5
3712 sed 's/^/| /' conftest.$ac_ext >&5
3713
3714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3716 as_fn_error $? "cannot compute suffix of object files: cannot compile
3717 See \`config.log' for more details" "$LINENO" 5; }
3718 fi
3719 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3720 fi
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3722 $as_echo "$ac_cv_objext" >&6; }
3723 OBJEXT=$ac_cv_objext
3724 ac_objext=$OBJEXT
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3726 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3727 if ${ac_cv_c_compiler_gnu+:} false; then :
3728   $as_echo_n "(cached) " >&6
3729 else
3730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h.  */
3732
3733 int
3734 main ()
3735 {
3736 #ifndef __GNUC__
3737        choke me
3738 #endif
3739
3740   ;
3741   return 0;
3742 }
3743 _ACEOF
3744 if ac_fn_c_try_compile "$LINENO"; then :
3745   ac_compiler_gnu=yes
3746 else
3747   ac_compiler_gnu=no
3748 fi
3749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3750 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3751
3752 fi
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3754 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3755 if test $ac_compiler_gnu = yes; then
3756   GCC=yes
3757 else
3758   GCC=
3759 fi
3760 ac_test_CFLAGS=${CFLAGS+set}
3761 ac_save_CFLAGS=$CFLAGS
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3763 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3764 if ${ac_cv_prog_cc_g+:} false; then :
3765   $as_echo_n "(cached) " >&6
3766 else
3767   ac_save_c_werror_flag=$ac_c_werror_flag
3768    ac_c_werror_flag=yes
3769    ac_cv_prog_cc_g=no
3770    CFLAGS="-g"
3771    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772 /* end confdefs.h.  */
3773
3774 int
3775 main ()
3776 {
3777
3778   ;
3779   return 0;
3780 }
3781 _ACEOF
3782 if ac_fn_c_try_compile "$LINENO"; then :
3783   ac_cv_prog_cc_g=yes
3784 else
3785   CFLAGS=""
3786       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h.  */
3788
3789 int
3790 main ()
3791 {
3792
3793   ;
3794   return 0;
3795 }
3796 _ACEOF
3797 if ac_fn_c_try_compile "$LINENO"; then :
3798
3799 else
3800   ac_c_werror_flag=$ac_save_c_werror_flag
3801          CFLAGS="-g"
3802          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3803 /* end confdefs.h.  */
3804
3805 int
3806 main ()
3807 {
3808
3809   ;
3810   return 0;
3811 }
3812 _ACEOF
3813 if ac_fn_c_try_compile "$LINENO"; then :
3814   ac_cv_prog_cc_g=yes
3815 fi
3816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3817 fi
3818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3819 fi
3820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821    ac_c_werror_flag=$ac_save_c_werror_flag
3822 fi
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3824 $as_echo "$ac_cv_prog_cc_g" >&6; }
3825 if test "$ac_test_CFLAGS" = set; then
3826   CFLAGS=$ac_save_CFLAGS
3827 elif test $ac_cv_prog_cc_g = yes; then
3828   if test "$GCC" = yes; then
3829     CFLAGS="-g -O2"
3830   else
3831     CFLAGS="-g"
3832   fi
3833 else
3834   if test "$GCC" = yes; then
3835     CFLAGS="-O2"
3836   else
3837     CFLAGS=
3838   fi
3839 fi
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3841 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3842 if ${ac_cv_prog_cc_c89+:} false; then :
3843   $as_echo_n "(cached) " >&6
3844 else
3845   ac_cv_prog_cc_c89=no
3846 ac_save_CC=$CC
3847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3848 /* end confdefs.h.  */
3849 #include <stdarg.h>
3850 #include <stdio.h>
3851 struct stat;
3852 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3853 struct buf { int x; };
3854 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3855 static char *e (p, i)
3856      char **p;
3857      int i;
3858 {
3859   return p[i];
3860 }
3861 static char *f (char * (*g) (char **, int), char **p, ...)
3862 {
3863   char *s;
3864   va_list v;
3865   va_start (v,p);
3866   s = g (p, va_arg (v,int));
3867   va_end (v);
3868   return s;
3869 }
3870
3871 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3872    function prototypes and stuff, but not '\xHH' hex character constants.
3873    These don't provoke an error unfortunately, instead are silently treated
3874    as 'x'.  The following induces an error, until -std is added to get
3875    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3876    array size at least.  It's necessary to write '\x00'==0 to get something
3877    that's true only with -std.  */
3878 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3879
3880 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3881    inside strings and character constants.  */
3882 #define FOO(x) 'x'
3883 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3884
3885 int test (int i, double x);
3886 struct s1 {int (*f) (int a);};
3887 struct s2 {int (*f) (double a);};
3888 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3889 int argc;
3890 char **argv;
3891 int
3892 main ()
3893 {
3894 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3895   ;
3896   return 0;
3897 }
3898 _ACEOF
3899 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3900         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3901 do
3902   CC="$ac_save_CC $ac_arg"
3903   if ac_fn_c_try_compile "$LINENO"; then :
3904   ac_cv_prog_cc_c89=$ac_arg
3905 fi
3906 rm -f core conftest.err conftest.$ac_objext
3907   test "x$ac_cv_prog_cc_c89" != "xno" && break
3908 done
3909 rm -f conftest.$ac_ext
3910 CC=$ac_save_CC
3911
3912 fi
3913 # AC_CACHE_VAL
3914 case "x$ac_cv_prog_cc_c89" in
3915   x)
3916     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3917 $as_echo "none needed" >&6; } ;;
3918   xno)
3919     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3920 $as_echo "unsupported" >&6; } ;;
3921   *)
3922     CC="$CC $ac_cv_prog_cc_c89"
3923     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3924 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3925 esac
3926 if test "x$ac_cv_prog_cc_c89" != xno; then :
3927
3928 fi
3929
3930 ac_ext=c
3931 ac_cpp='$CPP $CPPFLAGS'
3932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3935
3936 ac_ext=c
3937 ac_cpp='$CPP $CPPFLAGS'
3938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3942 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3943 if ${am_cv_prog_cc_c_o+:} false; then :
3944   $as_echo_n "(cached) " >&6
3945 else
3946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947 /* end confdefs.h.  */
3948
3949 int
3950 main ()
3951 {
3952
3953   ;
3954   return 0;
3955 }
3956 _ACEOF
3957   # Make sure it works both with $CC and with simple cc.
3958   # Following AC_PROG_CC_C_O, we do the test twice because some
3959   # compilers refuse to overwrite an existing .o file with -o,
3960   # though they will create one.
3961   am_cv_prog_cc_c_o=yes
3962   for am_i in 1 2; do
3963     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3964    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3965    ac_status=$?
3966    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967    (exit $ac_status); } \
3968          && test -f conftest2.$ac_objext; then
3969       : OK
3970     else
3971       am_cv_prog_cc_c_o=no
3972       break
3973     fi
3974   done
3975   rm -f core conftest*
3976   unset am_i
3977 fi
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3979 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3980 if test "$am_cv_prog_cc_c_o" != yes; then
3981    # Losing compiler, so override with the script.
3982    # FIXME: It is wrong to rewrite CC.
3983    # But if we don't then we get into trouble of one sort or another.
3984    # A longer-term fix would be to have automake use am__CC in this case,
3985    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3986    CC="$am_aux_dir/compile $CC"
3987 fi
3988 ac_ext=c
3989 ac_cpp='$CPP $CPPFLAGS'
3990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3993
3994
3995 depcc="$CC"   am_compiler_list=
3996
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3998 $as_echo_n "checking dependency style of $depcc... " >&6; }
3999 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4000   $as_echo_n "(cached) " >&6
4001 else
4002   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4003   # We make a subdir and do the tests there.  Otherwise we can end up
4004   # making bogus files that we don't know about and never remove.  For
4005   # instance it was reported that on HP-UX the gcc test will end up
4006   # making a dummy file named 'D' -- because '-MD' means "put the output
4007   # in D".
4008   rm -rf conftest.dir
4009   mkdir conftest.dir
4010   # Copy depcomp to subdir because otherwise we won't find it if we're
4011   # using a relative directory.
4012   cp "$am_depcomp" conftest.dir
4013   cd conftest.dir
4014   # We will build objects and dependencies in a subdirectory because
4015   # it helps to detect inapplicable dependency modes.  For instance
4016   # both Tru64's cc and ICC support -MD to output dependencies as a
4017   # side effect of compilation, but ICC will put the dependencies in
4018   # the current directory while Tru64 will put them in the object
4019   # directory.
4020   mkdir sub
4021
4022   am_cv_CC_dependencies_compiler_type=none
4023   if test "$am_compiler_list" = ""; then
4024      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4025   fi
4026   am__universal=false
4027   case " $depcc " in #(
4028      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4029      esac
4030
4031   for depmode in $am_compiler_list; do
4032     # Setup a source with many dependencies, because some compilers
4033     # like to wrap large dependency lists on column 80 (with \), and
4034     # we should not choose a depcomp mode which is confused by this.
4035     #
4036     # We need to recreate these files for each test, as the compiler may
4037     # overwrite some of them when testing with obscure command lines.
4038     # This happens at least with the AIX C compiler.
4039     : > sub/conftest.c
4040     for i in 1 2 3 4 5 6; do
4041       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4042       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4043       # Solaris 10 /bin/sh.
4044       echo '/* dummy */' > sub/conftst$i.h
4045     done
4046     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4047
4048     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4049     # mode.  It turns out that the SunPro C++ compiler does not properly
4050     # handle '-M -o', and we need to detect this.  Also, some Intel
4051     # versions had trouble with output in subdirs.
4052     am__obj=sub/conftest.${OBJEXT-o}
4053     am__minus_obj="-o $am__obj"
4054     case $depmode in
4055     gcc)
4056       # This depmode causes a compiler race in universal mode.
4057       test "$am__universal" = false || continue
4058       ;;
4059     nosideeffect)
4060       # After this tag, mechanisms are not by side-effect, so they'll
4061       # only be used when explicitly requested.
4062       if test "x$enable_dependency_tracking" = xyes; then
4063         continue
4064       else
4065         break
4066       fi
4067       ;;
4068     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4069       # This compiler won't grok '-c -o', but also, the minuso test has
4070       # not run yet.  These depmodes are late enough in the game, and
4071       # so weak that their functioning should not be impacted.
4072       am__obj=conftest.${OBJEXT-o}
4073       am__minus_obj=
4074       ;;
4075     none) break ;;
4076     esac
4077     if depmode=$depmode \
4078        source=sub/conftest.c object=$am__obj \
4079        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4080        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4081          >/dev/null 2>conftest.err &&
4082        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4083        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4084        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4085        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4086       # icc doesn't choke on unknown options, it will just issue warnings
4087       # or remarks (even with -Werror).  So we grep stderr for any message
4088       # that says an option was ignored or not supported.
4089       # When given -MP, icc 7.0 and 7.1 complain thusly:
4090       #   icc: Command line warning: ignoring option '-M'; no argument required
4091       # The diagnosis changed in icc 8.0:
4092       #   icc: Command line remark: option '-MP' not supported
4093       if (grep 'ignoring option' conftest.err ||
4094           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4095         am_cv_CC_dependencies_compiler_type=$depmode
4096         break
4097       fi
4098     fi
4099   done
4100
4101   cd ..
4102   rm -rf conftest.dir
4103 else
4104   am_cv_CC_dependencies_compiler_type=none
4105 fi
4106
4107 fi
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4109 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4110 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4111
4112  if
4113   test "x$enable_dependency_tracking" != xno \
4114   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4115   am__fastdepCC_TRUE=
4116   am__fastdepCC_FALSE='#'
4117 else
4118   am__fastdepCC_TRUE='#'
4119   am__fastdepCC_FALSE=
4120 fi
4121
4122
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4124 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4125 if ${ac_cv_path_SED+:} false; then :
4126   $as_echo_n "(cached) " >&6
4127 else
4128             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4129      for ac_i in 1 2 3 4 5 6 7; do
4130        ac_script="$ac_script$as_nl$ac_script"
4131      done
4132      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4133      { ac_script=; unset ac_script;}
4134      if test -z "$SED"; then
4135   ac_path_SED_found=false
4136   # Loop through the user's path and test for each of PROGNAME-LIST
4137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138 for as_dir in $PATH
4139 do
4140   IFS=$as_save_IFS
4141   test -z "$as_dir" && as_dir=.
4142     for ac_prog in sed gsed; do
4143     for ac_exec_ext in '' $ac_executable_extensions; do
4144       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4145       as_fn_executable_p "$ac_path_SED" || continue
4146 # Check for GNU ac_path_SED and select it if it is found.
4147   # Check for GNU $ac_path_SED
4148 case `"$ac_path_SED" --version 2>&1` in
4149 *GNU*)
4150   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4151 *)
4152   ac_count=0
4153   $as_echo_n 0123456789 >"conftest.in"
4154   while :
4155   do
4156     cat "conftest.in" "conftest.in" >"conftest.tmp"
4157     mv "conftest.tmp" "conftest.in"
4158     cp "conftest.in" "conftest.nl"
4159     $as_echo '' >> "conftest.nl"
4160     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4161     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4162     as_fn_arith $ac_count + 1 && ac_count=$as_val
4163     if test $ac_count -gt ${ac_path_SED_max-0}; then
4164       # Best one so far, save it but keep looking for a better one
4165       ac_cv_path_SED="$ac_path_SED"
4166       ac_path_SED_max=$ac_count
4167     fi
4168     # 10*(2^10) chars as input seems more than enough
4169     test $ac_count -gt 10 && break
4170   done
4171   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4172 esac
4173
4174       $ac_path_SED_found && break 3
4175     done
4176   done
4177   done
4178 IFS=$as_save_IFS
4179   if test -z "$ac_cv_path_SED"; then
4180     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4181   fi
4182 else
4183   ac_cv_path_SED=$SED
4184 fi
4185
4186 fi
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4188 $as_echo "$ac_cv_path_SED" >&6; }
4189  SED="$ac_cv_path_SED"
4190   rm -f conftest.sed
4191
4192 test -z "$SED" && SED=sed
4193 Xsed="$SED -e 1s/^X//"
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4206 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4207 if ${ac_cv_path_GREP+:} false; then :
4208   $as_echo_n "(cached) " >&6
4209 else
4210   if test -z "$GREP"; then
4211   ac_path_GREP_found=false
4212   # Loop through the user's path and test for each of PROGNAME-LIST
4213   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4215 do
4216   IFS=$as_save_IFS
4217   test -z "$as_dir" && as_dir=.
4218     for ac_prog in grep ggrep; do
4219     for ac_exec_ext in '' $ac_executable_extensions; do
4220       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4221       as_fn_executable_p "$ac_path_GREP" || continue
4222 # Check for GNU ac_path_GREP and select it if it is found.
4223   # Check for GNU $ac_path_GREP
4224 case `"$ac_path_GREP" --version 2>&1` in
4225 *GNU*)
4226   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4227 *)
4228   ac_count=0
4229   $as_echo_n 0123456789 >"conftest.in"
4230   while :
4231   do
4232     cat "conftest.in" "conftest.in" >"conftest.tmp"
4233     mv "conftest.tmp" "conftest.in"
4234     cp "conftest.in" "conftest.nl"
4235     $as_echo 'GREP' >> "conftest.nl"
4236     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4237     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4238     as_fn_arith $ac_count + 1 && ac_count=$as_val
4239     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4240       # Best one so far, save it but keep looking for a better one
4241       ac_cv_path_GREP="$ac_path_GREP"
4242       ac_path_GREP_max=$ac_count
4243     fi
4244     # 10*(2^10) chars as input seems more than enough
4245     test $ac_count -gt 10 && break
4246   done
4247   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4248 esac
4249
4250       $ac_path_GREP_found && break 3
4251     done
4252   done
4253   done
4254 IFS=$as_save_IFS
4255   if test -z "$ac_cv_path_GREP"; then
4256     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4257   fi
4258 else
4259   ac_cv_path_GREP=$GREP
4260 fi
4261
4262 fi
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4264 $as_echo "$ac_cv_path_GREP" >&6; }
4265  GREP="$ac_cv_path_GREP"
4266
4267
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4269 $as_echo_n "checking for egrep... " >&6; }
4270 if ${ac_cv_path_EGREP+:} false; then :
4271   $as_echo_n "(cached) " >&6
4272 else
4273   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4274    then ac_cv_path_EGREP="$GREP -E"
4275    else
4276      if test -z "$EGREP"; then
4277   ac_path_EGREP_found=false
4278   # Loop through the user's path and test for each of PROGNAME-LIST
4279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4280 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4281 do
4282   IFS=$as_save_IFS
4283   test -z "$as_dir" && as_dir=.
4284     for ac_prog in egrep; do
4285     for ac_exec_ext in '' $ac_executable_extensions; do
4286       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4287       as_fn_executable_p "$ac_path_EGREP" || continue
4288 # Check for GNU ac_path_EGREP and select it if it is found.
4289   # Check for GNU $ac_path_EGREP
4290 case `"$ac_path_EGREP" --version 2>&1` in
4291 *GNU*)
4292   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4293 *)
4294   ac_count=0
4295   $as_echo_n 0123456789 >"conftest.in"
4296   while :
4297   do
4298     cat "conftest.in" "conftest.in" >"conftest.tmp"
4299     mv "conftest.tmp" "conftest.in"
4300     cp "conftest.in" "conftest.nl"
4301     $as_echo 'EGREP' >> "conftest.nl"
4302     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4303     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4304     as_fn_arith $ac_count + 1 && ac_count=$as_val
4305     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4306       # Best one so far, save it but keep looking for a better one
4307       ac_cv_path_EGREP="$ac_path_EGREP"
4308       ac_path_EGREP_max=$ac_count
4309     fi
4310     # 10*(2^10) chars as input seems more than enough
4311     test $ac_count -gt 10 && break
4312   done
4313   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4314 esac
4315
4316       $ac_path_EGREP_found && break 3
4317     done
4318   done
4319   done
4320 IFS=$as_save_IFS
4321   if test -z "$ac_cv_path_EGREP"; then
4322     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4323   fi
4324 else
4325   ac_cv_path_EGREP=$EGREP
4326 fi
4327
4328    fi
4329 fi
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4331 $as_echo "$ac_cv_path_EGREP" >&6; }
4332  EGREP="$ac_cv_path_EGREP"
4333
4334
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4336 $as_echo_n "checking for fgrep... " >&6; }
4337 if ${ac_cv_path_FGREP+:} false; then :
4338   $as_echo_n "(cached) " >&6
4339 else
4340   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4341    then ac_cv_path_FGREP="$GREP -F"
4342    else
4343      if test -z "$FGREP"; then
4344   ac_path_FGREP_found=false
4345   # Loop through the user's path and test for each of PROGNAME-LIST
4346   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4348 do
4349   IFS=$as_save_IFS
4350   test -z "$as_dir" && as_dir=.
4351     for ac_prog in fgrep; do
4352     for ac_exec_ext in '' $ac_executable_extensions; do
4353       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4354       as_fn_executable_p "$ac_path_FGREP" || continue
4355 # Check for GNU ac_path_FGREP and select it if it is found.
4356   # Check for GNU $ac_path_FGREP
4357 case `"$ac_path_FGREP" --version 2>&1` in
4358 *GNU*)
4359   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4360 *)
4361   ac_count=0
4362   $as_echo_n 0123456789 >"conftest.in"
4363   while :
4364   do
4365     cat "conftest.in" "conftest.in" >"conftest.tmp"
4366     mv "conftest.tmp" "conftest.in"
4367     cp "conftest.in" "conftest.nl"
4368     $as_echo 'FGREP' >> "conftest.nl"
4369     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4370     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4371     as_fn_arith $ac_count + 1 && ac_count=$as_val
4372     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4373       # Best one so far, save it but keep looking for a better one
4374       ac_cv_path_FGREP="$ac_path_FGREP"
4375       ac_path_FGREP_max=$ac_count
4376     fi
4377     # 10*(2^10) chars as input seems more than enough
4378     test $ac_count -gt 10 && break
4379   done
4380   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4381 esac
4382
4383       $ac_path_FGREP_found && break 3
4384     done
4385   done
4386   done
4387 IFS=$as_save_IFS
4388   if test -z "$ac_cv_path_FGREP"; then
4389     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4390   fi
4391 else
4392   ac_cv_path_FGREP=$FGREP
4393 fi
4394
4395    fi
4396 fi
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4398 $as_echo "$ac_cv_path_FGREP" >&6; }
4399  FGREP="$ac_cv_path_FGREP"
4400
4401
4402 test -z "$GREP" && GREP=grep
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422 # Check whether --with-gnu-ld was given.
4423 if test "${with_gnu_ld+set}" = set; then :
4424   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4425 else
4426   with_gnu_ld=no
4427 fi
4428
4429 ac_prog=ld
4430 if test yes = "$GCC"; then
4431   # Check if gcc -print-prog-name=ld gives a path.
4432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4433 $as_echo_n "checking for ld used by $CC... " >&6; }
4434   case $host in
4435   *-*-mingw*)
4436     # gcc leaves a trailing carriage return, which upsets mingw
4437     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4438   *)
4439     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4440   esac
4441   case $ac_prog in
4442     # Accept absolute paths.
4443     [\\/]* | ?:[\\/]*)
4444       re_direlt='/[^/][^/]*/\.\./'
4445       # Canonicalize the pathname of ld
4446       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4447       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4448         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4449       done
4450       test -z "$LD" && LD=$ac_prog
4451       ;;
4452   "")
4453     # If it fails, then pretend we aren't using GCC.
4454     ac_prog=ld
4455     ;;
4456   *)
4457     # If it is relative, then search for the first ld in PATH.
4458     with_gnu_ld=unknown
4459     ;;
4460   esac
4461 elif test yes = "$with_gnu_ld"; then
4462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4463 $as_echo_n "checking for GNU ld... " >&6; }
4464 else
4465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4466 $as_echo_n "checking for non-GNU ld... " >&6; }
4467 fi
4468 if ${lt_cv_path_LD+:} false; then :
4469   $as_echo_n "(cached) " >&6
4470 else
4471   if test -z "$LD"; then
4472   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4473   for ac_dir in $PATH; do
4474     IFS=$lt_save_ifs
4475     test -z "$ac_dir" && ac_dir=.
4476     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4477       lt_cv_path_LD=$ac_dir/$ac_prog
4478       # Check to see if the program is GNU ld.  I'd rather use --version,
4479       # but apparently some variants of GNU ld only accept -v.
4480       # Break only if it was the GNU/non-GNU ld that we prefer.
4481       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4482       *GNU* | *'with BFD'*)
4483         test no != "$with_gnu_ld" && break
4484         ;;
4485       *)
4486         test yes != "$with_gnu_ld" && break
4487         ;;
4488       esac
4489     fi
4490   done
4491   IFS=$lt_save_ifs
4492 else
4493   lt_cv_path_LD=$LD # Let the user override the test with a path.
4494 fi
4495 fi
4496
4497 LD=$lt_cv_path_LD
4498 if test -n "$LD"; then
4499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4500 $as_echo "$LD" >&6; }
4501 else
4502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4504 fi
4505 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4507 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4508 if ${lt_cv_prog_gnu_ld+:} false; then :
4509   $as_echo_n "(cached) " >&6
4510 else
4511   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4512 case `$LD -v 2>&1 </dev/null` in
4513 *GNU* | *'with BFD'*)
4514   lt_cv_prog_gnu_ld=yes
4515   ;;
4516 *)
4517   lt_cv_prog_gnu_ld=no
4518   ;;
4519 esac
4520 fi
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4522 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4523 with_gnu_ld=$lt_cv_prog_gnu_ld
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4534 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4535 if ${lt_cv_path_NM+:} false; then :
4536   $as_echo_n "(cached) " >&6
4537 else
4538   if test -n "$NM"; then
4539   # Let the user override the test.
4540   lt_cv_path_NM=$NM
4541 else
4542   lt_nm_to_check=${ac_tool_prefix}nm
4543   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4544     lt_nm_to_check="$lt_nm_to_check nm"
4545   fi
4546   for lt_tmp_nm in $lt_nm_to_check; do
4547     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4548     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4549       IFS=$lt_save_ifs
4550       test -z "$ac_dir" && ac_dir=.
4551       tmp_nm=$ac_dir/$lt_tmp_nm
4552       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4553         # Check to see if the nm accepts a BSD-compat flag.
4554         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4555         #   nm: unknown option "B" ignored
4556         # Tru64's nm complains that /dev/null is an invalid object file
4557         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4558         case $build_os in
4559         mingw*) lt_bad_file=conftest.nm/nofile ;;
4560         *) lt_bad_file=/dev/null ;;
4561         esac
4562         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4563         *$lt_bad_file* | *'Invalid file or object type'*)
4564           lt_cv_path_NM="$tmp_nm -B"
4565           break 2
4566           ;;
4567         *)
4568           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4569           */dev/null*)
4570             lt_cv_path_NM="$tmp_nm -p"
4571             break 2
4572             ;;
4573           *)
4574             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4575             continue # so that we can try to find one that supports BSD flags
4576             ;;
4577           esac
4578           ;;
4579         esac
4580       fi
4581     done
4582     IFS=$lt_save_ifs
4583   done
4584   : ${lt_cv_path_NM=no}
4585 fi
4586 fi
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4588 $as_echo "$lt_cv_path_NM" >&6; }
4589 if test no != "$lt_cv_path_NM"; then
4590   NM=$lt_cv_path_NM
4591 else
4592   # Didn't find any BSD compatible name lister, look for dumpbin.
4593   if test -n "$DUMPBIN"; then :
4594     # Let the user override the test.
4595   else
4596     if test -n "$ac_tool_prefix"; then
4597   for ac_prog in dumpbin "link -dump"
4598   do
4599     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 $as_echo_n "checking for $ac_word... " >&6; }
4603 if ${ac_cv_prog_DUMPBIN+:} false; then :
4604   $as_echo_n "(cached) " >&6
4605 else
4606   if test -n "$DUMPBIN"; then
4607   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4608 else
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH
4611 do
4612   IFS=$as_save_IFS
4613   test -z "$as_dir" && as_dir=.
4614     for ac_exec_ext in '' $ac_executable_extensions; do
4615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618     break 2
4619   fi
4620 done
4621   done
4622 IFS=$as_save_IFS
4623
4624 fi
4625 fi
4626 DUMPBIN=$ac_cv_prog_DUMPBIN
4627 if test -n "$DUMPBIN"; then
4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4629 $as_echo "$DUMPBIN" >&6; }
4630 else
4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 $as_echo "no" >&6; }
4633 fi
4634
4635
4636     test -n "$DUMPBIN" && break
4637   done
4638 fi
4639 if test -z "$DUMPBIN"; then
4640   ac_ct_DUMPBIN=$DUMPBIN
4641   for ac_prog in dumpbin "link -dump"
4642 do
4643   # Extract the first word of "$ac_prog", so it can be a program name with args.
4644 set dummy $ac_prog; ac_word=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4648   $as_echo_n "(cached) " >&6
4649 else
4650   if test -n "$ac_ct_DUMPBIN"; then
4651   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4652 else
4653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 for as_dir in $PATH
4655 do
4656   IFS=$as_save_IFS
4657   test -z "$as_dir" && as_dir=.
4658     for ac_exec_ext in '' $ac_executable_extensions; do
4659   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4660     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4662     break 2
4663   fi
4664 done
4665   done
4666 IFS=$as_save_IFS
4667
4668 fi
4669 fi
4670 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4671 if test -n "$ac_ct_DUMPBIN"; then
4672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4673 $as_echo "$ac_ct_DUMPBIN" >&6; }
4674 else
4675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4677 fi
4678
4679
4680   test -n "$ac_ct_DUMPBIN" && break
4681 done
4682
4683   if test "x$ac_ct_DUMPBIN" = x; then
4684     DUMPBIN=":"
4685   else
4686     case $cross_compiling:$ac_tool_warned in
4687 yes:)
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4690 ac_tool_warned=yes ;;
4691 esac
4692     DUMPBIN=$ac_ct_DUMPBIN
4693   fi
4694 fi
4695
4696     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4697     *COFF*)
4698       DUMPBIN="$DUMPBIN -symbols -headers"
4699       ;;
4700     *)
4701       DUMPBIN=:
4702       ;;
4703     esac
4704   fi
4705
4706   if test : != "$DUMPBIN"; then
4707     NM=$DUMPBIN
4708   fi
4709 fi
4710 test -z "$NM" && NM=nm
4711
4712
4713
4714
4715
4716
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4718 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4719 if ${lt_cv_nm_interface+:} false; then :
4720   $as_echo_n "(cached) " >&6
4721 else
4722   lt_cv_nm_interface="BSD nm"
4723   echo "int some_variable = 0;" > conftest.$ac_ext
4724   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4725   (eval "$ac_compile" 2>conftest.err)
4726   cat conftest.err >&5
4727   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4728   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4729   cat conftest.err >&5
4730   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4731   cat conftest.out >&5
4732   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4733     lt_cv_nm_interface="MS dumpbin"
4734   fi
4735   rm -f conftest*
4736 fi
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4738 $as_echo "$lt_cv_nm_interface" >&6; }
4739
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4741 $as_echo_n "checking whether ln -s works... " >&6; }
4742 LN_S=$as_ln_s
4743 if test "$LN_S" = "ln -s"; then
4744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4745 $as_echo "yes" >&6; }
4746 else
4747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4748 $as_echo "no, using $LN_S" >&6; }
4749 fi
4750
4751 # find the maximum length of command line arguments
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4753 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4754 if ${lt_cv_sys_max_cmd_len+:} false; then :
4755   $as_echo_n "(cached) " >&6
4756 else
4757     i=0
4758   teststring=ABCD
4759
4760   case $build_os in
4761   msdosdjgpp*)
4762     # On DJGPP, this test can blow up pretty badly due to problems in libc
4763     # (any single argument exceeding 2000 bytes causes a buffer overrun
4764     # during glob expansion).  Even if it were fixed, the result of this
4765     # check would be larger than it should be.
4766     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4767     ;;
4768
4769   gnu*)
4770     # Under GNU Hurd, this test is not required because there is
4771     # no limit to the length of command line arguments.
4772     # Libtool will interpret -1 as no limit whatsoever
4773     lt_cv_sys_max_cmd_len=-1;
4774     ;;
4775
4776   cygwin* | mingw* | cegcc*)
4777     # On Win9x/ME, this test blows up -- it succeeds, but takes
4778     # about 5 minutes as the teststring grows exponentially.
4779     # Worse, since 9x/ME are not pre-emptively multitasking,
4780     # you end up with a "frozen" computer, even though with patience
4781     # the test eventually succeeds (with a max line length of 256k).
4782     # Instead, let's just punt: use the minimum linelength reported by
4783     # all of the supported platforms: 8192 (on NT/2K/XP).
4784     lt_cv_sys_max_cmd_len=8192;
4785     ;;
4786
4787   mint*)
4788     # On MiNT this can take a long time and run out of memory.
4789     lt_cv_sys_max_cmd_len=8192;
4790     ;;
4791
4792   amigaos*)
4793     # On AmigaOS with pdksh, this test takes hours, literally.
4794     # So we just punt and use a minimum line length of 8192.
4795     lt_cv_sys_max_cmd_len=8192;
4796     ;;
4797
4798   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4799     # This has been around since 386BSD, at least.  Likely further.
4800     if test -x /sbin/sysctl; then
4801       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4802     elif test -x /usr/sbin/sysctl; then
4803       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4804     else
4805       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4806     fi
4807     # And add a safety zone
4808     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4809     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4810     ;;
4811
4812   interix*)
4813     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4814     lt_cv_sys_max_cmd_len=196608
4815     ;;
4816
4817   os2*)
4818     # The test takes a long time on OS/2.
4819     lt_cv_sys_max_cmd_len=8192
4820     ;;
4821
4822   osf*)
4823     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4824     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4825     # nice to cause kernel panics so lets avoid the loop below.
4826     # First set a reasonable default.
4827     lt_cv_sys_max_cmd_len=16384
4828     #
4829     if test -x /sbin/sysconfig; then
4830       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4831         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4832       esac
4833     fi
4834     ;;
4835   sco3.2v5*)
4836     lt_cv_sys_max_cmd_len=102400
4837     ;;
4838   sysv5* | sco5v6* | sysv4.2uw2*)
4839     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4840     if test -n "$kargmax"; then
4841       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4842     else
4843       lt_cv_sys_max_cmd_len=32768
4844     fi
4845     ;;
4846   *)
4847     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4848     if test -n "$lt_cv_sys_max_cmd_len" && \
4849        test undefined != "$lt_cv_sys_max_cmd_len"; then
4850       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4851       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4852     else
4853       # Make teststring a little bigger before we do anything with it.
4854       # a 1K string should be a reasonable start.
4855       for i in 1 2 3 4 5 6 7 8; do
4856         teststring=$teststring$teststring
4857       done
4858       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4859       # If test is not a shell built-in, we'll probably end up computing a
4860       # maximum length that is only half of the actual maximum length, but
4861       # we can't tell.
4862       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4863                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4864               test 17 != "$i" # 1/2 MB should be enough
4865       do
4866         i=`expr $i + 1`
4867         teststring=$teststring$teststring
4868       done
4869       # Only check the string length outside the loop.
4870       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4871       teststring=
4872       # Add a significant safety factor because C++ compilers can tack on
4873       # massive amounts of additional arguments before passing them to the
4874       # linker.  It appears as though 1/2 is a usable value.
4875       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4876     fi
4877     ;;
4878   esac
4879
4880 fi
4881
4882 if test -n "$lt_cv_sys_max_cmd_len"; then
4883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4884 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4885 else
4886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4887 $as_echo "none" >&6; }
4888 fi
4889 max_cmd_len=$lt_cv_sys_max_cmd_len
4890
4891
4892
4893
4894
4895
4896 : ${CP="cp -f"}
4897 : ${MV="mv -f"}
4898 : ${RM="rm -f"}
4899
4900 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4901   lt_unset=unset
4902 else
4903   lt_unset=false
4904 fi
4905
4906
4907
4908
4909
4910 # test EBCDIC or ASCII
4911 case `echo X|tr X '\101'` in
4912  A) # ASCII based system
4913     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4914   lt_SP2NL='tr \040 \012'
4915   lt_NL2SP='tr \015\012 \040\040'
4916   ;;
4917  *) # EBCDIC based system
4918   lt_SP2NL='tr \100 \n'
4919   lt_NL2SP='tr \r\n \100\100'
4920   ;;
4921 esac
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4932 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4933 if ${lt_cv_to_host_file_cmd+:} false; then :
4934   $as_echo_n "(cached) " >&6
4935 else
4936   case $host in
4937   *-*-mingw* )
4938     case $build in
4939       *-*-mingw* ) # actually msys
4940         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4941         ;;
4942       *-*-cygwin* )
4943         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4944         ;;
4945       * ) # otherwise, assume *nix
4946         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4947         ;;
4948     esac
4949     ;;
4950   *-*-cygwin* )
4951     case $build in
4952       *-*-mingw* ) # actually msys
4953         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4954         ;;
4955       *-*-cygwin* )
4956         lt_cv_to_host_file_cmd=func_convert_file_noop
4957         ;;
4958       * ) # otherwise, assume *nix
4959         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4960         ;;
4961     esac
4962     ;;
4963   * ) # unhandled hosts (and "normal" native builds)
4964     lt_cv_to_host_file_cmd=func_convert_file_noop
4965     ;;
4966 esac
4967
4968 fi
4969
4970 to_host_file_cmd=$lt_cv_to_host_file_cmd
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4972 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4973
4974
4975
4976
4977
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4979 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4980 if ${lt_cv_to_tool_file_cmd+:} false; then :
4981   $as_echo_n "(cached) " >&6
4982 else
4983   #assume ordinary cross tools, or native build.
4984 lt_cv_to_tool_file_cmd=func_convert_file_noop
4985 case $host in
4986   *-*-mingw* )
4987     case $build in
4988       *-*-mingw* ) # actually msys
4989         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4990         ;;
4991     esac
4992     ;;
4993 esac
4994
4995 fi
4996
4997 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4999 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5000
5001
5002
5003
5004
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5006 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5007 if ${lt_cv_ld_reload_flag+:} false; then :
5008   $as_echo_n "(cached) " >&6
5009 else
5010   lt_cv_ld_reload_flag='-r'
5011 fi
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5013 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5014 reload_flag=$lt_cv_ld_reload_flag
5015 case $reload_flag in
5016 "" | " "*) ;;
5017 *) reload_flag=" $reload_flag" ;;
5018 esac
5019 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5020 case $host_os in
5021   cygwin* | mingw* | pw32* | cegcc*)
5022     if test yes != "$GCC"; then
5023       reload_cmds=false
5024     fi
5025     ;;
5026   darwin*)
5027     if test yes = "$GCC"; then
5028       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5029     else
5030       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5031     fi
5032     ;;
5033 esac
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043 if test -n "$ac_tool_prefix"; then
5044   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5045 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if ${ac_cv_prog_OBJDUMP+:} false; then :
5049   $as_echo_n "(cached) " >&6
5050 else
5051   if test -n "$OBJDUMP"; then
5052   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5053 else
5054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 for as_dir in $PATH
5056 do
5057   IFS=$as_save_IFS
5058   test -z "$as_dir" && as_dir=.
5059     for ac_exec_ext in '' $ac_executable_extensions; do
5060   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5061     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063     break 2
5064   fi
5065 done
5066   done
5067 IFS=$as_save_IFS
5068
5069 fi
5070 fi
5071 OBJDUMP=$ac_cv_prog_OBJDUMP
5072 if test -n "$OBJDUMP"; then
5073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5074 $as_echo "$OBJDUMP" >&6; }
5075 else
5076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5078 fi
5079
5080
5081 fi
5082 if test -z "$ac_cv_prog_OBJDUMP"; then
5083   ac_ct_OBJDUMP=$OBJDUMP
5084   # Extract the first word of "objdump", so it can be a program name with args.
5085 set dummy objdump; ac_word=$2
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5087 $as_echo_n "checking for $ac_word... " >&6; }
5088 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5089   $as_echo_n "(cached) " >&6
5090 else
5091   if test -n "$ac_ct_OBJDUMP"; then
5092   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5093 else
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 for as_dir in $PATH
5096 do
5097   IFS=$as_save_IFS
5098   test -z "$as_dir" && as_dir=.
5099     for ac_exec_ext in '' $ac_executable_extensions; do
5100   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5101     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5102     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103     break 2
5104   fi
5105 done
5106   done
5107 IFS=$as_save_IFS
5108
5109 fi
5110 fi
5111 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5112 if test -n "$ac_ct_OBJDUMP"; then
5113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5114 $as_echo "$ac_ct_OBJDUMP" >&6; }
5115 else
5116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5117 $as_echo "no" >&6; }
5118 fi
5119
5120   if test "x$ac_ct_OBJDUMP" = x; then
5121     OBJDUMP="false"
5122   else
5123     case $cross_compiling:$ac_tool_warned in
5124 yes:)
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5127 ac_tool_warned=yes ;;
5128 esac
5129     OBJDUMP=$ac_ct_OBJDUMP
5130   fi
5131 else
5132   OBJDUMP="$ac_cv_prog_OBJDUMP"
5133 fi
5134
5135 test -z "$OBJDUMP" && OBJDUMP=objdump
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5146 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5147 if ${lt_cv_deplibs_check_method+:} false; then :
5148   $as_echo_n "(cached) " >&6
5149 else
5150   lt_cv_file_magic_cmd='$MAGIC_CMD'
5151 lt_cv_file_magic_test_file=
5152 lt_cv_deplibs_check_method='unknown'
5153 # Need to set the preceding variable on all platforms that support
5154 # interlibrary dependencies.
5155 # 'none' -- dependencies not supported.
5156 # 'unknown' -- same as none, but documents that we really don't know.
5157 # 'pass_all' -- all dependencies passed with no checks.
5158 # 'test_compile' -- check by making test program.
5159 # 'file_magic [[regex]]' -- check by looking for files in library path
5160 # that responds to the $file_magic_cmd with a given extended regex.
5161 # If you have 'file' or equivalent on your system and you're not sure
5162 # whether 'pass_all' will *always* work, you probably want this one.
5163
5164 case $host_os in
5165 aix[4-9]*)
5166   lt_cv_deplibs_check_method=pass_all
5167   ;;
5168
5169 beos*)
5170   lt_cv_deplibs_check_method=pass_all
5171   ;;
5172
5173 bsdi[45]*)
5174   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5175   lt_cv_file_magic_cmd='/usr/bin/file -L'
5176   lt_cv_file_magic_test_file=/shlib/libc.so
5177   ;;
5178
5179 cygwin*)
5180   # func_win32_libid is a shell function defined in ltmain.sh
5181   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5182   lt_cv_file_magic_cmd='func_win32_libid'
5183   ;;
5184
5185 mingw* | pw32*)
5186   # Base MSYS/MinGW do not provide the 'file' command needed by
5187   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5188   # unless we find 'file', for example because we are cross-compiling.
5189   if ( file / ) >/dev/null 2>&1; then
5190     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5191     lt_cv_file_magic_cmd='func_win32_libid'
5192   else
5193     # Keep this pattern in sync with the one in func_win32_libid.
5194     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5195     lt_cv_file_magic_cmd='$OBJDUMP -f'
5196   fi
5197   ;;
5198
5199 cegcc*)
5200   # use the weaker test based on 'objdump'. See mingw*.
5201   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5202   lt_cv_file_magic_cmd='$OBJDUMP -f'
5203   ;;
5204
5205 darwin* | rhapsody*)
5206   lt_cv_deplibs_check_method=pass_all
5207   ;;
5208
5209 freebsd* | dragonfly*)
5210   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5211     case $host_cpu in
5212     i*86 )
5213       # Not sure whether the presence of OpenBSD here was a mistake.
5214       # Let's accept both of them until this is cleared up.
5215       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5216       lt_cv_file_magic_cmd=/usr/bin/file
5217       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5218       ;;
5219     esac
5220   else
5221     lt_cv_deplibs_check_method=pass_all
5222   fi
5223   ;;
5224
5225 haiku*)
5226   lt_cv_deplibs_check_method=pass_all
5227   ;;
5228
5229 hpux10.20* | hpux11*)
5230   lt_cv_file_magic_cmd=/usr/bin/file
5231   case $host_cpu in
5232   ia64*)
5233     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5234     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5235     ;;
5236   hppa*64*)
5237     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]'
5238     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5239     ;;
5240   *)
5241     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5242     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5243     ;;
5244   esac
5245   ;;
5246
5247 interix[3-9]*)
5248   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5249   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5250   ;;
5251
5252 irix5* | irix6* | nonstopux*)
5253   case $LD in
5254   *-32|*"-32 ") libmagic=32-bit;;
5255   *-n32|*"-n32 ") libmagic=N32;;
5256   *-64|*"-64 ") libmagic=64-bit;;
5257   *) libmagic=never-match;;
5258   esac
5259   lt_cv_deplibs_check_method=pass_all
5260   ;;
5261
5262 # This must be glibc/ELF.
5263 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5264   lt_cv_deplibs_check_method=pass_all
5265   ;;
5266
5267 netbsd* | netbsdelf*-gnu)
5268   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5269     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5270   else
5271     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5272   fi
5273   ;;
5274
5275 newos6*)
5276   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5277   lt_cv_file_magic_cmd=/usr/bin/file
5278   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5279   ;;
5280
5281 *nto* | *qnx*)
5282   lt_cv_deplibs_check_method=pass_all
5283   ;;
5284
5285 openbsd* | bitrig*)
5286   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5287     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5288   else
5289     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5290   fi
5291   ;;
5292
5293 osf3* | osf4* | osf5*)
5294   lt_cv_deplibs_check_method=pass_all
5295   ;;
5296
5297 rdos*)
5298   lt_cv_deplibs_check_method=pass_all
5299   ;;
5300
5301 solaris*)
5302   lt_cv_deplibs_check_method=pass_all
5303   ;;
5304
5305 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5306   lt_cv_deplibs_check_method=pass_all
5307   ;;
5308
5309 sysv4 | sysv4.3*)
5310   case $host_vendor in
5311   motorola)
5312     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]'
5313     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5314     ;;
5315   ncr)
5316     lt_cv_deplibs_check_method=pass_all
5317     ;;
5318   sequent)
5319     lt_cv_file_magic_cmd='/bin/file'
5320     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5321     ;;
5322   sni)
5323     lt_cv_file_magic_cmd='/bin/file'
5324     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5325     lt_cv_file_magic_test_file=/lib/libc.so
5326     ;;
5327   siemens)
5328     lt_cv_deplibs_check_method=pass_all
5329     ;;
5330   pc)
5331     lt_cv_deplibs_check_method=pass_all
5332     ;;
5333   esac
5334   ;;
5335
5336 tpf*)
5337   lt_cv_deplibs_check_method=pass_all
5338   ;;
5339 os2*)
5340   lt_cv_deplibs_check_method=pass_all
5341   ;;
5342 esac
5343
5344 fi
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5346 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5347
5348 file_magic_glob=
5349 want_nocaseglob=no
5350 if test "$build" = "$host"; then
5351   case $host_os in
5352   mingw* | pw32*)
5353     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5354       want_nocaseglob=yes
5355     else
5356       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5357     fi
5358     ;;
5359   esac
5360 fi
5361
5362 file_magic_cmd=$lt_cv_file_magic_cmd
5363 deplibs_check_method=$lt_cv_deplibs_check_method
5364 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387 if test -n "$ac_tool_prefix"; then
5388   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5389 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5391 $as_echo_n "checking for $ac_word... " >&6; }
5392 if ${ac_cv_prog_DLLTOOL+:} false; then :
5393   $as_echo_n "(cached) " >&6
5394 else
5395   if test -n "$DLLTOOL"; then
5396   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5397 else
5398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5399 for as_dir in $PATH
5400 do
5401   IFS=$as_save_IFS
5402   test -z "$as_dir" && as_dir=.
5403     for ac_exec_ext in '' $ac_executable_extensions; do
5404   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5405     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407     break 2
5408   fi
5409 done
5410   done
5411 IFS=$as_save_IFS
5412
5413 fi
5414 fi
5415 DLLTOOL=$ac_cv_prog_DLLTOOL
5416 if test -n "$DLLTOOL"; then
5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5418 $as_echo "$DLLTOOL" >&6; }
5419 else
5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5422 fi
5423
5424
5425 fi
5426 if test -z "$ac_cv_prog_DLLTOOL"; then
5427   ac_ct_DLLTOOL=$DLLTOOL
5428   # Extract the first word of "dlltool", so it can be a program name with args.
5429 set dummy dlltool; ac_word=$2
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5431 $as_echo_n "checking for $ac_word... " >&6; }
5432 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5433   $as_echo_n "(cached) " >&6
5434 else
5435   if test -n "$ac_ct_DLLTOOL"; then
5436   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5437 else
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH
5440 do
5441   IFS=$as_save_IFS
5442   test -z "$as_dir" && as_dir=.
5443     for ac_exec_ext in '' $ac_executable_extensions; do
5444   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5445     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5447     break 2
5448   fi
5449 done
5450   done
5451 IFS=$as_save_IFS
5452
5453 fi
5454 fi
5455 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5456 if test -n "$ac_ct_DLLTOOL"; then
5457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5458 $as_echo "$ac_ct_DLLTOOL" >&6; }
5459 else
5460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5461 $as_echo "no" >&6; }
5462 fi
5463
5464   if test "x$ac_ct_DLLTOOL" = x; then
5465     DLLTOOL="false"
5466   else
5467     case $cross_compiling:$ac_tool_warned in
5468 yes:)
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5471 ac_tool_warned=yes ;;
5472 esac
5473     DLLTOOL=$ac_ct_DLLTOOL
5474   fi
5475 else
5476   DLLTOOL="$ac_cv_prog_DLLTOOL"
5477 fi
5478
5479 test -z "$DLLTOOL" && DLLTOOL=dlltool
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5491 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5492 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5493   $as_echo_n "(cached) " >&6
5494 else
5495   lt_cv_sharedlib_from_linklib_cmd='unknown'
5496
5497 case $host_os in
5498 cygwin* | mingw* | pw32* | cegcc*)
5499   # two different shell functions defined in ltmain.sh;
5500   # decide which one to use based on capabilities of $DLLTOOL
5501   case `$DLLTOOL --help 2>&1` in
5502   *--identify-strict*)
5503     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5504     ;;
5505   *)
5506     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5507     ;;
5508   esac
5509   ;;
5510 *)
5511   # fallback: assume linklib IS sharedlib
5512   lt_cv_sharedlib_from_linklib_cmd=$ECHO
5513   ;;
5514 esac
5515
5516 fi
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5518 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5519 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5520 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5521
5522
5523
5524
5525
5526
5527
5528
5529 if test -n "$ac_tool_prefix"; then
5530   for ac_prog in ar
5531   do
5532     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5533 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5535 $as_echo_n "checking for $ac_word... " >&6; }
5536 if ${ac_cv_prog_AR+:} false; then :
5537   $as_echo_n "(cached) " >&6
5538 else
5539   if test -n "$AR"; then
5540   ac_cv_prog_AR="$AR" # Let the user override the test.
5541 else
5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5543 for as_dir in $PATH
5544 do
5545   IFS=$as_save_IFS
5546   test -z "$as_dir" && as_dir=.
5547     for ac_exec_ext in '' $ac_executable_extensions; do
5548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5549     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551     break 2
5552   fi
5553 done
5554   done
5555 IFS=$as_save_IFS
5556
5557 fi
5558 fi
5559 AR=$ac_cv_prog_AR
5560 if test -n "$AR"; then
5561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5562 $as_echo "$AR" >&6; }
5563 else
5564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5565 $as_echo "no" >&6; }
5566 fi
5567
5568
5569     test -n "$AR" && break
5570   done
5571 fi
5572 if test -z "$AR"; then
5573   ac_ct_AR=$AR
5574   for ac_prog in ar
5575 do
5576   # Extract the first word of "$ac_prog", so it can be a program name with args.
5577 set dummy $ac_prog; ac_word=$2
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5579 $as_echo_n "checking for $ac_word... " >&6; }
5580 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5581   $as_echo_n "(cached) " >&6
5582 else
5583   if test -n "$ac_ct_AR"; then
5584   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5588 do
5589   IFS=$as_save_IFS
5590   test -z "$as_dir" && as_dir=.
5591     for ac_exec_ext in '' $ac_executable_extensions; do
5592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5593     ac_cv_prog_ac_ct_AR="$ac_prog"
5594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5595     break 2
5596   fi
5597 done
5598   done
5599 IFS=$as_save_IFS
5600
5601 fi
5602 fi
5603 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5604 if test -n "$ac_ct_AR"; then
5605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5606 $as_echo "$ac_ct_AR" >&6; }
5607 else
5608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609 $as_echo "no" >&6; }
5610 fi
5611
5612
5613   test -n "$ac_ct_AR" && break
5614 done
5615
5616   if test "x$ac_ct_AR" = x; then
5617     AR="false"
5618   else
5619     case $cross_compiling:$ac_tool_warned in
5620 yes:)
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5623 ac_tool_warned=yes ;;
5624 esac
5625     AR=$ac_ct_AR
5626   fi
5627 fi
5628
5629 : ${AR=ar}
5630 : ${AR_FLAGS=cru}
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5643 $as_echo_n "checking for archiver @FILE support... " >&6; }
5644 if ${lt_cv_ar_at_file+:} false; then :
5645   $as_echo_n "(cached) " >&6
5646 else
5647   lt_cv_ar_at_file=no
5648    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h.  */
5650
5651 int
5652 main ()
5653 {
5654
5655   ;
5656   return 0;
5657 }
5658 _ACEOF
5659 if ac_fn_c_try_compile "$LINENO"; then :
5660   echo conftest.$ac_objext > conftest.lst
5661       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5662       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5663   (eval $lt_ar_try) 2>&5
5664   ac_status=$?
5665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5666   test $ac_status = 0; }
5667       if test 0 -eq "$ac_status"; then
5668         # Ensure the archiver fails upon bogus file names.
5669         rm -f conftest.$ac_objext libconftest.a
5670         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5671   (eval $lt_ar_try) 2>&5
5672   ac_status=$?
5673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5674   test $ac_status = 0; }
5675         if test 0 -ne "$ac_status"; then
5676           lt_cv_ar_at_file=@
5677         fi
5678       fi
5679       rm -f conftest.* libconftest.a
5680
5681 fi
5682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5683
5684 fi
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5686 $as_echo "$lt_cv_ar_at_file" >&6; }
5687
5688 if test no = "$lt_cv_ar_at_file"; then
5689   archiver_list_spec=
5690 else
5691   archiver_list_spec=$lt_cv_ar_at_file
5692 fi
5693
5694
5695
5696
5697
5698
5699
5700 if test -n "$ac_tool_prefix"; then
5701   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5702 set dummy ${ac_tool_prefix}strip; ac_word=$2
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704 $as_echo_n "checking for $ac_word... " >&6; }
5705 if ${ac_cv_prog_STRIP+:} false; then :
5706   $as_echo_n "(cached) " >&6
5707 else
5708   if test -n "$STRIP"; then
5709   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5710 else
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 for as_dir in $PATH
5713 do
5714   IFS=$as_save_IFS
5715   test -z "$as_dir" && as_dir=.
5716     for ac_exec_ext in '' $ac_executable_extensions; do
5717   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720     break 2
5721   fi
5722 done
5723   done
5724 IFS=$as_save_IFS
5725
5726 fi
5727 fi
5728 STRIP=$ac_cv_prog_STRIP
5729 if test -n "$STRIP"; then
5730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5731 $as_echo "$STRIP" >&6; }
5732 else
5733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734 $as_echo "no" >&6; }
5735 fi
5736
5737
5738 fi
5739 if test -z "$ac_cv_prog_STRIP"; then
5740   ac_ct_STRIP=$STRIP
5741   # Extract the first word of "strip", so it can be a program name with args.
5742 set dummy strip; ac_word=$2
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5744 $as_echo_n "checking for $ac_word... " >&6; }
5745 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5746   $as_echo_n "(cached) " >&6
5747 else
5748   if test -n "$ac_ct_STRIP"; then
5749   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5750 else
5751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 for as_dir in $PATH
5753 do
5754   IFS=$as_save_IFS
5755   test -z "$as_dir" && as_dir=.
5756     for ac_exec_ext in '' $ac_executable_extensions; do
5757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5758     ac_cv_prog_ac_ct_STRIP="strip"
5759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5760     break 2
5761   fi
5762 done
5763   done
5764 IFS=$as_save_IFS
5765
5766 fi
5767 fi
5768 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5769 if test -n "$ac_ct_STRIP"; then
5770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5771 $as_echo "$ac_ct_STRIP" >&6; }
5772 else
5773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5774 $as_echo "no" >&6; }
5775 fi
5776
5777   if test "x$ac_ct_STRIP" = x; then
5778     STRIP=":"
5779   else
5780     case $cross_compiling:$ac_tool_warned in
5781 yes:)
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5784 ac_tool_warned=yes ;;
5785 esac
5786     STRIP=$ac_ct_STRIP
5787   fi
5788 else
5789   STRIP="$ac_cv_prog_STRIP"
5790 fi
5791
5792 test -z "$STRIP" && STRIP=:
5793
5794
5795
5796
5797
5798
5799 if test -n "$ac_tool_prefix"; then
5800   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5801 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803 $as_echo_n "checking for $ac_word... " >&6; }
5804 if ${ac_cv_prog_RANLIB+:} false; then :
5805   $as_echo_n "(cached) " >&6
5806 else
5807   if test -n "$RANLIB"; then
5808   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5809 else
5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 for as_dir in $PATH
5812 do
5813   IFS=$as_save_IFS
5814   test -z "$as_dir" && as_dir=.
5815     for ac_exec_ext in '' $ac_executable_extensions; do
5816   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5819     break 2
5820   fi
5821 done
5822   done
5823 IFS=$as_save_IFS
5824
5825 fi
5826 fi
5827 RANLIB=$ac_cv_prog_RANLIB
5828 if test -n "$RANLIB"; then
5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5830 $as_echo "$RANLIB" >&6; }
5831 else
5832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833 $as_echo "no" >&6; }
5834 fi
5835
5836
5837 fi
5838 if test -z "$ac_cv_prog_RANLIB"; then
5839   ac_ct_RANLIB=$RANLIB
5840   # Extract the first word of "ranlib", so it can be a program name with args.
5841 set dummy ranlib; ac_word=$2
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843 $as_echo_n "checking for $ac_word... " >&6; }
5844 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5845   $as_echo_n "(cached) " >&6
5846 else
5847   if test -n "$ac_ct_RANLIB"; then
5848   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5852 do
5853   IFS=$as_save_IFS
5854   test -z "$as_dir" && as_dir=.
5855     for ac_exec_ext in '' $ac_executable_extensions; do
5856   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857     ac_cv_prog_ac_ct_RANLIB="ranlib"
5858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859     break 2
5860   fi
5861 done
5862   done
5863 IFS=$as_save_IFS
5864
5865 fi
5866 fi
5867 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5868 if test -n "$ac_ct_RANLIB"; then
5869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5870 $as_echo "$ac_ct_RANLIB" >&6; }
5871 else
5872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873 $as_echo "no" >&6; }
5874 fi
5875
5876   if test "x$ac_ct_RANLIB" = x; then
5877     RANLIB=":"
5878   else
5879     case $cross_compiling:$ac_tool_warned in
5880 yes:)
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5883 ac_tool_warned=yes ;;
5884 esac
5885     RANLIB=$ac_ct_RANLIB
5886   fi
5887 else
5888   RANLIB="$ac_cv_prog_RANLIB"
5889 fi
5890
5891 test -z "$RANLIB" && RANLIB=:
5892
5893
5894
5895
5896
5897
5898 # Determine commands to create old-style static archives.
5899 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5900 old_postinstall_cmds='chmod 644 $oldlib'
5901 old_postuninstall_cmds=
5902
5903 if test -n "$RANLIB"; then
5904   case $host_os in
5905   bitrig* | openbsd*)
5906     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5907     ;;
5908   *)
5909     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5910     ;;
5911   esac
5912   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5913 fi
5914
5915 case $host_os in
5916   darwin*)
5917     lock_old_archive_extraction=yes ;;
5918   *)
5919     lock_old_archive_extraction=no ;;
5920 esac
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960 # If no C compiler was specified, use CC.
5961 LTCC=${LTCC-"$CC"}
5962
5963 # If no C compiler flags were specified, use CFLAGS.
5964 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5965
5966 # Allow CC to be a program name with arguments.
5967 compiler=$CC
5968
5969
5970 # Check for command to grab the raw symbol name followed by C symbol from nm.
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5972 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5973 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5974   $as_echo_n "(cached) " >&6
5975 else
5976
5977 # These are sane defaults that work on at least a few old systems.
5978 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5979
5980 # Character class describing NM global symbol codes.
5981 symcode='[BCDEGRST]'
5982
5983 # Regexp to match symbols that can be accessed directly from C.
5984 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5985
5986 # Define system-specific variables.
5987 case $host_os in
5988 aix*)
5989   symcode='[BCDT]'
5990   ;;
5991 cygwin* | mingw* | pw32* | cegcc*)
5992   symcode='[ABCDGISTW]'
5993   ;;
5994 hpux*)
5995   if test ia64 = "$host_cpu"; then
5996     symcode='[ABCDEGRST]'
5997   fi
5998   ;;
5999 irix* | nonstopux*)
6000   symcode='[BCDEGRST]'
6001   ;;
6002 osf*)
6003   symcode='[BCDEGQRST]'
6004   ;;
6005 solaris*)
6006   symcode='[BDRT]'
6007   ;;
6008 sco3.2v5*)
6009   symcode='[DT]'
6010   ;;
6011 sysv4.2uw2*)
6012   symcode='[DT]'
6013   ;;
6014 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6015   symcode='[ABDT]'
6016   ;;
6017 sysv4)
6018   symcode='[DFNSTU]'
6019   ;;
6020 esac
6021
6022 # If we're using GNU nm, then use its standard symbol codes.
6023 case `$NM -V 2>&1` in
6024 *GNU* | *'with BFD'*)
6025   symcode='[ABCDGIRSTW]' ;;
6026 esac
6027
6028 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6029   # Gets list of data symbols to import.
6030   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6031   # Adjust the below global symbol transforms to fixup imported variables.
6032   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6033   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6034   lt_c_name_lib_hook="\
6035   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6036   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6037 else
6038   # Disable hooks by default.
6039   lt_cv_sys_global_symbol_to_import=
6040   lt_cdecl_hook=
6041   lt_c_name_hook=
6042   lt_c_name_lib_hook=
6043 fi
6044
6045 # Transform an extracted symbol line into a proper C declaration.
6046 # Some systems (esp. on ia64) link data and code symbols differently,
6047 # so use this general approach.
6048 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6049 $lt_cdecl_hook\
6050 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6051 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6052
6053 # Transform an extracted symbol line into symbol name and symbol address
6054 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6055 $lt_c_name_hook\
6056 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6057 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6058
6059 # Transform an extracted symbol line into symbol name with lib prefix and
6060 # symbol address.
6061 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6062 $lt_c_name_lib_hook\
6063 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6064 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6065 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6066
6067 # Handle CRLF in mingw tool chain
6068 opt_cr=
6069 case $build_os in
6070 mingw*)
6071   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6072   ;;
6073 esac
6074
6075 # Try without a prefix underscore, then with it.
6076 for ac_symprfx in "" "_"; do
6077
6078   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6079   symxfrm="\\1 $ac_symprfx\\2 \\2"
6080
6081   # Write the raw and C identifiers.
6082   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6083     # Fake it for dumpbin and say T for any non-static function,
6084     # D for any global variable and I for any imported variable.
6085     # Also find C++ and __fastcall symbols from MSVC++,
6086     # which start with @ or ?.
6087     lt_cv_sys_global_symbol_pipe="$AWK '"\
6088 "     {last_section=section; section=\$ 3};"\
6089 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6090 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6091 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6092 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6093 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6094 "     \$ 0!~/External *\|/{next};"\
6095 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6096 "     {if(hide[section]) next};"\
6097 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6098 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6099 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6100 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6101 "     ' prfx=^$ac_symprfx"
6102   else
6103     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6104   fi
6105   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6106
6107   # Check to see that the pipe works correctly.
6108   pipe_works=no
6109
6110   rm -f conftest*
6111   cat > conftest.$ac_ext <<_LT_EOF
6112 #ifdef __cplusplus
6113 extern "C" {
6114 #endif
6115 char nm_test_var;
6116 void nm_test_func(void);
6117 void nm_test_func(void){}
6118 #ifdef __cplusplus
6119 }
6120 #endif
6121 int main(){nm_test_var='a';nm_test_func();return(0);}
6122 _LT_EOF
6123
6124   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6125   (eval $ac_compile) 2>&5
6126   ac_status=$?
6127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6128   test $ac_status = 0; }; then
6129     # Now try to grab the symbols.
6130     nlist=conftest.nm
6131     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6132   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6133   ac_status=$?
6134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6135   test $ac_status = 0; } && test -s "$nlist"; then
6136       # Try sorting and uniquifying the output.
6137       if sort "$nlist" | uniq > "$nlist"T; then
6138         mv -f "$nlist"T "$nlist"
6139       else
6140         rm -f "$nlist"T
6141       fi
6142
6143       # Make sure that we snagged all the symbols we need.
6144       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6145         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6146           cat <<_LT_EOF > conftest.$ac_ext
6147 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6148 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6149 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6150    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6151 # define LT_DLSYM_CONST
6152 #elif defined __osf__
6153 /* This system does not cope well with relocations in const data.  */
6154 # define LT_DLSYM_CONST
6155 #else
6156 # define LT_DLSYM_CONST const
6157 #endif
6158
6159 #ifdef __cplusplus
6160 extern "C" {
6161 #endif
6162
6163 _LT_EOF
6164           # Now generate the symbol file.
6165           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6166
6167           cat <<_LT_EOF >> conftest.$ac_ext
6168
6169 /* The mapping between symbol names and symbols.  */
6170 LT_DLSYM_CONST struct {
6171   const char *name;
6172   void       *address;
6173 }
6174 lt__PROGRAM__LTX_preloaded_symbols[] =
6175 {
6176   { "@PROGRAM@", (void *) 0 },
6177 _LT_EOF
6178           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6179           cat <<\_LT_EOF >> conftest.$ac_ext
6180   {0, (void *) 0}
6181 };
6182
6183 /* This works around a problem in FreeBSD linker */
6184 #ifdef FREEBSD_WORKAROUND
6185 static const void *lt_preloaded_setup() {
6186   return lt__PROGRAM__LTX_preloaded_symbols;
6187 }
6188 #endif
6189
6190 #ifdef __cplusplus
6191 }
6192 #endif
6193 _LT_EOF
6194           # Now try linking the two files.
6195           mv conftest.$ac_objext conftstm.$ac_objext
6196           lt_globsym_save_LIBS=$LIBS
6197           lt_globsym_save_CFLAGS=$CFLAGS
6198           LIBS=conftstm.$ac_objext
6199           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6200           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6201   (eval $ac_link) 2>&5
6202   ac_status=$?
6203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6204   test $ac_status = 0; } && test -s conftest$ac_exeext; then
6205             pipe_works=yes
6206           fi
6207           LIBS=$lt_globsym_save_LIBS
6208           CFLAGS=$lt_globsym_save_CFLAGS
6209         else
6210           echo "cannot find nm_test_func in $nlist" >&5
6211         fi
6212       else
6213         echo "cannot find nm_test_var in $nlist" >&5
6214       fi
6215     else
6216       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6217     fi
6218   else
6219     echo "$progname: failed program was:" >&5
6220     cat conftest.$ac_ext >&5
6221   fi
6222   rm -rf conftest* conftst*
6223
6224   # Do not use the global_symbol_pipe unless it works.
6225   if test yes = "$pipe_works"; then
6226     break
6227   else
6228     lt_cv_sys_global_symbol_pipe=
6229   fi
6230 done
6231
6232 fi
6233
6234 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6235   lt_cv_sys_global_symbol_to_cdecl=
6236 fi
6237 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6239 $as_echo "failed" >&6; }
6240 else
6241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6242 $as_echo "ok" >&6; }
6243 fi
6244
6245 # Response file support.
6246 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6247   nm_file_list_spec='@'
6248 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6249   nm_file_list_spec='@'
6250 fi
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6289 $as_echo_n "checking for sysroot... " >&6; }
6290
6291 # Check whether --with-sysroot was given.
6292 if test "${with_sysroot+set}" = set; then :
6293   withval=$with_sysroot;
6294 else
6295   with_sysroot=no
6296 fi
6297
6298
6299 lt_sysroot=
6300 case $with_sysroot in #(
6301  yes)
6302    if test yes = "$GCC"; then
6303      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6304    fi
6305    ;; #(
6306  /*)
6307    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6308    ;; #(
6309  no|'')
6310    ;; #(
6311  *)
6312    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6313 $as_echo "$with_sysroot" >&6; }
6314    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6315    ;;
6316 esac
6317
6318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6319 $as_echo "${lt_sysroot:-no}" >&6; }
6320
6321
6322
6323
6324
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6326 $as_echo_n "checking for a working dd... " >&6; }
6327 if ${ac_cv_path_lt_DD+:} false; then :
6328   $as_echo_n "(cached) " >&6
6329 else
6330   printf 0123456789abcdef0123456789abcdef >conftest.i
6331 cat conftest.i conftest.i >conftest2.i
6332 : ${lt_DD:=$DD}
6333 if test -z "$lt_DD"; then
6334   ac_path_lt_DD_found=false
6335   # Loop through the user's path and test for each of PROGNAME-LIST
6336   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH
6338 do
6339   IFS=$as_save_IFS
6340   test -z "$as_dir" && as_dir=.
6341     for ac_prog in dd; do
6342     for ac_exec_ext in '' $ac_executable_extensions; do
6343       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6344       as_fn_executable_p "$ac_path_lt_DD" || continue
6345 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6346   cmp -s conftest.i conftest.out \
6347   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6348 fi
6349       $ac_path_lt_DD_found && break 3
6350     done
6351   done
6352   done
6353 IFS=$as_save_IFS
6354   if test -z "$ac_cv_path_lt_DD"; then
6355     :
6356   fi
6357 else
6358   ac_cv_path_lt_DD=$lt_DD
6359 fi
6360
6361 rm -f conftest.i conftest2.i conftest.out
6362 fi
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6364 $as_echo "$ac_cv_path_lt_DD" >&6; }
6365
6366
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6368 $as_echo_n "checking how to truncate binary pipes... " >&6; }
6369 if ${lt_cv_truncate_bin+:} false; then :
6370   $as_echo_n "(cached) " >&6
6371 else
6372   printf 0123456789abcdef0123456789abcdef >conftest.i
6373 cat conftest.i conftest.i >conftest2.i
6374 lt_cv_truncate_bin=
6375 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6376   cmp -s conftest.i conftest.out \
6377   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6378 fi
6379 rm -f conftest.i conftest2.i conftest.out
6380 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6381 fi
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6383 $as_echo "$lt_cv_truncate_bin" >&6; }
6384
6385
6386
6387
6388
6389
6390
6391 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6392 func_cc_basename ()
6393 {
6394     for cc_temp in $*""; do
6395       case $cc_temp in
6396         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6397         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6398         \-*) ;;
6399         *) break;;
6400       esac
6401     done
6402     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6403 }
6404
6405 # Check whether --enable-libtool-lock was given.
6406 if test "${enable_libtool_lock+set}" = set; then :
6407   enableval=$enable_libtool_lock;
6408 fi
6409
6410 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6411
6412 # Some flags need to be propagated to the compiler or linker for good
6413 # libtool support.
6414 case $host in
6415 ia64-*-hpux*)
6416   # Find out what ABI is being produced by ac_compile, and set mode
6417   # options accordingly.
6418   echo 'int i;' > conftest.$ac_ext
6419   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6420   (eval $ac_compile) 2>&5
6421   ac_status=$?
6422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6423   test $ac_status = 0; }; then
6424     case `/usr/bin/file conftest.$ac_objext` in
6425       *ELF-32*)
6426         HPUX_IA64_MODE=32
6427         ;;
6428       *ELF-64*)
6429         HPUX_IA64_MODE=64
6430         ;;
6431     esac
6432   fi
6433   rm -rf conftest*
6434   ;;
6435 *-*-irix6*)
6436   # Find out what ABI is being produced by ac_compile, and set linker
6437   # options accordingly.
6438   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6439   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6440   (eval $ac_compile) 2>&5
6441   ac_status=$?
6442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6443   test $ac_status = 0; }; then
6444     if test yes = "$lt_cv_prog_gnu_ld"; then
6445       case `/usr/bin/file conftest.$ac_objext` in
6446         *32-bit*)
6447           LD="${LD-ld} -melf32bsmip"
6448           ;;
6449         *N32*)
6450           LD="${LD-ld} -melf32bmipn32"
6451           ;;
6452         *64-bit*)
6453           LD="${LD-ld} -melf64bmip"
6454         ;;
6455       esac
6456     else
6457       case `/usr/bin/file conftest.$ac_objext` in
6458         *32-bit*)
6459           LD="${LD-ld} -32"
6460           ;;
6461         *N32*)
6462           LD="${LD-ld} -n32"
6463           ;;
6464         *64-bit*)
6465           LD="${LD-ld} -64"
6466           ;;
6467       esac
6468     fi
6469   fi
6470   rm -rf conftest*
6471   ;;
6472
6473 mips64*-*linux*)
6474   # Find out what ABI is being produced by ac_compile, and set linker
6475   # options accordingly.
6476   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6477   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6478   (eval $ac_compile) 2>&5
6479   ac_status=$?
6480   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6481   test $ac_status = 0; }; then
6482     emul=elf
6483     case `/usr/bin/file conftest.$ac_objext` in
6484       *32-bit*)
6485         emul="${emul}32"
6486         ;;
6487       *64-bit*)
6488         emul="${emul}64"
6489         ;;
6490     esac
6491     case `/usr/bin/file conftest.$ac_objext` in
6492       *MSB*)
6493         emul="${emul}btsmip"
6494         ;;
6495       *LSB*)
6496         emul="${emul}ltsmip"
6497         ;;
6498     esac
6499     case `/usr/bin/file conftest.$ac_objext` in
6500       *N32*)
6501         emul="${emul}n32"
6502         ;;
6503     esac
6504     LD="${LD-ld} -m $emul"
6505   fi
6506   rm -rf conftest*
6507   ;;
6508
6509 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6510 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6511   # Find out what ABI is being produced by ac_compile, and set linker
6512   # options accordingly.  Note that the listed cases only cover the
6513   # situations where additional linker options are needed (such as when
6514   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6515   # vice versa); the common cases where no linker options are needed do
6516   # not appear in the list.
6517   echo 'int i;' > conftest.$ac_ext
6518   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6519   (eval $ac_compile) 2>&5
6520   ac_status=$?
6521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6522   test $ac_status = 0; }; then
6523     case `/usr/bin/file conftest.o` in
6524       *32-bit*)
6525         case $host in
6526           x86_64-*kfreebsd*-gnu)
6527             LD="${LD-ld} -m elf_i386_fbsd"
6528             ;;
6529           x86_64-*linux*)
6530             case `/usr/bin/file conftest.o` in
6531               *x86-64*)
6532                 LD="${LD-ld} -m elf32_x86_64"
6533                 ;;
6534               *)
6535                 LD="${LD-ld} -m elf_i386"
6536                 ;;
6537             esac
6538             ;;
6539           powerpc64le-*linux*)
6540             LD="${LD-ld} -m elf32lppclinux"
6541             ;;
6542           powerpc64-*linux*)
6543             LD="${LD-ld} -m elf32ppclinux"
6544             ;;
6545           s390x-*linux*)
6546             LD="${LD-ld} -m elf_s390"
6547             ;;
6548           sparc64-*linux*)
6549             LD="${LD-ld} -m elf32_sparc"
6550             ;;
6551         esac
6552         ;;
6553       *64-bit*)
6554         case $host in
6555           x86_64-*kfreebsd*-gnu)
6556             LD="${LD-ld} -m elf_x86_64_fbsd"
6557             ;;
6558           x86_64-*linux*)
6559             LD="${LD-ld} -m elf_x86_64"
6560             ;;
6561           powerpcle-*linux*)
6562             LD="${LD-ld} -m elf64lppc"
6563             ;;
6564           powerpc-*linux*)
6565             LD="${LD-ld} -m elf64ppc"
6566             ;;
6567           s390*-*linux*|s390*-*tpf*)
6568             LD="${LD-ld} -m elf64_s390"
6569             ;;
6570           sparc*-*linux*)
6571             LD="${LD-ld} -m elf64_sparc"
6572             ;;
6573         esac
6574         ;;
6575     esac
6576   fi
6577   rm -rf conftest*
6578   ;;
6579
6580 *-*-sco3.2v5*)
6581   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6582   SAVE_CFLAGS=$CFLAGS
6583   CFLAGS="$CFLAGS -belf"
6584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6585 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6586 if ${lt_cv_cc_needs_belf+:} false; then :
6587   $as_echo_n "(cached) " >&6
6588 else
6589   ac_ext=c
6590 ac_cpp='$CPP $CPPFLAGS'
6591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6594
6595      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h.  */
6597
6598 int
6599 main ()
6600 {
6601
6602   ;
6603   return 0;
6604 }
6605 _ACEOF
6606 if ac_fn_c_try_link "$LINENO"; then :
6607   lt_cv_cc_needs_belf=yes
6608 else
6609   lt_cv_cc_needs_belf=no
6610 fi
6611 rm -f core conftest.err conftest.$ac_objext \
6612     conftest$ac_exeext conftest.$ac_ext
6613      ac_ext=c
6614 ac_cpp='$CPP $CPPFLAGS'
6615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6618
6619 fi
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6621 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6622   if test yes != "$lt_cv_cc_needs_belf"; then
6623     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6624     CFLAGS=$SAVE_CFLAGS
6625   fi
6626   ;;
6627 *-*solaris*)
6628   # Find out what ABI is being produced by ac_compile, and set linker
6629   # options accordingly.
6630   echo 'int i;' > conftest.$ac_ext
6631   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6632   (eval $ac_compile) 2>&5
6633   ac_status=$?
6634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635   test $ac_status = 0; }; then
6636     case `/usr/bin/file conftest.o` in
6637     *64-bit*)
6638       case $lt_cv_prog_gnu_ld in
6639       yes*)
6640         case $host in
6641         i?86-*-solaris*|x86_64-*-solaris*)
6642           LD="${LD-ld} -m elf_x86_64"
6643           ;;
6644         sparc*-*-solaris*)
6645           LD="${LD-ld} -m elf64_sparc"
6646           ;;
6647         esac
6648         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6649         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6650           LD=${LD-ld}_sol2
6651         fi
6652         ;;
6653       *)
6654         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6655           LD="${LD-ld} -64"
6656         fi
6657         ;;
6658       esac
6659       ;;
6660     esac
6661   fi
6662   rm -rf conftest*
6663   ;;
6664 esac
6665
6666 need_locks=$enable_libtool_lock
6667
6668 if test -n "$ac_tool_prefix"; then
6669   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6670 set dummy ${ac_tool_prefix}mt; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6674   $as_echo_n "(cached) " >&6
6675 else
6676   if test -n "$MANIFEST_TOOL"; then
6677   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6681 do
6682   IFS=$as_save_IFS
6683   test -z "$as_dir" && as_dir=.
6684     for ac_exec_ext in '' $ac_executable_extensions; do
6685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6686     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688     break 2
6689   fi
6690 done
6691   done
6692 IFS=$as_save_IFS
6693
6694 fi
6695 fi
6696 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6697 if test -n "$MANIFEST_TOOL"; then
6698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6699 $as_echo "$MANIFEST_TOOL" >&6; }
6700 else
6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6703 fi
6704
6705
6706 fi
6707 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6708   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6709   # Extract the first word of "mt", so it can be a program name with args.
6710 set dummy mt; ac_word=$2
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712 $as_echo_n "checking for $ac_word... " >&6; }
6713 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6714   $as_echo_n "(cached) " >&6
6715 else
6716   if test -n "$ac_ct_MANIFEST_TOOL"; then
6717   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6718 else
6719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6720 for as_dir in $PATH
6721 do
6722   IFS=$as_save_IFS
6723   test -z "$as_dir" && as_dir=.
6724     for ac_exec_ext in '' $ac_executable_extensions; do
6725   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6726     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6728     break 2
6729   fi
6730 done
6731   done
6732 IFS=$as_save_IFS
6733
6734 fi
6735 fi
6736 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6737 if test -n "$ac_ct_MANIFEST_TOOL"; then
6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6739 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6740 else
6741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 $as_echo "no" >&6; }
6743 fi
6744
6745   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6746     MANIFEST_TOOL=":"
6747   else
6748     case $cross_compiling:$ac_tool_warned in
6749 yes:)
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6752 ac_tool_warned=yes ;;
6753 esac
6754     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6755   fi
6756 else
6757   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6758 fi
6759
6760 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6762 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6763 if ${lt_cv_path_mainfest_tool+:} false; then :
6764   $as_echo_n "(cached) " >&6
6765 else
6766   lt_cv_path_mainfest_tool=no
6767   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6768   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6769   cat conftest.err >&5
6770   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6771     lt_cv_path_mainfest_tool=yes
6772   fi
6773   rm -f conftest*
6774 fi
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6776 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6777 if test yes != "$lt_cv_path_mainfest_tool"; then
6778   MANIFEST_TOOL=:
6779 fi
6780
6781
6782
6783
6784
6785
6786   case $host_os in
6787     rhapsody* | darwin*)
6788     if test -n "$ac_tool_prefix"; then
6789   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6790 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6794   $as_echo_n "(cached) " >&6
6795 else
6796   if test -n "$DSYMUTIL"; then
6797   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6798 else
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6801 do
6802   IFS=$as_save_IFS
6803   test -z "$as_dir" && as_dir=.
6804     for ac_exec_ext in '' $ac_executable_extensions; do
6805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6806     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6808     break 2
6809   fi
6810 done
6811   done
6812 IFS=$as_save_IFS
6813
6814 fi
6815 fi
6816 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6817 if test -n "$DSYMUTIL"; then
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6819 $as_echo "$DSYMUTIL" >&6; }
6820 else
6821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6823 fi
6824
6825
6826 fi
6827 if test -z "$ac_cv_prog_DSYMUTIL"; then
6828   ac_ct_DSYMUTIL=$DSYMUTIL
6829   # Extract the first word of "dsymutil", so it can be a program name with args.
6830 set dummy dsymutil; ac_word=$2
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 $as_echo_n "checking for $ac_word... " >&6; }
6833 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6834   $as_echo_n "(cached) " >&6
6835 else
6836   if test -n "$ac_ct_DSYMUTIL"; then
6837   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6838 else
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6840 for as_dir in $PATH
6841 do
6842   IFS=$as_save_IFS
6843   test -z "$as_dir" && as_dir=.
6844     for ac_exec_ext in '' $ac_executable_extensions; do
6845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6846     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6848     break 2
6849   fi
6850 done
6851   done
6852 IFS=$as_save_IFS
6853
6854 fi
6855 fi
6856 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6857 if test -n "$ac_ct_DSYMUTIL"; then
6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6859 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6860 else
6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 $as_echo "no" >&6; }
6863 fi
6864
6865   if test "x$ac_ct_DSYMUTIL" = x; then
6866     DSYMUTIL=":"
6867   else
6868     case $cross_compiling:$ac_tool_warned in
6869 yes:)
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned=yes ;;
6873 esac
6874     DSYMUTIL=$ac_ct_DSYMUTIL
6875   fi
6876 else
6877   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6878 fi
6879
6880     if test -n "$ac_tool_prefix"; then
6881   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6882 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if ${ac_cv_prog_NMEDIT+:} false; then :
6886   $as_echo_n "(cached) " >&6
6887 else
6888   if test -n "$NMEDIT"; then
6889   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6890 else
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 for as_dir in $PATH
6893 do
6894   IFS=$as_save_IFS
6895   test -z "$as_dir" && as_dir=.
6896     for ac_exec_ext in '' $ac_executable_extensions; do
6897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6898     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900     break 2
6901   fi
6902 done
6903   done
6904 IFS=$as_save_IFS
6905
6906 fi
6907 fi
6908 NMEDIT=$ac_cv_prog_NMEDIT
6909 if test -n "$NMEDIT"; then
6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6911 $as_echo "$NMEDIT" >&6; }
6912 else
6913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6915 fi
6916
6917
6918 fi
6919 if test -z "$ac_cv_prog_NMEDIT"; then
6920   ac_ct_NMEDIT=$NMEDIT
6921   # Extract the first word of "nmedit", so it can be a program name with args.
6922 set dummy nmedit; ac_word=$2
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924 $as_echo_n "checking for $ac_word... " >&6; }
6925 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6926   $as_echo_n "(cached) " >&6
6927 else
6928   if test -n "$ac_ct_NMEDIT"; then
6929   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6930 else
6931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 for as_dir in $PATH
6933 do
6934   IFS=$as_save_IFS
6935   test -z "$as_dir" && as_dir=.
6936     for ac_exec_ext in '' $ac_executable_extensions; do
6937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6938     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940     break 2
6941   fi
6942 done
6943   done
6944 IFS=$as_save_IFS
6945
6946 fi
6947 fi
6948 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6949 if test -n "$ac_ct_NMEDIT"; then
6950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6951 $as_echo "$ac_ct_NMEDIT" >&6; }
6952 else
6953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6955 fi
6956
6957   if test "x$ac_ct_NMEDIT" = x; then
6958     NMEDIT=":"
6959   else
6960     case $cross_compiling:$ac_tool_warned in
6961 yes:)
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6964 ac_tool_warned=yes ;;
6965 esac
6966     NMEDIT=$ac_ct_NMEDIT
6967   fi
6968 else
6969   NMEDIT="$ac_cv_prog_NMEDIT"
6970 fi
6971
6972     if test -n "$ac_tool_prefix"; then
6973   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6974 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6976 $as_echo_n "checking for $ac_word... " >&6; }
6977 if ${ac_cv_prog_LIPO+:} false; then :
6978   $as_echo_n "(cached) " >&6
6979 else
6980   if test -n "$LIPO"; then
6981   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6982 else
6983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984 for as_dir in $PATH
6985 do
6986   IFS=$as_save_IFS
6987   test -z "$as_dir" && as_dir=.
6988     for ac_exec_ext in '' $ac_executable_extensions; do
6989   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6990     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6992     break 2
6993   fi
6994 done
6995   done
6996 IFS=$as_save_IFS
6997
6998 fi
6999 fi
7000 LIPO=$ac_cv_prog_LIPO
7001 if test -n "$LIPO"; then
7002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7003 $as_echo "$LIPO" >&6; }
7004 else
7005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7006 $as_echo "no" >&6; }
7007 fi
7008
7009
7010 fi
7011 if test -z "$ac_cv_prog_LIPO"; then
7012   ac_ct_LIPO=$LIPO
7013   # Extract the first word of "lipo", so it can be a program name with args.
7014 set dummy lipo; ac_word=$2
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7016 $as_echo_n "checking for $ac_word... " >&6; }
7017 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7018   $as_echo_n "(cached) " >&6
7019 else
7020   if test -n "$ac_ct_LIPO"; then
7021   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7022 else
7023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 for as_dir in $PATH
7025 do
7026   IFS=$as_save_IFS
7027   test -z "$as_dir" && as_dir=.
7028     for ac_exec_ext in '' $ac_executable_extensions; do
7029   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7030     ac_cv_prog_ac_ct_LIPO="lipo"
7031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7032     break 2
7033   fi
7034 done
7035   done
7036 IFS=$as_save_IFS
7037
7038 fi
7039 fi
7040 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7041 if test -n "$ac_ct_LIPO"; then
7042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7043 $as_echo "$ac_ct_LIPO" >&6; }
7044 else
7045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7046 $as_echo "no" >&6; }
7047 fi
7048
7049   if test "x$ac_ct_LIPO" = x; then
7050     LIPO=":"
7051   else
7052     case $cross_compiling:$ac_tool_warned in
7053 yes:)
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7056 ac_tool_warned=yes ;;
7057 esac
7058     LIPO=$ac_ct_LIPO
7059   fi
7060 else
7061   LIPO="$ac_cv_prog_LIPO"
7062 fi
7063
7064     if test -n "$ac_tool_prefix"; then
7065   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7066 set dummy ${ac_tool_prefix}otool; ac_word=$2
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068 $as_echo_n "checking for $ac_word... " >&6; }
7069 if ${ac_cv_prog_OTOOL+:} false; then :
7070   $as_echo_n "(cached) " >&6
7071 else
7072   if test -n "$OTOOL"; then
7073   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7074 else
7075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076 for as_dir in $PATH
7077 do
7078   IFS=$as_save_IFS
7079   test -z "$as_dir" && as_dir=.
7080     for ac_exec_ext in '' $ac_executable_extensions; do
7081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7082     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084     break 2
7085   fi
7086 done
7087   done
7088 IFS=$as_save_IFS
7089
7090 fi
7091 fi
7092 OTOOL=$ac_cv_prog_OTOOL
7093 if test -n "$OTOOL"; then
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7095 $as_echo "$OTOOL" >&6; }
7096 else
7097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7098 $as_echo "no" >&6; }
7099 fi
7100
7101
7102 fi
7103 if test -z "$ac_cv_prog_OTOOL"; then
7104   ac_ct_OTOOL=$OTOOL
7105   # Extract the first word of "otool", so it can be a program name with args.
7106 set dummy otool; ac_word=$2
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7108 $as_echo_n "checking for $ac_word... " >&6; }
7109 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7110   $as_echo_n "(cached) " >&6
7111 else
7112   if test -n "$ac_ct_OTOOL"; then
7113   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7114 else
7115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 for as_dir in $PATH
7117 do
7118   IFS=$as_save_IFS
7119   test -z "$as_dir" && as_dir=.
7120     for ac_exec_ext in '' $ac_executable_extensions; do
7121   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7122     ac_cv_prog_ac_ct_OTOOL="otool"
7123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124     break 2
7125   fi
7126 done
7127   done
7128 IFS=$as_save_IFS
7129
7130 fi
7131 fi
7132 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7133 if test -n "$ac_ct_OTOOL"; then
7134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7135 $as_echo "$ac_ct_OTOOL" >&6; }
7136 else
7137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7138 $as_echo "no" >&6; }
7139 fi
7140
7141   if test "x$ac_ct_OTOOL" = x; then
7142     OTOOL=":"
7143   else
7144     case $cross_compiling:$ac_tool_warned in
7145 yes:)
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7148 ac_tool_warned=yes ;;
7149 esac
7150     OTOOL=$ac_ct_OTOOL
7151   fi
7152 else
7153   OTOOL="$ac_cv_prog_OTOOL"
7154 fi
7155
7156     if test -n "$ac_tool_prefix"; then
7157   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7158 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7160 $as_echo_n "checking for $ac_word... " >&6; }
7161 if ${ac_cv_prog_OTOOL64+:} false; then :
7162   $as_echo_n "(cached) " >&6
7163 else
7164   if test -n "$OTOOL64"; then
7165   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7166 else
7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168 for as_dir in $PATH
7169 do
7170   IFS=$as_save_IFS
7171   test -z "$as_dir" && as_dir=.
7172     for ac_exec_ext in '' $ac_executable_extensions; do
7173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7176     break 2
7177   fi
7178 done
7179   done
7180 IFS=$as_save_IFS
7181
7182 fi
7183 fi
7184 OTOOL64=$ac_cv_prog_OTOOL64
7185 if test -n "$OTOOL64"; then
7186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7187 $as_echo "$OTOOL64" >&6; }
7188 else
7189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 $as_echo "no" >&6; }
7191 fi
7192
7193
7194 fi
7195 if test -z "$ac_cv_prog_OTOOL64"; then
7196   ac_ct_OTOOL64=$OTOOL64
7197   # Extract the first word of "otool64", so it can be a program name with args.
7198 set dummy otool64; ac_word=$2
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200 $as_echo_n "checking for $ac_word... " >&6; }
7201 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7202   $as_echo_n "(cached) " >&6
7203 else
7204   if test -n "$ac_ct_OTOOL64"; then
7205   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7206 else
7207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7208 for as_dir in $PATH
7209 do
7210   IFS=$as_save_IFS
7211   test -z "$as_dir" && as_dir=.
7212     for ac_exec_ext in '' $ac_executable_extensions; do
7213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7214     ac_cv_prog_ac_ct_OTOOL64="otool64"
7215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7216     break 2
7217   fi
7218 done
7219   done
7220 IFS=$as_save_IFS
7221
7222 fi
7223 fi
7224 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7225 if test -n "$ac_ct_OTOOL64"; then
7226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7227 $as_echo "$ac_ct_OTOOL64" >&6; }
7228 else
7229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7230 $as_echo "no" >&6; }
7231 fi
7232
7233   if test "x$ac_ct_OTOOL64" = x; then
7234     OTOOL64=":"
7235   else
7236     case $cross_compiling:$ac_tool_warned in
7237 yes:)
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7239 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7240 ac_tool_warned=yes ;;
7241 esac
7242     OTOOL64=$ac_ct_OTOOL64
7243   fi
7244 else
7245   OTOOL64="$ac_cv_prog_OTOOL64"
7246 fi
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7275 $as_echo_n "checking for -single_module linker flag... " >&6; }
7276 if ${lt_cv_apple_cc_single_mod+:} false; then :
7277   $as_echo_n "(cached) " >&6
7278 else
7279   lt_cv_apple_cc_single_mod=no
7280       if test -z "$LT_MULTI_MODULE"; then
7281         # By default we will add the -single_module flag. You can override
7282         # by either setting the environment variable LT_MULTI_MODULE
7283         # non-empty at configure time, or by adding -multi_module to the
7284         # link flags.
7285         rm -rf libconftest.dylib*
7286         echo "int foo(void){return 1;}" > conftest.c
7287         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7288 -dynamiclib -Wl,-single_module conftest.c" >&5
7289         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7290           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7291         _lt_result=$?
7292         # If there is a non-empty error log, and "single_module"
7293         # appears in it, assume the flag caused a linker warning
7294         if test -s conftest.err && $GREP single_module conftest.err; then
7295           cat conftest.err >&5
7296         # Otherwise, if the output was created with a 0 exit code from
7297         # the compiler, it worked.
7298         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7299           lt_cv_apple_cc_single_mod=yes
7300         else
7301           cat conftest.err >&5
7302         fi
7303         rm -rf libconftest.dylib*
7304         rm -f conftest.*
7305       fi
7306 fi
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7308 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7309
7310     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7311 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7312 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7313   $as_echo_n "(cached) " >&6
7314 else
7315   lt_cv_ld_exported_symbols_list=no
7316       save_LDFLAGS=$LDFLAGS
7317       echo "_main" > conftest.sym
7318       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7319       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7320 /* end confdefs.h.  */
7321
7322 int
7323 main ()
7324 {
7325
7326   ;
7327   return 0;
7328 }
7329 _ACEOF
7330 if ac_fn_c_try_link "$LINENO"; then :
7331   lt_cv_ld_exported_symbols_list=yes
7332 else
7333   lt_cv_ld_exported_symbols_list=no
7334 fi
7335 rm -f core conftest.err conftest.$ac_objext \
7336     conftest$ac_exeext conftest.$ac_ext
7337         LDFLAGS=$save_LDFLAGS
7338
7339 fi
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7341 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7342
7343     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7344 $as_echo_n "checking for -force_load linker flag... " >&6; }
7345 if ${lt_cv_ld_force_load+:} false; then :
7346   $as_echo_n "(cached) " >&6
7347 else
7348   lt_cv_ld_force_load=no
7349       cat > conftest.c << _LT_EOF
7350 int forced_loaded() { return 2;}
7351 _LT_EOF
7352       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7353       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7354       echo "$AR cru libconftest.a conftest.o" >&5
7355       $AR cru libconftest.a conftest.o 2>&5
7356       echo "$RANLIB libconftest.a" >&5
7357       $RANLIB libconftest.a 2>&5
7358       cat > conftest.c << _LT_EOF
7359 int main() { return 0;}
7360 _LT_EOF
7361       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7362       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7363       _lt_result=$?
7364       if test -s conftest.err && $GREP force_load conftest.err; then
7365         cat conftest.err >&5
7366       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7367         lt_cv_ld_force_load=yes
7368       else
7369         cat conftest.err >&5
7370       fi
7371         rm -f conftest.err libconftest.a conftest conftest.c
7372         rm -rf conftest.dSYM
7373
7374 fi
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7376 $as_echo "$lt_cv_ld_force_load" >&6; }
7377     case $host_os in
7378     rhapsody* | darwin1.[012])
7379       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7380     darwin1.*)
7381       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7382     darwin*) # darwin 5.x on
7383       # if running on 10.5 or later, the deployment target defaults
7384       # to the OS version, if on x86, and 10.4, the deployment
7385       # target defaults to 10.4. Don't you love it?
7386       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7387         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7388           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7389         10.[012][,.]*)
7390           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7391         10.*)
7392           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7393       esac
7394     ;;
7395   esac
7396     if test yes = "$lt_cv_apple_cc_single_mod"; then
7397       _lt_dar_single_mod='$single_module'
7398     fi
7399     if test yes = "$lt_cv_ld_exported_symbols_list"; then
7400       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7401     else
7402       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7403     fi
7404     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7405       _lt_dsymutil='~$DSYMUTIL $lib || :'
7406     else
7407       _lt_dsymutil=
7408     fi
7409     ;;
7410   esac
7411
7412 # func_munge_path_list VARIABLE PATH
7413 # -----------------------------------
7414 # VARIABLE is name of variable containing _space_ separated list of
7415 # directories to be munged by the contents of PATH, which is string
7416 # having a format:
7417 # "DIR[:DIR]:"
7418 #       string "DIR[ DIR]" will be prepended to VARIABLE
7419 # ":DIR[:DIR]"
7420 #       string "DIR[ DIR]" will be appended to VARIABLE
7421 # "DIRP[:DIRP]::[DIRA:]DIRA"
7422 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7423 #       "DIRA[ DIRA]" will be appended to VARIABLE
7424 # "DIR[:DIR]"
7425 #       VARIABLE will be replaced by "DIR[ DIR]"
7426 func_munge_path_list ()
7427 {
7428     case x$2 in
7429     x)
7430         ;;
7431     *:)
7432         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7433         ;;
7434     x:*)
7435         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7436         ;;
7437     *::*)
7438         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7439         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7440         ;;
7441     *)
7442         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7443         ;;
7444     esac
7445 }
7446
7447 ac_ext=c
7448 ac_cpp='$CPP $CPPFLAGS'
7449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7453 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7454 # On Suns, sometimes $CPP names a directory.
7455 if test -n "$CPP" && test -d "$CPP"; then
7456   CPP=
7457 fi
7458 if test -z "$CPP"; then
7459   if ${ac_cv_prog_CPP+:} false; then :
7460   $as_echo_n "(cached) " >&6
7461 else
7462       # Double quotes because CPP needs to be expanded
7463     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7464     do
7465       ac_preproc_ok=false
7466 for ac_c_preproc_warn_flag in '' yes
7467 do
7468   # Use a header file that comes with gcc, so configuring glibc
7469   # with a fresh cross-compiler works.
7470   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7471   # <limits.h> exists even on freestanding compilers.
7472   # On the NeXT, cc -E runs the code through the compiler's parser,
7473   # not just through cpp. "Syntax error" is here to catch this case.
7474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h.  */
7476 #ifdef __STDC__
7477 # include <limits.h>
7478 #else
7479 # include <assert.h>
7480 #endif
7481                      Syntax error
7482 _ACEOF
7483 if ac_fn_c_try_cpp "$LINENO"; then :
7484
7485 else
7486   # Broken: fails on valid input.
7487 continue
7488 fi
7489 rm -f conftest.err conftest.i conftest.$ac_ext
7490
7491   # OK, works on sane cases.  Now check whether nonexistent headers
7492   # can be detected and how.
7493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7494 /* end confdefs.h.  */
7495 #include <ac_nonexistent.h>
7496 _ACEOF
7497 if ac_fn_c_try_cpp "$LINENO"; then :
7498   # Broken: success on invalid input.
7499 continue
7500 else
7501   # Passes both tests.
7502 ac_preproc_ok=:
7503 break
7504 fi
7505 rm -f conftest.err conftest.i conftest.$ac_ext
7506
7507 done
7508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7509 rm -f conftest.i conftest.err conftest.$ac_ext
7510 if $ac_preproc_ok; then :
7511   break
7512 fi
7513
7514     done
7515     ac_cv_prog_CPP=$CPP
7516
7517 fi
7518   CPP=$ac_cv_prog_CPP
7519 else
7520   ac_cv_prog_CPP=$CPP
7521 fi
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7523 $as_echo "$CPP" >&6; }
7524 ac_preproc_ok=false
7525 for ac_c_preproc_warn_flag in '' yes
7526 do
7527   # Use a header file that comes with gcc, so configuring glibc
7528   # with a fresh cross-compiler works.
7529   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7530   # <limits.h> exists even on freestanding compilers.
7531   # On the NeXT, cc -E runs the code through the compiler's parser,
7532   # not just through cpp. "Syntax error" is here to catch this case.
7533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h.  */
7535 #ifdef __STDC__
7536 # include <limits.h>
7537 #else
7538 # include <assert.h>
7539 #endif
7540                      Syntax error
7541 _ACEOF
7542 if ac_fn_c_try_cpp "$LINENO"; then :
7543
7544 else
7545   # Broken: fails on valid input.
7546 continue
7547 fi
7548 rm -f conftest.err conftest.i conftest.$ac_ext
7549
7550   # OK, works on sane cases.  Now check whether nonexistent headers
7551   # can be detected and how.
7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h.  */
7554 #include <ac_nonexistent.h>
7555 _ACEOF
7556 if ac_fn_c_try_cpp "$LINENO"; then :
7557   # Broken: success on invalid input.
7558 continue
7559 else
7560   # Passes both tests.
7561 ac_preproc_ok=:
7562 break
7563 fi
7564 rm -f conftest.err conftest.i conftest.$ac_ext
7565
7566 done
7567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7568 rm -f conftest.i conftest.err conftest.$ac_ext
7569 if $ac_preproc_ok; then :
7570
7571 else
7572   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7574 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7575 See \`config.log' for more details" "$LINENO" 5; }
7576 fi
7577
7578 ac_ext=c
7579 ac_cpp='$CPP $CPPFLAGS'
7580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7583
7584
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7586 $as_echo_n "checking for ANSI C header files... " >&6; }
7587 if ${ac_cv_header_stdc+:} false; then :
7588   $as_echo_n "(cached) " >&6
7589 else
7590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h.  */
7592 #include <stdlib.h>
7593 #include <stdarg.h>
7594 #include <string.h>
7595 #include <float.h>
7596
7597 int
7598 main ()
7599 {
7600
7601   ;
7602   return 0;
7603 }
7604 _ACEOF
7605 if ac_fn_c_try_compile "$LINENO"; then :
7606   ac_cv_header_stdc=yes
7607 else
7608   ac_cv_header_stdc=no
7609 fi
7610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7611
7612 if test $ac_cv_header_stdc = yes; then
7613   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h.  */
7616 #include <string.h>
7617
7618 _ACEOF
7619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7620   $EGREP "memchr" >/dev/null 2>&1; then :
7621
7622 else
7623   ac_cv_header_stdc=no
7624 fi
7625 rm -f conftest*
7626
7627 fi
7628
7629 if test $ac_cv_header_stdc = yes; then
7630   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7632 /* end confdefs.h.  */
7633 #include <stdlib.h>
7634
7635 _ACEOF
7636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7637   $EGREP "free" >/dev/null 2>&1; then :
7638
7639 else
7640   ac_cv_header_stdc=no
7641 fi
7642 rm -f conftest*
7643
7644 fi
7645
7646 if test $ac_cv_header_stdc = yes; then
7647   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7648   if test "$cross_compiling" = yes; then :
7649   :
7650 else
7651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h.  */
7653 #include <ctype.h>
7654 #include <stdlib.h>
7655 #if ((' ' & 0x0FF) == 0x020)
7656 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7657 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7658 #else
7659 # define ISLOWER(c) \
7660                    (('a' <= (c) && (c) <= 'i') \
7661                      || ('j' <= (c) && (c) <= 'r') \
7662                      || ('s' <= (c) && (c) <= 'z'))
7663 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7664 #endif
7665
7666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7667 int
7668 main ()
7669 {
7670   int i;
7671   for (i = 0; i < 256; i++)
7672     if (XOR (islower (i), ISLOWER (i))
7673         || toupper (i) != TOUPPER (i))
7674       return 2;
7675   return 0;
7676 }
7677 _ACEOF
7678 if ac_fn_c_try_run "$LINENO"; then :
7679
7680 else
7681   ac_cv_header_stdc=no
7682 fi
7683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7684   conftest.$ac_objext conftest.beam conftest.$ac_ext
7685 fi
7686
7687 fi
7688 fi
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7690 $as_echo "$ac_cv_header_stdc" >&6; }
7691 if test $ac_cv_header_stdc = yes; then
7692
7693 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7694
7695 fi
7696
7697 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7698 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7699                   inttypes.h stdint.h unistd.h
7700 do :
7701   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7702 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7703 "
7704 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7705   cat >>confdefs.h <<_ACEOF
7706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7707 _ACEOF
7708
7709 fi
7710
7711 done
7712
7713
7714 for ac_header in dlfcn.h
7715 do :
7716   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7717 "
7718 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7719   cat >>confdefs.h <<_ACEOF
7720 #define HAVE_DLFCN_H 1
7721 _ACEOF
7722
7723 fi
7724
7725 done
7726
7727
7728
7729
7730
7731 # Set options
7732
7733
7734
7735         enable_dlopen=no
7736
7737
7738   enable_win32_dll=no
7739
7740
7741             # Check whether --enable-shared was given.
7742 if test "${enable_shared+set}" = set; then :
7743   enableval=$enable_shared; p=${PACKAGE-default}
7744     case $enableval in
7745     yes) enable_shared=yes ;;
7746     no) enable_shared=no ;;
7747     *)
7748       enable_shared=no
7749       # Look at the argument we got.  We use all the common list separators.
7750       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7751       for pkg in $enableval; do
7752         IFS=$lt_save_ifs
7753         if test "X$pkg" = "X$p"; then
7754           enable_shared=yes
7755         fi
7756       done
7757       IFS=$lt_save_ifs
7758       ;;
7759     esac
7760 else
7761   enable_shared=yes
7762 fi
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772   # Check whether --enable-static was given.
7773 if test "${enable_static+set}" = set; then :
7774   enableval=$enable_static; p=${PACKAGE-default}
7775     case $enableval in
7776     yes) enable_static=yes ;;
7777     no) enable_static=no ;;
7778     *)
7779      enable_static=no
7780       # Look at the argument we got.  We use all the common list separators.
7781       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7782       for pkg in $enableval; do
7783         IFS=$lt_save_ifs
7784         if test "X$pkg" = "X$p"; then
7785           enable_static=yes
7786         fi
7787       done
7788       IFS=$lt_save_ifs
7789       ;;
7790     esac
7791 else
7792   enable_static=yes
7793 fi
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804 # Check whether --with-pic was given.
7805 if test "${with_pic+set}" = set; then :
7806   withval=$with_pic; lt_p=${PACKAGE-default}
7807     case $withval in
7808     yes|no) pic_mode=$withval ;;
7809     *)
7810       pic_mode=default
7811       # Look at the argument we got.  We use all the common list separators.
7812       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7813       for lt_pkg in $withval; do
7814         IFS=$lt_save_ifs
7815         if test "X$lt_pkg" = "X$lt_p"; then
7816           pic_mode=yes
7817         fi
7818       done
7819       IFS=$lt_save_ifs
7820       ;;
7821     esac
7822 else
7823   pic_mode=default
7824 fi
7825
7826
7827
7828
7829
7830
7831
7832
7833   # Check whether --enable-fast-install was given.
7834 if test "${enable_fast_install+set}" = set; then :
7835   enableval=$enable_fast_install; p=${PACKAGE-default}
7836     case $enableval in
7837     yes) enable_fast_install=yes ;;
7838     no) enable_fast_install=no ;;
7839     *)
7840       enable_fast_install=no
7841       # Look at the argument we got.  We use all the common list separators.
7842       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7843       for pkg in $enableval; do
7844         IFS=$lt_save_ifs
7845         if test "X$pkg" = "X$p"; then
7846           enable_fast_install=yes
7847         fi
7848       done
7849       IFS=$lt_save_ifs
7850       ;;
7851     esac
7852 else
7853   enable_fast_install=yes
7854 fi
7855
7856
7857
7858
7859
7860
7861
7862
7863   shared_archive_member_spec=
7864 case $host,$enable_shared in
7865 power*-*-aix[5-9]*,yes)
7866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7867 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7868
7869 # Check whether --with-aix-soname was given.
7870 if test "${with_aix_soname+set}" = set; then :
7871   withval=$with_aix_soname; case $withval in
7872     aix|svr4|both)
7873       ;;
7874     *)
7875       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7876       ;;
7877     esac
7878     lt_cv_with_aix_soname=$with_aix_soname
7879 else
7880   if ${lt_cv_with_aix_soname+:} false; then :
7881   $as_echo_n "(cached) " >&6
7882 else
7883   lt_cv_with_aix_soname=aix
7884 fi
7885
7886     with_aix_soname=$lt_cv_with_aix_soname
7887 fi
7888
7889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7890 $as_echo "$with_aix_soname" >&6; }
7891   if test aix != "$with_aix_soname"; then
7892     # For the AIX way of multilib, we name the shared archive member
7893     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7894     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7895     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7896     # the AIX toolchain works better with OBJECT_MODE set (default 32).
7897     if test 64 = "${OBJECT_MODE-32}"; then
7898       shared_archive_member_spec=shr_64
7899     else
7900       shared_archive_member_spec=shr
7901     fi
7902   fi
7903   ;;
7904 *)
7905   with_aix_soname=aix
7906   ;;
7907 esac
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918 # This can be used to rebuild libtool when needed
7919 LIBTOOL_DEPS=$ltmain
7920
7921 # Always use our own libtool.
7922 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953 test -z "$LN_S" && LN_S="ln -s"
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968 if test -n "${ZSH_VERSION+set}"; then
7969    setopt NO_GLOB_SUBST
7970 fi
7971
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7973 $as_echo_n "checking for objdir... " >&6; }
7974 if ${lt_cv_objdir+:} false; then :
7975   $as_echo_n "(cached) " >&6
7976 else
7977   rm -f .libs 2>/dev/null
7978 mkdir .libs 2>/dev/null
7979 if test -d .libs; then
7980   lt_cv_objdir=.libs
7981 else
7982   # MS-DOS does not allow filenames that begin with a dot.
7983   lt_cv_objdir=_libs
7984 fi
7985 rmdir .libs 2>/dev/null
7986 fi
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7988 $as_echo "$lt_cv_objdir" >&6; }
7989 objdir=$lt_cv_objdir
7990
7991
7992
7993
7994
7995 cat >>confdefs.h <<_ACEOF
7996 #define LT_OBJDIR "$lt_cv_objdir/"
7997 _ACEOF
7998
7999
8000
8001
8002 case $host_os in
8003 aix3*)
8004   # AIX sometimes has problems with the GCC collect2 program.  For some
8005   # reason, if we set the COLLECT_NAMES environment variable, the problems
8006   # vanish in a puff of smoke.
8007   if test set != "${COLLECT_NAMES+set}"; then
8008     COLLECT_NAMES=
8009     export COLLECT_NAMES
8010   fi
8011   ;;
8012 esac
8013
8014 # Global variables:
8015 ofile=libtool
8016 can_build_shared=yes
8017
8018 # All known linkers require a '.a' archive for static linking (except MSVC,
8019 # which needs '.lib').
8020 libext=a
8021
8022 with_gnu_ld=$lt_cv_prog_gnu_ld
8023
8024 old_CC=$CC
8025 old_CFLAGS=$CFLAGS
8026
8027 # Set sane defaults for various variables
8028 test -z "$CC" && CC=cc
8029 test -z "$LTCC" && LTCC=$CC
8030 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8031 test -z "$LD" && LD=ld
8032 test -z "$ac_objext" && ac_objext=o
8033
8034 func_cc_basename $compiler
8035 cc_basename=$func_cc_basename_result
8036
8037
8038 # Only perform the check for file, if the check method requires it
8039 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8040 case $deplibs_check_method in
8041 file_magic*)
8042   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8044 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8045 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8046   $as_echo_n "(cached) " >&6
8047 else
8048   case $MAGIC_CMD in
8049 [\\/*] |  ?:[\\/]*)
8050   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8051   ;;
8052 *)
8053   lt_save_MAGIC_CMD=$MAGIC_CMD
8054   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8055   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8056   for ac_dir in $ac_dummy; do
8057     IFS=$lt_save_ifs
8058     test -z "$ac_dir" && ac_dir=.
8059     if test -f "$ac_dir/${ac_tool_prefix}file"; then
8060       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8061       if test -n "$file_magic_test_file"; then
8062         case $deplibs_check_method in
8063         "file_magic "*)
8064           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8065           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8066           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8067             $EGREP "$file_magic_regex" > /dev/null; then
8068             :
8069           else
8070             cat <<_LT_EOF 1>&2
8071
8072 *** Warning: the command libtool uses to detect shared libraries,
8073 *** $file_magic_cmd, produces output that libtool cannot recognize.
8074 *** The result is that libtool may fail to recognize shared libraries
8075 *** as such.  This will affect the creation of libtool libraries that
8076 *** depend on shared libraries, but programs linked with such libtool
8077 *** libraries will work regardless of this problem.  Nevertheless, you
8078 *** may want to report the problem to your system manager and/or to
8079 *** bug-libtool@gnu.org
8080
8081 _LT_EOF
8082           fi ;;
8083         esac
8084       fi
8085       break
8086     fi
8087   done
8088   IFS=$lt_save_ifs
8089   MAGIC_CMD=$lt_save_MAGIC_CMD
8090   ;;
8091 esac
8092 fi
8093
8094 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8095 if test -n "$MAGIC_CMD"; then
8096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8097 $as_echo "$MAGIC_CMD" >&6; }
8098 else
8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8101 fi
8102
8103
8104
8105
8106
8107 if test -z "$lt_cv_path_MAGIC_CMD"; then
8108   if test -n "$ac_tool_prefix"; then
8109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8110 $as_echo_n "checking for file... " >&6; }
8111 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8112   $as_echo_n "(cached) " >&6
8113 else
8114   case $MAGIC_CMD in
8115 [\\/*] |  ?:[\\/]*)
8116   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8117   ;;
8118 *)
8119   lt_save_MAGIC_CMD=$MAGIC_CMD
8120   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8121   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8122   for ac_dir in $ac_dummy; do
8123     IFS=$lt_save_ifs
8124     test -z "$ac_dir" && ac_dir=.
8125     if test -f "$ac_dir/file"; then
8126       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8127       if test -n "$file_magic_test_file"; then
8128         case $deplibs_check_method in
8129         "file_magic "*)
8130           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8131           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8132           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8133             $EGREP "$file_magic_regex" > /dev/null; then
8134             :
8135           else
8136             cat <<_LT_EOF 1>&2
8137
8138 *** Warning: the command libtool uses to detect shared libraries,
8139 *** $file_magic_cmd, produces output that libtool cannot recognize.
8140 *** The result is that libtool may fail to recognize shared libraries
8141 *** as such.  This will affect the creation of libtool libraries that
8142 *** depend on shared libraries, but programs linked with such libtool
8143 *** libraries will work regardless of this problem.  Nevertheless, you
8144 *** may want to report the problem to your system manager and/or to
8145 *** bug-libtool@gnu.org
8146
8147 _LT_EOF
8148           fi ;;
8149         esac
8150       fi
8151       break
8152     fi
8153   done
8154   IFS=$lt_save_ifs
8155   MAGIC_CMD=$lt_save_MAGIC_CMD
8156   ;;
8157 esac
8158 fi
8159
8160 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8161 if test -n "$MAGIC_CMD"; then
8162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8163 $as_echo "$MAGIC_CMD" >&6; }
8164 else
8165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8167 fi
8168
8169
8170   else
8171     MAGIC_CMD=:
8172   fi
8173 fi
8174
8175   fi
8176   ;;
8177 esac
8178
8179 # Use C for the default configuration in the libtool script
8180
8181 lt_save_CC=$CC
8182 ac_ext=c
8183 ac_cpp='$CPP $CPPFLAGS'
8184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8187
8188
8189 # Source file extension for C test sources.
8190 ac_ext=c
8191
8192 # Object file extension for compiled C test sources.
8193 objext=o
8194 objext=$objext
8195
8196 # Code to be used in simple compile tests
8197 lt_simple_compile_test_code="int some_variable = 0;"
8198
8199 # Code to be used in simple link tests
8200 lt_simple_link_test_code='int main(){return(0);}'
8201
8202
8203
8204
8205
8206
8207
8208 # If no C compiler was specified, use CC.
8209 LTCC=${LTCC-"$CC"}
8210
8211 # If no C compiler flags were specified, use CFLAGS.
8212 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8213
8214 # Allow CC to be a program name with arguments.
8215 compiler=$CC
8216
8217 # Save the default compiler, since it gets overwritten when the other
8218 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8219 compiler_DEFAULT=$CC
8220
8221 # save warnings/boilerplate of simple test code
8222 ac_outfile=conftest.$ac_objext
8223 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8224 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8225 _lt_compiler_boilerplate=`cat conftest.err`
8226 $RM conftest*
8227
8228 ac_outfile=conftest.$ac_objext
8229 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8230 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8231 _lt_linker_boilerplate=`cat conftest.err`
8232 $RM -r conftest*
8233
8234
8235 ## CAVEAT EMPTOR:
8236 ## There is no encapsulation within the following macros, do not change
8237 ## the running order or otherwise move them around unless you know exactly
8238 ## what you are doing...
8239 if test -n "$compiler"; then
8240
8241 lt_prog_compiler_no_builtin_flag=
8242
8243 if test yes = "$GCC"; then
8244   case $cc_basename in
8245   nvcc*)
8246     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8247   *)
8248     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8249   esac
8250
8251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8252 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8253 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8254   $as_echo_n "(cached) " >&6
8255 else
8256   lt_cv_prog_compiler_rtti_exceptions=no
8257    ac_outfile=conftest.$ac_objext
8258    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8259    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8260    # Insert the option either (1) after the last *FLAGS variable, or
8261    # (2) before a word containing "conftest.", or (3) at the end.
8262    # Note that $ac_compile itself does not contain backslashes and begins
8263    # with a dollar sign (not a hyphen), so the echo should work correctly.
8264    # The option is referenced via a variable to avoid confusing sed.
8265    lt_compile=`echo "$ac_compile" | $SED \
8266    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8267    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8268    -e 's:$: $lt_compiler_flag:'`
8269    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8270    (eval "$lt_compile" 2>conftest.err)
8271    ac_status=$?
8272    cat conftest.err >&5
8273    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274    if (exit $ac_status) && test -s "$ac_outfile"; then
8275      # The compiler can only warn and ignore the option if not recognized
8276      # So say no if there are warnings other than the usual output.
8277      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8278      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8279      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8280        lt_cv_prog_compiler_rtti_exceptions=yes
8281      fi
8282    fi
8283    $RM conftest*
8284
8285 fi
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8287 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8288
8289 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8290     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8291 else
8292     :
8293 fi
8294
8295 fi
8296
8297
8298
8299
8300
8301
8302   lt_prog_compiler_wl=
8303 lt_prog_compiler_pic=
8304 lt_prog_compiler_static=
8305
8306
8307   if test yes = "$GCC"; then
8308     lt_prog_compiler_wl='-Wl,'
8309     lt_prog_compiler_static='-static'
8310
8311     case $host_os in
8312       aix*)
8313       # All AIX code is PIC.
8314       if test ia64 = "$host_cpu"; then
8315         # AIX 5 now supports IA64 processor
8316         lt_prog_compiler_static='-Bstatic'
8317       fi
8318       lt_prog_compiler_pic='-fPIC'
8319       ;;
8320
8321     amigaos*)
8322       case $host_cpu in
8323       powerpc)
8324             # see comment about AmigaOS4 .so support
8325             lt_prog_compiler_pic='-fPIC'
8326         ;;
8327       m68k)
8328             # FIXME: we need at least 68020 code to build shared libraries, but
8329             # adding the '-m68020' flag to GCC prevents building anything better,
8330             # like '-m68040'.
8331             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8332         ;;
8333       esac
8334       ;;
8335
8336     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8337       # PIC is the default for these OSes.
8338       ;;
8339
8340     mingw* | cygwin* | pw32* | os2* | cegcc*)
8341       # This hack is so that the source file can tell whether it is being
8342       # built for inclusion in a dll (and should export symbols for example).
8343       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8344       # (--disable-auto-import) libraries
8345       lt_prog_compiler_pic='-DDLL_EXPORT'
8346       case $host_os in
8347       os2*)
8348         lt_prog_compiler_static='$wl-static'
8349         ;;
8350       esac
8351       ;;
8352
8353     darwin* | rhapsody*)
8354       # PIC is the default on this platform
8355       # Common symbols not allowed in MH_DYLIB files
8356       lt_prog_compiler_pic='-fno-common'
8357       ;;
8358
8359     haiku*)
8360       # PIC is the default for Haiku.
8361       # The "-static" flag exists, but is broken.
8362       lt_prog_compiler_static=
8363       ;;
8364
8365     hpux*)
8366       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8367       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8368       # sets the default TLS model and affects inlining.
8369       case $host_cpu in
8370       hppa*64*)
8371         # +Z the default
8372         ;;
8373       *)
8374         lt_prog_compiler_pic='-fPIC'
8375         ;;
8376       esac
8377       ;;
8378
8379     interix[3-9]*)
8380       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8381       # Instead, we relocate shared libraries at runtime.
8382       ;;
8383
8384     msdosdjgpp*)
8385       # Just because we use GCC doesn't mean we suddenly get shared libraries
8386       # on systems that don't support them.
8387       lt_prog_compiler_can_build_shared=no
8388       enable_shared=no
8389       ;;
8390
8391     *nto* | *qnx*)
8392       # QNX uses GNU C++, but need to define -shared option too, otherwise
8393       # it will coredump.
8394       lt_prog_compiler_pic='-fPIC -shared'
8395       ;;
8396
8397     sysv4*MP*)
8398       if test -d /usr/nec; then
8399         lt_prog_compiler_pic=-Kconform_pic
8400       fi
8401       ;;
8402
8403     *)
8404       lt_prog_compiler_pic='-fPIC'
8405       ;;
8406     esac
8407
8408     case $cc_basename in
8409     nvcc*) # Cuda Compiler Driver 2.2
8410       lt_prog_compiler_wl='-Xlinker '
8411       if test -n "$lt_prog_compiler_pic"; then
8412         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8413       fi
8414       ;;
8415     esac
8416   else
8417     # PORTME Check for flag to pass linker flags through the system compiler.
8418     case $host_os in
8419     aix*)
8420       lt_prog_compiler_wl='-Wl,'
8421       if test ia64 = "$host_cpu"; then
8422         # AIX 5 now supports IA64 processor
8423         lt_prog_compiler_static='-Bstatic'
8424       else
8425         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8426       fi
8427       ;;
8428
8429     darwin* | rhapsody*)
8430       # PIC is the default on this platform
8431       # Common symbols not allowed in MH_DYLIB files
8432       lt_prog_compiler_pic='-fno-common'
8433       case $cc_basename in
8434       nagfor*)
8435         # NAG Fortran compiler
8436         lt_prog_compiler_wl='-Wl,-Wl,,'
8437         lt_prog_compiler_pic='-PIC'
8438         lt_prog_compiler_static='-Bstatic'
8439         ;;
8440       esac
8441       ;;
8442
8443     mingw* | cygwin* | pw32* | os2* | cegcc*)
8444       # This hack is so that the source file can tell whether it is being
8445       # built for inclusion in a dll (and should export symbols for example).
8446       lt_prog_compiler_pic='-DDLL_EXPORT'
8447       case $host_os in
8448       os2*)
8449         lt_prog_compiler_static='$wl-static'
8450         ;;
8451       esac
8452       ;;
8453
8454     hpux9* | hpux10* | hpux11*)
8455       lt_prog_compiler_wl='-Wl,'
8456       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8457       # not for PA HP-UX.
8458       case $host_cpu in
8459       hppa*64*|ia64*)
8460         # +Z the default
8461         ;;
8462       *)
8463         lt_prog_compiler_pic='+Z'
8464         ;;
8465       esac
8466       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8467       lt_prog_compiler_static='$wl-a ${wl}archive'
8468       ;;
8469
8470     irix5* | irix6* | nonstopux*)
8471       lt_prog_compiler_wl='-Wl,'
8472       # PIC (with -KPIC) is the default.
8473       lt_prog_compiler_static='-non_shared'
8474       ;;
8475
8476     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8477       case $cc_basename in
8478       # old Intel for x86_64, which still supported -KPIC.
8479       ecc*)
8480         lt_prog_compiler_wl='-Wl,'
8481         lt_prog_compiler_pic='-KPIC'
8482         lt_prog_compiler_static='-static'
8483         ;;
8484       # icc used to be incompatible with GCC.
8485       # ICC 10 doesn't accept -KPIC any more.
8486       icc* | ifort*)
8487         lt_prog_compiler_wl='-Wl,'
8488         lt_prog_compiler_pic='-fPIC'
8489         lt_prog_compiler_static='-static'
8490         ;;
8491       # Lahey Fortran 8.1.
8492       lf95*)
8493         lt_prog_compiler_wl='-Wl,'
8494         lt_prog_compiler_pic='--shared'
8495         lt_prog_compiler_static='--static'
8496         ;;
8497       nagfor*)
8498         # NAG Fortran compiler
8499         lt_prog_compiler_wl='-Wl,-Wl,,'
8500         lt_prog_compiler_pic='-PIC'
8501         lt_prog_compiler_static='-Bstatic'
8502         ;;
8503       tcc*)
8504         # Fabrice Bellard et al's Tiny C Compiler
8505         lt_prog_compiler_wl='-Wl,'
8506         lt_prog_compiler_pic='-fPIC'
8507         lt_prog_compiler_static='-static'
8508         ;;
8509       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8510         # Portland Group compilers (*not* the Pentium gcc compiler,
8511         # which looks to be a dead project)
8512         lt_prog_compiler_wl='-Wl,'
8513         lt_prog_compiler_pic='-fpic'
8514         lt_prog_compiler_static='-Bstatic'
8515         ;;
8516       ccc*)
8517         lt_prog_compiler_wl='-Wl,'
8518         # All Alpha code is PIC.
8519         lt_prog_compiler_static='-non_shared'
8520         ;;
8521       xl* | bgxl* | bgf* | mpixl*)
8522         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8523         lt_prog_compiler_wl='-Wl,'
8524         lt_prog_compiler_pic='-qpic'
8525         lt_prog_compiler_static='-qstaticlink'
8526         ;;
8527       *)
8528         case `$CC -V 2>&1 | sed 5q` in
8529         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8530           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8531           lt_prog_compiler_pic='-KPIC'
8532           lt_prog_compiler_static='-Bstatic'
8533           lt_prog_compiler_wl=''
8534           ;;
8535         *Sun\ F* | *Sun*Fortran*)
8536           lt_prog_compiler_pic='-KPIC'
8537           lt_prog_compiler_static='-Bstatic'
8538           lt_prog_compiler_wl='-Qoption ld '
8539           ;;
8540         *Sun\ C*)
8541           # Sun C 5.9
8542           lt_prog_compiler_pic='-KPIC'
8543           lt_prog_compiler_static='-Bstatic'
8544           lt_prog_compiler_wl='-Wl,'
8545           ;;
8546         *Intel*\ [CF]*Compiler*)
8547           lt_prog_compiler_wl='-Wl,'
8548           lt_prog_compiler_pic='-fPIC'
8549           lt_prog_compiler_static='-static'
8550           ;;
8551         *Portland\ Group*)
8552           lt_prog_compiler_wl='-Wl,'
8553           lt_prog_compiler_pic='-fpic'
8554           lt_prog_compiler_static='-Bstatic'
8555           ;;
8556         esac
8557         ;;
8558       esac
8559       ;;
8560
8561     newsos6)
8562       lt_prog_compiler_pic='-KPIC'
8563       lt_prog_compiler_static='-Bstatic'
8564       ;;
8565
8566     *nto* | *qnx*)
8567       # QNX uses GNU C++, but need to define -shared option too, otherwise
8568       # it will coredump.
8569       lt_prog_compiler_pic='-fPIC -shared'
8570       ;;
8571
8572     osf3* | osf4* | osf5*)
8573       lt_prog_compiler_wl='-Wl,'
8574       # All OSF/1 code is PIC.
8575       lt_prog_compiler_static='-non_shared'
8576       ;;
8577
8578     rdos*)
8579       lt_prog_compiler_static='-non_shared'
8580       ;;
8581
8582     solaris*)
8583       lt_prog_compiler_pic='-KPIC'
8584       lt_prog_compiler_static='-Bstatic'
8585       case $cc_basename in
8586       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8587         lt_prog_compiler_wl='-Qoption ld ';;
8588       *)
8589         lt_prog_compiler_wl='-Wl,';;
8590       esac
8591       ;;
8592
8593     sunos4*)
8594       lt_prog_compiler_wl='-Qoption ld '
8595       lt_prog_compiler_pic='-PIC'
8596       lt_prog_compiler_static='-Bstatic'
8597       ;;
8598
8599     sysv4 | sysv4.2uw2* | sysv4.3*)
8600       lt_prog_compiler_wl='-Wl,'
8601       lt_prog_compiler_pic='-KPIC'
8602       lt_prog_compiler_static='-Bstatic'
8603       ;;
8604
8605     sysv4*MP*)
8606       if test -d /usr/nec; then
8607         lt_prog_compiler_pic='-Kconform_pic'
8608         lt_prog_compiler_static='-Bstatic'
8609       fi
8610       ;;
8611
8612     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8613       lt_prog_compiler_wl='-Wl,'
8614       lt_prog_compiler_pic='-KPIC'
8615       lt_prog_compiler_static='-Bstatic'
8616       ;;
8617
8618     unicos*)
8619       lt_prog_compiler_wl='-Wl,'
8620       lt_prog_compiler_can_build_shared=no
8621       ;;
8622
8623     uts4*)
8624       lt_prog_compiler_pic='-pic'
8625       lt_prog_compiler_static='-Bstatic'
8626       ;;
8627
8628     *)
8629       lt_prog_compiler_can_build_shared=no
8630       ;;
8631     esac
8632   fi
8633
8634 case $host_os in
8635   # For platforms that do not support PIC, -DPIC is meaningless:
8636   *djgpp*)
8637     lt_prog_compiler_pic=
8638     ;;
8639   *)
8640     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8641     ;;
8642 esac
8643
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8645 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8646 if ${lt_cv_prog_compiler_pic+:} false; then :
8647   $as_echo_n "(cached) " >&6
8648 else
8649   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8650 fi
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8652 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8653 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8654
8655 #
8656 # Check to make sure the PIC flag actually works.
8657 #
8658 if test -n "$lt_prog_compiler_pic"; then
8659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8660 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8661 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8662   $as_echo_n "(cached) " >&6
8663 else
8664   lt_cv_prog_compiler_pic_works=no
8665    ac_outfile=conftest.$ac_objext
8666    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8667    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8668    # Insert the option either (1) after the last *FLAGS variable, or
8669    # (2) before a word containing "conftest.", or (3) at the end.
8670    # Note that $ac_compile itself does not contain backslashes and begins
8671    # with a dollar sign (not a hyphen), so the echo should work correctly.
8672    # The option is referenced via a variable to avoid confusing sed.
8673    lt_compile=`echo "$ac_compile" | $SED \
8674    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676    -e 's:$: $lt_compiler_flag:'`
8677    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8678    (eval "$lt_compile" 2>conftest.err)
8679    ac_status=$?
8680    cat conftest.err >&5
8681    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682    if (exit $ac_status) && test -s "$ac_outfile"; then
8683      # The compiler can only warn and ignore the option if not recognized
8684      # So say no if there are warnings other than the usual output.
8685      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8686      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8687      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8688        lt_cv_prog_compiler_pic_works=yes
8689      fi
8690    fi
8691    $RM conftest*
8692
8693 fi
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8695 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8696
8697 if test yes = "$lt_cv_prog_compiler_pic_works"; then
8698     case $lt_prog_compiler_pic in
8699      "" | " "*) ;;
8700      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8701      esac
8702 else
8703     lt_prog_compiler_pic=
8704      lt_prog_compiler_can_build_shared=no
8705 fi
8706
8707 fi
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719 #
8720 # Check to make sure the static flag actually works.
8721 #
8722 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8724 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8725 if ${lt_cv_prog_compiler_static_works+:} false; then :
8726   $as_echo_n "(cached) " >&6
8727 else
8728   lt_cv_prog_compiler_static_works=no
8729    save_LDFLAGS=$LDFLAGS
8730    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8731    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8732    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8733      # The linker can only warn and ignore the option if not recognized
8734      # So say no if there are warnings
8735      if test -s conftest.err; then
8736        # Append any errors to the config.log.
8737        cat conftest.err 1>&5
8738        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8739        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8740        if diff conftest.exp conftest.er2 >/dev/null; then
8741          lt_cv_prog_compiler_static_works=yes
8742        fi
8743      else
8744        lt_cv_prog_compiler_static_works=yes
8745      fi
8746    fi
8747    $RM -r conftest*
8748    LDFLAGS=$save_LDFLAGS
8749
8750 fi
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8752 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8753
8754 if test yes = "$lt_cv_prog_compiler_static_works"; then
8755     :
8756 else
8757     lt_prog_compiler_static=
8758 fi
8759
8760
8761
8762
8763
8764
8765
8766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8767 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8768 if ${lt_cv_prog_compiler_c_o+:} false; then :
8769   $as_echo_n "(cached) " >&6
8770 else
8771   lt_cv_prog_compiler_c_o=no
8772    $RM -r conftest 2>/dev/null
8773    mkdir conftest
8774    cd conftest
8775    mkdir out
8776    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8777
8778    lt_compiler_flag="-o out/conftest2.$ac_objext"
8779    # Insert the option either (1) after the last *FLAGS variable, or
8780    # (2) before a word containing "conftest.", or (3) at the end.
8781    # Note that $ac_compile itself does not contain backslashes and begins
8782    # with a dollar sign (not a hyphen), so the echo should work correctly.
8783    lt_compile=`echo "$ac_compile" | $SED \
8784    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8785    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8786    -e 's:$: $lt_compiler_flag:'`
8787    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8788    (eval "$lt_compile" 2>out/conftest.err)
8789    ac_status=$?
8790    cat out/conftest.err >&5
8791    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8793    then
8794      # The compiler can only warn and ignore the option if not recognized
8795      # So say no if there are warnings
8796      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8797      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8798      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8799        lt_cv_prog_compiler_c_o=yes
8800      fi
8801    fi
8802    chmod u+w . 2>&5
8803    $RM conftest*
8804    # SGI C++ compiler will create directory out/ii_files/ for
8805    # template instantiation
8806    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8807    $RM out/* && rmdir out
8808    cd ..
8809    $RM -r conftest
8810    $RM conftest*
8811
8812 fi
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8814 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8815
8816
8817
8818
8819
8820
8821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8822 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8823 if ${lt_cv_prog_compiler_c_o+:} false; then :
8824   $as_echo_n "(cached) " >&6
8825 else
8826   lt_cv_prog_compiler_c_o=no
8827    $RM -r conftest 2>/dev/null
8828    mkdir conftest
8829    cd conftest
8830    mkdir out
8831    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8832
8833    lt_compiler_flag="-o out/conftest2.$ac_objext"
8834    # Insert the option either (1) after the last *FLAGS variable, or
8835    # (2) before a word containing "conftest.", or (3) at the end.
8836    # Note that $ac_compile itself does not contain backslashes and begins
8837    # with a dollar sign (not a hyphen), so the echo should work correctly.
8838    lt_compile=`echo "$ac_compile" | $SED \
8839    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8840    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8841    -e 's:$: $lt_compiler_flag:'`
8842    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8843    (eval "$lt_compile" 2>out/conftest.err)
8844    ac_status=$?
8845    cat out/conftest.err >&5
8846    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8848    then
8849      # The compiler can only warn and ignore the option if not recognized
8850      # So say no if there are warnings
8851      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8852      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8853      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8854        lt_cv_prog_compiler_c_o=yes
8855      fi
8856    fi
8857    chmod u+w . 2>&5
8858    $RM conftest*
8859    # SGI C++ compiler will create directory out/ii_files/ for
8860    # template instantiation
8861    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8862    $RM out/* && rmdir out
8863    cd ..
8864    $RM -r conftest
8865    $RM conftest*
8866
8867 fi
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8869 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8870
8871
8872
8873
8874 hard_links=nottested
8875 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8876   # do not overwrite the value of need_locks provided by the user
8877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8878 $as_echo_n "checking if we can lock with hard links... " >&6; }
8879   hard_links=yes
8880   $RM conftest*
8881   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8882   touch conftest.a
8883   ln conftest.a conftest.b 2>&5 || hard_links=no
8884   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8886 $as_echo "$hard_links" >&6; }
8887   if test no = "$hard_links"; then
8888     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8889 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8890     need_locks=warn
8891   fi
8892 else
8893   need_locks=no
8894 fi
8895
8896
8897
8898
8899
8900
8901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8902 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8903
8904   runpath_var=
8905   allow_undefined_flag=
8906   always_export_symbols=no
8907   archive_cmds=
8908   archive_expsym_cmds=
8909   compiler_needs_object=no
8910   enable_shared_with_static_runtimes=no
8911   export_dynamic_flag_spec=
8912   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8913   hardcode_automatic=no
8914   hardcode_direct=no
8915   hardcode_direct_absolute=no
8916   hardcode_libdir_flag_spec=
8917   hardcode_libdir_separator=
8918   hardcode_minus_L=no
8919   hardcode_shlibpath_var=unsupported
8920   inherit_rpath=no
8921   link_all_deplibs=unknown
8922   module_cmds=
8923   module_expsym_cmds=
8924   old_archive_from_new_cmds=
8925   old_archive_from_expsyms_cmds=
8926   thread_safe_flag_spec=
8927   whole_archive_flag_spec=
8928   # include_expsyms should be a list of space-separated symbols to be *always*
8929   # included in the symbol list
8930   include_expsyms=
8931   # exclude_expsyms can be an extended regexp of symbols to exclude
8932   # it will be wrapped by ' (' and ')$', so one must not match beginning or
8933   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8934   # as well as any symbol that contains 'd'.
8935   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8936   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8937   # platforms (ab)use it in PIC code, but their linkers get confused if
8938   # the symbol is explicitly referenced.  Since portable code cannot
8939   # rely on this symbol name, it's probably fine to never include it in
8940   # preloaded symbol tables.
8941   # Exclude shared library initialization/finalization symbols.
8942   extract_expsyms_cmds=
8943
8944   case $host_os in
8945   cygwin* | mingw* | pw32* | cegcc*)
8946     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8947     # When not using gcc, we currently assume that we are using
8948     # Microsoft Visual C++.
8949     if test yes != "$GCC"; then
8950       with_gnu_ld=no
8951     fi
8952     ;;
8953   interix*)
8954     # we just hope/assume this is gcc and not c89 (= MSVC++)
8955     with_gnu_ld=yes
8956     ;;
8957   openbsd* | bitrig*)
8958     with_gnu_ld=no
8959     ;;
8960   linux* | k*bsd*-gnu | gnu*)
8961     link_all_deplibs=no
8962     ;;
8963   esac
8964
8965   ld_shlibs=yes
8966
8967   # On some targets, GNU ld is compatible enough with the native linker
8968   # that we're better off using the native interface for both.
8969   lt_use_gnu_ld_interface=no
8970   if test yes = "$with_gnu_ld"; then
8971     case $host_os in
8972       aix*)
8973         # The AIX port of GNU ld has always aspired to compatibility
8974         # with the native linker.  However, as the warning in the GNU ld
8975         # block says, versions before 2.19.5* couldn't really create working
8976         # shared libraries, regardless of the interface used.
8977         case `$LD -v 2>&1` in
8978           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8979           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8980           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8981           *)
8982             lt_use_gnu_ld_interface=yes
8983             ;;
8984         esac
8985         ;;
8986       *)
8987         lt_use_gnu_ld_interface=yes
8988         ;;
8989     esac
8990   fi
8991
8992   if test yes = "$lt_use_gnu_ld_interface"; then
8993     # If archive_cmds runs LD, not CC, wlarc should be empty
8994     wlarc='$wl'
8995
8996     # Set some defaults for GNU ld with shared library support. These
8997     # are reset later if shared libraries are not supported. Putting them
8998     # here allows them to be overridden if necessary.
8999     runpath_var=LD_RUN_PATH
9000     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9001     export_dynamic_flag_spec='$wl--export-dynamic'
9002     # ancient GNU ld didn't support --whole-archive et. al.
9003     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9004       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9005     else
9006       whole_archive_flag_spec=
9007     fi
9008     supports_anon_versioning=no
9009     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9010       *GNU\ gold*) supports_anon_versioning=yes ;;
9011       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9012       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9013       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9014       *\ 2.11.*) ;; # other 2.11 versions
9015       *) supports_anon_versioning=yes ;;
9016     esac
9017
9018     # See if GNU ld supports shared libraries.
9019     case $host_os in
9020     aix[3-9]*)
9021       # On AIX/PPC, the GNU linker is very broken
9022       if test ia64 != "$host_cpu"; then
9023         ld_shlibs=no
9024         cat <<_LT_EOF 1>&2
9025
9026 *** Warning: the GNU linker, at least up to release 2.19, is reported
9027 *** to be unable to reliably create shared libraries on AIX.
9028 *** Therefore, libtool is disabling shared libraries support.  If you
9029 *** really care for shared libraries, you may want to install binutils
9030 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9031 *** You will then need to restart the configuration process.
9032
9033 _LT_EOF
9034       fi
9035       ;;
9036
9037     amigaos*)
9038       case $host_cpu in
9039       powerpc)
9040             # see comment about AmigaOS4 .so support
9041             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9042             archive_expsym_cmds=''
9043         ;;
9044       m68k)
9045             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)'
9046             hardcode_libdir_flag_spec='-L$libdir'
9047             hardcode_minus_L=yes
9048         ;;
9049       esac
9050       ;;
9051
9052     beos*)
9053       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9054         allow_undefined_flag=unsupported
9055         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9056         # support --undefined.  This deserves some investigation.  FIXME
9057         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9058       else
9059         ld_shlibs=no
9060       fi
9061       ;;
9062
9063     cygwin* | mingw* | pw32* | cegcc*)
9064       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9065       # as there is no search path for DLLs.
9066       hardcode_libdir_flag_spec='-L$libdir'
9067       export_dynamic_flag_spec='$wl--export-all-symbols'
9068       allow_undefined_flag=unsupported
9069       always_export_symbols=no
9070       enable_shared_with_static_runtimes=yes
9071       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'
9072       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9073
9074       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9075         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9076         # If the export-symbols file already is a .def file, use it as
9077         # is; otherwise, prepend EXPORTS...
9078         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9079           cp $export_symbols $output_objdir/$soname.def;
9080         else
9081           echo EXPORTS > $output_objdir/$soname.def;
9082           cat $export_symbols >> $output_objdir/$soname.def;
9083         fi~
9084         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9085       else
9086         ld_shlibs=no
9087       fi
9088       ;;
9089
9090     haiku*)
9091       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9092       link_all_deplibs=yes
9093       ;;
9094
9095     os2*)
9096       hardcode_libdir_flag_spec='-L$libdir'
9097       hardcode_minus_L=yes
9098       allow_undefined_flag=unsupported
9099       shrext_cmds=.dll
9100       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9101         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9102         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9103         $ECHO EXPORTS >> $output_objdir/$libname.def~
9104         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9105         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9106         emximp -o $lib $output_objdir/$libname.def'
9107       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9108         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9109         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9110         $ECHO EXPORTS >> $output_objdir/$libname.def~
9111         prefix_cmds="$SED"~
9112         if test EXPORTS = "`$SED 1q $export_symbols`"; then
9113           prefix_cmds="$prefix_cmds -e 1d";
9114         fi~
9115         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9116         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9117         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9118         emximp -o $lib $output_objdir/$libname.def'
9119       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9120       enable_shared_with_static_runtimes=yes
9121       ;;
9122
9123     interix[3-9]*)
9124       hardcode_direct=no
9125       hardcode_shlibpath_var=no
9126       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9127       export_dynamic_flag_spec='$wl-E'
9128       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9129       # Instead, shared libraries are loaded at an image base (0x10000000 by
9130       # default) and relocated if they conflict, which is a slow very memory
9131       # consuming and fragmenting process.  To avoid this, we pick a random,
9132       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9133       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9134       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9135       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'
9136       ;;
9137
9138     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9139       tmp_diet=no
9140       if test linux-dietlibc = "$host_os"; then
9141         case $cc_basename in
9142           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9143         esac
9144       fi
9145       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9146          && test no = "$tmp_diet"
9147       then
9148         tmp_addflag=' $pic_flag'
9149         tmp_sharedflag='-shared'
9150         case $cc_basename,$host_cpu in
9151         pgcc*)                          # Portland Group C compiler
9152           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'
9153           tmp_addflag=' $pic_flag'
9154           ;;
9155         pgf77* | pgf90* | pgf95* | pgfortran*)
9156                                         # Portland Group f77 and f90 compilers
9157           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'
9158           tmp_addflag=' $pic_flag -Mnomain' ;;
9159         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9160           tmp_addflag=' -i_dynamic' ;;
9161         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9162           tmp_addflag=' -i_dynamic -nofor_main' ;;
9163         ifc* | ifort*)                  # Intel Fortran compiler
9164           tmp_addflag=' -nofor_main' ;;
9165         lf95*)                          # Lahey Fortran 8.1
9166           whole_archive_flag_spec=
9167           tmp_sharedflag='--shared' ;;
9168         nagfor*)                        # NAGFOR 5.3
9169           tmp_sharedflag='-Wl,-shared' ;;
9170         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9171           tmp_sharedflag='-qmkshrobj'
9172           tmp_addflag= ;;
9173         nvcc*)  # Cuda Compiler Driver 2.2
9174           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'
9175           compiler_needs_object=yes
9176           ;;
9177         esac
9178         case `$CC -V 2>&1 | sed 5q` in
9179         *Sun\ C*)                       # Sun C 5.9
9180           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'
9181           compiler_needs_object=yes
9182           tmp_sharedflag='-G' ;;
9183         *Sun\ F*)                       # Sun Fortran 8.3
9184           tmp_sharedflag='-G' ;;
9185         esac
9186         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9187
9188         if test yes = "$supports_anon_versioning"; then
9189           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9190             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9191             echo "local: *; };" >> $output_objdir/$libname.ver~
9192             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9193         fi
9194
9195         case $cc_basename in
9196         tcc*)
9197           export_dynamic_flag_spec='-rdynamic'
9198           ;;
9199         xlf* | bgf* | bgxlf* | mpixlf*)
9200           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9201           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9202           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9203           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9204           if test yes = "$supports_anon_versioning"; then
9205             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9206               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9207               echo "local: *; };" >> $output_objdir/$libname.ver~
9208               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9209           fi
9210           ;;
9211         esac
9212       else
9213         ld_shlibs=no
9214       fi
9215       ;;
9216
9217     netbsd* | netbsdelf*-gnu)
9218       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9219         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9220         wlarc=
9221       else
9222         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9223         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9224       fi
9225       ;;
9226
9227     solaris*)
9228       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9229         ld_shlibs=no
9230         cat <<_LT_EOF 1>&2
9231
9232 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9233 *** create shared libraries on Solaris systems.  Therefore, libtool
9234 *** is disabling shared libraries support.  We urge you to upgrade GNU
9235 *** binutils to release 2.9.1 or newer.  Another option is to modify
9236 *** your PATH or compiler configuration so that the native linker is
9237 *** used, and then restart.
9238
9239 _LT_EOF
9240       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9241         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9242         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9243       else
9244         ld_shlibs=no
9245       fi
9246       ;;
9247
9248     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9249       case `$LD -v 2>&1` in
9250         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9251         ld_shlibs=no
9252         cat <<_LT_EOF 1>&2
9253
9254 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9255 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9256 *** is disabling shared libraries support.  We urge you to upgrade GNU
9257 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9258 *** your PATH or compiler configuration so that the native linker is
9259 *** used, and then restart.
9260
9261 _LT_EOF
9262         ;;
9263         *)
9264           # For security reasons, it is highly recommended that you always
9265           # use absolute paths for naming shared libraries, and exclude the
9266           # DT_RUNPATH tag from executables and libraries.  But doing so
9267           # requires that you compile everything twice, which is a pain.
9268           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9269             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9270             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9271             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9272           else
9273             ld_shlibs=no
9274           fi
9275         ;;
9276       esac
9277       ;;
9278
9279     sunos4*)
9280       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9281       wlarc=
9282       hardcode_direct=yes
9283       hardcode_shlibpath_var=no
9284       ;;
9285
9286     *)
9287       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9288         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9289         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9290       else
9291         ld_shlibs=no
9292       fi
9293       ;;
9294     esac
9295
9296     if test no = "$ld_shlibs"; then
9297       runpath_var=
9298       hardcode_libdir_flag_spec=
9299       export_dynamic_flag_spec=
9300       whole_archive_flag_spec=
9301     fi
9302   else
9303     # PORTME fill in a description of your system's linker (not GNU ld)
9304     case $host_os in
9305     aix3*)
9306       allow_undefined_flag=unsupported
9307       always_export_symbols=yes
9308       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'
9309       # Note: this linker hardcodes the directories in LIBPATH if there
9310       # are no directories specified by -L.
9311       hardcode_minus_L=yes
9312       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9313         # Neither direct hardcoding nor static linking is supported with a
9314         # broken collect2.
9315         hardcode_direct=unsupported
9316       fi
9317       ;;
9318
9319     aix[4-9]*)
9320       if test ia64 = "$host_cpu"; then
9321         # On IA64, the linker does run time linking by default, so we don't
9322         # have to do anything special.
9323         aix_use_runtimelinking=no
9324         exp_sym_flag='-Bexport'
9325         no_entry_flag=
9326       else
9327         # If we're using GNU nm, then we don't want the "-C" option.
9328         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9329         # Without the "-l" option, or with the "-B" option, AIX nm treats
9330         # weak defined symbols like other global defined symbols, whereas
9331         # GNU nm marks them as "W".
9332         # While the 'weak' keyword is ignored in the Export File, we need
9333         # it in the Import File for the 'aix-soname' feature, so we have
9334         # to replace the "-B" option with "-P" for AIX nm.
9335         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9336           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9337         else
9338           export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9339         fi
9340         aix_use_runtimelinking=no
9341
9342         # Test if we are trying to use run time linking or normal
9343         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9344         # have runtime linking enabled, and use it for executables.
9345         # For shared libraries, we enable/disable runtime linking
9346         # depending on the kind of the shared library created -
9347         # when "with_aix_soname,aix_use_runtimelinking" is:
9348         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9349         # "aix,yes"  lib.so          shared, rtl:yes, for executables
9350         #            lib.a           static archive
9351         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
9352         #            lib.a(lib.so.V) shared, rtl:no,  for executables
9353         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9354         #            lib.a(lib.so.V) shared, rtl:no
9355         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9356         #            lib.a           static archive
9357         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9358           for ld_flag in $LDFLAGS; do
9359           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9360             aix_use_runtimelinking=yes
9361             break
9362           fi
9363           done
9364           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9365             # With aix-soname=svr4, we create the lib.so.V shared archives only,
9366             # so we don't have lib.a shared libs to link our executables.
9367             # We have to force runtime linking in this case.
9368             aix_use_runtimelinking=yes
9369             LDFLAGS="$LDFLAGS -Wl,-brtl"
9370           fi
9371           ;;
9372         esac
9373
9374         exp_sym_flag='-bexport'
9375         no_entry_flag='-bnoentry'
9376       fi
9377
9378       # When large executables or shared objects are built, AIX ld can
9379       # have problems creating the table of contents.  If linking a library
9380       # or program results in "error TOC overflow" add -mminimal-toc to
9381       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9382       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9383
9384       archive_cmds=''
9385       hardcode_direct=yes
9386       hardcode_direct_absolute=yes
9387       hardcode_libdir_separator=':'
9388       link_all_deplibs=yes
9389       file_list_spec='$wl-f,'
9390       case $with_aix_soname,$aix_use_runtimelinking in
9391       aix,*) ;; # traditional, no import file
9392       svr4,* | *,yes) # use import file
9393         # The Import File defines what to hardcode.
9394         hardcode_direct=no
9395         hardcode_direct_absolute=no
9396         ;;
9397       esac
9398
9399       if test yes = "$GCC"; then
9400         case $host_os in aix4.[012]|aix4.[012].*)
9401         # We only want to do this on AIX 4.2 and lower, the check
9402         # below for broken collect2 doesn't work under 4.3+
9403           collect2name=`$CC -print-prog-name=collect2`
9404           if test -f "$collect2name" &&
9405            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9406           then
9407           # We have reworked collect2
9408           :
9409           else
9410           # We have old collect2
9411           hardcode_direct=unsupported
9412           # It fails to find uninstalled libraries when the uninstalled
9413           # path is not listed in the libpath.  Setting hardcode_minus_L
9414           # to unsupported forces relinking
9415           hardcode_minus_L=yes
9416           hardcode_libdir_flag_spec='-L$libdir'
9417           hardcode_libdir_separator=
9418           fi
9419           ;;
9420         esac
9421         shared_flag='-shared'
9422         if test yes = "$aix_use_runtimelinking"; then
9423           shared_flag="$shared_flag "'$wl-G'
9424         fi
9425         # Need to ensure runtime linking is disabled for the traditional
9426         # shared library, or the linker may eventually find shared libraries
9427         # /with/ Import File - we do not want to mix them.
9428         shared_flag_aix='-shared'
9429         shared_flag_svr4='-shared $wl-G'
9430       else
9431         # not using gcc
9432         if test ia64 = "$host_cpu"; then
9433         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9434         # chokes on -Wl,-G. The following line is correct:
9435           shared_flag='-G'
9436         else
9437           if test yes = "$aix_use_runtimelinking"; then
9438             shared_flag='$wl-G'
9439           else
9440             shared_flag='$wl-bM:SRE'
9441           fi
9442           shared_flag_aix='$wl-bM:SRE'
9443           shared_flag_svr4='$wl-G'
9444         fi
9445       fi
9446
9447       export_dynamic_flag_spec='$wl-bexpall'
9448       # It seems that -bexpall does not export symbols beginning with
9449       # underscore (_), so it is better to generate a list of symbols to export.
9450       always_export_symbols=yes
9451       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9452         # Warning - without using the other runtime loading flags (-brtl),
9453         # -berok will link without error, but may produce a broken library.
9454         allow_undefined_flag='-berok'
9455         # Determine the default libpath from the value encoded in an
9456         # empty executable.
9457         if test set = "${lt_cv_aix_libpath+set}"; then
9458   aix_libpath=$lt_cv_aix_libpath
9459 else
9460   if ${lt_cv_aix_libpath_+:} false; then :
9461   $as_echo_n "(cached) " >&6
9462 else
9463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h.  */
9465
9466 int
9467 main ()
9468 {
9469
9470   ;
9471   return 0;
9472 }
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475
9476   lt_aix_libpath_sed='
9477       /Import File Strings/,/^$/ {
9478           /^0/ {
9479               s/^0  *\([^ ]*\) *$/\1/
9480               p
9481           }
9482       }'
9483   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9484   # Check for a 64-bit object if we didn't find anything.
9485   if test -z "$lt_cv_aix_libpath_"; then
9486     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9487   fi
9488 fi
9489 rm -f core conftest.err conftest.$ac_objext \
9490     conftest$ac_exeext conftest.$ac_ext
9491   if test -z "$lt_cv_aix_libpath_"; then
9492     lt_cv_aix_libpath_=/usr/lib:/lib
9493   fi
9494
9495 fi
9496
9497   aix_libpath=$lt_cv_aix_libpath_
9498 fi
9499
9500         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9501         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9502       else
9503         if test ia64 = "$host_cpu"; then
9504           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9505           allow_undefined_flag="-z nodefs"
9506           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"
9507         else
9508          # Determine the default libpath from the value encoded in an
9509          # empty executable.
9510          if test set = "${lt_cv_aix_libpath+set}"; then
9511   aix_libpath=$lt_cv_aix_libpath
9512 else
9513   if ${lt_cv_aix_libpath_+:} false; then :
9514   $as_echo_n "(cached) " >&6
9515 else
9516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h.  */
9518
9519 int
9520 main ()
9521 {
9522
9523   ;
9524   return 0;
9525 }
9526 _ACEOF
9527 if ac_fn_c_try_link "$LINENO"; then :
9528
9529   lt_aix_libpath_sed='
9530       /Import File Strings/,/^$/ {
9531           /^0/ {
9532               s/^0  *\([^ ]*\) *$/\1/
9533               p
9534           }
9535       }'
9536   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537   # Check for a 64-bit object if we didn't find anything.
9538   if test -z "$lt_cv_aix_libpath_"; then
9539     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9540   fi
9541 fi
9542 rm -f core conftest.err conftest.$ac_objext \
9543     conftest$ac_exeext conftest.$ac_ext
9544   if test -z "$lt_cv_aix_libpath_"; then
9545     lt_cv_aix_libpath_=/usr/lib:/lib
9546   fi
9547
9548 fi
9549
9550   aix_libpath=$lt_cv_aix_libpath_
9551 fi
9552
9553          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9554           # Warning - without using the other run time loading flags,
9555           # -berok will link without error, but may produce a broken library.
9556           no_undefined_flag=' $wl-bernotok'
9557           allow_undefined_flag=' $wl-berok'
9558           if test yes = "$with_gnu_ld"; then
9559             # We only use this code for GNU lds that support --whole-archive.
9560             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9561           else
9562             # Exported symbols can be pulled into shared objects from archives
9563             whole_archive_flag_spec='$convenience'
9564           fi
9565           archive_cmds_need_lc=yes
9566           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9567           # -brtl affects multiple linker settings, -berok does not and is overridden later
9568           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9569           if test svr4 != "$with_aix_soname"; then
9570             # This is similar to how AIX traditionally builds its shared libraries.
9571             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9572           fi
9573           if test aix != "$with_aix_soname"; then
9574             archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9575           else
9576             # used by -dlpreopen to get the symbols
9577             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9578           fi
9579           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9580         fi
9581       fi
9582       ;;
9583
9584     amigaos*)
9585       case $host_cpu in
9586       powerpc)
9587             # see comment about AmigaOS4 .so support
9588             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9589             archive_expsym_cmds=''
9590         ;;
9591       m68k)
9592             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)'
9593             hardcode_libdir_flag_spec='-L$libdir'
9594             hardcode_minus_L=yes
9595         ;;
9596       esac
9597       ;;
9598
9599     bsdi[45]*)
9600       export_dynamic_flag_spec=-rdynamic
9601       ;;
9602
9603     cygwin* | mingw* | pw32* | cegcc*)
9604       # When not using gcc, we currently assume that we are using
9605       # Microsoft Visual C++.
9606       # hardcode_libdir_flag_spec is actually meaningless, as there is
9607       # no search path for DLLs.
9608       case $cc_basename in
9609       cl*)
9610         # Native MSVC
9611         hardcode_libdir_flag_spec=' '
9612         allow_undefined_flag=unsupported
9613         always_export_symbols=yes
9614         file_list_spec='@'
9615         # Tell ltmain to make .lib files, not .a files.
9616         libext=lib
9617         # Tell ltmain to make .dll files, not .so files.
9618         shrext_cmds=.dll
9619         # FIXME: Setting linknames here is a bad hack.
9620         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9621         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9622             cp "$export_symbols" "$output_objdir/$soname.def";
9623             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9624           else
9625             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9626           fi~
9627           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9628           linknames='
9629         # The linker will not automatically build a static lib if we build a DLL.
9630         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9631         enable_shared_with_static_runtimes=yes
9632         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9633         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9634         # Don't use ranlib
9635         old_postinstall_cmds='chmod 644 $oldlib'
9636         postlink_cmds='lt_outputfile="@OUTPUT@"~
9637           lt_tool_outputfile="@TOOL_OUTPUT@"~
9638           case $lt_outputfile in
9639             *.exe|*.EXE) ;;
9640             *)
9641               lt_outputfile=$lt_outputfile.exe
9642               lt_tool_outputfile=$lt_tool_outputfile.exe
9643               ;;
9644           esac~
9645           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9646             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9647             $RM "$lt_outputfile.manifest";
9648           fi'
9649         ;;
9650       *)
9651         # Assume MSVC wrapper
9652         hardcode_libdir_flag_spec=' '
9653         allow_undefined_flag=unsupported
9654         # Tell ltmain to make .lib files, not .a files.
9655         libext=lib
9656         # Tell ltmain to make .dll files, not .so files.
9657         shrext_cmds=.dll
9658         # FIXME: Setting linknames here is a bad hack.
9659         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9660         # The linker will automatically build a .lib file if we build a DLL.
9661         old_archive_from_new_cmds='true'
9662         # FIXME: Should let the user specify the lib program.
9663         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9664         enable_shared_with_static_runtimes=yes
9665         ;;
9666       esac
9667       ;;
9668
9669     darwin* | rhapsody*)
9670
9671
9672   archive_cmds_need_lc=no
9673   hardcode_direct=no
9674   hardcode_automatic=yes
9675   hardcode_shlibpath_var=unsupported
9676   if test yes = "$lt_cv_ld_force_load"; then
9677     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\"`'
9678
9679   else
9680     whole_archive_flag_spec=''
9681   fi
9682   link_all_deplibs=yes
9683   allow_undefined_flag=$_lt_dar_allow_undefined
9684   case $cc_basename in
9685      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9686      *) _lt_dar_can_shared=$GCC ;;
9687   esac
9688   if test yes = "$_lt_dar_can_shared"; then
9689     output_verbose_link_cmd=func_echo_all
9690     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9691     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9692     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"
9693     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"
9694
9695   else
9696   ld_shlibs=no
9697   fi
9698
9699       ;;
9700
9701     dgux*)
9702       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9703       hardcode_libdir_flag_spec='-L$libdir'
9704       hardcode_shlibpath_var=no
9705       ;;
9706
9707     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9708     # support.  Future versions do this automatically, but an explicit c++rt0.o
9709     # does not break anything, and helps significantly (at the cost of a little
9710     # extra space).
9711     freebsd2.2*)
9712       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9713       hardcode_libdir_flag_spec='-R$libdir'
9714       hardcode_direct=yes
9715       hardcode_shlibpath_var=no
9716       ;;
9717
9718     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9719     freebsd2.*)
9720       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9721       hardcode_direct=yes
9722       hardcode_minus_L=yes
9723       hardcode_shlibpath_var=no
9724       ;;
9725
9726     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9727     freebsd* | dragonfly*)
9728       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9729       hardcode_libdir_flag_spec='-R$libdir'
9730       hardcode_direct=yes
9731       hardcode_shlibpath_var=no
9732       ;;
9733
9734     hpux9*)
9735       if test yes = "$GCC"; then
9736         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9737       else
9738         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9739       fi
9740       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9741       hardcode_libdir_separator=:
9742       hardcode_direct=yes
9743
9744       # hardcode_minus_L: Not really in the search PATH,
9745       # but as the default location of the library.
9746       hardcode_minus_L=yes
9747       export_dynamic_flag_spec='$wl-E'
9748       ;;
9749
9750     hpux10*)
9751       if test yes,no = "$GCC,$with_gnu_ld"; then
9752         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9753       else
9754         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9755       fi
9756       if test no = "$with_gnu_ld"; then
9757         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9758         hardcode_libdir_separator=:
9759         hardcode_direct=yes
9760         hardcode_direct_absolute=yes
9761         export_dynamic_flag_spec='$wl-E'
9762         # hardcode_minus_L: Not really in the search PATH,
9763         # but as the default location of the library.
9764         hardcode_minus_L=yes
9765       fi
9766       ;;
9767
9768     hpux11*)
9769       if test yes,no = "$GCC,$with_gnu_ld"; then
9770         case $host_cpu in
9771         hppa*64*)
9772           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9773           ;;
9774         ia64*)
9775           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9776           ;;
9777         *)
9778           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9779           ;;
9780         esac
9781       else
9782         case $host_cpu in
9783         hppa*64*)
9784           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9785           ;;
9786         ia64*)
9787           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788           ;;
9789         *)
9790
9791           # Older versions of the 11.00 compiler do not understand -b yet
9792           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9793           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9794 $as_echo_n "checking if $CC understands -b... " >&6; }
9795 if ${lt_cv_prog_compiler__b+:} false; then :
9796   $as_echo_n "(cached) " >&6
9797 else
9798   lt_cv_prog_compiler__b=no
9799    save_LDFLAGS=$LDFLAGS
9800    LDFLAGS="$LDFLAGS -b"
9801    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9802    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9803      # The linker can only warn and ignore the option if not recognized
9804      # So say no if there are warnings
9805      if test -s conftest.err; then
9806        # Append any errors to the config.log.
9807        cat conftest.err 1>&5
9808        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9809        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9810        if diff conftest.exp conftest.er2 >/dev/null; then
9811          lt_cv_prog_compiler__b=yes
9812        fi
9813      else
9814        lt_cv_prog_compiler__b=yes
9815      fi
9816    fi
9817    $RM -r conftest*
9818    LDFLAGS=$save_LDFLAGS
9819
9820 fi
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9822 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9823
9824 if test yes = "$lt_cv_prog_compiler__b"; then
9825     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9826 else
9827     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9828 fi
9829
9830           ;;
9831         esac
9832       fi
9833       if test no = "$with_gnu_ld"; then
9834         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9835         hardcode_libdir_separator=:
9836
9837         case $host_cpu in
9838         hppa*64*|ia64*)
9839           hardcode_direct=no
9840           hardcode_shlibpath_var=no
9841           ;;
9842         *)
9843           hardcode_direct=yes
9844           hardcode_direct_absolute=yes
9845           export_dynamic_flag_spec='$wl-E'
9846
9847           # hardcode_minus_L: Not really in the search PATH,
9848           # but as the default location of the library.
9849           hardcode_minus_L=yes
9850           ;;
9851         esac
9852       fi
9853       ;;
9854
9855     irix5* | irix6* | nonstopux*)
9856       if test yes = "$GCC"; then
9857         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'
9858         # Try to use the -exported_symbol ld option, if it does not
9859         # work, assume that -exports_file does not work either and
9860         # implicitly export all symbols.
9861         # This should be the same for all languages, so no per-tag cache variable.
9862         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9863 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9864 if ${lt_cv_irix_exported_symbol+:} false; then :
9865   $as_echo_n "(cached) " >&6
9866 else
9867   save_LDFLAGS=$LDFLAGS
9868            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9869            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h.  */
9871 int foo (void) { return 0; }
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874   lt_cv_irix_exported_symbol=yes
9875 else
9876   lt_cv_irix_exported_symbol=no
9877 fi
9878 rm -f core conftest.err conftest.$ac_objext \
9879     conftest$ac_exeext conftest.$ac_ext
9880            LDFLAGS=$save_LDFLAGS
9881 fi
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9883 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9884         if test yes = "$lt_cv_irix_exported_symbol"; then
9885           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'
9886         fi
9887         link_all_deplibs=no
9888       else
9889         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'
9890         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'
9891       fi
9892       archive_cmds_need_lc='no'
9893       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9894       hardcode_libdir_separator=:
9895       inherit_rpath=yes
9896       link_all_deplibs=yes
9897       ;;
9898
9899     linux*)
9900       case $cc_basename in
9901       tcc*)
9902         # Fabrice Bellard et al's Tiny C Compiler
9903         ld_shlibs=yes
9904         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9905         ;;
9906       esac
9907       ;;
9908
9909     netbsd* | netbsdelf*-gnu)
9910       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9911         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9912       else
9913         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9914       fi
9915       hardcode_libdir_flag_spec='-R$libdir'
9916       hardcode_direct=yes
9917       hardcode_shlibpath_var=no
9918       ;;
9919
9920     newsos6)
9921       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9922       hardcode_direct=yes
9923       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9924       hardcode_libdir_separator=:
9925       hardcode_shlibpath_var=no
9926       ;;
9927
9928     *nto* | *qnx*)
9929       ;;
9930
9931     openbsd* | bitrig*)
9932       if test -f /usr/libexec/ld.so; then
9933         hardcode_direct=yes
9934         hardcode_shlibpath_var=no
9935         hardcode_direct_absolute=yes
9936         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9937           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9938           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9939           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9940           export_dynamic_flag_spec='$wl-E'
9941         else
9942           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9943           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9944         fi
9945       else
9946         ld_shlibs=no
9947       fi
9948       ;;
9949
9950     os2*)
9951       hardcode_libdir_flag_spec='-L$libdir'
9952       hardcode_minus_L=yes
9953       allow_undefined_flag=unsupported
9954       shrext_cmds=.dll
9955       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9956         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9957         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9958         $ECHO EXPORTS >> $output_objdir/$libname.def~
9959         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9960         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9961         emximp -o $lib $output_objdir/$libname.def'
9962       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9963         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9964         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9965         $ECHO EXPORTS >> $output_objdir/$libname.def~
9966         prefix_cmds="$SED"~
9967         if test EXPORTS = "`$SED 1q $export_symbols`"; then
9968           prefix_cmds="$prefix_cmds -e 1d";
9969         fi~
9970         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9971         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9972         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9973         emximp -o $lib $output_objdir/$libname.def'
9974       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9975       enable_shared_with_static_runtimes=yes
9976       ;;
9977
9978     osf3*)
9979       if test yes = "$GCC"; then
9980         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9981         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'
9982       else
9983         allow_undefined_flag=' -expect_unresolved \*'
9984         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'
9985       fi
9986       archive_cmds_need_lc='no'
9987       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9988       hardcode_libdir_separator=:
9989       ;;
9990
9991     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9992       if test yes = "$GCC"; then
9993         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9994         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'
9995         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9996       else
9997         allow_undefined_flag=' -expect_unresolved \*'
9998         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'
9999         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~
10000           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10001
10002         # Both c and cxx compiler support -rpath directly
10003         hardcode_libdir_flag_spec='-rpath $libdir'
10004       fi
10005       archive_cmds_need_lc='no'
10006       hardcode_libdir_separator=:
10007       ;;
10008
10009     solaris*)
10010       no_undefined_flag=' -z defs'
10011       if test yes = "$GCC"; then
10012         wlarc='$wl'
10013         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10014         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10015           $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'
10016       else
10017         case `$CC -V 2>&1` in
10018         *"Compilers 5.0"*)
10019           wlarc=''
10020           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10022             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10023           ;;
10024         *)
10025           wlarc='$wl'
10026           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10027           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10028             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10029           ;;
10030         esac
10031       fi
10032       hardcode_libdir_flag_spec='-R$libdir'
10033       hardcode_shlibpath_var=no
10034       case $host_os in
10035       solaris2.[0-5] | solaris2.[0-5].*) ;;
10036       *)
10037         # The compiler driver will combine and reorder linker options,
10038         # but understands '-z linker_flag'.  GCC discards it without '$wl',
10039         # but is careful enough not to reorder.
10040         # Supported since Solaris 2.6 (maybe 2.5.1?)
10041         if test yes = "$GCC"; then
10042           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10043         else
10044           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10045         fi
10046         ;;
10047       esac
10048       link_all_deplibs=yes
10049       ;;
10050
10051     sunos4*)
10052       if test sequent = "$host_vendor"; then
10053         # Use $CC to link under sequent, because it throws in some extra .o
10054         # files that make .init and .fini sections work.
10055         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10056       else
10057         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10058       fi
10059       hardcode_libdir_flag_spec='-L$libdir'
10060       hardcode_direct=yes
10061       hardcode_minus_L=yes
10062       hardcode_shlibpath_var=no
10063       ;;
10064
10065     sysv4)
10066       case $host_vendor in
10067         sni)
10068           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10069           hardcode_direct=yes # is this really true???
10070         ;;
10071         siemens)
10072           ## LD is ld it makes a PLAMLIB
10073           ## CC just makes a GrossModule.
10074           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10075           reload_cmds='$CC -r -o $output$reload_objs'
10076           hardcode_direct=no
10077         ;;
10078         motorola)
10079           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10081         ;;
10082       esac
10083       runpath_var='LD_RUN_PATH'
10084       hardcode_shlibpath_var=no
10085       ;;
10086
10087     sysv4.3*)
10088       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10089       hardcode_shlibpath_var=no
10090       export_dynamic_flag_spec='-Bexport'
10091       ;;
10092
10093     sysv4*MP*)
10094       if test -d /usr/nec; then
10095         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10096         hardcode_shlibpath_var=no
10097         runpath_var=LD_RUN_PATH
10098         hardcode_runpath_var=yes
10099         ld_shlibs=yes
10100       fi
10101       ;;
10102
10103     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10104       no_undefined_flag='$wl-z,text'
10105       archive_cmds_need_lc=no
10106       hardcode_shlibpath_var=no
10107       runpath_var='LD_RUN_PATH'
10108
10109       if test yes = "$GCC"; then
10110         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112       else
10113         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115       fi
10116       ;;
10117
10118     sysv5* | sco3.2v5* | sco5v6*)
10119       # Note: We CANNOT use -z defs as we might desire, because we do not
10120       # link with -lc, and that would cause any symbols used from libc to
10121       # always be unresolved, which means just about no library would
10122       # ever link correctly.  If we're not using GNU ld we use -z text
10123       # though, which does catch some bad symbols but isn't as heavy-handed
10124       # as -z defs.
10125       no_undefined_flag='$wl-z,text'
10126       allow_undefined_flag='$wl-z,nodefs'
10127       archive_cmds_need_lc=no
10128       hardcode_shlibpath_var=no
10129       hardcode_libdir_flag_spec='$wl-R,$libdir'
10130       hardcode_libdir_separator=':'
10131       link_all_deplibs=yes
10132       export_dynamic_flag_spec='$wl-Bexport'
10133       runpath_var='LD_RUN_PATH'
10134
10135       if test yes = "$GCC"; then
10136         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10138       else
10139         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10140         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10141       fi
10142       ;;
10143
10144     uts4*)
10145       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10146       hardcode_libdir_flag_spec='-L$libdir'
10147       hardcode_shlibpath_var=no
10148       ;;
10149
10150     *)
10151       ld_shlibs=no
10152       ;;
10153     esac
10154
10155     if test sni = "$host_vendor"; then
10156       case $host in
10157       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10158         export_dynamic_flag_spec='$wl-Blargedynsym'
10159         ;;
10160       esac
10161     fi
10162   fi
10163
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10165 $as_echo "$ld_shlibs" >&6; }
10166 test no = "$ld_shlibs" && can_build_shared=no
10167
10168 with_gnu_ld=$with_gnu_ld
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184 #
10185 # Do we need to explicitly link libc?
10186 #
10187 case "x$archive_cmds_need_lc" in
10188 x|xyes)
10189   # Assume -lc should be added
10190   archive_cmds_need_lc=yes
10191
10192   if test yes,yes = "$GCC,$enable_shared"; then
10193     case $archive_cmds in
10194     *'~'*)
10195       # FIXME: we may have to deal with multi-command sequences.
10196       ;;
10197     '$CC '*)
10198       # Test whether the compiler implicitly links with -lc since on some
10199       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10200       # to ld, don't add -lc before -lgcc.
10201       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10202 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10203 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10204   $as_echo_n "(cached) " >&6
10205 else
10206   $RM conftest*
10207         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10208
10209         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10210   (eval $ac_compile) 2>&5
10211   ac_status=$?
10212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10213   test $ac_status = 0; } 2>conftest.err; then
10214           soname=conftest
10215           lib=conftest
10216           libobjs=conftest.$ac_objext
10217           deplibs=
10218           wl=$lt_prog_compiler_wl
10219           pic_flag=$lt_prog_compiler_pic
10220           compiler_flags=-v
10221           linker_flags=-v
10222           verstring=
10223           output_objdir=.
10224           libname=conftest
10225           lt_save_allow_undefined_flag=$allow_undefined_flag
10226           allow_undefined_flag=
10227           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10228   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10229   ac_status=$?
10230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10231   test $ac_status = 0; }
10232           then
10233             lt_cv_archive_cmds_need_lc=no
10234           else
10235             lt_cv_archive_cmds_need_lc=yes
10236           fi
10237           allow_undefined_flag=$lt_save_allow_undefined_flag
10238         else
10239           cat conftest.err 1>&5
10240         fi
10241         $RM conftest*
10242
10243 fi
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10245 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10246       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10247       ;;
10248     esac
10249   fi
10250   ;;
10251 esac
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10405 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10406
10407 if test yes = "$GCC"; then
10408   case $host_os in
10409     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10410     *) lt_awk_arg='/^libraries:/' ;;
10411   esac
10412   case $host_os in
10413     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10414     *) lt_sed_strip_eq='s|=/|/|g' ;;
10415   esac
10416   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10417   case $lt_search_path_spec in
10418   *\;*)
10419     # if the path contains ";" then we assume it to be the separator
10420     # otherwise default to the standard path separator (i.e. ":") - it is
10421     # assumed that no part of a normal pathname contains ";" but that should
10422     # okay in the real world where ";" in dirpaths is itself problematic.
10423     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10424     ;;
10425   *)
10426     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10427     ;;
10428   esac
10429   # Ok, now we have the path, separated by spaces, we can step through it
10430   # and add multilib dir if necessary...
10431   lt_tmp_lt_search_path_spec=
10432   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10433   # ...but if some path component already ends with the multilib dir we assume
10434   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10435   case "$lt_multi_os_dir; $lt_search_path_spec " in
10436   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10437     lt_multi_os_dir=
10438     ;;
10439   esac
10440   for lt_sys_path in $lt_search_path_spec; do
10441     if test -d "$lt_sys_path$lt_multi_os_dir"; then
10442       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10443     elif test -n "$lt_multi_os_dir"; then
10444       test -d "$lt_sys_path" && \
10445         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10446     fi
10447   done
10448   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10449 BEGIN {RS = " "; FS = "/|\n";} {
10450   lt_foo = "";
10451   lt_count = 0;
10452   for (lt_i = NF; lt_i > 0; lt_i--) {
10453     if ($lt_i != "" && $lt_i != ".") {
10454       if ($lt_i == "..") {
10455         lt_count++;
10456       } else {
10457         if (lt_count == 0) {
10458           lt_foo = "/" $lt_i lt_foo;
10459         } else {
10460           lt_count--;
10461         }
10462       }
10463     }
10464   }
10465   if (lt_foo != "") { lt_freq[lt_foo]++; }
10466   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10467 }'`
10468   # AWK program above erroneously prepends '/' to C:/dos/paths
10469   # for these hosts.
10470   case $host_os in
10471     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10472       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10473   esac
10474   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10475 else
10476   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10477 fi
10478 library_names_spec=
10479 libname_spec='lib$name'
10480 soname_spec=
10481 shrext_cmds=.so
10482 postinstall_cmds=
10483 postuninstall_cmds=
10484 finish_cmds=
10485 finish_eval=
10486 shlibpath_var=
10487 shlibpath_overrides_runpath=unknown
10488 version_type=none
10489 dynamic_linker="$host_os ld.so"
10490 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10491 need_lib_prefix=unknown
10492 hardcode_into_libs=no
10493
10494 # when you set need_version to no, make sure it does not cause -set_version
10495 # flags to be left without arguments
10496 need_version=unknown
10497
10498
10499
10500 case $host_os in
10501 aix3*)
10502   version_type=linux # correct to gnu/linux during the next big refactor
10503   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10504   shlibpath_var=LIBPATH
10505
10506   # AIX 3 has no versioning support, so we append a major version to the name.
10507   soname_spec='$libname$release$shared_ext$major'
10508   ;;
10509
10510 aix[4-9]*)
10511   version_type=linux # correct to gnu/linux during the next big refactor
10512   need_lib_prefix=no
10513   need_version=no
10514   hardcode_into_libs=yes
10515   if test ia64 = "$host_cpu"; then
10516     # AIX 5 supports IA64
10517     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10518     shlibpath_var=LD_LIBRARY_PATH
10519   else
10520     # With GCC up to 2.95.x, collect2 would create an import file
10521     # for dependence libraries.  The import file would start with
10522     # the line '#! .'.  This would cause the generated library to
10523     # depend on '.', always an invalid library.  This was fixed in
10524     # development snapshots of GCC prior to 3.0.
10525     case $host_os in
10526       aix4 | aix4.[01] | aix4.[01].*)
10527       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10528            echo ' yes '
10529            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10530         :
10531       else
10532         can_build_shared=no
10533       fi
10534       ;;
10535     esac
10536     # Using Import Files as archive members, it is possible to support
10537     # filename-based versioning of shared library archives on AIX. While
10538     # this would work for both with and without runtime linking, it will
10539     # prevent static linking of such archives. So we do filename-based
10540     # shared library versioning with .so extension only, which is used
10541     # when both runtime linking and shared linking is enabled.
10542     # Unfortunately, runtime linking may impact performance, so we do
10543     # not want this to be the default eventually. Also, we use the
10544     # versioned .so libs for executables only if there is the -brtl
10545     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10546     # To allow for filename-based versioning support, we need to create
10547     # libNAME.so.V as an archive file, containing:
10548     # *) an Import File, referring to the versioned filename of the
10549     #    archive as well as the shared archive member, telling the
10550     #    bitwidth (32 or 64) of that shared object, and providing the
10551     #    list of exported symbols of that shared object, eventually
10552     #    decorated with the 'weak' keyword
10553     # *) the shared object with the F_LOADONLY flag set, to really avoid
10554     #    it being seen by the linker.
10555     # At run time we better use the real file rather than another symlink,
10556     # but for link time we create the symlink libNAME.so -> libNAME.so.V
10557
10558     case $with_aix_soname,$aix_use_runtimelinking in
10559     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10560     # soname into executable. Probably we can add versioning support to
10561     # collect2, so additional links can be useful in future.
10562     aix,yes) # traditional libtool
10563       dynamic_linker='AIX unversionable lib.so'
10564       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10565       # instead of lib<name>.a to let people know that these are not
10566       # typical AIX shared libraries.
10567       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10568       ;;
10569     aix,no) # traditional AIX only
10570       dynamic_linker='AIX lib.a(lib.so.V)'
10571       # We preserve .a as extension for shared libraries through AIX4.2
10572       # and later when we are not doing run time linking.
10573       library_names_spec='$libname$release.a $libname.a'
10574       soname_spec='$libname$release$shared_ext$major'
10575       ;;
10576     svr4,*) # full svr4 only
10577       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10578       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10579       # We do not specify a path in Import Files, so LIBPATH fires.
10580       shlibpath_overrides_runpath=yes
10581       ;;
10582     *,yes) # both, prefer svr4
10583       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10584       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10585       # unpreferred sharedlib libNAME.a needs extra handling
10586       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10587       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10588       # We do not specify a path in Import Files, so LIBPATH fires.
10589       shlibpath_overrides_runpath=yes
10590       ;;
10591     *,no) # both, prefer aix
10592       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10593       library_names_spec='$libname$release.a $libname.a'
10594       soname_spec='$libname$release$shared_ext$major'
10595       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10596       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10597       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10598       ;;
10599     esac
10600     shlibpath_var=LIBPATH
10601   fi
10602   ;;
10603
10604 amigaos*)
10605   case $host_cpu in
10606   powerpc)
10607     # Since July 2007 AmigaOS4 officially supports .so libraries.
10608     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10609     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10610     ;;
10611   m68k)
10612     library_names_spec='$libname.ixlibrary $libname.a'
10613     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10614     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
10615     ;;
10616   esac
10617   ;;
10618
10619 beos*)
10620   library_names_spec='$libname$shared_ext'
10621   dynamic_linker="$host_os ld.so"
10622   shlibpath_var=LIBRARY_PATH
10623   ;;
10624
10625 bsdi[45]*)
10626   version_type=linux # correct to gnu/linux during the next big refactor
10627   need_version=no
10628   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10629   soname_spec='$libname$release$shared_ext$major'
10630   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10631   shlibpath_var=LD_LIBRARY_PATH
10632   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10633   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10634   # the default ld.so.conf also contains /usr/contrib/lib and
10635   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10636   # libtool to hard-code these into programs
10637   ;;
10638
10639 cygwin* | mingw* | pw32* | cegcc*)
10640   version_type=windows
10641   shrext_cmds=.dll
10642   need_version=no
10643   need_lib_prefix=no
10644
10645   case $GCC,$cc_basename in
10646   yes,*)
10647     # gcc
10648     library_names_spec='$libname.dll.a'
10649     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10650     postinstall_cmds='base_file=`basename \$file`~
10651       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10652       dldir=$destdir/`dirname \$dlpath`~
10653       test -d \$dldir || mkdir -p \$dldir~
10654       $install_prog $dir/$dlname \$dldir/$dlname~
10655       chmod a+x \$dldir/$dlname~
10656       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10657         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10658       fi'
10659     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10660       dlpath=$dir/\$dldll~
10661        $RM \$dlpath'
10662     shlibpath_overrides_runpath=yes
10663
10664     case $host_os in
10665     cygwin*)
10666       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10667       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10668
10669       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10670       ;;
10671     mingw* | cegcc*)
10672       # MinGW DLLs use traditional 'lib' prefix
10673       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10674       ;;
10675     pw32*)
10676       # pw32 DLLs use 'pw' prefix rather than 'lib'
10677       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10678       ;;
10679     esac
10680     dynamic_linker='Win32 ld.exe'
10681     ;;
10682
10683   *,cl*)
10684     # Native MSVC
10685     libname_spec='$name'
10686     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10687     library_names_spec='$libname.dll.lib'
10688
10689     case $build_os in
10690     mingw*)
10691       sys_lib_search_path_spec=
10692       lt_save_ifs=$IFS
10693       IFS=';'
10694       for lt_path in $LIB
10695       do
10696         IFS=$lt_save_ifs
10697         # Let DOS variable expansion print the short 8.3 style file name.
10698         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10699         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10700       done
10701       IFS=$lt_save_ifs
10702       # Convert to MSYS style.
10703       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10704       ;;
10705     cygwin*)
10706       # Convert to unix form, then to dos form, then back to unix form
10707       # but this time dos style (no spaces!) so that the unix form looks
10708       # like /cygdrive/c/PROGRA~1:/cygdr...
10709       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10710       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10711       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10712       ;;
10713     *)
10714       sys_lib_search_path_spec=$LIB
10715       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10716         # It is most probably a Windows format PATH.
10717         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10718       else
10719         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10720       fi
10721       # FIXME: find the short name or the path components, as spaces are
10722       # common. (e.g. "Program Files" -> "PROGRA~1")
10723       ;;
10724     esac
10725
10726     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10727     postinstall_cmds='base_file=`basename \$file`~
10728       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10729       dldir=$destdir/`dirname \$dlpath`~
10730       test -d \$dldir || mkdir -p \$dldir~
10731       $install_prog $dir/$dlname \$dldir/$dlname'
10732     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10733       dlpath=$dir/\$dldll~
10734        $RM \$dlpath'
10735     shlibpath_overrides_runpath=yes
10736     dynamic_linker='Win32 link.exe'
10737     ;;
10738
10739   *)
10740     # Assume MSVC wrapper
10741     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10742     dynamic_linker='Win32 ld.exe'
10743     ;;
10744   esac
10745   # FIXME: first we should search . and the directory the executable is in
10746   shlibpath_var=PATH
10747   ;;
10748
10749 darwin* | rhapsody*)
10750   dynamic_linker="$host_os dyld"
10751   version_type=darwin
10752   need_lib_prefix=no
10753   need_version=no
10754   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10755   soname_spec='$libname$release$major$shared_ext'
10756   shlibpath_overrides_runpath=yes
10757   shlibpath_var=DYLD_LIBRARY_PATH
10758   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10759
10760   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10761   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10762   ;;
10763
10764 dgux*)
10765   version_type=linux # correct to gnu/linux during the next big refactor
10766   need_lib_prefix=no
10767   need_version=no
10768   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10769   soname_spec='$libname$release$shared_ext$major'
10770   shlibpath_var=LD_LIBRARY_PATH
10771   ;;
10772
10773 freebsd* | dragonfly*)
10774   # DragonFly does not have aout.  When/if they implement a new
10775   # versioning mechanism, adjust this.
10776   if test -x /usr/bin/objformat; then
10777     objformat=`/usr/bin/objformat`
10778   else
10779     case $host_os in
10780     freebsd[23].*) objformat=aout ;;
10781     *) objformat=elf ;;
10782     esac
10783   fi
10784   version_type=freebsd-$objformat
10785   case $version_type in
10786     freebsd-elf*)
10787       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10788       soname_spec='$libname$release$shared_ext$major'
10789       need_version=no
10790       need_lib_prefix=no
10791       ;;
10792     freebsd-*)
10793       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10794       need_version=yes
10795       ;;
10796   esac
10797   shlibpath_var=LD_LIBRARY_PATH
10798   case $host_os in
10799   freebsd2.*)
10800     shlibpath_overrides_runpath=yes
10801     ;;
10802   freebsd3.[01]* | freebsdelf3.[01]*)
10803     shlibpath_overrides_runpath=yes
10804     hardcode_into_libs=yes
10805     ;;
10806   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10807   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10808     shlibpath_overrides_runpath=no
10809     hardcode_into_libs=yes
10810     ;;
10811   *) # from 4.6 on, and DragonFly
10812     shlibpath_overrides_runpath=yes
10813     hardcode_into_libs=yes
10814     ;;
10815   esac
10816   ;;
10817
10818 haiku*)
10819   version_type=linux # correct to gnu/linux during the next big refactor
10820   need_lib_prefix=no
10821   need_version=no
10822   dynamic_linker="$host_os runtime_loader"
10823   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10824   soname_spec='$libname$release$shared_ext$major'
10825   shlibpath_var=LIBRARY_PATH
10826   shlibpath_overrides_runpath=no
10827   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10828   hardcode_into_libs=yes
10829   ;;
10830
10831 hpux9* | hpux10* | hpux11*)
10832   # Give a soname corresponding to the major version so that dld.sl refuses to
10833   # link against other versions.
10834   version_type=sunos
10835   need_lib_prefix=no
10836   need_version=no
10837   case $host_cpu in
10838   ia64*)
10839     shrext_cmds='.so'
10840     hardcode_into_libs=yes
10841     dynamic_linker="$host_os dld.so"
10842     shlibpath_var=LD_LIBRARY_PATH
10843     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10844     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10845     soname_spec='$libname$release$shared_ext$major'
10846     if test 32 = "$HPUX_IA64_MODE"; then
10847       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10848       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10849     else
10850       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10851       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10852     fi
10853     ;;
10854   hppa*64*)
10855     shrext_cmds='.sl'
10856     hardcode_into_libs=yes
10857     dynamic_linker="$host_os dld.sl"
10858     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10859     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10860     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10861     soname_spec='$libname$release$shared_ext$major'
10862     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10863     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10864     ;;
10865   *)
10866     shrext_cmds='.sl'
10867     dynamic_linker="$host_os dld.sl"
10868     shlibpath_var=SHLIB_PATH
10869     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10870     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10871     soname_spec='$libname$release$shared_ext$major'
10872     ;;
10873   esac
10874   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10875   postinstall_cmds='chmod 555 $lib'
10876   # or fails outright, so override atomically:
10877   install_override_mode=555
10878   ;;
10879
10880 interix[3-9]*)
10881   version_type=linux # correct to gnu/linux during the next big refactor
10882   need_lib_prefix=no
10883   need_version=no
10884   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10885   soname_spec='$libname$release$shared_ext$major'
10886   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10887   shlibpath_var=LD_LIBRARY_PATH
10888   shlibpath_overrides_runpath=no
10889   hardcode_into_libs=yes
10890   ;;
10891
10892 irix5* | irix6* | nonstopux*)
10893   case $host_os in
10894     nonstopux*) version_type=nonstopux ;;
10895     *)
10896         if test yes = "$lt_cv_prog_gnu_ld"; then
10897                 version_type=linux # correct to gnu/linux during the next big refactor
10898         else
10899                 version_type=irix
10900         fi ;;
10901   esac
10902   need_lib_prefix=no
10903   need_version=no
10904   soname_spec='$libname$release$shared_ext$major'
10905   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10906   case $host_os in
10907   irix5* | nonstopux*)
10908     libsuff= shlibsuff=
10909     ;;
10910   *)
10911     case $LD in # libtool.m4 will add one of these switches to LD
10912     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10913       libsuff= shlibsuff= libmagic=32-bit;;
10914     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10915       libsuff=32 shlibsuff=N32 libmagic=N32;;
10916     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10917       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10918     *) libsuff= shlibsuff= libmagic=never-match;;
10919     esac
10920     ;;
10921   esac
10922   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10923   shlibpath_overrides_runpath=no
10924   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10925   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10926   hardcode_into_libs=yes
10927   ;;
10928
10929 # No shared lib support for Linux oldld, aout, or coff.
10930 linux*oldld* | linux*aout* | linux*coff*)
10931   dynamic_linker=no
10932   ;;
10933
10934 linux*android*)
10935   version_type=none # Android doesn't support versioned libraries.
10936   need_lib_prefix=no
10937   need_version=no
10938   library_names_spec='$libname$release$shared_ext'
10939   soname_spec='$libname$release$shared_ext'
10940   finish_cmds=
10941   shlibpath_var=LD_LIBRARY_PATH
10942   shlibpath_overrides_runpath=yes
10943
10944   # This implies no fast_install, which is unacceptable.
10945   # Some rework will be needed to allow for fast_install
10946   # before this can be enabled.
10947   hardcode_into_libs=yes
10948
10949   dynamic_linker='Android linker'
10950   # Don't embed -rpath directories since the linker doesn't support them.
10951   hardcode_libdir_flag_spec='-L$libdir'
10952   ;;
10953
10954 # This must be glibc/ELF.
10955 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10956   version_type=linux # correct to gnu/linux during the next big refactor
10957   need_lib_prefix=no
10958   need_version=no
10959   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10960   soname_spec='$libname$release$shared_ext$major'
10961   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10962   shlibpath_var=LD_LIBRARY_PATH
10963   shlibpath_overrides_runpath=no
10964
10965   # Some binutils ld are patched to set DT_RUNPATH
10966   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10967   $as_echo_n "(cached) " >&6
10968 else
10969   lt_cv_shlibpath_overrides_runpath=no
10970     save_LDFLAGS=$LDFLAGS
10971     save_libdir=$libdir
10972     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10973          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10974     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10975 /* end confdefs.h.  */
10976
10977 int
10978 main ()
10979 {
10980
10981   ;
10982   return 0;
10983 }
10984 _ACEOF
10985 if ac_fn_c_try_link "$LINENO"; then :
10986   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10987   lt_cv_shlibpath_overrides_runpath=yes
10988 fi
10989 fi
10990 rm -f core conftest.err conftest.$ac_objext \
10991     conftest$ac_exeext conftest.$ac_ext
10992     LDFLAGS=$save_LDFLAGS
10993     libdir=$save_libdir
10994
10995 fi
10996
10997   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10998
10999   # This implies no fast_install, which is unacceptable.
11000   # Some rework will be needed to allow for fast_install
11001   # before this can be enabled.
11002   hardcode_into_libs=yes
11003
11004   # Ideally, we could use ldconfig to report *all* directores which are
11005   # searched for libraries, however this is still not possible.  Aside from not
11006   # being certain /sbin/ldconfig is available, command
11007   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11008   # even though it is searched at run-time.  Try to do the best guess by
11009   # appending ld.so.conf contents (and includes) to the search path.
11010   if test -f /etc/ld.so.conf; then
11011     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' ' '`
11012     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11013   fi
11014
11015   # We used to test for /lib/ld.so.1 and disable shared libraries on
11016   # powerpc, because MkLinux only supported shared libraries with the
11017   # GNU dynamic linker.  Since this was broken with cross compilers,
11018   # most powerpc-linux boxes support dynamic linking these days and
11019   # people can always --disable-shared, the test was removed, and we
11020   # assume the GNU/Linux dynamic linker is in use.
11021   dynamic_linker='GNU/Linux ld.so'
11022   ;;
11023
11024 netbsdelf*-gnu)
11025   version_type=linux
11026   need_lib_prefix=no
11027   need_version=no
11028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11029   soname_spec='${libname}${release}${shared_ext}$major'
11030   shlibpath_var=LD_LIBRARY_PATH
11031   shlibpath_overrides_runpath=no
11032   hardcode_into_libs=yes
11033   dynamic_linker='NetBSD ld.elf_so'
11034   ;;
11035
11036 netbsd*)
11037   version_type=sunos
11038   need_lib_prefix=no
11039   need_version=no
11040   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11041     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11042     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11043     dynamic_linker='NetBSD (a.out) ld.so'
11044   else
11045     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11046     soname_spec='$libname$release$shared_ext$major'
11047     dynamic_linker='NetBSD ld.elf_so'
11048   fi
11049   shlibpath_var=LD_LIBRARY_PATH
11050   shlibpath_overrides_runpath=yes
11051   hardcode_into_libs=yes
11052   ;;
11053
11054 newsos6)
11055   version_type=linux # correct to gnu/linux during the next big refactor
11056   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11057   shlibpath_var=LD_LIBRARY_PATH
11058   shlibpath_overrides_runpath=yes
11059   ;;
11060
11061 *nto* | *qnx*)
11062   version_type=qnx
11063   need_lib_prefix=no
11064   need_version=no
11065   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11066   soname_spec='$libname$release$shared_ext$major'
11067   shlibpath_var=LD_LIBRARY_PATH
11068   shlibpath_overrides_runpath=no
11069   hardcode_into_libs=yes
11070   dynamic_linker='ldqnx.so'
11071   ;;
11072
11073 openbsd* | bitrig*)
11074   version_type=sunos
11075   sys_lib_dlsearch_path_spec=/usr/lib
11076   need_lib_prefix=no
11077   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11078     need_version=no
11079   else
11080     need_version=yes
11081   fi
11082   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11083   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11084   shlibpath_var=LD_LIBRARY_PATH
11085   shlibpath_overrides_runpath=yes
11086   ;;
11087
11088 os2*)
11089   libname_spec='$name'
11090   version_type=windows
11091   shrext_cmds=.dll
11092   need_version=no
11093   need_lib_prefix=no
11094   # OS/2 can only load a DLL with a base name of 8 characters or less.
11095   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11096     v=$($ECHO $release$versuffix | tr -d .-);
11097     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11098     $ECHO $n$v`$shared_ext'
11099   library_names_spec='${libname}_dll.$libext'
11100   dynamic_linker='OS/2 ld.exe'
11101   shlibpath_var=BEGINLIBPATH
11102   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11103   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11104   postinstall_cmds='base_file=`basename \$file`~
11105     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11106     dldir=$destdir/`dirname \$dlpath`~
11107     test -d \$dldir || mkdir -p \$dldir~
11108     $install_prog $dir/$dlname \$dldir/$dlname~
11109     chmod a+x \$dldir/$dlname~
11110     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11111       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11112     fi'
11113   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11114     dlpath=$dir/\$dldll~
11115     $RM \$dlpath'
11116   ;;
11117
11118 osf3* | osf4* | osf5*)
11119   version_type=osf
11120   need_lib_prefix=no
11121   need_version=no
11122   soname_spec='$libname$release$shared_ext$major'
11123   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11124   shlibpath_var=LD_LIBRARY_PATH
11125   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11126   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11127   ;;
11128
11129 rdos*)
11130   dynamic_linker=no
11131   ;;
11132
11133 solaris*)
11134   version_type=linux # correct to gnu/linux during the next big refactor
11135   need_lib_prefix=no
11136   need_version=no
11137   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11138   soname_spec='$libname$release$shared_ext$major'
11139   shlibpath_var=LD_LIBRARY_PATH
11140   shlibpath_overrides_runpath=yes
11141   hardcode_into_libs=yes
11142   # ldd complains unless libraries are executable
11143   postinstall_cmds='chmod +x $lib'
11144   ;;
11145
11146 sunos4*)
11147   version_type=sunos
11148   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11149   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11150   shlibpath_var=LD_LIBRARY_PATH
11151   shlibpath_overrides_runpath=yes
11152   if test yes = "$with_gnu_ld"; then
11153     need_lib_prefix=no
11154   fi
11155   need_version=yes
11156   ;;
11157
11158 sysv4 | sysv4.3*)
11159   version_type=linux # correct to gnu/linux during the next big refactor
11160   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11161   soname_spec='$libname$release$shared_ext$major'
11162   shlibpath_var=LD_LIBRARY_PATH
11163   case $host_vendor in
11164     sni)
11165       shlibpath_overrides_runpath=no
11166       need_lib_prefix=no
11167       runpath_var=LD_RUN_PATH
11168       ;;
11169     siemens)
11170       need_lib_prefix=no
11171       ;;
11172     motorola)
11173       need_lib_prefix=no
11174       need_version=no
11175       shlibpath_overrides_runpath=no
11176       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11177       ;;
11178   esac
11179   ;;
11180
11181 sysv4*MP*)
11182   if test -d /usr/nec; then
11183     version_type=linux # correct to gnu/linux during the next big refactor
11184     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11185     soname_spec='$libname$shared_ext.$major'
11186     shlibpath_var=LD_LIBRARY_PATH
11187   fi
11188   ;;
11189
11190 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11191   version_type=sco
11192   need_lib_prefix=no
11193   need_version=no
11194   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11195   soname_spec='$libname$release$shared_ext$major'
11196   shlibpath_var=LD_LIBRARY_PATH
11197   shlibpath_overrides_runpath=yes
11198   hardcode_into_libs=yes
11199   if test yes = "$with_gnu_ld"; then
11200     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11201   else
11202     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11203     case $host_os in
11204       sco3.2v5*)
11205         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11206         ;;
11207     esac
11208   fi
11209   sys_lib_dlsearch_path_spec='/usr/lib'
11210   ;;
11211
11212 tpf*)
11213   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11214   version_type=linux # correct to gnu/linux during the next big refactor
11215   need_lib_prefix=no
11216   need_version=no
11217   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11218   shlibpath_var=LD_LIBRARY_PATH
11219   shlibpath_overrides_runpath=no
11220   hardcode_into_libs=yes
11221   ;;
11222
11223 uts4*)
11224   version_type=linux # correct to gnu/linux during the next big refactor
11225   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11226   soname_spec='$libname$release$shared_ext$major'
11227   shlibpath_var=LD_LIBRARY_PATH
11228   ;;
11229
11230 *)
11231   dynamic_linker=no
11232   ;;
11233 esac
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11235 $as_echo "$dynamic_linker" >&6; }
11236 test no = "$dynamic_linker" && can_build_shared=no
11237
11238 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11239 if test yes = "$GCC"; then
11240   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11241 fi
11242
11243 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11244   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11245 fi
11246
11247 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11248   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11249 fi
11250
11251 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11252 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11253
11254 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11255 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11256
11257 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11258 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11357 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11358 hardcode_action=
11359 if test -n "$hardcode_libdir_flag_spec" ||
11360    test -n "$runpath_var" ||
11361    test yes = "$hardcode_automatic"; then
11362
11363   # We can hardcode non-existent directories.
11364   if test no != "$hardcode_direct" &&
11365      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11366      # have to relink, otherwise we might link with an installed library
11367      # when we should be linking with a yet-to-be-installed one
11368      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11369      test no != "$hardcode_minus_L"; then
11370     # Linking always hardcodes the temporary library directory.
11371     hardcode_action=relink
11372   else
11373     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11374     hardcode_action=immediate
11375   fi
11376 else
11377   # We cannot hardcode anything, or else we can only hardcode existing
11378   # directories.
11379   hardcode_action=unsupported
11380 fi
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11382 $as_echo "$hardcode_action" >&6; }
11383
11384 if test relink = "$hardcode_action" ||
11385    test yes = "$inherit_rpath"; then
11386   # Fast installation is not supported
11387   enable_fast_install=no
11388 elif test yes = "$shlibpath_overrides_runpath" ||
11389      test no = "$enable_shared"; then
11390   # Fast installation is not necessary
11391   enable_fast_install=needless
11392 fi
11393
11394
11395
11396
11397
11398
11399   if test yes != "$enable_dlopen"; then
11400   enable_dlopen=unknown
11401   enable_dlopen_self=unknown
11402   enable_dlopen_self_static=unknown
11403 else
11404   lt_cv_dlopen=no
11405   lt_cv_dlopen_libs=
11406
11407   case $host_os in
11408   beos*)
11409     lt_cv_dlopen=load_add_on
11410     lt_cv_dlopen_libs=
11411     lt_cv_dlopen_self=yes
11412     ;;
11413
11414   mingw* | pw32* | cegcc*)
11415     lt_cv_dlopen=LoadLibrary
11416     lt_cv_dlopen_libs=
11417     ;;
11418
11419   cygwin*)
11420     lt_cv_dlopen=dlopen
11421     lt_cv_dlopen_libs=
11422     ;;
11423
11424   darwin*)
11425     # if libdl is installed we need to link against it
11426     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if ${ac_cv_lib_dl_dlopen+:} false; then :
11429   $as_echo_n "(cached) " >&6
11430 else
11431   ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldl  $LIBS"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h.  */
11435
11436 /* Override any GCC internal prototype to avoid an error.
11437    Use char because int might match the return type of a GCC
11438    builtin and then its argument prototype would still apply.  */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char dlopen ();
11443 int
11444 main ()
11445 {
11446 return dlopen ();
11447   ;
11448   return 0;
11449 }
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452   ac_cv_lib_dl_dlopen=yes
11453 else
11454   ac_cv_lib_dl_dlopen=no
11455 fi
11456 rm -f core conftest.err conftest.$ac_objext \
11457     conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11459 fi
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11461 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11462 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11463   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11464 else
11465
11466     lt_cv_dlopen=dyld
11467     lt_cv_dlopen_libs=
11468     lt_cv_dlopen_self=yes
11469
11470 fi
11471
11472     ;;
11473
11474   tpf*)
11475     # Don't try to run any link tests for TPF.  We know it's impossible
11476     # because TPF is a cross-compiler, and we know how we open DSOs.
11477     lt_cv_dlopen=dlopen
11478     lt_cv_dlopen_libs=
11479     lt_cv_dlopen_self=no
11480     ;;
11481
11482   *)
11483     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11484 if test "x$ac_cv_func_shl_load" = xyes; then :
11485   lt_cv_dlopen=shl_load
11486 else
11487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11488 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11489 if ${ac_cv_lib_dld_shl_load+:} false; then :
11490   $as_echo_n "(cached) " >&6
11491 else
11492   ac_check_lib_save_LIBS=$LIBS
11493 LIBS="-ldld  $LIBS"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h.  */
11496
11497 /* Override any GCC internal prototype to avoid an error.
11498    Use char because int might match the return type of a GCC
11499    builtin and then its argument prototype would still apply.  */
11500 #ifdef __cplusplus
11501 extern "C"
11502 #endif
11503 char shl_load ();
11504 int
11505 main ()
11506 {
11507 return shl_load ();
11508   ;
11509   return 0;
11510 }
11511 _ACEOF
11512 if ac_fn_c_try_link "$LINENO"; then :
11513   ac_cv_lib_dld_shl_load=yes
11514 else
11515   ac_cv_lib_dld_shl_load=no
11516 fi
11517 rm -f core conftest.err conftest.$ac_objext \
11518     conftest$ac_exeext conftest.$ac_ext
11519 LIBS=$ac_check_lib_save_LIBS
11520 fi
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11522 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11523 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11524   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11525 else
11526   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11527 if test "x$ac_cv_func_dlopen" = xyes; then :
11528   lt_cv_dlopen=dlopen
11529 else
11530   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11531 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11532 if ${ac_cv_lib_dl_dlopen+:} false; then :
11533   $as_echo_n "(cached) " >&6
11534 else
11535   ac_check_lib_save_LIBS=$LIBS
11536 LIBS="-ldl  $LIBS"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h.  */
11539
11540 /* Override any GCC internal prototype to avoid an error.
11541    Use char because int might match the return type of a GCC
11542    builtin and then its argument prototype would still apply.  */
11543 #ifdef __cplusplus
11544 extern "C"
11545 #endif
11546 char dlopen ();
11547 int
11548 main ()
11549 {
11550 return dlopen ();
11551   ;
11552   return 0;
11553 }
11554 _ACEOF
11555 if ac_fn_c_try_link "$LINENO"; then :
11556   ac_cv_lib_dl_dlopen=yes
11557 else
11558   ac_cv_lib_dl_dlopen=no
11559 fi
11560 rm -f core conftest.err conftest.$ac_objext \
11561     conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_lib_save_LIBS
11563 fi
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11565 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11566 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11567   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11568 else
11569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11570 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11571 if ${ac_cv_lib_svld_dlopen+:} false; then :
11572   $as_echo_n "(cached) " >&6
11573 else
11574   ac_check_lib_save_LIBS=$LIBS
11575 LIBS="-lsvld  $LIBS"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h.  */
11578
11579 /* Override any GCC internal prototype to avoid an error.
11580    Use char because int might match the return type of a GCC
11581    builtin and then its argument prototype would still apply.  */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 char dlopen ();
11586 int
11587 main ()
11588 {
11589 return dlopen ();
11590   ;
11591   return 0;
11592 }
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"; then :
11595   ac_cv_lib_svld_dlopen=yes
11596 else
11597   ac_cv_lib_svld_dlopen=no
11598 fi
11599 rm -f core conftest.err conftest.$ac_objext \
11600     conftest$ac_exeext conftest.$ac_ext
11601 LIBS=$ac_check_lib_save_LIBS
11602 fi
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11604 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11605 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11606   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11607 else
11608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11609 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11610 if ${ac_cv_lib_dld_dld_link+:} false; then :
11611   $as_echo_n "(cached) " >&6
11612 else
11613   ac_check_lib_save_LIBS=$LIBS
11614 LIBS="-ldld  $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h.  */
11617
11618 /* Override any GCC internal prototype to avoid an error.
11619    Use char because int might match the return type of a GCC
11620    builtin and then its argument prototype would still apply.  */
11621 #ifdef __cplusplus
11622 extern "C"
11623 #endif
11624 char dld_link ();
11625 int
11626 main ()
11627 {
11628 return dld_link ();
11629   ;
11630   return 0;
11631 }
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"; then :
11634   ac_cv_lib_dld_dld_link=yes
11635 else
11636   ac_cv_lib_dld_dld_link=no
11637 fi
11638 rm -f core conftest.err conftest.$ac_objext \
11639     conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11641 fi
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11643 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11644 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11645   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11646 fi
11647
11648
11649 fi
11650
11651
11652 fi
11653
11654
11655 fi
11656
11657
11658 fi
11659
11660
11661 fi
11662
11663     ;;
11664   esac
11665
11666   if test no = "$lt_cv_dlopen"; then
11667     enable_dlopen=no
11668   else
11669     enable_dlopen=yes
11670   fi
11671
11672   case $lt_cv_dlopen in
11673   dlopen)
11674     save_CPPFLAGS=$CPPFLAGS
11675     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11676
11677     save_LDFLAGS=$LDFLAGS
11678     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11679
11680     save_LIBS=$LIBS
11681     LIBS="$lt_cv_dlopen_libs $LIBS"
11682
11683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11684 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11685 if ${lt_cv_dlopen_self+:} false; then :
11686   $as_echo_n "(cached) " >&6
11687 else
11688           if test yes = "$cross_compiling"; then :
11689   lt_cv_dlopen_self=cross
11690 else
11691   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11692   lt_status=$lt_dlunknown
11693   cat > conftest.$ac_ext <<_LT_EOF
11694 #line $LINENO "configure"
11695 #include "confdefs.h"
11696
11697 #if HAVE_DLFCN_H
11698 #include <dlfcn.h>
11699 #endif
11700
11701 #include <stdio.h>
11702
11703 #ifdef RTLD_GLOBAL
11704 #  define LT_DLGLOBAL           RTLD_GLOBAL
11705 #else
11706 #  ifdef DL_GLOBAL
11707 #    define LT_DLGLOBAL         DL_GLOBAL
11708 #  else
11709 #    define LT_DLGLOBAL         0
11710 #  endif
11711 #endif
11712
11713 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11714    find out it does not work in some platform. */
11715 #ifndef LT_DLLAZY_OR_NOW
11716 #  ifdef RTLD_LAZY
11717 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11718 #  else
11719 #    ifdef DL_LAZY
11720 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11721 #    else
11722 #      ifdef RTLD_NOW
11723 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11724 #      else
11725 #        ifdef DL_NOW
11726 #          define LT_DLLAZY_OR_NOW      DL_NOW
11727 #        else
11728 #          define LT_DLLAZY_OR_NOW      0
11729 #        endif
11730 #      endif
11731 #    endif
11732 #  endif
11733 #endif
11734
11735 /* When -fvisibility=hidden is used, assume the code has been annotated
11736    correspondingly for the symbols needed.  */
11737 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11738 int fnord () __attribute__((visibility("default")));
11739 #endif
11740
11741 int fnord () { return 42; }
11742 int main ()
11743 {
11744   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11745   int status = $lt_dlunknown;
11746
11747   if (self)
11748     {
11749       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11750       else
11751         {
11752           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11753           else puts (dlerror ());
11754         }
11755       /* dlclose (self); */
11756     }
11757   else
11758     puts (dlerror ());
11759
11760   return status;
11761 }
11762 _LT_EOF
11763   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11764   (eval $ac_link) 2>&5
11765   ac_status=$?
11766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11767   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11768     (./conftest; exit; ) >&5 2>/dev/null
11769     lt_status=$?
11770     case x$lt_status in
11771       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11772       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11773       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11774     esac
11775   else :
11776     # compilation failed
11777     lt_cv_dlopen_self=no
11778   fi
11779 fi
11780 rm -fr conftest*
11781
11782
11783 fi
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11785 $as_echo "$lt_cv_dlopen_self" >&6; }
11786
11787     if test yes = "$lt_cv_dlopen_self"; then
11788       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11789       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11790 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11791 if ${lt_cv_dlopen_self_static+:} false; then :
11792   $as_echo_n "(cached) " >&6
11793 else
11794           if test yes = "$cross_compiling"; then :
11795   lt_cv_dlopen_self_static=cross
11796 else
11797   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11798   lt_status=$lt_dlunknown
11799   cat > conftest.$ac_ext <<_LT_EOF
11800 #line $LINENO "configure"
11801 #include "confdefs.h"
11802
11803 #if HAVE_DLFCN_H
11804 #include <dlfcn.h>
11805 #endif
11806
11807 #include <stdio.h>
11808
11809 #ifdef RTLD_GLOBAL
11810 #  define LT_DLGLOBAL           RTLD_GLOBAL
11811 #else
11812 #  ifdef DL_GLOBAL
11813 #    define LT_DLGLOBAL         DL_GLOBAL
11814 #  else
11815 #    define LT_DLGLOBAL         0
11816 #  endif
11817 #endif
11818
11819 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11820    find out it does not work in some platform. */
11821 #ifndef LT_DLLAZY_OR_NOW
11822 #  ifdef RTLD_LAZY
11823 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11824 #  else
11825 #    ifdef DL_LAZY
11826 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11827 #    else
11828 #      ifdef RTLD_NOW
11829 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11830 #      else
11831 #        ifdef DL_NOW
11832 #          define LT_DLLAZY_OR_NOW      DL_NOW
11833 #        else
11834 #          define LT_DLLAZY_OR_NOW      0
11835 #        endif
11836 #      endif
11837 #    endif
11838 #  endif
11839 #endif
11840
11841 /* When -fvisibility=hidden is used, assume the code has been annotated
11842    correspondingly for the symbols needed.  */
11843 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11844 int fnord () __attribute__((visibility("default")));
11845 #endif
11846
11847 int fnord () { return 42; }
11848 int main ()
11849 {
11850   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11851   int status = $lt_dlunknown;
11852
11853   if (self)
11854     {
11855       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11856       else
11857         {
11858           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11859           else puts (dlerror ());
11860         }
11861       /* dlclose (self); */
11862     }
11863   else
11864     puts (dlerror ());
11865
11866   return status;
11867 }
11868 _LT_EOF
11869   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11870   (eval $ac_link) 2>&5
11871   ac_status=$?
11872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11873   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11874     (./conftest; exit; ) >&5 2>/dev/null
11875     lt_status=$?
11876     case x$lt_status in
11877       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11878       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11879       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11880     esac
11881   else :
11882     # compilation failed
11883     lt_cv_dlopen_self_static=no
11884   fi
11885 fi
11886 rm -fr conftest*
11887
11888
11889 fi
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11891 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11892     fi
11893
11894     CPPFLAGS=$save_CPPFLAGS
11895     LDFLAGS=$save_LDFLAGS
11896     LIBS=$save_LIBS
11897     ;;
11898   esac
11899
11900   case $lt_cv_dlopen_self in
11901   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11902   *) enable_dlopen_self=unknown ;;
11903   esac
11904
11905   case $lt_cv_dlopen_self_static in
11906   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11907   *) enable_dlopen_self_static=unknown ;;
11908   esac
11909 fi
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927 striplib=
11928 old_striplib=
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11930 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11931 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11932   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11933   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11935 $as_echo "yes" >&6; }
11936 else
11937 # FIXME - insert some real tests, host_os isn't really good enough
11938   case $host_os in
11939   darwin*)
11940     if test -n "$STRIP"; then
11941       striplib="$STRIP -x"
11942       old_striplib="$STRIP -S"
11943       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11944 $as_echo "yes" >&6; }
11945     else
11946       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11947 $as_echo "no" >&6; }
11948     fi
11949     ;;
11950   *)
11951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11952 $as_echo "no" >&6; }
11953     ;;
11954   esac
11955 fi
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968   # Report what library types will actually be built
11969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11970 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11972 $as_echo "$can_build_shared" >&6; }
11973
11974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11975 $as_echo_n "checking whether to build shared libraries... " >&6; }
11976   test no = "$can_build_shared" && enable_shared=no
11977
11978   # On AIX, shared libraries and static libraries use the same namespace, and
11979   # are all built from PIC.
11980   case $host_os in
11981   aix3*)
11982     test yes = "$enable_shared" && enable_static=no
11983     if test -n "$RANLIB"; then
11984       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11985       postinstall_cmds='$RANLIB $lib'
11986     fi
11987     ;;
11988
11989   aix[4-9]*)
11990     if test ia64 != "$host_cpu"; then
11991       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11992       yes,aix,yes) ;;                   # shared object as lib.so file only
11993       yes,svr4,*) ;;                    # shared object as lib.so archive member only
11994       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
11995       esac
11996     fi
11997     ;;
11998   esac
11999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12000 $as_echo "$enable_shared" >&6; }
12001
12002   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12003 $as_echo_n "checking whether to build static libraries... " >&6; }
12004   # Make sure either enable_shared or enable_static is yes.
12005   test yes = "$enable_shared" || enable_static=yes
12006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12007 $as_echo "$enable_static" >&6; }
12008
12009
12010
12011
12012 fi
12013 ac_ext=c
12014 ac_cpp='$CPP $CPPFLAGS'
12015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12018
12019 CC=$lt_save_CC
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035         ac_config_commands="$ac_config_commands libtool"
12036
12037
12038
12039
12040 # Only expand once:
12041
12042
12043 ac_ext=c
12044 ac_cpp='$CPP $CPPFLAGS'
12045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12048 if test -n "$ac_tool_prefix"; then
12049   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12050 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12052 $as_echo_n "checking for $ac_word... " >&6; }
12053 if ${ac_cv_prog_CC+:} false; then :
12054   $as_echo_n "(cached) " >&6
12055 else
12056   if test -n "$CC"; then
12057   ac_cv_prog_CC="$CC" # Let the user override the test.
12058 else
12059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12060 for as_dir in $PATH
12061 do
12062   IFS=$as_save_IFS
12063   test -z "$as_dir" && as_dir=.
12064     for ac_exec_ext in '' $ac_executable_extensions; do
12065   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12066     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12068     break 2
12069   fi
12070 done
12071   done
12072 IFS=$as_save_IFS
12073
12074 fi
12075 fi
12076 CC=$ac_cv_prog_CC
12077 if test -n "$CC"; then
12078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12079 $as_echo "$CC" >&6; }
12080 else
12081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12082 $as_echo "no" >&6; }
12083 fi
12084
12085
12086 fi
12087 if test -z "$ac_cv_prog_CC"; then
12088   ac_ct_CC=$CC
12089   # Extract the first word of "gcc", so it can be a program name with args.
12090 set dummy gcc; ac_word=$2
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12092 $as_echo_n "checking for $ac_word... " >&6; }
12093 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12094   $as_echo_n "(cached) " >&6
12095 else
12096   if test -n "$ac_ct_CC"; then
12097   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12098 else
12099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12100 for as_dir in $PATH
12101 do
12102   IFS=$as_save_IFS
12103   test -z "$as_dir" && as_dir=.
12104     for ac_exec_ext in '' $ac_executable_extensions; do
12105   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12106     ac_cv_prog_ac_ct_CC="gcc"
12107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12108     break 2
12109   fi
12110 done
12111   done
12112 IFS=$as_save_IFS
12113
12114 fi
12115 fi
12116 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12117 if test -n "$ac_ct_CC"; then
12118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12119 $as_echo "$ac_ct_CC" >&6; }
12120 else
12121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12122 $as_echo "no" >&6; }
12123 fi
12124
12125   if test "x$ac_ct_CC" = x; then
12126     CC=""
12127   else
12128     case $cross_compiling:$ac_tool_warned in
12129 yes:)
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12132 ac_tool_warned=yes ;;
12133 esac
12134     CC=$ac_ct_CC
12135   fi
12136 else
12137   CC="$ac_cv_prog_CC"
12138 fi
12139
12140 if test -z "$CC"; then
12141           if test -n "$ac_tool_prefix"; then
12142     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12143 set dummy ${ac_tool_prefix}cc; ac_word=$2
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12145 $as_echo_n "checking for $ac_word... " >&6; }
12146 if ${ac_cv_prog_CC+:} false; then :
12147   $as_echo_n "(cached) " >&6
12148 else
12149   if test -n "$CC"; then
12150   ac_cv_prog_CC="$CC" # Let the user override the test.
12151 else
12152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12153 for as_dir in $PATH
12154 do
12155   IFS=$as_save_IFS
12156   test -z "$as_dir" && as_dir=.
12157     for ac_exec_ext in '' $ac_executable_extensions; do
12158   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12159     ac_cv_prog_CC="${ac_tool_prefix}cc"
12160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12161     break 2
12162   fi
12163 done
12164   done
12165 IFS=$as_save_IFS
12166
12167 fi
12168 fi
12169 CC=$ac_cv_prog_CC
12170 if test -n "$CC"; then
12171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12172 $as_echo "$CC" >&6; }
12173 else
12174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12175 $as_echo "no" >&6; }
12176 fi
12177
12178
12179   fi
12180 fi
12181 if test -z "$CC"; then
12182   # Extract the first word of "cc", so it can be a program name with args.
12183 set dummy cc; ac_word=$2
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12185 $as_echo_n "checking for $ac_word... " >&6; }
12186 if ${ac_cv_prog_CC+:} false; then :
12187   $as_echo_n "(cached) " >&6
12188 else
12189   if test -n "$CC"; then
12190   ac_cv_prog_CC="$CC" # Let the user override the test.
12191 else
12192   ac_prog_rejected=no
12193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194 for as_dir in $PATH
12195 do
12196   IFS=$as_save_IFS
12197   test -z "$as_dir" && as_dir=.
12198     for ac_exec_ext in '' $ac_executable_extensions; do
12199   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12200     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12201        ac_prog_rejected=yes
12202        continue
12203      fi
12204     ac_cv_prog_CC="cc"
12205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12206     break 2
12207   fi
12208 done
12209   done
12210 IFS=$as_save_IFS
12211
12212 if test $ac_prog_rejected = yes; then
12213   # We found a bogon in the path, so make sure we never use it.
12214   set dummy $ac_cv_prog_CC
12215   shift
12216   if test $# != 0; then
12217     # We chose a different compiler from the bogus one.
12218     # However, it has the same basename, so the bogon will be chosen
12219     # first if we set CC to just the basename; use the full file name.
12220     shift
12221     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12222   fi
12223 fi
12224 fi
12225 fi
12226 CC=$ac_cv_prog_CC
12227 if test -n "$CC"; then
12228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12229 $as_echo "$CC" >&6; }
12230 else
12231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12233 fi
12234
12235
12236 fi
12237 if test -z "$CC"; then
12238   if test -n "$ac_tool_prefix"; then
12239   for ac_prog in cl.exe
12240   do
12241     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12244 $as_echo_n "checking for $ac_word... " >&6; }
12245 if ${ac_cv_prog_CC+:} false; then :
12246   $as_echo_n "(cached) " >&6
12247 else
12248   if test -n "$CC"; then
12249   ac_cv_prog_CC="$CC" # Let the user override the test.
12250 else
12251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12252 for as_dir in $PATH
12253 do
12254   IFS=$as_save_IFS
12255   test -z "$as_dir" && as_dir=.
12256     for ac_exec_ext in '' $ac_executable_extensions; do
12257   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12258     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12260     break 2
12261   fi
12262 done
12263   done
12264 IFS=$as_save_IFS
12265
12266 fi
12267 fi
12268 CC=$ac_cv_prog_CC
12269 if test -n "$CC"; then
12270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12271 $as_echo "$CC" >&6; }
12272 else
12273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12274 $as_echo "no" >&6; }
12275 fi
12276
12277
12278     test -n "$CC" && break
12279   done
12280 fi
12281 if test -z "$CC"; then
12282   ac_ct_CC=$CC
12283   for ac_prog in cl.exe
12284 do
12285   # Extract the first word of "$ac_prog", so it can be a program name with args.
12286 set dummy $ac_prog; ac_word=$2
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12288 $as_echo_n "checking for $ac_word... " >&6; }
12289 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12290   $as_echo_n "(cached) " >&6
12291 else
12292   if test -n "$ac_ct_CC"; then
12293   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12294 else
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12297 do
12298   IFS=$as_save_IFS
12299   test -z "$as_dir" && as_dir=.
12300     for ac_exec_ext in '' $ac_executable_extensions; do
12301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302     ac_cv_prog_ac_ct_CC="$ac_prog"
12303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12304     break 2
12305   fi
12306 done
12307   done
12308 IFS=$as_save_IFS
12309
12310 fi
12311 fi
12312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12313 if test -n "$ac_ct_CC"; then
12314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12315 $as_echo "$ac_ct_CC" >&6; }
12316 else
12317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12318 $as_echo "no" >&6; }
12319 fi
12320
12321
12322   test -n "$ac_ct_CC" && break
12323 done
12324
12325   if test "x$ac_ct_CC" = x; then
12326     CC=""
12327   else
12328     case $cross_compiling:$ac_tool_warned in
12329 yes:)
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12332 ac_tool_warned=yes ;;
12333 esac
12334     CC=$ac_ct_CC
12335   fi
12336 fi
12337
12338 fi
12339
12340
12341 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12343 as_fn_error $? "no acceptable C compiler found in \$PATH
12344 See \`config.log' for more details" "$LINENO" 5; }
12345
12346 # Provide some information about the compiler.
12347 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12348 set X $ac_compile
12349 ac_compiler=$2
12350 for ac_option in --version -v -V -qversion; do
12351   { { ac_try="$ac_compiler $ac_option >&5"
12352 case "(($ac_try" in
12353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12354   *) ac_try_echo=$ac_try;;
12355 esac
12356 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12357 $as_echo "$ac_try_echo"; } >&5
12358   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12359   ac_status=$?
12360   if test -s conftest.err; then
12361     sed '10a\
12362 ... rest of stderr output deleted ...
12363          10q' conftest.err >conftest.er1
12364     cat conftest.er1 >&5
12365   fi
12366   rm -f conftest.er1 conftest.err
12367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12368   test $ac_status = 0; }
12369 done
12370
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12373 if ${ac_cv_c_compiler_gnu+:} false; then :
12374   $as_echo_n "(cached) " >&6
12375 else
12376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h.  */
12378
12379 int
12380 main ()
12381 {
12382 #ifndef __GNUC__
12383        choke me
12384 #endif
12385
12386   ;
12387   return 0;
12388 }
12389 _ACEOF
12390 if ac_fn_c_try_compile "$LINENO"; then :
12391   ac_compiler_gnu=yes
12392 else
12393   ac_compiler_gnu=no
12394 fi
12395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12397
12398 fi
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12401 if test $ac_compiler_gnu = yes; then
12402   GCC=yes
12403 else
12404   GCC=
12405 fi
12406 ac_test_CFLAGS=${CFLAGS+set}
12407 ac_save_CFLAGS=$CFLAGS
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12410 if ${ac_cv_prog_cc_g+:} false; then :
12411   $as_echo_n "(cached) " >&6
12412 else
12413   ac_save_c_werror_flag=$ac_c_werror_flag
12414    ac_c_werror_flag=yes
12415    ac_cv_prog_cc_g=no
12416    CFLAGS="-g"
12417    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h.  */
12419
12420 int
12421 main ()
12422 {
12423
12424   ;
12425   return 0;
12426 }
12427 _ACEOF
12428 if ac_fn_c_try_compile "$LINENO"; then :
12429   ac_cv_prog_cc_g=yes
12430 else
12431   CFLAGS=""
12432       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h.  */
12434
12435 int
12436 main ()
12437 {
12438
12439   ;
12440   return 0;
12441 }
12442 _ACEOF
12443 if ac_fn_c_try_compile "$LINENO"; then :
12444
12445 else
12446   ac_c_werror_flag=$ac_save_c_werror_flag
12447          CFLAGS="-g"
12448          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h.  */
12450
12451 int
12452 main ()
12453 {
12454
12455   ;
12456   return 0;
12457 }
12458 _ACEOF
12459 if ac_fn_c_try_compile "$LINENO"; then :
12460   ac_cv_prog_cc_g=yes
12461 fi
12462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12463 fi
12464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12465 fi
12466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12467    ac_c_werror_flag=$ac_save_c_werror_flag
12468 fi
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12470 $as_echo "$ac_cv_prog_cc_g" >&6; }
12471 if test "$ac_test_CFLAGS" = set; then
12472   CFLAGS=$ac_save_CFLAGS
12473 elif test $ac_cv_prog_cc_g = yes; then
12474   if test "$GCC" = yes; then
12475     CFLAGS="-g -O2"
12476   else
12477     CFLAGS="-g"
12478   fi
12479 else
12480   if test "$GCC" = yes; then
12481     CFLAGS="-O2"
12482   else
12483     CFLAGS=
12484   fi
12485 fi
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12488 if ${ac_cv_prog_cc_c89+:} false; then :
12489   $as_echo_n "(cached) " >&6
12490 else
12491   ac_cv_prog_cc_c89=no
12492 ac_save_CC=$CC
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h.  */
12495 #include <stdarg.h>
12496 #include <stdio.h>
12497 struct stat;
12498 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12499 struct buf { int x; };
12500 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12501 static char *e (p, i)
12502      char **p;
12503      int i;
12504 {
12505   return p[i];
12506 }
12507 static char *f (char * (*g) (char **, int), char **p, ...)
12508 {
12509   char *s;
12510   va_list v;
12511   va_start (v,p);
12512   s = g (p, va_arg (v,int));
12513   va_end (v);
12514   return s;
12515 }
12516
12517 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12518    function prototypes and stuff, but not '\xHH' hex character constants.
12519    These don't provoke an error unfortunately, instead are silently treated
12520    as 'x'.  The following induces an error, until -std is added to get
12521    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12522    array size at least.  It's necessary to write '\x00'==0 to get something
12523    that's true only with -std.  */
12524 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12525
12526 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12527    inside strings and character constants.  */
12528 #define FOO(x) 'x'
12529 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12530
12531 int test (int i, double x);
12532 struct s1 {int (*f) (int a);};
12533 struct s2 {int (*f) (double a);};
12534 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12535 int argc;
12536 char **argv;
12537 int
12538 main ()
12539 {
12540 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12541   ;
12542   return 0;
12543 }
12544 _ACEOF
12545 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12546         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12547 do
12548   CC="$ac_save_CC $ac_arg"
12549   if ac_fn_c_try_compile "$LINENO"; then :
12550   ac_cv_prog_cc_c89=$ac_arg
12551 fi
12552 rm -f core conftest.err conftest.$ac_objext
12553   test "x$ac_cv_prog_cc_c89" != "xno" && break
12554 done
12555 rm -f conftest.$ac_ext
12556 CC=$ac_save_CC
12557
12558 fi
12559 # AC_CACHE_VAL
12560 case "x$ac_cv_prog_cc_c89" in
12561   x)
12562     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12563 $as_echo "none needed" >&6; } ;;
12564   xno)
12565     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12566 $as_echo "unsupported" >&6; } ;;
12567   *)
12568     CC="$CC $ac_cv_prog_cc_c89"
12569     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12570 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12571 esac
12572 if test "x$ac_cv_prog_cc_c89" != xno; then :
12573
12574 fi
12575
12576 ac_ext=c
12577 ac_cpp='$CPP $CPPFLAGS'
12578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12581
12582 ac_ext=c
12583 ac_cpp='$CPP $CPPFLAGS'
12584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12588 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12589 if ${am_cv_prog_cc_c_o+:} false; then :
12590   $as_echo_n "(cached) " >&6
12591 else
12592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12593 /* end confdefs.h.  */
12594
12595 int
12596 main ()
12597 {
12598
12599   ;
12600   return 0;
12601 }
12602 _ACEOF
12603   # Make sure it works both with $CC and with simple cc.
12604   # Following AC_PROG_CC_C_O, we do the test twice because some
12605   # compilers refuse to overwrite an existing .o file with -o,
12606   # though they will create one.
12607   am_cv_prog_cc_c_o=yes
12608   for am_i in 1 2; do
12609     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12610    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12611    ac_status=$?
12612    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613    (exit $ac_status); } \
12614          && test -f conftest2.$ac_objext; then
12615       : OK
12616     else
12617       am_cv_prog_cc_c_o=no
12618       break
12619     fi
12620   done
12621   rm -f core conftest*
12622   unset am_i
12623 fi
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12625 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12626 if test "$am_cv_prog_cc_c_o" != yes; then
12627    # Losing compiler, so override with the script.
12628    # FIXME: It is wrong to rewrite CC.
12629    # But if we don't then we get into trouble of one sort or another.
12630    # A longer-term fix would be to have automake use am__CC in this case,
12631    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12632    CC="$am_aux_dir/compile $CC"
12633 fi
12634 ac_ext=c
12635 ac_cpp='$CPP $CPPFLAGS'
12636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12639
12640
12641 depcc="$CC"   am_compiler_list=
12642
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12644 $as_echo_n "checking dependency style of $depcc... " >&6; }
12645 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12646   $as_echo_n "(cached) " >&6
12647 else
12648   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12649   # We make a subdir and do the tests there.  Otherwise we can end up
12650   # making bogus files that we don't know about and never remove.  For
12651   # instance it was reported that on HP-UX the gcc test will end up
12652   # making a dummy file named 'D' -- because '-MD' means "put the output
12653   # in D".
12654   rm -rf conftest.dir
12655   mkdir conftest.dir
12656   # Copy depcomp to subdir because otherwise we won't find it if we're
12657   # using a relative directory.
12658   cp "$am_depcomp" conftest.dir
12659   cd conftest.dir
12660   # We will build objects and dependencies in a subdirectory because
12661   # it helps to detect inapplicable dependency modes.  For instance
12662   # both Tru64's cc and ICC support -MD to output dependencies as a
12663   # side effect of compilation, but ICC will put the dependencies in
12664   # the current directory while Tru64 will put them in the object
12665   # directory.
12666   mkdir sub
12667
12668   am_cv_CC_dependencies_compiler_type=none
12669   if test "$am_compiler_list" = ""; then
12670      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12671   fi
12672   am__universal=false
12673   case " $depcc " in #(
12674      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12675      esac
12676
12677   for depmode in $am_compiler_list; do
12678     # Setup a source with many dependencies, because some compilers
12679     # like to wrap large dependency lists on column 80 (with \), and
12680     # we should not choose a depcomp mode which is confused by this.
12681     #
12682     # We need to recreate these files for each test, as the compiler may
12683     # overwrite some of them when testing with obscure command lines.
12684     # This happens at least with the AIX C compiler.
12685     : > sub/conftest.c
12686     for i in 1 2 3 4 5 6; do
12687       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12688       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12689       # Solaris 10 /bin/sh.
12690       echo '/* dummy */' > sub/conftst$i.h
12691     done
12692     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12693
12694     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12695     # mode.  It turns out that the SunPro C++ compiler does not properly
12696     # handle '-M -o', and we need to detect this.  Also, some Intel
12697     # versions had trouble with output in subdirs.
12698     am__obj=sub/conftest.${OBJEXT-o}
12699     am__minus_obj="-o $am__obj"
12700     case $depmode in
12701     gcc)
12702       # This depmode causes a compiler race in universal mode.
12703       test "$am__universal" = false || continue
12704       ;;
12705     nosideeffect)
12706       # After this tag, mechanisms are not by side-effect, so they'll
12707       # only be used when explicitly requested.
12708       if test "x$enable_dependency_tracking" = xyes; then
12709         continue
12710       else
12711         break
12712       fi
12713       ;;
12714     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12715       # This compiler won't grok '-c -o', but also, the minuso test has
12716       # not run yet.  These depmodes are late enough in the game, and
12717       # so weak that their functioning should not be impacted.
12718       am__obj=conftest.${OBJEXT-o}
12719       am__minus_obj=
12720       ;;
12721     none) break ;;
12722     esac
12723     if depmode=$depmode \
12724        source=sub/conftest.c object=$am__obj \
12725        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12726        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12727          >/dev/null 2>conftest.err &&
12728        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12729        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12730        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12731        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12732       # icc doesn't choke on unknown options, it will just issue warnings
12733       # or remarks (even with -Werror).  So we grep stderr for any message
12734       # that says an option was ignored or not supported.
12735       # When given -MP, icc 7.0 and 7.1 complain thusly:
12736       #   icc: Command line warning: ignoring option '-M'; no argument required
12737       # The diagnosis changed in icc 8.0:
12738       #   icc: Command line remark: option '-MP' not supported
12739       if (grep 'ignoring option' conftest.err ||
12740           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12741         am_cv_CC_dependencies_compiler_type=$depmode
12742         break
12743       fi
12744     fi
12745   done
12746
12747   cd ..
12748   rm -rf conftest.dir
12749 else
12750   am_cv_CC_dependencies_compiler_type=none
12751 fi
12752
12753 fi
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12755 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12756 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12757
12758  if
12759   test "x$enable_dependency_tracking" != xno \
12760   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12761   am__fastdepCC_TRUE=
12762   am__fastdepCC_FALSE='#'
12763 else
12764   am__fastdepCC_TRUE='#'
12765   am__fastdepCC_FALSE=
12766 fi
12767
12768
12769
12770
12771
12772 case $target_os in
12773      *linux*)   arch=linux;;
12774      *netbsd*)  arch=netbsd;;
12775      *bsd*)     arch=bsd;;
12776      *)         arch=unknown;;
12777 esac
12778
12779 if test "$ac_env_CFLAGS_set" != set; then
12780         CFLAGS="-Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing"
12781 fi
12782
12783 # Check whether --enable-lib was given.
12784 if test "${enable_lib+set}" = set; then :
12785   enableval=$enable_lib;
12786 fi
12787
12788 # Check whether --enable-util was given.
12789 if test "${enable_util+set}" = set; then :
12790   enableval=$enable_util;
12791 fi
12792
12793 # Check whether --enable-example was given.
12794 if test "${enable_example+set}" = set; then :
12795   enableval=$enable_example;
12796 fi
12797
12798 # Check whether --enable-mtab was given.
12799 if test "${enable_mtab+set}" = set; then :
12800   enableval=$enable_mtab;
12801 fi
12802
12803
12804
12805 # Check whether --with-pkgconfigdir was given.
12806 if test "${with_pkgconfigdir+set}" = set; then :
12807   withval=$with_pkgconfigdir; pkgconfigdir=$withval
12808 else
12809   pkgconfigdir='${libdir}/pkgconfig'
12810 fi
12811
12812
12813
12814 subdirs2="include"
12815
12816 if test "$enable_lib" != "no"; then
12817         subdirs2="$subdirs2 lib";
12818 fi
12819 if test "$arch" = linux -a "$enable_util" != "no"; then
12820         subdirs2="$subdirs2 util";
12821 fi
12822 if test "$enable_example" != "no"; then
12823         subdirs2="$subdirs2 example";
12824 fi
12825 if test "$enable_mtab" = "no"; then
12826
12827 $as_echo "#define IGNORE_MTAB 1" >>confdefs.h
12828
12829 fi
12830
12831 for ac_func in fork setxattr fdatasync splice vmsplice utimensat
12832 do :
12833   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12835 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12836   cat >>confdefs.h <<_ACEOF
12837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12838 _ACEOF
12839
12840 fi
12841 done
12842
12843 for ac_func in posix_fallocate
12844 do :
12845   ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
12846 if test "x$ac_cv_func_posix_fallocate" = xyes; then :
12847   cat >>confdefs.h <<_ACEOF
12848 #define HAVE_POSIX_FALLOCATE 1
12849 _ACEOF
12850
12851 fi
12852 done
12853
12854 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
12855 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
12856
12857 cat >>confdefs.h <<_ACEOF
12858 #define HAVE_STRUCT_STAT_ST_ATIM 1
12859 _ACEOF
12860
12861
12862 fi
12863
12864 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
12865 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
12866
12867 cat >>confdefs.h <<_ACEOF
12868 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12869 _ACEOF
12870
12871
12872 fi
12873
12874
12875 LIBS=
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12877 $as_echo_n "checking for library containing dlopen... " >&6; }
12878 if ${ac_cv_search_dlopen+:} false; then :
12879   $as_echo_n "(cached) " >&6
12880 else
12881   ac_func_search_save_LIBS=$LIBS
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h.  */
12884
12885 /* Override any GCC internal prototype to avoid an error.
12886    Use char because int might match the return type of a GCC
12887    builtin and then its argument prototype would still apply.  */
12888 #ifdef __cplusplus
12889 extern "C"
12890 #endif
12891 char dlopen ();
12892 int
12893 main ()
12894 {
12895 return dlopen ();
12896   ;
12897   return 0;
12898 }
12899 _ACEOF
12900 for ac_lib in '' dl; do
12901   if test -z "$ac_lib"; then
12902     ac_res="none required"
12903   else
12904     ac_res=-l$ac_lib
12905     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12906   fi
12907   if ac_fn_c_try_link "$LINENO"; then :
12908   ac_cv_search_dlopen=$ac_res
12909 fi
12910 rm -f core conftest.err conftest.$ac_objext \
12911     conftest$ac_exeext
12912   if ${ac_cv_search_dlopen+:} false; then :
12913   break
12914 fi
12915 done
12916 if ${ac_cv_search_dlopen+:} false; then :
12917
12918 else
12919   ac_cv_search_dlopen=no
12920 fi
12921 rm conftest.$ac_ext
12922 LIBS=$ac_func_search_save_LIBS
12923 fi
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12925 $as_echo "$ac_cv_search_dlopen" >&6; }
12926 ac_res=$ac_cv_search_dlopen
12927 if test "$ac_res" != no; then :
12928   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12929
12930 fi
12931
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
12933 $as_echo_n "checking for library containing clock_gettime... " >&6; }
12934 if ${ac_cv_search_clock_gettime+:} false; then :
12935   $as_echo_n "(cached) " >&6
12936 else
12937   ac_func_search_save_LIBS=$LIBS
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h.  */
12940
12941 /* Override any GCC internal prototype to avoid an error.
12942    Use char because int might match the return type of a GCC
12943    builtin and then its argument prototype would still apply.  */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 char clock_gettime ();
12948 int
12949 main ()
12950 {
12951 return clock_gettime ();
12952   ;
12953   return 0;
12954 }
12955 _ACEOF
12956 for ac_lib in '' rt; do
12957   if test -z "$ac_lib"; then
12958     ac_res="none required"
12959   else
12960     ac_res=-l$ac_lib
12961     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12962   fi
12963   if ac_fn_c_try_link "$LINENO"; then :
12964   ac_cv_search_clock_gettime=$ac_res
12965 fi
12966 rm -f core conftest.err conftest.$ac_objext \
12967     conftest$ac_exeext
12968   if ${ac_cv_search_clock_gettime+:} false; then :
12969   break
12970 fi
12971 done
12972 if ${ac_cv_search_clock_gettime+:} false; then :
12973
12974 else
12975   ac_cv_search_clock_gettime=no
12976 fi
12977 rm conftest.$ac_ext
12978 LIBS=$ac_func_search_save_LIBS
12979 fi
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
12981 $as_echo "$ac_cv_search_clock_gettime" >&6; }
12982 ac_res=$ac_cv_search_clock_gettime
12983 if test "$ac_res" != no; then :
12984   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12985
12986 fi
12987
12988 libfuse_libs=$LIBS
12989 LIBS=
12990
12991 # Check whether --with-libiconv-prefix was given.
12992 if test "${with_libiconv_prefix+set}" = set; then :
12993   withval=$with_libiconv_prefix;
12994     for dir in `echo "$withval" | tr : ' '`; do
12995       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
12996       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
12997     done
12998
12999 fi
13000
13001
13002       if test "X$prefix" = "XNONE"; then
13003     acl_final_prefix="$ac_default_prefix"
13004   else
13005     acl_final_prefix="$prefix"
13006   fi
13007   if test "X$exec_prefix" = "XNONE"; then
13008     acl_final_exec_prefix='${prefix}'
13009   else
13010     acl_final_exec_prefix="$exec_prefix"
13011   fi
13012   acl_save_prefix="$prefix"
13013   prefix="$acl_final_prefix"
13014   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13015   prefix="$acl_save_prefix"
13016
13017
13018
13019 # Check whether --with-gnu-ld was given.
13020 if test "${with_gnu_ld+set}" = set; then :
13021   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13022 else
13023   with_gnu_ld=no
13024 fi
13025
13026 # Prepare PATH_SEPARATOR.
13027 # The user is always right.
13028 if test "${PATH_SEPARATOR+set}" != set; then
13029   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
13030   # contains only /bin. Note that ksh looks also at the FPATH variable,
13031   # so we have to set that as well for the test.
13032   PATH_SEPARATOR=:
13033   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13034     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
13035            || PATH_SEPARATOR=';'
13036        }
13037 fi
13038
13039 ac_prog=ld
13040 if test "$GCC" = yes; then
13041   # Check if gcc -print-prog-name=ld gives a path.
13042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13043 $as_echo_n "checking for ld used by $CC... " >&6; }
13044   case $host in
13045   *-*-mingw*)
13046     # gcc leaves a trailing carriage return which upsets mingw
13047     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13048   *)
13049     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13050   esac
13051   case $ac_prog in
13052     # Accept absolute paths.
13053     [\\/]* | ?:[\\/]*)
13054       re_direlt='/[^/][^/]*/\.\./'
13055       # Canonicalize the pathname of ld
13056       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
13057       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
13058         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13059       done
13060       test -z "$LD" && LD="$ac_prog"
13061       ;;
13062   "")
13063     # If it fails, then pretend we aren't using GCC.
13064     ac_prog=ld
13065     ;;
13066   *)
13067     # If it is relative, then search for the first ld in PATH.
13068     with_gnu_ld=unknown
13069     ;;
13070   esac
13071 elif test "$with_gnu_ld" = yes; then
13072   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13073 $as_echo_n "checking for GNU ld... " >&6; }
13074 else
13075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13076 $as_echo_n "checking for non-GNU ld... " >&6; }
13077 fi
13078 if ${acl_cv_path_LD+:} false; then :
13079   $as_echo_n "(cached) " >&6
13080 else
13081   if test -z "$LD"; then
13082   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13083   for ac_dir in $PATH; do
13084     IFS="$acl_save_ifs"
13085     test -z "$ac_dir" && ac_dir=.
13086     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13087       acl_cv_path_LD="$ac_dir/$ac_prog"
13088       # Check to see if the program is GNU ld.  I'd rather use --version,
13089       # but apparently some variants of GNU ld only accept -v.
13090       # Break only if it was the GNU/non-GNU ld that we prefer.
13091       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
13092       *GNU* | *'with BFD'*)
13093         test "$with_gnu_ld" != no && break
13094         ;;
13095       *)
13096         test "$with_gnu_ld" != yes && break
13097         ;;
13098       esac
13099     fi
13100   done
13101   IFS="$acl_save_ifs"
13102 else
13103   acl_cv_path_LD="$LD" # Let the user override the test with a path.
13104 fi
13105 fi
13106
13107 LD="$acl_cv_path_LD"
13108 if test -n "$LD"; then
13109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13110 $as_echo "$LD" >&6; }
13111 else
13112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113 $as_echo "no" >&6; }
13114 fi
13115 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13117 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13118 if ${acl_cv_prog_gnu_ld+:} false; then :
13119   $as_echo_n "(cached) " >&6
13120 else
13121   # I'd rather use --version here, but apparently some GNU lds only accept -v.
13122 case `$LD -v 2>&1 </dev/null` in
13123 *GNU* | *'with BFD'*)
13124   acl_cv_prog_gnu_ld=yes
13125   ;;
13126 *)
13127   acl_cv_prog_gnu_ld=no
13128   ;;
13129 esac
13130 fi
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13132 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13133 with_gnu_ld=$acl_cv_prog_gnu_ld
13134
13135
13136
13137
13138                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13139 $as_echo_n "checking for shared library run path origin... " >&6; }
13140 if ${acl_cv_rpath+:} false; then :
13141   $as_echo_n "(cached) " >&6
13142 else
13143
13144     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13145     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13146     . ./conftest.sh
13147     rm -f ./conftest.sh
13148     acl_cv_rpath=done
13149
13150 fi
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13152 $as_echo "$acl_cv_rpath" >&6; }
13153   wl="$acl_cv_wl"
13154   acl_libext="$acl_cv_libext"
13155   acl_shlibext="$acl_cv_shlibext"
13156   acl_libname_spec="$acl_cv_libname_spec"
13157   acl_library_names_spec="$acl_cv_library_names_spec"
13158   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13159   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13160   acl_hardcode_direct="$acl_cv_hardcode_direct"
13161   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13162     # Check whether --enable-rpath was given.
13163 if test "${enable_rpath+set}" = set; then :
13164   enableval=$enable_rpath; :
13165 else
13166   enable_rpath=yes
13167 fi
13168
13169
13170
13171
13172   acl_libdirstem=lib
13173   acl_libdirstem2=
13174   case "$host_os" in
13175     solaris*)
13176                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
13177 $as_echo_n "checking for 64-bit host... " >&6; }
13178 if ${gl_cv_solaris_64bit+:} false; then :
13179   $as_echo_n "(cached) " >&6
13180 else
13181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13182 /* end confdefs.h.  */
13183
13184 #ifdef _LP64
13185 sixtyfour bits
13186 #endif
13187
13188 _ACEOF
13189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13190   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
13191   gl_cv_solaris_64bit=yes
13192 else
13193   gl_cv_solaris_64bit=no
13194 fi
13195 rm -f conftest*
13196
13197
13198 fi
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
13200 $as_echo "$gl_cv_solaris_64bit" >&6; }
13201       if test $gl_cv_solaris_64bit = yes; then
13202         acl_libdirstem=lib/64
13203         case "$host_cpu" in
13204           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
13205           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
13206         esac
13207       fi
13208       ;;
13209     *)
13210       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13211       if test -n "$searchpath"; then
13212         acl_save_IFS="${IFS=    }"; IFS=":"
13213         for searchdir in $searchpath; do
13214           if test -d "$searchdir"; then
13215             case "$searchdir" in
13216               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13217               */../ | */.. )
13218                 # Better ignore directories of this form. They are misleading.
13219                 ;;
13220               *) searchdir=`cd "$searchdir" && pwd`
13221                  case "$searchdir" in
13222                    */lib64 ) acl_libdirstem=lib64 ;;
13223                  esac ;;
13224             esac
13225           fi
13226         done
13227         IFS="$acl_save_IFS"
13228       fi
13229       ;;
13230   esac
13231   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244     use_additional=yes
13245
13246   acl_save_prefix="$prefix"
13247   prefix="$acl_final_prefix"
13248   acl_save_exec_prefix="$exec_prefix"
13249   exec_prefix="$acl_final_exec_prefix"
13250
13251     eval additional_includedir=\"$includedir\"
13252     eval additional_libdir=\"$libdir\"
13253
13254   exec_prefix="$acl_save_exec_prefix"
13255   prefix="$acl_save_prefix"
13256
13257
13258 # Check whether --with-libiconv-prefix was given.
13259 if test "${with_libiconv_prefix+set}" = set; then :
13260   withval=$with_libiconv_prefix;
13261     if test "X$withval" = "Xno"; then
13262       use_additional=no
13263     else
13264       if test "X$withval" = "X"; then
13265
13266   acl_save_prefix="$prefix"
13267   prefix="$acl_final_prefix"
13268   acl_save_exec_prefix="$exec_prefix"
13269   exec_prefix="$acl_final_exec_prefix"
13270
13271           eval additional_includedir=\"$includedir\"
13272           eval additional_libdir=\"$libdir\"
13273
13274   exec_prefix="$acl_save_exec_prefix"
13275   prefix="$acl_save_prefix"
13276
13277       else
13278         additional_includedir="$withval/include"
13279         additional_libdir="$withval/$acl_libdirstem"
13280         if test "$acl_libdirstem2" != "$acl_libdirstem" \
13281            && ! test -d "$withval/$acl_libdirstem"; then
13282           additional_libdir="$withval/$acl_libdirstem2"
13283         fi
13284       fi
13285     fi
13286
13287 fi
13288
13289       LIBICONV=
13290   LTLIBICONV=
13291   INCICONV=
13292   LIBICONV_PREFIX=
13293       HAVE_LIBICONV=
13294   rpathdirs=
13295   ltrpathdirs=
13296   names_already_handled=
13297   names_next_round='iconv '
13298   while test -n "$names_next_round"; do
13299     names_this_round="$names_next_round"
13300     names_next_round=
13301     for name in $names_this_round; do
13302       already_handled=
13303       for n in $names_already_handled; do
13304         if test "$n" = "$name"; then
13305           already_handled=yes
13306           break
13307         fi
13308       done
13309       if test -z "$already_handled"; then
13310         names_already_handled="$names_already_handled $name"
13311                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
13312         eval value=\"\$HAVE_LIB$uppername\"
13313         if test -n "$value"; then
13314           if test "$value" = yes; then
13315             eval value=\"\$LIB$uppername\"
13316             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13317             eval value=\"\$LTLIB$uppername\"
13318             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13319           else
13320                                     :
13321           fi
13322         else
13323                               found_dir=
13324           found_la=
13325           found_so=
13326           found_a=
13327           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
13328           if test -n "$acl_shlibext"; then
13329             shrext=".$acl_shlibext"             # typically: shrext=.so
13330           else
13331             shrext=
13332           fi
13333           if test $use_additional = yes; then
13334             dir="$additional_libdir"
13335                                     if test -n "$acl_shlibext"; then
13336               if test -f "$dir/$libname$shrext"; then
13337                 found_dir="$dir"
13338                 found_so="$dir/$libname$shrext"
13339               else
13340                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13341                   ver=`(cd "$dir" && \
13342                         for f in "$libname$shrext".*; do echo "$f"; done \
13343                         | sed -e "s,^$libname$shrext\\\\.,," \
13344                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13345                         | sed 1q ) 2>/dev/null`
13346                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13347                     found_dir="$dir"
13348                     found_so="$dir/$libname$shrext.$ver"
13349                   fi
13350                 else
13351                   eval library_names=\"$acl_library_names_spec\"
13352                   for f in $library_names; do
13353                     if test -f "$dir/$f"; then
13354                       found_dir="$dir"
13355                       found_so="$dir/$f"
13356                       break
13357                     fi
13358                   done
13359                 fi
13360               fi
13361             fi
13362                         if test "X$found_dir" = "X"; then
13363               if test -f "$dir/$libname.$acl_libext"; then
13364                 found_dir="$dir"
13365                 found_a="$dir/$libname.$acl_libext"
13366               fi
13367             fi
13368             if test "X$found_dir" != "X"; then
13369               if test -f "$dir/$libname.la"; then
13370                 found_la="$dir/$libname.la"
13371               fi
13372             fi
13373           fi
13374           if test "X$found_dir" = "X"; then
13375             for x in $LDFLAGS $LTLIBICONV; do
13376
13377   acl_save_prefix="$prefix"
13378   prefix="$acl_final_prefix"
13379   acl_save_exec_prefix="$exec_prefix"
13380   exec_prefix="$acl_final_exec_prefix"
13381   eval x=\"$x\"
13382   exec_prefix="$acl_save_exec_prefix"
13383   prefix="$acl_save_prefix"
13384
13385               case "$x" in
13386                 -L*)
13387                   dir=`echo "X$x" | sed -e 's/^X-L//'`
13388                                     if test -n "$acl_shlibext"; then
13389                     if test -f "$dir/$libname$shrext"; then
13390                       found_dir="$dir"
13391                       found_so="$dir/$libname$shrext"
13392                     else
13393                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13394                         ver=`(cd "$dir" && \
13395                               for f in "$libname$shrext".*; do echo "$f"; done \
13396                               | sed -e "s,^$libname$shrext\\\\.,," \
13397                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13398                               | sed 1q ) 2>/dev/null`
13399                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13400                           found_dir="$dir"
13401                           found_so="$dir/$libname$shrext.$ver"
13402                         fi
13403                       else
13404                         eval library_names=\"$acl_library_names_spec\"
13405                         for f in $library_names; do
13406                           if test -f "$dir/$f"; then
13407                             found_dir="$dir"
13408                             found_so="$dir/$f"
13409                             break
13410                           fi
13411                         done
13412                       fi
13413                     fi
13414                   fi
13415                                     if test "X$found_dir" = "X"; then
13416                     if test -f "$dir/$libname.$acl_libext"; then
13417                       found_dir="$dir"
13418                       found_a="$dir/$libname.$acl_libext"
13419                     fi
13420                   fi
13421                   if test "X$found_dir" != "X"; then
13422                     if test -f "$dir/$libname.la"; then
13423                       found_la="$dir/$libname.la"
13424                     fi
13425                   fi
13426                   ;;
13427               esac
13428               if test "X$found_dir" != "X"; then
13429                 break
13430               fi
13431             done
13432           fi
13433           if test "X$found_dir" != "X"; then
13434                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13435             if test "X$found_so" != "X"; then
13436                                                         if test "$enable_rpath" = no \
13437                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
13438                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
13439                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13440               else
13441                                                                                 haveit=
13442                 for x in $ltrpathdirs; do
13443                   if test "X$x" = "X$found_dir"; then
13444                     haveit=yes
13445                     break
13446                   fi
13447                 done
13448                 if test -z "$haveit"; then
13449                   ltrpathdirs="$ltrpathdirs $found_dir"
13450                 fi
13451                                 if test "$acl_hardcode_direct" = yes; then
13452                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13453                 else
13454                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13455                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13456                                                             haveit=
13457                     for x in $rpathdirs; do
13458                       if test "X$x" = "X$found_dir"; then
13459                         haveit=yes
13460                         break
13461                       fi
13462                     done
13463                     if test -z "$haveit"; then
13464                       rpathdirs="$rpathdirs $found_dir"
13465                     fi
13466                   else
13467                                                                                 haveit=
13468                     for x in $LDFLAGS $LIBICONV; do
13469
13470   acl_save_prefix="$prefix"
13471   prefix="$acl_final_prefix"
13472   acl_save_exec_prefix="$exec_prefix"
13473   exec_prefix="$acl_final_exec_prefix"
13474   eval x=\"$x\"
13475   exec_prefix="$acl_save_exec_prefix"
13476   prefix="$acl_save_prefix"
13477
13478                       if test "X$x" = "X-L$found_dir"; then
13479                         haveit=yes
13480                         break
13481                       fi
13482                     done
13483                     if test -z "$haveit"; then
13484                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13485                     fi
13486                     if test "$acl_hardcode_minus_L" != no; then
13487                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13488                     else
13489                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13490                     fi
13491                   fi
13492                 fi
13493               fi
13494             else
13495               if test "X$found_a" != "X"; then
13496                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13497               else
13498                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13499               fi
13500             fi
13501                         additional_includedir=
13502             case "$found_dir" in
13503               */$acl_libdirstem | */$acl_libdirstem/)
13504                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13505                 if test "$name" = 'iconv'; then
13506                   LIBICONV_PREFIX="$basedir"
13507                 fi
13508                 additional_includedir="$basedir/include"
13509                 ;;
13510               */$acl_libdirstem2 | */$acl_libdirstem2/)
13511                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
13512                 if test "$name" = 'iconv'; then
13513                   LIBICONV_PREFIX="$basedir"
13514                 fi
13515                 additional_includedir="$basedir/include"
13516                 ;;
13517             esac
13518             if test "X$additional_includedir" != "X"; then
13519                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13520                 haveit=
13521                 if test "X$additional_includedir" = "X/usr/local/include"; then
13522                   if test -n "$GCC"; then
13523                     case $host_os in
13524                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13525                     esac
13526                   fi
13527                 fi
13528                 if test -z "$haveit"; then
13529                   for x in $CPPFLAGS $INCICONV; do
13530
13531   acl_save_prefix="$prefix"
13532   prefix="$acl_final_prefix"
13533   acl_save_exec_prefix="$exec_prefix"
13534   exec_prefix="$acl_final_exec_prefix"
13535   eval x=\"$x\"
13536   exec_prefix="$acl_save_exec_prefix"
13537   prefix="$acl_save_prefix"
13538
13539                     if test "X$x" = "X-I$additional_includedir"; then
13540                       haveit=yes
13541                       break
13542                     fi
13543                   done
13544                   if test -z "$haveit"; then
13545                     if test -d "$additional_includedir"; then
13546                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13547                     fi
13548                   fi
13549                 fi
13550               fi
13551             fi
13552                         if test -n "$found_la"; then
13553                                                         save_libdir="$libdir"
13554               case "$found_la" in
13555                 */* | *\\*) . "$found_la" ;;
13556                 *) . "./$found_la" ;;
13557               esac
13558               libdir="$save_libdir"
13559                             for dep in $dependency_libs; do
13560                 case "$dep" in
13561                   -L*)
13562                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13563                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
13564                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
13565                       haveit=
13566                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
13567                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
13568                         if test -n "$GCC"; then
13569                           case $host_os in
13570                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13571                           esac
13572                         fi
13573                       fi
13574                       if test -z "$haveit"; then
13575                         haveit=
13576                         for x in $LDFLAGS $LIBICONV; do
13577
13578   acl_save_prefix="$prefix"
13579   prefix="$acl_final_prefix"
13580   acl_save_exec_prefix="$exec_prefix"
13581   exec_prefix="$acl_final_exec_prefix"
13582   eval x=\"$x\"
13583   exec_prefix="$acl_save_exec_prefix"
13584   prefix="$acl_save_prefix"
13585
13586                           if test "X$x" = "X-L$additional_libdir"; then
13587                             haveit=yes
13588                             break
13589                           fi
13590                         done
13591                         if test -z "$haveit"; then
13592                           if test -d "$additional_libdir"; then
13593                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13594                           fi
13595                         fi
13596                         haveit=
13597                         for x in $LDFLAGS $LTLIBICONV; do
13598
13599   acl_save_prefix="$prefix"
13600   prefix="$acl_final_prefix"
13601   acl_save_exec_prefix="$exec_prefix"
13602   exec_prefix="$acl_final_exec_prefix"
13603   eval x=\"$x\"
13604   exec_prefix="$acl_save_exec_prefix"
13605   prefix="$acl_save_prefix"
13606
13607                           if test "X$x" = "X-L$additional_libdir"; then
13608                             haveit=yes
13609                             break
13610                           fi
13611                         done
13612                         if test -z "$haveit"; then
13613                           if test -d "$additional_libdir"; then
13614                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13615                           fi
13616                         fi
13617                       fi
13618                     fi
13619                     ;;
13620                   -R*)
13621                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13622                     if test "$enable_rpath" != no; then
13623                                                                   haveit=
13624                       for x in $rpathdirs; do
13625                         if test "X$x" = "X$dir"; then
13626                           haveit=yes
13627                           break
13628                         fi
13629                       done
13630                       if test -z "$haveit"; then
13631                         rpathdirs="$rpathdirs $dir"
13632                       fi
13633                                                                   haveit=
13634                       for x in $ltrpathdirs; do
13635                         if test "X$x" = "X$dir"; then
13636                           haveit=yes
13637                           break
13638                         fi
13639                       done
13640                       if test -z "$haveit"; then
13641                         ltrpathdirs="$ltrpathdirs $dir"
13642                       fi
13643                     fi
13644                     ;;
13645                   -l*)
13646                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13647                     ;;
13648                   *.la)
13649                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13650                     ;;
13651                   *)
13652                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13653                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13654                     ;;
13655                 esac
13656               done
13657             fi
13658           else
13659                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13660             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13661           fi
13662         fi
13663       fi
13664     done
13665   done
13666   if test "X$rpathdirs" != "X"; then
13667     if test -n "$acl_hardcode_libdir_separator"; then
13668                         alldirs=
13669       for found_dir in $rpathdirs; do
13670         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13671       done
13672             acl_save_libdir="$libdir"
13673       libdir="$alldirs"
13674       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13675       libdir="$acl_save_libdir"
13676       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13677     else
13678             for found_dir in $rpathdirs; do
13679         acl_save_libdir="$libdir"
13680         libdir="$found_dir"
13681         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13682         libdir="$acl_save_libdir"
13683         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13684       done
13685     fi
13686   fi
13687   if test "X$ltrpathdirs" != "X"; then
13688             for found_dir in $ltrpathdirs; do
13689       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13690     done
13691   fi
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704           am_save_CPPFLAGS="$CPPFLAGS"
13705
13706   for element in $INCICONV; do
13707     haveit=
13708     for x in $CPPFLAGS; do
13709
13710   acl_save_prefix="$prefix"
13711   prefix="$acl_final_prefix"
13712   acl_save_exec_prefix="$exec_prefix"
13713   exec_prefix="$acl_final_exec_prefix"
13714   eval x=\"$x\"
13715   exec_prefix="$acl_save_exec_prefix"
13716   prefix="$acl_save_prefix"
13717
13718       if test "X$x" = "X$element"; then
13719         haveit=yes
13720         break
13721       fi
13722     done
13723     if test -z "$haveit"; then
13724       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13725     fi
13726   done
13727
13728
13729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13730 $as_echo_n "checking for iconv... " >&6; }
13731 if ${am_cv_func_iconv+:} false; then :
13732   $as_echo_n "(cached) " >&6
13733 else
13734
13735     am_cv_func_iconv="no, consider installing GNU libiconv"
13736     am_cv_lib_iconv=no
13737     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h.  */
13739
13740 #include <stdlib.h>
13741 #include <iconv.h>
13742
13743 int
13744 main ()
13745 {
13746 iconv_t cd = iconv_open("","");
13747            iconv(cd,NULL,NULL,NULL,NULL);
13748            iconv_close(cd);
13749   ;
13750   return 0;
13751 }
13752 _ACEOF
13753 if ac_fn_c_try_link "$LINENO"; then :
13754   am_cv_func_iconv=yes
13755 fi
13756 rm -f core conftest.err conftest.$ac_objext \
13757     conftest$ac_exeext conftest.$ac_ext
13758     if test "$am_cv_func_iconv" != yes; then
13759       am_save_LIBS="$LIBS"
13760       LIBS="$LIBS $LIBICONV"
13761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h.  */
13763
13764 #include <stdlib.h>
13765 #include <iconv.h>
13766
13767 int
13768 main ()
13769 {
13770 iconv_t cd = iconv_open("","");
13771              iconv(cd,NULL,NULL,NULL,NULL);
13772              iconv_close(cd);
13773   ;
13774   return 0;
13775 }
13776 _ACEOF
13777 if ac_fn_c_try_link "$LINENO"; then :
13778   am_cv_lib_iconv=yes
13779         am_cv_func_iconv=yes
13780 fi
13781 rm -f core conftest.err conftest.$ac_objext \
13782     conftest$ac_exeext conftest.$ac_ext
13783       LIBS="$am_save_LIBS"
13784     fi
13785
13786 fi
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13788 $as_echo "$am_cv_func_iconv" >&6; }
13789   if test "$am_cv_func_iconv" = yes; then
13790     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13791 $as_echo_n "checking for working iconv... " >&6; }
13792 if ${am_cv_func_iconv_works+:} false; then :
13793   $as_echo_n "(cached) " >&6
13794 else
13795
13796                   am_save_LIBS="$LIBS"
13797       if test $am_cv_lib_iconv = yes; then
13798         LIBS="$LIBS $LIBICONV"
13799       fi
13800       am_cv_func_iconv_works=no
13801       for ac_iconv_const in '' 'const'; do
13802         if test "$cross_compiling" = yes; then :
13803   case "$host_os" in
13804              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13805              *)            am_cv_func_iconv_works="guessing yes" ;;
13806            esac
13807 else
13808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13809 /* end confdefs.h.  */
13810
13811 #include <iconv.h>
13812 #include <string.h>
13813
13814 #ifndef ICONV_CONST
13815 # define ICONV_CONST $ac_iconv_const
13816 #endif
13817
13818 int
13819 main ()
13820 {
13821 int result = 0;
13822   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13823      returns.  */
13824   {
13825     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13826     if (cd_utf8_to_88591 != (iconv_t)(-1))
13827       {
13828         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
13829         char buf[10];
13830         ICONV_CONST char *inptr = input;
13831         size_t inbytesleft = strlen (input);
13832         char *outptr = buf;
13833         size_t outbytesleft = sizeof (buf);
13834         size_t res = iconv (cd_utf8_to_88591,
13835                             &inptr, &inbytesleft,
13836                             &outptr, &outbytesleft);
13837         if (res == 0)
13838           result |= 1;
13839         iconv_close (cd_utf8_to_88591);
13840       }
13841   }
13842   /* Test against Solaris 10 bug: Failures are not distinguishable from
13843      successful returns.  */
13844   {
13845     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
13846     if (cd_ascii_to_88591 != (iconv_t)(-1))
13847       {
13848         static ICONV_CONST char input[] = "\263";
13849         char buf[10];
13850         ICONV_CONST char *inptr = input;
13851         size_t inbytesleft = strlen (input);
13852         char *outptr = buf;
13853         size_t outbytesleft = sizeof (buf);
13854         size_t res = iconv (cd_ascii_to_88591,
13855                             &inptr, &inbytesleft,
13856                             &outptr, &outbytesleft);
13857         if (res == 0)
13858           result |= 2;
13859         iconv_close (cd_ascii_to_88591);
13860       }
13861   }
13862   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
13863   {
13864     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
13865     if (cd_88591_to_utf8 != (iconv_t)(-1))
13866       {
13867         static ICONV_CONST char input[] = "\304";
13868         static char buf[2] = { (char)0xDE, (char)0xAD };
13869         ICONV_CONST char *inptr = input;
13870         size_t inbytesleft = 1;
13871         char *outptr = buf;
13872         size_t outbytesleft = 1;
13873         size_t res = iconv (cd_88591_to_utf8,
13874                             &inptr, &inbytesleft,
13875                             &outptr, &outbytesleft);
13876         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
13877           result |= 4;
13878         iconv_close (cd_88591_to_utf8);
13879       }
13880   }
13881 #if 0 /* This bug could be worked around by the caller.  */
13882   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
13883   {
13884     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13885     if (cd_88591_to_utf8 != (iconv_t)(-1))
13886       {
13887         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13888         char buf[50];
13889         ICONV_CONST char *inptr = input;
13890         size_t inbytesleft = strlen (input);
13891         char *outptr = buf;
13892         size_t outbytesleft = sizeof (buf);
13893         size_t res = iconv (cd_88591_to_utf8,
13894                             &inptr, &inbytesleft,
13895                             &outptr, &outbytesleft);
13896         if ((int)res > 0)
13897           result |= 8;
13898         iconv_close (cd_88591_to_utf8);
13899       }
13900   }
13901 #endif
13902   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13903      provided.  */
13904   if (/* Try standardized names.  */
13905       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13906       /* Try IRIX, OSF/1 names.  */
13907       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13908       /* Try AIX names.  */
13909       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13910       /* Try HP-UX names.  */
13911       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13912     result |= 16;
13913   return result;
13914
13915   ;
13916   return 0;
13917 }
13918 _ACEOF
13919 if ac_fn_c_try_run "$LINENO"; then :
13920   am_cv_func_iconv_works=yes
13921 fi
13922 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13923   conftest.$ac_objext conftest.beam conftest.$ac_ext
13924 fi
13925
13926         test "$am_cv_func_iconv_works" = no || break
13927       done
13928       LIBS="$am_save_LIBS"
13929
13930 fi
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13932 $as_echo "$am_cv_func_iconv_works" >&6; }
13933     case "$am_cv_func_iconv_works" in
13934       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13935       *)   am_func_iconv=yes ;;
13936     esac
13937   else
13938     am_func_iconv=no am_cv_lib_iconv=no
13939   fi
13940   if test "$am_func_iconv" = yes; then
13941
13942 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13943
13944   fi
13945   if test "$am_cv_lib_iconv" = yes; then
13946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13947 $as_echo_n "checking how to link with libiconv... " >&6; }
13948     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13949 $as_echo "$LIBICONV" >&6; }
13950   else
13951             CPPFLAGS="$am_save_CPPFLAGS"
13952     LIBICONV=
13953     LTLIBICONV=
13954   fi
13955
13956
13957
13958   if test "$am_cv_func_iconv" = yes; then
13959     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13960 $as_echo_n "checking for iconv declaration... " >&6; }
13961     if ${am_cv_proto_iconv+:} false; then :
13962   $as_echo_n "(cached) " >&6
13963 else
13964
13965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13966 /* end confdefs.h.  */
13967
13968 #include <stdlib.h>
13969 #include <iconv.h>
13970 extern
13971 #ifdef __cplusplus
13972 "C"
13973 #endif
13974 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
13975 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
13976 #else
13977 size_t iconv();
13978 #endif
13979
13980 int
13981 main ()
13982 {
13983
13984   ;
13985   return 0;
13986 }
13987 _ACEOF
13988 if ac_fn_c_try_compile "$LINENO"; then :
13989   am_cv_proto_iconv_arg1=""
13990 else
13991   am_cv_proto_iconv_arg1="const"
13992 fi
13993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13994       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);"
13995 fi
13996
13997     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13998     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
13999          $am_cv_proto_iconv" >&5
14000 $as_echo "
14001          $am_cv_proto_iconv" >&6; }
14002
14003 cat >>confdefs.h <<_ACEOF
14004 #define ICONV_CONST $am_cv_proto_iconv_arg1
14005 _ACEOF
14006
14007
14008   fi
14009
14010 libfuse_libs="$libfuse_libs $LTLIBICONV"
14011  if test "$am_cv_func_iconv" = yes; then
14012   ICONV_TRUE=
14013   ICONV_FALSE='#'
14014 else
14015   ICONV_TRUE='#'
14016   ICONV_FALSE=
14017 fi
14018
14019
14020
14021 if test -z "$MOUNT_FUSE_PATH"; then
14022         MOUNT_FUSE_PATH=/sbin
14023         { $as_echo "$as_me:${as_lineno-$LINENO}: MOUNT_FUSE_PATH env var not set, using default $MOUNT_FUSE_PATH" >&5
14024 $as_echo "$as_me: MOUNT_FUSE_PATH env var not set, using default $MOUNT_FUSE_PATH" >&6;}
14025 fi
14026
14027 if test -z "$UDEV_RULES_PATH"; then
14028         UDEV_RULES_PATH=/etc/udev/rules.d
14029         { $as_echo "$as_me:${as_lineno-$LINENO}: UDEV_RULES_PATH env var not set, using default $UDEV_RULES_PATH" >&5
14030 $as_echo "$as_me: UDEV_RULES_PATH env var not set, using default $UDEV_RULES_PATH" >&6;}
14031 fi
14032
14033 if test -z "$INIT_D_PATH"; then
14034         INIT_D_PATH=/etc/init.d
14035         { $as_echo "$as_me:${as_lineno-$LINENO}: INIT_D_PATH env var not set, using default $INIT_D_PATH" >&5
14036 $as_echo "$as_me: INIT_D_PATH env var not set, using default $INIT_D_PATH" >&6;}
14037 fi
14038
14039
14040
14041
14042  if test "$arch" = linux; then
14043   LINUX_TRUE=
14044   LINUX_FALSE='#'
14045 else
14046   LINUX_TRUE='#'
14047   LINUX_FALSE=
14048 fi
14049
14050  if test "$arch" = netbsd; then
14051   NETBSD_TRUE=
14052   NETBSD_FALSE='#'
14053 else
14054   NETBSD_TRUE='#'
14055   NETBSD_FALSE=
14056 fi
14057
14058  if test "$arch" = bsd; then
14059   BSD_TRUE=
14060   BSD_FALSE='#'
14061 else
14062   BSD_TRUE='#'
14063   BSD_FALSE=
14064 fi
14065
14066
14067 util_linux_ok=yes
14068 if test "$arch" = linux -a "$cross_compiling" != "yes"; then
14069         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if umount supports --fake --no-canonicalize" >&5
14070 $as_echo_n "checking if umount supports --fake --no-canonicalize... " >&6; }
14071         # exit code of umount is 1 if option is unrecognised, 2 otherwise
14072         umount --fake --no-canonicalize > /dev/null 2>&1
14073         if test $? != 1; then
14074                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14075 $as_echo "yes" >&6; }
14076         else
14077                 firstline=`umount --fake --no-canonicalize 2>&1 | head -1`
14078                 if test "$firstline" = 'umount: only root can use "--fake" option'; then
14079                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14080 $as_echo "yes" >&6; }
14081                 else
14082                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $firstline" >&5
14083 $as_echo "$firstline" >&6; }
14084                         util_linux_ok=no
14085                 fi
14086         fi
14087 fi
14088
14089 ac_config_files="$ac_config_files fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile doc/Makefile"
14090
14091 cat >confcache <<\_ACEOF
14092 # This file is a shell script that caches the results of configure
14093 # tests run on this system so they can be shared between configure
14094 # scripts and configure runs, see configure's option --config-cache.
14095 # It is not useful on other systems.  If it contains results you don't
14096 # want to keep, you may remove or edit it.
14097 #
14098 # config.status only pays attention to the cache file if you give it
14099 # the --recheck option to rerun configure.
14100 #
14101 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14103 # following values.
14104
14105 _ACEOF
14106
14107 # The following way of writing the cache mishandles newlines in values,
14108 # but we know of no workaround that is simple, portable, and efficient.
14109 # So, we kill variables containing newlines.
14110 # Ultrix sh set writes to stderr and can't be redirected directly,
14111 # and sets the high bit in the cache file unless we assign to the vars.
14112 (
14113   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14114     eval ac_val=\$$ac_var
14115     case $ac_val in #(
14116     *${as_nl}*)
14117       case $ac_var in #(
14118       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14119 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14120       esac
14121       case $ac_var in #(
14122       _ | IFS | as_nl) ;; #(
14123       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14124       *) { eval $ac_var=; unset $ac_var;} ;;
14125       esac ;;
14126     esac
14127   done
14128
14129   (set) 2>&1 |
14130     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14131     *${as_nl}ac_space=\ *)
14132       # `set' does not quote correctly, so add quotes: double-quote
14133       # substitution turns \\\\ into \\, and sed turns \\ into \.
14134       sed -n \
14135         "s/'/'\\\\''/g;
14136           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14137       ;; #(
14138     *)
14139       # `set' quotes correctly as required by POSIX, so do not add quotes.
14140       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14141       ;;
14142     esac |
14143     sort
14144 ) |
14145   sed '
14146      /^ac_cv_env_/b end
14147      t clear
14148      :clear
14149      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14150      t end
14151      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14152      :end' >>confcache
14153 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14154   if test -w "$cache_file"; then
14155     if test "x$cache_file" != "x/dev/null"; then
14156       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14157 $as_echo "$as_me: updating cache $cache_file" >&6;}
14158       if test ! -f "$cache_file" || test -h "$cache_file"; then
14159         cat confcache >"$cache_file"
14160       else
14161         case $cache_file in #(
14162         */* | ?:*)
14163           mv -f confcache "$cache_file"$$ &&
14164           mv -f "$cache_file"$$ "$cache_file" ;; #(
14165         *)
14166           mv -f confcache "$cache_file" ;;
14167         esac
14168       fi
14169     fi
14170   else
14171     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14172 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14173   fi
14174 fi
14175 rm -f confcache
14176
14177 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14178 # Let make expand exec_prefix.
14179 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14180
14181 DEFS=-DHAVE_CONFIG_H
14182
14183 ac_libobjs=
14184 ac_ltlibobjs=
14185 U=
14186 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14187   # 1. Remove the extension, and $U if already installed.
14188   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14189   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14190   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14191   #    will be set to the directory where LIBOBJS objects are built.
14192   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14193   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14194 done
14195 LIBOBJS=$ac_libobjs
14196
14197 LTLIBOBJS=$ac_ltlibobjs
14198
14199
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14201 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14202    if test -n "$am_sleep_pid"; then
14203      # Hide warnings about reused PIDs.
14204      wait $am_sleep_pid 2>/dev/null
14205    fi
14206    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14207 $as_echo "done" >&6; }
14208  if test -n "$EXEEXT"; then
14209   am__EXEEXT_TRUE=
14210   am__EXEEXT_FALSE='#'
14211 else
14212   am__EXEEXT_TRUE='#'
14213   am__EXEEXT_FALSE=
14214 fi
14215
14216 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14217   as_fn_error $? "conditional \"AMDEP\" was never defined.
14218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14219 fi
14220 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14221   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14223 fi
14224 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14225   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14227 fi
14228 if test -z "${ICONV_TRUE}" && test -z "${ICONV_FALSE}"; then
14229   as_fn_error $? "conditional \"ICONV\" was never defined.
14230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14231 fi
14232 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
14233   as_fn_error $? "conditional \"LINUX\" was never defined.
14234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14235 fi
14236 if test -z "${NETBSD_TRUE}" && test -z "${NETBSD_FALSE}"; then
14237   as_fn_error $? "conditional \"NETBSD\" was never defined.
14238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14239 fi
14240 if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
14241   as_fn_error $? "conditional \"BSD\" was never defined.
14242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14243 fi
14244
14245 : "${CONFIG_STATUS=./config.status}"
14246 ac_write_fail=0
14247 ac_clean_files_save=$ac_clean_files
14248 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14250 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14251 as_write_fail=0
14252 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14253 #! $SHELL
14254 # Generated by $as_me.
14255 # Run this file to recreate the current configuration.
14256 # Compiler output produced by configure, useful for debugging
14257 # configure, is in config.log if it exists.
14258
14259 debug=false
14260 ac_cs_recheck=false
14261 ac_cs_silent=false
14262
14263 SHELL=\${CONFIG_SHELL-$SHELL}
14264 export SHELL
14265 _ASEOF
14266 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14267 ## -------------------- ##
14268 ## M4sh Initialization. ##
14269 ## -------------------- ##
14270
14271 # Be more Bourne compatible
14272 DUALCASE=1; export DUALCASE # for MKS sh
14273 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14274   emulate sh
14275   NULLCMD=:
14276   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14277   # is contrary to our usage.  Disable this feature.
14278   alias -g '${1+"$@"}'='"$@"'
14279   setopt NO_GLOB_SUBST
14280 else
14281   case `(set -o) 2>/dev/null` in #(
14282   *posix*) :
14283     set -o posix ;; #(
14284   *) :
14285      ;;
14286 esac
14287 fi
14288
14289
14290 as_nl='
14291 '
14292 export as_nl
14293 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14294 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14295 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14297 # Prefer a ksh shell builtin over an external printf program on Solaris,
14298 # but without wasting forks for bash or zsh.
14299 if test -z "$BASH_VERSION$ZSH_VERSION" \
14300     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14301   as_echo='print -r --'
14302   as_echo_n='print -rn --'
14303 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14304   as_echo='printf %s\n'
14305   as_echo_n='printf %s'
14306 else
14307   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14308     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14309     as_echo_n='/usr/ucb/echo -n'
14310   else
14311     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14312     as_echo_n_body='eval
14313       arg=$1;
14314       case $arg in #(
14315       *"$as_nl"*)
14316         expr "X$arg" : "X\\(.*\\)$as_nl";
14317         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14318       esac;
14319       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14320     '
14321     export as_echo_n_body
14322     as_echo_n='sh -c $as_echo_n_body as_echo'
14323   fi
14324   export as_echo_body
14325   as_echo='sh -c $as_echo_body as_echo'
14326 fi
14327
14328 # The user is always right.
14329 if test "${PATH_SEPARATOR+set}" != set; then
14330   PATH_SEPARATOR=:
14331   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14332     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14333       PATH_SEPARATOR=';'
14334   }
14335 fi
14336
14337
14338 # IFS
14339 # We need space, tab and new line, in precisely that order.  Quoting is
14340 # there to prevent editors from complaining about space-tab.
14341 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14342 # splitting by setting IFS to empty value.)
14343 IFS=" ""        $as_nl"
14344
14345 # Find who we are.  Look in the path if we contain no directory separator.
14346 as_myself=
14347 case $0 in #((
14348   *[\\/]* ) as_myself=$0 ;;
14349   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14350 for as_dir in $PATH
14351 do
14352   IFS=$as_save_IFS
14353   test -z "$as_dir" && as_dir=.
14354     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14355   done
14356 IFS=$as_save_IFS
14357
14358      ;;
14359 esac
14360 # We did not find ourselves, most probably we were run as `sh COMMAND'
14361 # in which case we are not to be found in the path.
14362 if test "x$as_myself" = x; then
14363   as_myself=$0
14364 fi
14365 if test ! -f "$as_myself"; then
14366   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14367   exit 1
14368 fi
14369
14370 # Unset variables that we do not need and which cause bugs (e.g. in
14371 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14372 # suppresses any "Segmentation fault" message there.  '((' could
14373 # trigger a bug in pdksh 5.2.14.
14374 for as_var in BASH_ENV ENV MAIL MAILPATH
14375 do eval test x\${$as_var+set} = xset \
14376   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14377 done
14378 PS1='$ '
14379 PS2='> '
14380 PS4='+ '
14381
14382 # NLS nuisances.
14383 LC_ALL=C
14384 export LC_ALL
14385 LANGUAGE=C
14386 export LANGUAGE
14387
14388 # CDPATH.
14389 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14390
14391
14392 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14393 # ----------------------------------------
14394 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14395 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14396 # script with STATUS, using 1 if that was 0.
14397 as_fn_error ()
14398 {
14399   as_status=$1; test $as_status -eq 0 && as_status=1
14400   if test "$4"; then
14401     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14402     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14403   fi
14404   $as_echo "$as_me: error: $2" >&2
14405   as_fn_exit $as_status
14406 } # as_fn_error
14407
14408
14409 # as_fn_set_status STATUS
14410 # -----------------------
14411 # Set $? to STATUS, without forking.
14412 as_fn_set_status ()
14413 {
14414   return $1
14415 } # as_fn_set_status
14416
14417 # as_fn_exit STATUS
14418 # -----------------
14419 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14420 as_fn_exit ()
14421 {
14422   set +e
14423   as_fn_set_status $1
14424   exit $1
14425 } # as_fn_exit
14426
14427 # as_fn_unset VAR
14428 # ---------------
14429 # Portably unset VAR.
14430 as_fn_unset ()
14431 {
14432   { eval $1=; unset $1;}
14433 }
14434 as_unset=as_fn_unset
14435 # as_fn_append VAR VALUE
14436 # ----------------------
14437 # Append the text in VALUE to the end of the definition contained in VAR. Take
14438 # advantage of any shell optimizations that allow amortized linear growth over
14439 # repeated appends, instead of the typical quadratic growth present in naive
14440 # implementations.
14441 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14442   eval 'as_fn_append ()
14443   {
14444     eval $1+=\$2
14445   }'
14446 else
14447   as_fn_append ()
14448   {
14449     eval $1=\$$1\$2
14450   }
14451 fi # as_fn_append
14452
14453 # as_fn_arith ARG...
14454 # ------------------
14455 # Perform arithmetic evaluation on the ARGs, and store the result in the
14456 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14457 # must be portable across $(()) and expr.
14458 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14459   eval 'as_fn_arith ()
14460   {
14461     as_val=$(( $* ))
14462   }'
14463 else
14464   as_fn_arith ()
14465   {
14466     as_val=`expr "$@" || test $? -eq 1`
14467   }
14468 fi # as_fn_arith
14469
14470
14471 if expr a : '\(a\)' >/dev/null 2>&1 &&
14472    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14473   as_expr=expr
14474 else
14475   as_expr=false
14476 fi
14477
14478 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14479   as_basename=basename
14480 else
14481   as_basename=false
14482 fi
14483
14484 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14485   as_dirname=dirname
14486 else
14487   as_dirname=false
14488 fi
14489
14490 as_me=`$as_basename -- "$0" ||
14491 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14492          X"$0" : 'X\(//\)$' \| \
14493          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14494 $as_echo X/"$0" |
14495     sed '/^.*\/\([^/][^/]*\)\/*$/{
14496             s//\1/
14497             q
14498           }
14499           /^X\/\(\/\/\)$/{
14500             s//\1/
14501             q
14502           }
14503           /^X\/\(\/\).*/{
14504             s//\1/
14505             q
14506           }
14507           s/.*/./; q'`
14508
14509 # Avoid depending upon Character Ranges.
14510 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14511 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14512 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14513 as_cr_digits='0123456789'
14514 as_cr_alnum=$as_cr_Letters$as_cr_digits
14515
14516 ECHO_C= ECHO_N= ECHO_T=
14517 case `echo -n x` in #(((((
14518 -n*)
14519   case `echo 'xy\c'` in
14520   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14521   xy)  ECHO_C='\c';;
14522   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14523        ECHO_T=' ';;
14524   esac;;
14525 *)
14526   ECHO_N='-n';;
14527 esac
14528
14529 rm -f conf$$ conf$$.exe conf$$.file
14530 if test -d conf$$.dir; then
14531   rm -f conf$$.dir/conf$$.file
14532 else
14533   rm -f conf$$.dir
14534   mkdir conf$$.dir 2>/dev/null
14535 fi
14536 if (echo >conf$$.file) 2>/dev/null; then
14537   if ln -s conf$$.file conf$$ 2>/dev/null; then
14538     as_ln_s='ln -s'
14539     # ... but there are two gotchas:
14540     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14541     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14542     # In both cases, we have to default to `cp -pR'.
14543     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14544       as_ln_s='cp -pR'
14545   elif ln conf$$.file conf$$ 2>/dev/null; then
14546     as_ln_s=ln
14547   else
14548     as_ln_s='cp -pR'
14549   fi
14550 else
14551   as_ln_s='cp -pR'
14552 fi
14553 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14554 rmdir conf$$.dir 2>/dev/null
14555
14556
14557 # as_fn_mkdir_p
14558 # -------------
14559 # Create "$as_dir" as a directory, including parents if necessary.
14560 as_fn_mkdir_p ()
14561 {
14562
14563   case $as_dir in #(
14564   -*) as_dir=./$as_dir;;
14565   esac
14566   test -d "$as_dir" || eval $as_mkdir_p || {
14567     as_dirs=
14568     while :; do
14569       case $as_dir in #(
14570       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14571       *) as_qdir=$as_dir;;
14572       esac
14573       as_dirs="'$as_qdir' $as_dirs"
14574       as_dir=`$as_dirname -- "$as_dir" ||
14575 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14576          X"$as_dir" : 'X\(//\)[^/]' \| \
14577          X"$as_dir" : 'X\(//\)$' \| \
14578          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14579 $as_echo X"$as_dir" |
14580     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14581             s//\1/
14582             q
14583           }
14584           /^X\(\/\/\)[^/].*/{
14585             s//\1/
14586             q
14587           }
14588           /^X\(\/\/\)$/{
14589             s//\1/
14590             q
14591           }
14592           /^X\(\/\).*/{
14593             s//\1/
14594             q
14595           }
14596           s/.*/./; q'`
14597       test -d "$as_dir" && break
14598     done
14599     test -z "$as_dirs" || eval "mkdir $as_dirs"
14600   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14601
14602
14603 } # as_fn_mkdir_p
14604 if mkdir -p . 2>/dev/null; then
14605   as_mkdir_p='mkdir -p "$as_dir"'
14606 else
14607   test -d ./-p && rmdir ./-p
14608   as_mkdir_p=false
14609 fi
14610
14611
14612 # as_fn_executable_p FILE
14613 # -----------------------
14614 # Test if FILE is an executable regular file.
14615 as_fn_executable_p ()
14616 {
14617   test -f "$1" && test -x "$1"
14618 } # as_fn_executable_p
14619 as_test_x='test -x'
14620 as_executable_p=as_fn_executable_p
14621
14622 # Sed expression to map a string onto a valid CPP name.
14623 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14624
14625 # Sed expression to map a string onto a valid variable name.
14626 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14627
14628
14629 exec 6>&1
14630 ## ----------------------------------- ##
14631 ## Main body of $CONFIG_STATUS script. ##
14632 ## ----------------------------------- ##
14633 _ASEOF
14634 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14635
14636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14637 # Save the log message, to keep $0 and so on meaningful, and to
14638 # report actual input values of CONFIG_FILES etc. instead of their
14639 # values after options handling.
14640 ac_log="
14641 This file was extended by fuse $as_me 2.9.9, which was
14642 generated by GNU Autoconf 2.69.  Invocation command line was
14643
14644   CONFIG_FILES    = $CONFIG_FILES
14645   CONFIG_HEADERS  = $CONFIG_HEADERS
14646   CONFIG_LINKS    = $CONFIG_LINKS
14647   CONFIG_COMMANDS = $CONFIG_COMMANDS
14648   $ $0 $@
14649
14650 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14651 "
14652
14653 _ACEOF
14654
14655 case $ac_config_files in *"
14656 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14657 esac
14658
14659 case $ac_config_headers in *"
14660 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14661 esac
14662
14663
14664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14665 # Files that config.status was made for.
14666 config_files="$ac_config_files"
14667 config_headers="$ac_config_headers"
14668 config_commands="$ac_config_commands"
14669
14670 _ACEOF
14671
14672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14673 ac_cs_usage="\
14674 \`$as_me' instantiates files and other configuration actions
14675 from templates according to the current configuration.  Unless the files
14676 and actions are specified as TAGs, all are instantiated by default.
14677
14678 Usage: $0 [OPTION]... [TAG]...
14679
14680   -h, --help       print this help, then exit
14681   -V, --version    print version number and configuration settings, then exit
14682       --config     print configuration, then exit
14683   -q, --quiet, --silent
14684                    do not print progress messages
14685   -d, --debug      don't remove temporary files
14686       --recheck    update $as_me by reconfiguring in the same conditions
14687       --file=FILE[:TEMPLATE]
14688                    instantiate the configuration file FILE
14689       --header=FILE[:TEMPLATE]
14690                    instantiate the configuration header FILE
14691
14692 Configuration files:
14693 $config_files
14694
14695 Configuration headers:
14696 $config_headers
14697
14698 Configuration commands:
14699 $config_commands
14700
14701 Report bugs to the package provider."
14702
14703 _ACEOF
14704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14705 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14706 ac_cs_version="\\
14707 fuse config.status 2.9.9
14708 configured by $0, generated by GNU Autoconf 2.69,
14709   with options \\"\$ac_cs_config\\"
14710
14711 Copyright (C) 2012 Free Software Foundation, Inc.
14712 This config.status script is free software; the Free Software Foundation
14713 gives unlimited permission to copy, distribute and modify it."
14714
14715 ac_pwd='$ac_pwd'
14716 srcdir='$srcdir'
14717 INSTALL='$INSTALL'
14718 MKDIR_P='$MKDIR_P'
14719 AWK='$AWK'
14720 test -n "\$AWK" || AWK=awk
14721 _ACEOF
14722
14723 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14724 # The default lists apply if the user does not specify any file.
14725 ac_need_defaults=:
14726 while test $# != 0
14727 do
14728   case $1 in
14729   --*=?*)
14730     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14731     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14732     ac_shift=:
14733     ;;
14734   --*=)
14735     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14736     ac_optarg=
14737     ac_shift=:
14738     ;;
14739   *)
14740     ac_option=$1
14741     ac_optarg=$2
14742     ac_shift=shift
14743     ;;
14744   esac
14745
14746   case $ac_option in
14747   # Handling of the options.
14748   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14749     ac_cs_recheck=: ;;
14750   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14751     $as_echo "$ac_cs_version"; exit ;;
14752   --config | --confi | --conf | --con | --co | --c )
14753     $as_echo "$ac_cs_config"; exit ;;
14754   --debug | --debu | --deb | --de | --d | -d )
14755     debug=: ;;
14756   --file | --fil | --fi | --f )
14757     $ac_shift
14758     case $ac_optarg in
14759     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14760     '') as_fn_error $? "missing file argument" ;;
14761     esac
14762     as_fn_append CONFIG_FILES " '$ac_optarg'"
14763     ac_need_defaults=false;;
14764   --header | --heade | --head | --hea )
14765     $ac_shift
14766     case $ac_optarg in
14767     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14768     esac
14769     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14770     ac_need_defaults=false;;
14771   --he | --h)
14772     # Conflict between --help and --header
14773     as_fn_error $? "ambiguous option: \`$1'
14774 Try \`$0 --help' for more information.";;
14775   --help | --hel | -h )
14776     $as_echo "$ac_cs_usage"; exit ;;
14777   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14778   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14779     ac_cs_silent=: ;;
14780
14781   # This is an error.
14782   -*) as_fn_error $? "unrecognized option: \`$1'
14783 Try \`$0 --help' for more information." ;;
14784
14785   *) as_fn_append ac_config_targets " $1"
14786      ac_need_defaults=false ;;
14787
14788   esac
14789   shift
14790 done
14791
14792 ac_configure_extra_args=
14793
14794 if $ac_cs_silent; then
14795   exec 6>/dev/null
14796   ac_configure_extra_args="$ac_configure_extra_args --silent"
14797 fi
14798
14799 _ACEOF
14800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14801 if \$ac_cs_recheck; then
14802   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14803   shift
14804   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14805   CONFIG_SHELL='$SHELL'
14806   export CONFIG_SHELL
14807   exec "\$@"
14808 fi
14809
14810 _ACEOF
14811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14812 exec 5>>config.log
14813 {
14814   echo
14815   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14816 ## Running $as_me. ##
14817 _ASBOX
14818   $as_echo "$ac_log"
14819 } >&5
14820
14821 _ACEOF
14822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14823 #
14824 # INIT-COMMANDS
14825 #
14826 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14827
14828
14829 # The HP-UX ksh and POSIX shell print the target directory to stdout
14830 # if CDPATH is set.
14831 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14832
14833 sed_quote_subst='$sed_quote_subst'
14834 double_quote_subst='$double_quote_subst'
14835 delay_variable_subst='$delay_variable_subst'
14836 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14837 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14838 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14839 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14840 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14841 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14842 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14843 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14844 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14845 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14846 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14847 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14848 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14849 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14850 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14851 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14852 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14853 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14854 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14855 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14856 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14857 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14858 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14859 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14860 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14861 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14862 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14863 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14864 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14865 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14866 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14867 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14868 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14869 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14870 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14871 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14872 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14873 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14874 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14875 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14876 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14877 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14878 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14879 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14880 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14881 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14882 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14883 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14884 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14885 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14886 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14887 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14888 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14889 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14890 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14891 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14892 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14893 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14894 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"`'
14895 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14896 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14897 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14898 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14899 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14900 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14901 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14902 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14903 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14904 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14905 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14906 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14907 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14908 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14909 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14910 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14911 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14912 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14913 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14914 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14915 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14916 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14917 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14918 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14919 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14920 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14921 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14922 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14923 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14924 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14925 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14926 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14927 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14928 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14929 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14930 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14931 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14932 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14933 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14934 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14935 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14936 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14937 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14938 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14939 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14940 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14941 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14942 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14943 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14944 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14945 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14946 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14947 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14948 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14949 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14950 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14951 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14952 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14953 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14954 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14955 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14956 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14957 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14958 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14959 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14960 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14961 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14962 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14963 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14964 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14965 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14966 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14967 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14968 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14969 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14970 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14971
14972 LTCC='$LTCC'
14973 LTCFLAGS='$LTCFLAGS'
14974 compiler='$compiler_DEFAULT'
14975
14976 # A function that is used when there is no print builtin or printf.
14977 func_fallback_echo ()
14978 {
14979   eval 'cat <<_LTECHO_EOF
14980 \$1
14981 _LTECHO_EOF'
14982 }
14983
14984 # Quote evaled strings.
14985 for var in SHELL \
14986 ECHO \
14987 PATH_SEPARATOR \
14988 SED \
14989 GREP \
14990 EGREP \
14991 FGREP \
14992 LD \
14993 NM \
14994 LN_S \
14995 lt_SP2NL \
14996 lt_NL2SP \
14997 reload_flag \
14998 OBJDUMP \
14999 deplibs_check_method \
15000 file_magic_cmd \
15001 file_magic_glob \
15002 want_nocaseglob \
15003 DLLTOOL \
15004 sharedlib_from_linklib_cmd \
15005 AR \
15006 AR_FLAGS \
15007 archiver_list_spec \
15008 STRIP \
15009 RANLIB \
15010 CC \
15011 CFLAGS \
15012 compiler \
15013 lt_cv_sys_global_symbol_pipe \
15014 lt_cv_sys_global_symbol_to_cdecl \
15015 lt_cv_sys_global_symbol_to_import \
15016 lt_cv_sys_global_symbol_to_c_name_address \
15017 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15018 lt_cv_nm_interface \
15019 nm_file_list_spec \
15020 lt_cv_truncate_bin \
15021 lt_prog_compiler_no_builtin_flag \
15022 lt_prog_compiler_pic \
15023 lt_prog_compiler_wl \
15024 lt_prog_compiler_static \
15025 lt_cv_prog_compiler_c_o \
15026 need_locks \
15027 MANIFEST_TOOL \
15028 DSYMUTIL \
15029 NMEDIT \
15030 LIPO \
15031 OTOOL \
15032 OTOOL64 \
15033 shrext_cmds \
15034 export_dynamic_flag_spec \
15035 whole_archive_flag_spec \
15036 compiler_needs_object \
15037 with_gnu_ld \
15038 allow_undefined_flag \
15039 no_undefined_flag \
15040 hardcode_libdir_flag_spec \
15041 hardcode_libdir_separator \
15042 exclude_expsyms \
15043 include_expsyms \
15044 file_list_spec \
15045 variables_saved_for_relink \
15046 libname_spec \
15047 library_names_spec \
15048 soname_spec \
15049 install_override_mode \
15050 finish_eval \
15051 old_striplib \
15052 striplib; do
15053     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15054     *[\\\\\\\`\\"\\\$]*)
15055       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15056       ;;
15057     *)
15058       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15059       ;;
15060     esac
15061 done
15062
15063 # Double-quote double-evaled strings.
15064 for var in reload_cmds \
15065 old_postinstall_cmds \
15066 old_postuninstall_cmds \
15067 old_archive_cmds \
15068 extract_expsyms_cmds \
15069 old_archive_from_new_cmds \
15070 old_archive_from_expsyms_cmds \
15071 archive_cmds \
15072 archive_expsym_cmds \
15073 module_cmds \
15074 module_expsym_cmds \
15075 export_symbols_cmds \
15076 prelink_cmds \
15077 postlink_cmds \
15078 postinstall_cmds \
15079 postuninstall_cmds \
15080 finish_cmds \
15081 sys_lib_search_path_spec \
15082 configure_time_dlsearch_path \
15083 configure_time_lt_sys_library_path; do
15084     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15085     *[\\\\\\\`\\"\\\$]*)
15086       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15087       ;;
15088     *)
15089       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15090       ;;
15091     esac
15092 done
15093
15094 ac_aux_dir='$ac_aux_dir'
15095
15096 # See if we are running on zsh, and set the options that allow our
15097 # commands through without removal of \ escapes INIT.
15098 if test -n "\${ZSH_VERSION+set}"; then
15099    setopt NO_GLOB_SUBST
15100 fi
15101
15102
15103     PACKAGE='$PACKAGE'
15104     VERSION='$VERSION'
15105     RM='$RM'
15106     ofile='$ofile'
15107
15108
15109
15110
15111 _ACEOF
15112
15113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15114
15115 # Handling of arguments.
15116 for ac_config_target in $ac_config_targets
15117 do
15118   case $ac_config_target in
15119     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
15120     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15121     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15122     "fuse.pc") CONFIG_FILES="$CONFIG_FILES fuse.pc" ;;
15123     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15124     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
15125     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
15126     "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
15127     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15128     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15129
15130   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15131   esac
15132 done
15133
15134
15135 # If the user did not use the arguments to specify the items to instantiate,
15136 # then the envvar interface is used.  Set only those that are not.
15137 # We use the long form for the default assignment because of an extremely
15138 # bizarre bug on SunOS 4.1.3.
15139 if $ac_need_defaults; then
15140   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15141   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15142   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15143 fi
15144
15145 # Have a temporary directory for convenience.  Make it in the build tree
15146 # simply because there is no reason against having it here, and in addition,
15147 # creating and moving files from /tmp can sometimes cause problems.
15148 # Hook for its removal unless debugging.
15149 # Note that there is a small window in which the directory will not be cleaned:
15150 # after its creation but before its name has been assigned to `$tmp'.
15151 $debug ||
15152 {
15153   tmp= ac_tmp=
15154   trap 'exit_status=$?
15155   : "${ac_tmp:=$tmp}"
15156   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15157 ' 0
15158   trap 'as_fn_exit 1' 1 2 13 15
15159 }
15160 # Create a (secure) tmp directory for tmp files.
15161
15162 {
15163   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15164   test -d "$tmp"
15165 }  ||
15166 {
15167   tmp=./conf$$-$RANDOM
15168   (umask 077 && mkdir "$tmp")
15169 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15170 ac_tmp=$tmp
15171
15172 # Set up the scripts for CONFIG_FILES section.
15173 # No need to generate them if there are no CONFIG_FILES.
15174 # This happens for instance with `./config.status config.h'.
15175 if test -n "$CONFIG_FILES"; then
15176
15177
15178 ac_cr=`echo X | tr X '\015'`
15179 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15180 # But we know of no other shell where ac_cr would be empty at this
15181 # point, so we can use a bashism as a fallback.
15182 if test "x$ac_cr" = x; then
15183   eval ac_cr=\$\'\\r\'
15184 fi
15185 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15186 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15187   ac_cs_awk_cr='\\r'
15188 else
15189   ac_cs_awk_cr=$ac_cr
15190 fi
15191
15192 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15193 _ACEOF
15194
15195
15196 {
15197   echo "cat >conf$$subs.awk <<_ACEOF" &&
15198   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15199   echo "_ACEOF"
15200 } >conf$$subs.sh ||
15201   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15202 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15203 ac_delim='%!_!# '
15204 for ac_last_try in false false false false false :; do
15205   . ./conf$$subs.sh ||
15206     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15207
15208   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15209   if test $ac_delim_n = $ac_delim_num; then
15210     break
15211   elif $ac_last_try; then
15212     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15213   else
15214     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15215   fi
15216 done
15217 rm -f conf$$subs.sh
15218
15219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15220 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15221 _ACEOF
15222 sed -n '
15223 h
15224 s/^/S["/; s/!.*/"]=/
15225 p
15226 g
15227 s/^[^!]*!//
15228 :repl
15229 t repl
15230 s/'"$ac_delim"'$//
15231 t delim
15232 :nl
15233 h
15234 s/\(.\{148\}\)..*/\1/
15235 t more1
15236 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15237 p
15238 n
15239 b repl
15240 :more1
15241 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15242 p
15243 g
15244 s/.\{148\}//
15245 t nl
15246 :delim
15247 h
15248 s/\(.\{148\}\)..*/\1/
15249 t more2
15250 s/["\\]/\\&/g; s/^/"/; s/$/"/
15251 p
15252 b
15253 :more2
15254 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15255 p
15256 g
15257 s/.\{148\}//
15258 t delim
15259 ' <conf$$subs.awk | sed '
15260 /^[^""]/{
15261   N
15262   s/\n//
15263 }
15264 ' >>$CONFIG_STATUS || ac_write_fail=1
15265 rm -f conf$$subs.awk
15266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15267 _ACAWK
15268 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15269   for (key in S) S_is_set[key] = 1
15270   FS = "\a"
15271
15272 }
15273 {
15274   line = $ 0
15275   nfields = split(line, field, "@")
15276   substed = 0
15277   len = length(field[1])
15278   for (i = 2; i < nfields; i++) {
15279     key = field[i]
15280     keylen = length(key)
15281     if (S_is_set[key]) {
15282       value = S[key]
15283       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15284       len += length(value) + length(field[++i])
15285       substed = 1
15286     } else
15287       len += 1 + keylen
15288   }
15289
15290   print line
15291 }
15292
15293 _ACAWK
15294 _ACEOF
15295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15296 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15297   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15298 else
15299   cat
15300 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15301   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15302 _ACEOF
15303
15304 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15305 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15306 # trailing colons and then remove the whole line if VPATH becomes empty
15307 # (actually we leave an empty line to preserve line numbers).
15308 if test "x$srcdir" = x.; then
15309   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15310 h
15311 s///
15312 s/^/:/
15313 s/[      ]*$/:/
15314 s/:\$(srcdir):/:/g
15315 s/:\${srcdir}:/:/g
15316 s/:@srcdir@:/:/g
15317 s/^:*//
15318 s/:*$//
15319 x
15320 s/\(=[   ]*\).*/\1/
15321 G
15322 s/\n//
15323 s/^[^=]*=[       ]*$//
15324 }'
15325 fi
15326
15327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15328 fi # test -n "$CONFIG_FILES"
15329
15330 # Set up the scripts for CONFIG_HEADERS section.
15331 # No need to generate them if there are no CONFIG_HEADERS.
15332 # This happens for instance with `./config.status Makefile'.
15333 if test -n "$CONFIG_HEADERS"; then
15334 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15335 BEGIN {
15336 _ACEOF
15337
15338 # Transform confdefs.h into an awk script `defines.awk', embedded as
15339 # here-document in config.status, that substitutes the proper values into
15340 # config.h.in to produce config.h.
15341
15342 # Create a delimiter string that does not exist in confdefs.h, to ease
15343 # handling of long lines.
15344 ac_delim='%!_!# '
15345 for ac_last_try in false false :; do
15346   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15347   if test -z "$ac_tt"; then
15348     break
15349   elif $ac_last_try; then
15350     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15351   else
15352     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15353   fi
15354 done
15355
15356 # For the awk script, D is an array of macro values keyed by name,
15357 # likewise P contains macro parameters if any.  Preserve backslash
15358 # newline sequences.
15359
15360 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15361 sed -n '
15362 s/.\{148\}/&'"$ac_delim"'/g
15363 t rset
15364 :rset
15365 s/^[     ]*#[    ]*define[       ][      ]*/ /
15366 t def
15367 d
15368 :def
15369 s/\\$//
15370 t bsnl
15371 s/["\\]/\\&/g
15372 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15373 D["\1"]=" \3"/p
15374 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15375 d
15376 :bsnl
15377 s/["\\]/\\&/g
15378 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15379 D["\1"]=" \3\\\\\\n"\\/p
15380 t cont
15381 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15382 t cont
15383 d
15384 :cont
15385 n
15386 s/.\{148\}/&'"$ac_delim"'/g
15387 t clear
15388 :clear
15389 s/\\$//
15390 t bsnlc
15391 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15392 d
15393 :bsnlc
15394 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15395 b cont
15396 ' <confdefs.h | sed '
15397 s/'"$ac_delim"'/"\\\
15398 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15399
15400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15401   for (key in D) D_is_set[key] = 1
15402   FS = "\a"
15403 }
15404 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15405   line = \$ 0
15406   split(line, arg, " ")
15407   if (arg[1] == "#") {
15408     defundef = arg[2]
15409     mac1 = arg[3]
15410   } else {
15411     defundef = substr(arg[1], 2)
15412     mac1 = arg[2]
15413   }
15414   split(mac1, mac2, "(") #)
15415   macro = mac2[1]
15416   prefix = substr(line, 1, index(line, defundef) - 1)
15417   if (D_is_set[macro]) {
15418     # Preserve the white space surrounding the "#".
15419     print prefix "define", macro P[macro] D[macro]
15420     next
15421   } else {
15422     # Replace #undef with comments.  This is necessary, for example,
15423     # in the case of _POSIX_SOURCE, which is predefined and required
15424     # on some systems where configure will not decide to define it.
15425     if (defundef == "undef") {
15426       print "/*", prefix defundef, macro, "*/"
15427       next
15428     }
15429   }
15430 }
15431 { print }
15432 _ACAWK
15433 _ACEOF
15434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15435   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15436 fi # test -n "$CONFIG_HEADERS"
15437
15438
15439 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15440 shift
15441 for ac_tag
15442 do
15443   case $ac_tag in
15444   :[FHLC]) ac_mode=$ac_tag; continue;;
15445   esac
15446   case $ac_mode$ac_tag in
15447   :[FHL]*:*);;
15448   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15449   :[FH]-) ac_tag=-:-;;
15450   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15451   esac
15452   ac_save_IFS=$IFS
15453   IFS=:
15454   set x $ac_tag
15455   IFS=$ac_save_IFS
15456   shift
15457   ac_file=$1
15458   shift
15459
15460   case $ac_mode in
15461   :L) ac_source=$1;;
15462   :[FH])
15463     ac_file_inputs=
15464     for ac_f
15465     do
15466       case $ac_f in
15467       -) ac_f="$ac_tmp/stdin";;
15468       *) # Look for the file first in the build tree, then in the source tree
15469          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15470          # because $ac_f cannot contain `:'.
15471          test -f "$ac_f" ||
15472            case $ac_f in
15473            [\\/$]*) false;;
15474            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15475            esac ||
15476            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15477       esac
15478       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15479       as_fn_append ac_file_inputs " '$ac_f'"
15480     done
15481
15482     # Let's still pretend it is `configure' which instantiates (i.e., don't
15483     # use $as_me), people would be surprised to read:
15484     #    /* config.h.  Generated by config.status.  */
15485     configure_input='Generated from '`
15486           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15487         `' by configure.'
15488     if test x"$ac_file" != x-; then
15489       configure_input="$ac_file.  $configure_input"
15490       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15491 $as_echo "$as_me: creating $ac_file" >&6;}
15492     fi
15493     # Neutralize special characters interpreted by sed in replacement strings.
15494     case $configure_input in #(
15495     *\&* | *\|* | *\\* )
15496        ac_sed_conf_input=`$as_echo "$configure_input" |
15497        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15498     *) ac_sed_conf_input=$configure_input;;
15499     esac
15500
15501     case $ac_tag in
15502     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15503       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15504     esac
15505     ;;
15506   esac
15507
15508   ac_dir=`$as_dirname -- "$ac_file" ||
15509 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15510          X"$ac_file" : 'X\(//\)[^/]' \| \
15511          X"$ac_file" : 'X\(//\)$' \| \
15512          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15513 $as_echo X"$ac_file" |
15514     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15515             s//\1/
15516             q
15517           }
15518           /^X\(\/\/\)[^/].*/{
15519             s//\1/
15520             q
15521           }
15522           /^X\(\/\/\)$/{
15523             s//\1/
15524             q
15525           }
15526           /^X\(\/\).*/{
15527             s//\1/
15528             q
15529           }
15530           s/.*/./; q'`
15531   as_dir="$ac_dir"; as_fn_mkdir_p
15532   ac_builddir=.
15533
15534 case "$ac_dir" in
15535 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15536 *)
15537   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15538   # A ".." for each directory in $ac_dir_suffix.
15539   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15540   case $ac_top_builddir_sub in
15541   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15542   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15543   esac ;;
15544 esac
15545 ac_abs_top_builddir=$ac_pwd
15546 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15547 # for backward compatibility:
15548 ac_top_builddir=$ac_top_build_prefix
15549
15550 case $srcdir in
15551   .)  # We are building in place.
15552     ac_srcdir=.
15553     ac_top_srcdir=$ac_top_builddir_sub
15554     ac_abs_top_srcdir=$ac_pwd ;;
15555   [\\/]* | ?:[\\/]* )  # Absolute name.
15556     ac_srcdir=$srcdir$ac_dir_suffix;
15557     ac_top_srcdir=$srcdir
15558     ac_abs_top_srcdir=$srcdir ;;
15559   *) # Relative name.
15560     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15561     ac_top_srcdir=$ac_top_build_prefix$srcdir
15562     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15563 esac
15564 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15565
15566
15567   case $ac_mode in
15568   :F)
15569   #
15570   # CONFIG_FILE
15571   #
15572
15573   case $INSTALL in
15574   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15575   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15576   esac
15577   ac_MKDIR_P=$MKDIR_P
15578   case $MKDIR_P in
15579   [\\/$]* | ?:[\\/]* ) ;;
15580   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15581   esac
15582 _ACEOF
15583
15584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15585 # If the template does not know about datarootdir, expand it.
15586 # FIXME: This hack should be removed a few years after 2.60.
15587 ac_datarootdir_hack=; ac_datarootdir_seen=
15588 ac_sed_dataroot='
15589 /datarootdir/ {
15590   p
15591   q
15592 }
15593 /@datadir@/p
15594 /@docdir@/p
15595 /@infodir@/p
15596 /@localedir@/p
15597 /@mandir@/p'
15598 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15599 *datarootdir*) ac_datarootdir_seen=yes;;
15600 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15601   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15602 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15603 _ACEOF
15604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15605   ac_datarootdir_hack='
15606   s&@datadir@&$datadir&g
15607   s&@docdir@&$docdir&g
15608   s&@infodir@&$infodir&g
15609   s&@localedir@&$localedir&g
15610   s&@mandir@&$mandir&g
15611   s&\\\${datarootdir}&$datarootdir&g' ;;
15612 esac
15613 _ACEOF
15614
15615 # Neutralize VPATH when `$srcdir' = `.'.
15616 # Shell code in configure.ac might set extrasub.
15617 # FIXME: do we really want to maintain this feature?
15618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15619 ac_sed_extra="$ac_vpsub
15620 $extrasub
15621 _ACEOF
15622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15623 :t
15624 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15625 s|@configure_input@|$ac_sed_conf_input|;t t
15626 s&@top_builddir@&$ac_top_builddir_sub&;t t
15627 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15628 s&@srcdir@&$ac_srcdir&;t t
15629 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15630 s&@top_srcdir@&$ac_top_srcdir&;t t
15631 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15632 s&@builddir@&$ac_builddir&;t t
15633 s&@abs_builddir@&$ac_abs_builddir&;t t
15634 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15635 s&@INSTALL@&$ac_INSTALL&;t t
15636 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15637 $ac_datarootdir_hack
15638 "
15639 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15640   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15641
15642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15643   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15644   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15645       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15646   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15647 which seems to be undefined.  Please make sure it is defined" >&5
15648 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15649 which seems to be undefined.  Please make sure it is defined" >&2;}
15650
15651   rm -f "$ac_tmp/stdin"
15652   case $ac_file in
15653   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15654   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15655   esac \
15656   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15657  ;;
15658   :H)
15659   #
15660   # CONFIG_HEADER
15661   #
15662   if test x"$ac_file" != x-; then
15663     {
15664       $as_echo "/* $configure_input  */" \
15665       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15666     } >"$ac_tmp/config.h" \
15667       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15668     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15669       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15670 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15671     else
15672       rm -f "$ac_file"
15673       mv "$ac_tmp/config.h" "$ac_file" \
15674         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15675     fi
15676   else
15677     $as_echo "/* $configure_input  */" \
15678       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15679       || as_fn_error $? "could not create -" "$LINENO" 5
15680   fi
15681 # Compute "$ac_file"'s index in $config_headers.
15682 _am_arg="$ac_file"
15683 _am_stamp_count=1
15684 for _am_header in $config_headers :; do
15685   case $_am_header in
15686     $_am_arg | $_am_arg:* )
15687       break ;;
15688     * )
15689       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15690   esac
15691 done
15692 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15693 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15694          X"$_am_arg" : 'X\(//\)[^/]' \| \
15695          X"$_am_arg" : 'X\(//\)$' \| \
15696          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15697 $as_echo X"$_am_arg" |
15698     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15699             s//\1/
15700             q
15701           }
15702           /^X\(\/\/\)[^/].*/{
15703             s//\1/
15704             q
15705           }
15706           /^X\(\/\/\)$/{
15707             s//\1/
15708             q
15709           }
15710           /^X\(\/\).*/{
15711             s//\1/
15712             q
15713           }
15714           s/.*/./; q'`/stamp-h$_am_stamp_count
15715  ;;
15716
15717   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15718 $as_echo "$as_me: executing $ac_file commands" >&6;}
15719  ;;
15720   esac
15721
15722
15723   case $ac_file$ac_mode in
15724     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15725   # Older Autoconf quotes --file arguments for eval, but not when files
15726   # are listed without --file.  Let's play safe and only enable the eval
15727   # if we detect the quoting.
15728   case $CONFIG_FILES in
15729   *\'*) eval set x "$CONFIG_FILES" ;;
15730   *)   set x $CONFIG_FILES ;;
15731   esac
15732   shift
15733   for mf
15734   do
15735     # Strip MF so we end up with the name of the file.
15736     mf=`echo "$mf" | sed -e 's/:.*$//'`
15737     # Check whether this is an Automake generated Makefile or not.
15738     # We used to match only the files named 'Makefile.in', but
15739     # some people rename them; so instead we look at the file content.
15740     # Grep'ing the first line is not enough: some people post-process
15741     # each Makefile.in and add a new line on top of each file to say so.
15742     # Grep'ing the whole file is not good either: AIX grep has a line
15743     # limit of 2048, but all sed's we know have understand at least 4000.
15744     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15745       dirpart=`$as_dirname -- "$mf" ||
15746 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15747          X"$mf" : 'X\(//\)[^/]' \| \
15748          X"$mf" : 'X\(//\)$' \| \
15749          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15750 $as_echo X"$mf" |
15751     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15752             s//\1/
15753             q
15754           }
15755           /^X\(\/\/\)[^/].*/{
15756             s//\1/
15757             q
15758           }
15759           /^X\(\/\/\)$/{
15760             s//\1/
15761             q
15762           }
15763           /^X\(\/\).*/{
15764             s//\1/
15765             q
15766           }
15767           s/.*/./; q'`
15768     else
15769       continue
15770     fi
15771     # Extract the definition of DEPDIR, am__include, and am__quote
15772     # from the Makefile without running 'make'.
15773     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15774     test -z "$DEPDIR" && continue
15775     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15776     test -z "$am__include" && continue
15777     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15778     # Find all dependency output files, they are included files with
15779     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15780     # simplest approach to changing $(DEPDIR) to its actual value in the
15781     # expansion.
15782     for file in `sed -n "
15783       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15784          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15785       # Make sure the directory exists.
15786       test -f "$dirpart/$file" && continue
15787       fdir=`$as_dirname -- "$file" ||
15788 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15789          X"$file" : 'X\(//\)[^/]' \| \
15790          X"$file" : 'X\(//\)$' \| \
15791          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15792 $as_echo X"$file" |
15793     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15794             s//\1/
15795             q
15796           }
15797           /^X\(\/\/\)[^/].*/{
15798             s//\1/
15799             q
15800           }
15801           /^X\(\/\/\)$/{
15802             s//\1/
15803             q
15804           }
15805           /^X\(\/\).*/{
15806             s//\1/
15807             q
15808           }
15809           s/.*/./; q'`
15810       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15811       # echo "creating $dirpart/$file"
15812       echo '# dummy' > "$dirpart/$file"
15813     done
15814   done
15815 }
15816  ;;
15817     "libtool":C)
15818
15819     # See if we are running on zsh, and set the options that allow our
15820     # commands through without removal of \ escapes.
15821     if test -n "${ZSH_VERSION+set}"; then
15822       setopt NO_GLOB_SUBST
15823     fi
15824
15825     cfgfile=${ofile}T
15826     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15827     $RM "$cfgfile"
15828
15829     cat <<_LT_EOF >> "$cfgfile"
15830 #! $SHELL
15831 # Generated automatically by $as_me ($PACKAGE) $VERSION
15832 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15833
15834 # Provide generalized library-building support services.
15835 # Written by Gordon Matzigkeit, 1996
15836
15837 # Copyright (C) 2014 Free Software Foundation, Inc.
15838 # This is free software; see the source for copying conditions.  There is NO
15839 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15840
15841 # GNU Libtool is free software; you can redistribute it and/or modify
15842 # it under the terms of the GNU General Public License as published by
15843 # the Free Software Foundation; either version 2 of of the License, or
15844 # (at your option) any later version.
15845 #
15846 # As a special exception to the GNU General Public License, if you
15847 # distribute this file as part of a program or library that is built
15848 # using GNU Libtool, you may include this file under the  same
15849 # distribution terms that you use for the rest of that program.
15850 #
15851 # GNU Libtool is distributed in the hope that it will be useful, but
15852 # WITHOUT ANY WARRANTY; without even the implied warranty of
15853 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15854 # GNU General Public License for more details.
15855 #
15856 # You should have received a copy of the GNU General Public License
15857 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
15858
15859
15860 # The names of the tagged configurations supported by this script.
15861 available_tags=''
15862
15863 # Configured defaults for sys_lib_dlsearch_path munging.
15864 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15865
15866 # ### BEGIN LIBTOOL CONFIG
15867
15868 # Which release of libtool.m4 was used?
15869 macro_version=$macro_version
15870 macro_revision=$macro_revision
15871
15872 # Whether or not to build shared libraries.
15873 build_libtool_libs=$enable_shared
15874
15875 # Whether or not to build static libraries.
15876 build_old_libs=$enable_static
15877
15878 # What type of objects to build.
15879 pic_mode=$pic_mode
15880
15881 # Whether or not to optimize for fast installation.
15882 fast_install=$enable_fast_install
15883
15884 # Shared archive member basename,for filename based shared library versioning on AIX.
15885 shared_archive_member_spec=$shared_archive_member_spec
15886
15887 # Shell to use when invoking shell scripts.
15888 SHELL=$lt_SHELL
15889
15890 # An echo program that protects backslashes.
15891 ECHO=$lt_ECHO
15892
15893 # The PATH separator for the build system.
15894 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15895
15896 # The host system.
15897 host_alias=$host_alias
15898 host=$host
15899 host_os=$host_os
15900
15901 # The build system.
15902 build_alias=$build_alias
15903 build=$build
15904 build_os=$build_os
15905
15906 # A sed program that does not truncate output.
15907 SED=$lt_SED
15908
15909 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15910 Xsed="\$SED -e 1s/^X//"
15911
15912 # A grep program that handles long lines.
15913 GREP=$lt_GREP
15914
15915 # An ERE matcher.
15916 EGREP=$lt_EGREP
15917
15918 # A literal string matcher.
15919 FGREP=$lt_FGREP
15920
15921 # A BSD- or MS-compatible name lister.
15922 NM=$lt_NM
15923
15924 # Whether we need soft or hard links.
15925 LN_S=$lt_LN_S
15926
15927 # What is the maximum length of a command?
15928 max_cmd_len=$max_cmd_len
15929
15930 # Object file suffix (normally "o").
15931 objext=$ac_objext
15932
15933 # Executable file suffix (normally "").
15934 exeext=$exeext
15935
15936 # whether the shell understands "unset".
15937 lt_unset=$lt_unset
15938
15939 # turn spaces into newlines.
15940 SP2NL=$lt_lt_SP2NL
15941
15942 # turn newlines into spaces.
15943 NL2SP=$lt_lt_NL2SP
15944
15945 # convert \$build file names to \$host format.
15946 to_host_file_cmd=$lt_cv_to_host_file_cmd
15947
15948 # convert \$build files to toolchain format.
15949 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15950
15951 # An object symbol dumper.
15952 OBJDUMP=$lt_OBJDUMP
15953
15954 # Method to check whether dependent libraries are shared objects.
15955 deplibs_check_method=$lt_deplibs_check_method
15956
15957 # Command to use when deplibs_check_method = "file_magic".
15958 file_magic_cmd=$lt_file_magic_cmd
15959
15960 # How to find potential files when deplibs_check_method = "file_magic".
15961 file_magic_glob=$lt_file_magic_glob
15962
15963 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15964 want_nocaseglob=$lt_want_nocaseglob
15965
15966 # DLL creation program.
15967 DLLTOOL=$lt_DLLTOOL
15968
15969 # Command to associate shared and link libraries.
15970 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15971
15972 # The archiver.
15973 AR=$lt_AR
15974
15975 # Flags to create an archive.
15976 AR_FLAGS=$lt_AR_FLAGS
15977
15978 # How to feed a file listing to the archiver.
15979 archiver_list_spec=$lt_archiver_list_spec
15980
15981 # A symbol stripping program.
15982 STRIP=$lt_STRIP
15983
15984 # Commands used to install an old-style archive.
15985 RANLIB=$lt_RANLIB
15986 old_postinstall_cmds=$lt_old_postinstall_cmds
15987 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15988
15989 # Whether to use a lock for old archive extraction.
15990 lock_old_archive_extraction=$lock_old_archive_extraction
15991
15992 # A C compiler.
15993 LTCC=$lt_CC
15994
15995 # LTCC compiler flags.
15996 LTCFLAGS=$lt_CFLAGS
15997
15998 # Take the output of nm and produce a listing of raw symbols and C names.
15999 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16000
16001 # Transform the output of nm in a proper C declaration.
16002 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16003
16004 # Transform the output of nm into a list of symbols to manually relocate.
16005 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16006
16007 # Transform the output of nm in a C name address pair.
16008 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16009
16010 # Transform the output of nm in a C name address pair when lib prefix is needed.
16011 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16012
16013 # The name lister interface.
16014 nm_interface=$lt_lt_cv_nm_interface
16015
16016 # Specify filename containing input files for \$NM.
16017 nm_file_list_spec=$lt_nm_file_list_spec
16018
16019 # The root where to search for dependent libraries,and where our libraries should be installed.
16020 lt_sysroot=$lt_sysroot
16021
16022 # Command to truncate a binary pipe.
16023 lt_truncate_bin=$lt_lt_cv_truncate_bin
16024
16025 # The name of the directory that contains temporary libtool files.
16026 objdir=$objdir
16027
16028 # Used to examine libraries when file_magic_cmd begins with "file".
16029 MAGIC_CMD=$MAGIC_CMD
16030
16031 # Must we lock files when doing compilation?
16032 need_locks=$lt_need_locks
16033
16034 # Manifest tool.
16035 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16036
16037 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16038 DSYMUTIL=$lt_DSYMUTIL
16039
16040 # Tool to change global to local symbols on Mac OS X.
16041 NMEDIT=$lt_NMEDIT
16042
16043 # Tool to manipulate fat objects and archives on Mac OS X.
16044 LIPO=$lt_LIPO
16045
16046 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16047 OTOOL=$lt_OTOOL
16048
16049 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16050 OTOOL64=$lt_OTOOL64
16051
16052 # Old archive suffix (normally "a").
16053 libext=$libext
16054
16055 # Shared library suffix (normally ".so").
16056 shrext_cmds=$lt_shrext_cmds
16057
16058 # The commands to extract the exported symbol list from a shared archive.
16059 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16060
16061 # Variables whose values should be saved in libtool wrapper scripts and
16062 # restored at link time.
16063 variables_saved_for_relink=$lt_variables_saved_for_relink
16064
16065 # Do we need the "lib" prefix for modules?
16066 need_lib_prefix=$need_lib_prefix
16067
16068 # Do we need a version for libraries?
16069 need_version=$need_version
16070
16071 # Library versioning type.
16072 version_type=$version_type
16073
16074 # Shared library runtime path variable.
16075 runpath_var=$runpath_var
16076
16077 # Shared library path variable.
16078 shlibpath_var=$shlibpath_var
16079
16080 # Is shlibpath searched before the hard-coded library search path?
16081 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16082
16083 # Format of library name prefix.
16084 libname_spec=$lt_libname_spec
16085
16086 # List of archive names.  First name is the real one, the rest are links.
16087 # The last name is the one that the linker finds with -lNAME
16088 library_names_spec=$lt_library_names_spec
16089
16090 # The coded name of the library, if different from the real name.
16091 soname_spec=$lt_soname_spec
16092
16093 # Permission mode override for installation of shared libraries.
16094 install_override_mode=$lt_install_override_mode
16095
16096 # Command to use after installation of a shared archive.
16097 postinstall_cmds=$lt_postinstall_cmds
16098
16099 # Command to use after uninstallation of a shared archive.
16100 postuninstall_cmds=$lt_postuninstall_cmds
16101
16102 # Commands used to finish a libtool library installation in a directory.
16103 finish_cmds=$lt_finish_cmds
16104
16105 # As "finish_cmds", except a single script fragment to be evaled but
16106 # not shown.
16107 finish_eval=$lt_finish_eval
16108
16109 # Whether we should hardcode library paths into libraries.
16110 hardcode_into_libs=$hardcode_into_libs
16111
16112 # Compile-time system search path for libraries.
16113 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16114
16115 # Detected run-time system search path for libraries.
16116 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16117
16118 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16119 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16120
16121 # Whether dlopen is supported.
16122 dlopen_support=$enable_dlopen
16123
16124 # Whether dlopen of programs is supported.
16125 dlopen_self=$enable_dlopen_self
16126
16127 # Whether dlopen of statically linked programs is supported.
16128 dlopen_self_static=$enable_dlopen_self_static
16129
16130 # Commands to strip libraries.
16131 old_striplib=$lt_old_striplib
16132 striplib=$lt_striplib
16133
16134
16135 # The linker used to build libraries.
16136 LD=$lt_LD
16137
16138 # How to create reloadable object files.
16139 reload_flag=$lt_reload_flag
16140 reload_cmds=$lt_reload_cmds
16141
16142 # Commands used to build an old-style archive.
16143 old_archive_cmds=$lt_old_archive_cmds
16144
16145 # A language specific compiler.
16146 CC=$lt_compiler
16147
16148 # Is the compiler the GNU compiler?
16149 with_gcc=$GCC
16150
16151 # Compiler flag to turn off builtin functions.
16152 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16153
16154 # Additional compiler flags for building library objects.
16155 pic_flag=$lt_lt_prog_compiler_pic
16156
16157 # How to pass a linker flag through the compiler.
16158 wl=$lt_lt_prog_compiler_wl
16159
16160 # Compiler flag to prevent dynamic linking.
16161 link_static_flag=$lt_lt_prog_compiler_static
16162
16163 # Does compiler simultaneously support -c and -o options?
16164 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16165
16166 # Whether or not to add -lc for building shared libraries.
16167 build_libtool_need_lc=$archive_cmds_need_lc
16168
16169 # Whether or not to disallow shared libs when runtime libs are static.
16170 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16171
16172 # Compiler flag to allow reflexive dlopens.
16173 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16174
16175 # Compiler flag to generate shared objects directly from archives.
16176 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16177
16178 # Whether the compiler copes with passing no objects directly.
16179 compiler_needs_object=$lt_compiler_needs_object
16180
16181 # Create an old-style archive from a shared archive.
16182 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16183
16184 # Create a temporary old-style archive to link instead of a shared archive.
16185 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16186
16187 # Commands used to build a shared archive.
16188 archive_cmds=$lt_archive_cmds
16189 archive_expsym_cmds=$lt_archive_expsym_cmds
16190
16191 # Commands used to build a loadable module if different from building
16192 # a shared archive.
16193 module_cmds=$lt_module_cmds
16194 module_expsym_cmds=$lt_module_expsym_cmds
16195
16196 # Whether we are building with GNU ld or not.
16197 with_gnu_ld=$lt_with_gnu_ld
16198
16199 # Flag that allows shared libraries with undefined symbols to be built.
16200 allow_undefined_flag=$lt_allow_undefined_flag
16201
16202 # Flag that enforces no undefined symbols.
16203 no_undefined_flag=$lt_no_undefined_flag
16204
16205 # Flag to hardcode \$libdir into a binary during linking.
16206 # This must work even if \$libdir does not exist
16207 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16208
16209 # Whether we need a single "-rpath" flag with a separated argument.
16210 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16211
16212 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16213 # DIR into the resulting binary.
16214 hardcode_direct=$hardcode_direct
16215
16216 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16217 # DIR into the resulting binary and the resulting library dependency is
16218 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
16219 # library is relocated.
16220 hardcode_direct_absolute=$hardcode_direct_absolute
16221
16222 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16223 # into the resulting binary.
16224 hardcode_minus_L=$hardcode_minus_L
16225
16226 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16227 # into the resulting binary.
16228 hardcode_shlibpath_var=$hardcode_shlibpath_var
16229
16230 # Set to "yes" if building a shared library automatically hardcodes DIR
16231 # into the library and all subsequent libraries and executables linked
16232 # against it.
16233 hardcode_automatic=$hardcode_automatic
16234
16235 # Set to yes if linker adds runtime paths of dependent libraries
16236 # to runtime path list.
16237 inherit_rpath=$inherit_rpath
16238
16239 # Whether libtool must link a program against all its dependency libraries.
16240 link_all_deplibs=$link_all_deplibs
16241
16242 # Set to "yes" if exported symbols are required.
16243 always_export_symbols=$always_export_symbols
16244
16245 # The commands to list exported symbols.
16246 export_symbols_cmds=$lt_export_symbols_cmds
16247
16248 # Symbols that should not be listed in the preloaded symbols.
16249 exclude_expsyms=$lt_exclude_expsyms
16250
16251 # Symbols that must always be exported.
16252 include_expsyms=$lt_include_expsyms
16253
16254 # Commands necessary for linking programs (against libraries) with templates.
16255 prelink_cmds=$lt_prelink_cmds
16256
16257 # Commands necessary for finishing linking programs.
16258 postlink_cmds=$lt_postlink_cmds
16259
16260 # Specify filename containing input files.
16261 file_list_spec=$lt_file_list_spec
16262
16263 # How to hardcode a shared library path into an executable.
16264 hardcode_action=$hardcode_action
16265
16266 # ### END LIBTOOL CONFIG
16267
16268 _LT_EOF
16269
16270     cat <<'_LT_EOF' >> "$cfgfile"
16271
16272 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16273
16274 # func_munge_path_list VARIABLE PATH
16275 # -----------------------------------
16276 # VARIABLE is name of variable containing _space_ separated list of
16277 # directories to be munged by the contents of PATH, which is string
16278 # having a format:
16279 # "DIR[:DIR]:"
16280 #       string "DIR[ DIR]" will be prepended to VARIABLE
16281 # ":DIR[:DIR]"
16282 #       string "DIR[ DIR]" will be appended to VARIABLE
16283 # "DIRP[:DIRP]::[DIRA:]DIRA"
16284 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16285 #       "DIRA[ DIRA]" will be appended to VARIABLE
16286 # "DIR[:DIR]"
16287 #       VARIABLE will be replaced by "DIR[ DIR]"
16288 func_munge_path_list ()
16289 {
16290     case x$2 in
16291     x)
16292         ;;
16293     *:)
16294         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16295         ;;
16296     x:*)
16297         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16298         ;;
16299     *::*)
16300         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16301         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16302         ;;
16303     *)
16304         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16305         ;;
16306     esac
16307 }
16308
16309
16310 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
16311 func_cc_basename ()
16312 {
16313     for cc_temp in $*""; do
16314       case $cc_temp in
16315         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16316         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16317         \-*) ;;
16318         *) break;;
16319       esac
16320     done
16321     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16322 }
16323
16324
16325 # ### END FUNCTIONS SHARED WITH CONFIGURE
16326
16327 _LT_EOF
16328
16329   case $host_os in
16330   aix3*)
16331     cat <<\_LT_EOF >> "$cfgfile"
16332 # AIX sometimes has problems with the GCC collect2 program.  For some
16333 # reason, if we set the COLLECT_NAMES environment variable, the problems
16334 # vanish in a puff of smoke.
16335 if test set != "${COLLECT_NAMES+set}"; then
16336   COLLECT_NAMES=
16337   export COLLECT_NAMES
16338 fi
16339 _LT_EOF
16340     ;;
16341   esac
16342
16343
16344 ltmain=$ac_aux_dir/ltmain.sh
16345
16346
16347   # We use sed instead of cat because bash on DJGPP gets confused if
16348   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16349   # text mode, it properly converts lines to CR/LF.  This bash problem
16350   # is reportedly fixed, but why not run on old versions too?
16351   sed '$q' "$ltmain" >> "$cfgfile" \
16352      || (rm -f "$cfgfile"; exit 1)
16353
16354    mv -f "$cfgfile" "$ofile" ||
16355     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16356   chmod +x "$ofile"
16357
16358  ;;
16359
16360   esac
16361 done # for ac_tag
16362
16363
16364 as_fn_exit 0
16365 _ACEOF
16366 ac_clean_files=$ac_clean_files_save
16367
16368 test $ac_write_fail = 0 ||
16369   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16370
16371
16372 # configure is writing to config.log, and then calls config.status.
16373 # config.status does its own redirection, appending to config.log.
16374 # Unfortunately, on DOS this fails, as config.log is still kept open
16375 # by configure, so config.status won't be able to write to it; its
16376 # output is simply discarded.  So we exec the FD to /dev/null,
16377 # effectively closing config.log, so it can be properly (re)opened and
16378 # appended to by config.status.  When coming back to configure, we
16379 # need to make the FD available again.
16380 if test "$no_create" != yes; then
16381   ac_cs_success=:
16382   ac_config_status_args=
16383   test "$silent" = yes &&
16384     ac_config_status_args="$ac_config_status_args --quiet"
16385   exec 5>/dev/null
16386   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16387   exec 5>>config.log
16388   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16389   # would make configure fail if this is the last instruction.
16390   $ac_cs_success || as_fn_exit 1
16391 fi
16392 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16393   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16394 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16395 fi
16396
16397
16398 if test "$util_linux_ok" = no; then
16399         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16400 ******************************************************************
16401 * Please install util-linux version 2.18 or later which supports *
16402 * --fake and --no-canonicalize options in mount and umount       *
16403 ******************************************************************" >&5
16404 $as_echo "$as_me: WARNING:
16405 ******************************************************************
16406 * Please install util-linux version 2.18 or later which supports *
16407 * --fake and --no-canonicalize options in mount and umount       *
16408 ******************************************************************" >&2;}
16409 fi