0f5053c51597b5872e7774ce7f35fb45cc5fc17c
[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.6.
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.6'
591 PACKAGE_STRING='fuse 2.9.6'
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 OTOOL64
653 OTOOL
654 LIPO
655 NMEDIT
656 DSYMUTIL
657 MANIFEST_TOOL
658 RANLIB
659 ac_ct_AR
660 AR
661 DLLTOOL
662 OBJDUMP
663 LN_S
664 NM
665 ac_ct_DUMPBIN
666 DUMPBIN
667 LD
668 FGREP
669 EGREP
670 GREP
671 SED
672 am__fastdepCC_FALSE
673 am__fastdepCC_TRUE
674 CCDEPMODE
675 am__nodep
676 AMDEPBACKSLASH
677 AMDEP_FALSE
678 AMDEP_TRUE
679 am__quote
680 am__include
681 DEPDIR
682 OBJEXT
683 EXEEXT
684 ac_ct_CC
685 CPPFLAGS
686 LDFLAGS
687 CFLAGS
688 CC
689 LIBTOOL
690 AM_BACKSLASH
691 AM_DEFAULT_VERBOSITY
692 AM_DEFAULT_V
693 AM_V
694 am__untar
695 am__tar
696 AMTAR
697 am__leading_dot
698 SET_MAKE
699 AWK
700 mkdir_p
701 MKDIR_P
702 INSTALL_STRIP_PROGRAM
703 STRIP
704 install_sh
705 MAKEINFO
706 AUTOHEADER
707 AUTOMAKE
708 AUTOCONF
709 ACLOCAL
710 VERSION
711 PACKAGE
712 CYGPATH_W
713 am__isrc
714 INSTALL_DATA
715 INSTALL_SCRIPT
716 INSTALL_PROGRAM
717 target_os
718 target_vendor
719 target_cpu
720 target
721 host_os
722 host_vendor
723 host_cpu
724 host
725 build_os
726 build_vendor
727 build_cpu
728 build
729 target_alias
730 host_alias
731 build_alias
732 LIBS
733 ECHO_T
734 ECHO_N
735 ECHO_C
736 DEFS
737 mandir
738 localedir
739 libdir
740 psdir
741 pdfdir
742 dvidir
743 htmldir
744 infodir
745 docdir
746 oldincludedir
747 includedir
748 localstatedir
749 sharedstatedir
750 sysconfdir
751 datadir
752 datarootdir
753 libexecdir
754 sbindir
755 bindir
756 program_transform_name
757 prefix
758 exec_prefix
759 PACKAGE_URL
760 PACKAGE_BUGREPORT
761 PACKAGE_STRING
762 PACKAGE_VERSION
763 PACKAGE_TARNAME
764 PACKAGE_NAME
765 PATH_SEPARATOR
766 SHELL'
767 ac_subst_files=''
768 ac_user_opts='
769 enable_option_checking
770 enable_silent_rules
771 enable_shared
772 enable_static
773 with_pic
774 enable_fast_install
775 enable_dependency_tracking
776 with_gnu_ld
777 with_sysroot
778 enable_libtool_lock
779 enable_lib
780 enable_util
781 enable_example
782 enable_mtab
783 with_pkgconfigdir
784 with_libiconv_prefix
785 enable_rpath
786 '
787       ac_precious_vars='build_alias
788 host_alias
789 target_alias
790 CC
791 CFLAGS
792 LDFLAGS
793 LIBS
794 CPPFLAGS
795 CPP'
796
797
798 # Initialize some variables set by options.
799 ac_init_help=
800 ac_init_version=false
801 ac_unrecognized_opts=
802 ac_unrecognized_sep=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
805 cache_file=/dev/null
806 exec_prefix=NONE
807 no_create=
808 no_recursion=
809 prefix=NONE
810 program_prefix=NONE
811 program_suffix=NONE
812 program_transform_name=s,x,x,
813 silent=
814 site=
815 srcdir=
816 verbose=
817 x_includes=NONE
818 x_libraries=NONE
819
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir='${exec_prefix}/bin'
827 sbindir='${exec_prefix}/sbin'
828 libexecdir='${exec_prefix}/libexec'
829 datarootdir='${prefix}/share'
830 datadir='${datarootdir}'
831 sysconfdir='${prefix}/etc'
832 sharedstatedir='${prefix}/com'
833 localstatedir='${prefix}/var'
834 includedir='${prefix}/include'
835 oldincludedir='/usr/include'
836 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir='${datarootdir}/info'
838 htmldir='${docdir}'
839 dvidir='${docdir}'
840 pdfdir='${docdir}'
841 psdir='${docdir}'
842 libdir='${exec_prefix}/lib'
843 localedir='${datarootdir}/locale'
844 mandir='${datarootdir}/man'
845
846 ac_prev=
847 ac_dashdash=
848 for ac_option
849 do
850   # If the previous option needs an argument, assign it.
851   if test -n "$ac_prev"; then
852     eval $ac_prev=\$ac_option
853     ac_prev=
854     continue
855   fi
856
857   case $ac_option in
858   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
859   *=)   ac_optarg= ;;
860   *)    ac_optarg=yes ;;
861   esac
862
863   # Accept the important Cygnus configure options, so we can diagnose typos.
864
865   case $ac_dashdash$ac_option in
866   --)
867     ac_dashdash=yes ;;
868
869   -bindir | --bindir | --bindi | --bind | --bin | --bi)
870     ac_prev=bindir ;;
871   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
872     bindir=$ac_optarg ;;
873
874   -build | --build | --buil | --bui | --bu)
875     ac_prev=build_alias ;;
876   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
877     build_alias=$ac_optarg ;;
878
879   -cache-file | --cache-file | --cache-fil | --cache-fi \
880   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
881     ac_prev=cache_file ;;
882   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
883   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
884     cache_file=$ac_optarg ;;
885
886   --config-cache | -C)
887     cache_file=config.cache ;;
888
889   -datadir | --datadir | --datadi | --datad)
890     ac_prev=datadir ;;
891   -datadir=* | --datadir=* | --datadi=* | --datad=*)
892     datadir=$ac_optarg ;;
893
894   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
895   | --dataroo | --dataro | --datar)
896     ac_prev=datarootdir ;;
897   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
898   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
899     datarootdir=$ac_optarg ;;
900
901   -disable-* | --disable-*)
902     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903     # Reject names that are not valid shell variable names.
904     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
905       as_fn_error $? "invalid feature name: $ac_useropt"
906     ac_useropt_orig=$ac_useropt
907     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908     case $ac_user_opts in
909       *"
910 "enable_$ac_useropt"
911 "*) ;;
912       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
913          ac_unrecognized_sep=', ';;
914     esac
915     eval enable_$ac_useropt=no ;;
916
917   -docdir | --docdir | --docdi | --doc | --do)
918     ac_prev=docdir ;;
919   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
920     docdir=$ac_optarg ;;
921
922   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
923     ac_prev=dvidir ;;
924   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
925     dvidir=$ac_optarg ;;
926
927   -enable-* | --enable-*)
928     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
929     # Reject names that are not valid shell variable names.
930     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
931       as_fn_error $? "invalid feature name: $ac_useropt"
932     ac_useropt_orig=$ac_useropt
933     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934     case $ac_user_opts in
935       *"
936 "enable_$ac_useropt"
937 "*) ;;
938       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
939          ac_unrecognized_sep=', ';;
940     esac
941     eval enable_$ac_useropt=\$ac_optarg ;;
942
943   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
944   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
945   | --exec | --exe | --ex)
946     ac_prev=exec_prefix ;;
947   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
948   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
949   | --exec=* | --exe=* | --ex=*)
950     exec_prefix=$ac_optarg ;;
951
952   -gas | --gas | --ga | --g)
953     # Obsolete; use --with-gas.
954     with_gas=yes ;;
955
956   -help | --help | --hel | --he | -h)
957     ac_init_help=long ;;
958   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
959     ac_init_help=recursive ;;
960   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
961     ac_init_help=short ;;
962
963   -host | --host | --hos | --ho)
964     ac_prev=host_alias ;;
965   -host=* | --host=* | --hos=* | --ho=*)
966     host_alias=$ac_optarg ;;
967
968   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
969     ac_prev=htmldir ;;
970   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
971   | --ht=*)
972     htmldir=$ac_optarg ;;
973
974   -includedir | --includedir | --includedi | --included | --include \
975   | --includ | --inclu | --incl | --inc)
976     ac_prev=includedir ;;
977   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
978   | --includ=* | --inclu=* | --incl=* | --inc=*)
979     includedir=$ac_optarg ;;
980
981   -infodir | --infodir | --infodi | --infod | --info | --inf)
982     ac_prev=infodir ;;
983   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
984     infodir=$ac_optarg ;;
985
986   -libdir | --libdir | --libdi | --libd)
987     ac_prev=libdir ;;
988   -libdir=* | --libdir=* | --libdi=* | --libd=*)
989     libdir=$ac_optarg ;;
990
991   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
992   | --libexe | --libex | --libe)
993     ac_prev=libexecdir ;;
994   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
995   | --libexe=* | --libex=* | --libe=*)
996     libexecdir=$ac_optarg ;;
997
998   -localedir | --localedir | --localedi | --localed | --locale)
999     ac_prev=localedir ;;
1000   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1001     localedir=$ac_optarg ;;
1002
1003   -localstatedir | --localstatedir | --localstatedi | --localstated \
1004   | --localstate | --localstat | --localsta | --localst | --locals)
1005     ac_prev=localstatedir ;;
1006   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1007   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1008     localstatedir=$ac_optarg ;;
1009
1010   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1011     ac_prev=mandir ;;
1012   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1013     mandir=$ac_optarg ;;
1014
1015   -nfp | --nfp | --nf)
1016     # Obsolete; use --without-fp.
1017     with_fp=no ;;
1018
1019   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1020   | --no-cr | --no-c | -n)
1021     no_create=yes ;;
1022
1023   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1024   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1025     no_recursion=yes ;;
1026
1027   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1028   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1029   | --oldin | --oldi | --old | --ol | --o)
1030     ac_prev=oldincludedir ;;
1031   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1032   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1033   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1034     oldincludedir=$ac_optarg ;;
1035
1036   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1037     ac_prev=prefix ;;
1038   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1039     prefix=$ac_optarg ;;
1040
1041   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1042   | --program-pre | --program-pr | --program-p)
1043     ac_prev=program_prefix ;;
1044   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1045   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1046     program_prefix=$ac_optarg ;;
1047
1048   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1049   | --program-suf | --program-su | --program-s)
1050     ac_prev=program_suffix ;;
1051   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1052   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1053     program_suffix=$ac_optarg ;;
1054
1055   -program-transform-name | --program-transform-name \
1056   | --program-transform-nam | --program-transform-na \
1057   | --program-transform-n | --program-transform- \
1058   | --program-transform | --program-transfor \
1059   | --program-transfo | --program-transf \
1060   | --program-trans | --program-tran \
1061   | --progr-tra | --program-tr | --program-t)
1062     ac_prev=program_transform_name ;;
1063   -program-transform-name=* | --program-transform-name=* \
1064   | --program-transform-nam=* | --program-transform-na=* \
1065   | --program-transform-n=* | --program-transform-=* \
1066   | --program-transform=* | --program-transfor=* \
1067   | --program-transfo=* | --program-transf=* \
1068   | --program-trans=* | --program-tran=* \
1069   | --progr-tra=* | --program-tr=* | --program-t=*)
1070     program_transform_name=$ac_optarg ;;
1071
1072   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1073     ac_prev=pdfdir ;;
1074   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1075     pdfdir=$ac_optarg ;;
1076
1077   -psdir | --psdir | --psdi | --psd | --ps)
1078     ac_prev=psdir ;;
1079   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1080     psdir=$ac_optarg ;;
1081
1082   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1083   | -silent | --silent | --silen | --sile | --sil)
1084     silent=yes ;;
1085
1086   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1087     ac_prev=sbindir ;;
1088   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1089   | --sbi=* | --sb=*)
1090     sbindir=$ac_optarg ;;
1091
1092   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1093   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1094   | --sharedst | --shareds | --shared | --share | --shar \
1095   | --sha | --sh)
1096     ac_prev=sharedstatedir ;;
1097   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1098   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1099   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1100   | --sha=* | --sh=*)
1101     sharedstatedir=$ac_optarg ;;
1102
1103   -site | --site | --sit)
1104     ac_prev=site ;;
1105   -site=* | --site=* | --sit=*)
1106     site=$ac_optarg ;;
1107
1108   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1109     ac_prev=srcdir ;;
1110   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1111     srcdir=$ac_optarg ;;
1112
1113   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1114   | --syscon | --sysco | --sysc | --sys | --sy)
1115     ac_prev=sysconfdir ;;
1116   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1117   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1118     sysconfdir=$ac_optarg ;;
1119
1120   -target | --target | --targe | --targ | --tar | --ta | --t)
1121     ac_prev=target_alias ;;
1122   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1123     target_alias=$ac_optarg ;;
1124
1125   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1126     verbose=yes ;;
1127
1128   -version | --version | --versio | --versi | --vers | -V)
1129     ac_init_version=: ;;
1130
1131   -with-* | --with-*)
1132     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1133     # Reject names that are not valid shell variable names.
1134     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135       as_fn_error $? "invalid package name: $ac_useropt"
1136     ac_useropt_orig=$ac_useropt
1137     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138     case $ac_user_opts in
1139       *"
1140 "with_$ac_useropt"
1141 "*) ;;
1142       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1143          ac_unrecognized_sep=', ';;
1144     esac
1145     eval with_$ac_useropt=\$ac_optarg ;;
1146
1147   -without-* | --without-*)
1148     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149     # Reject names that are not valid shell variable names.
1150     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151       as_fn_error $? "invalid package name: $ac_useropt"
1152     ac_useropt_orig=$ac_useropt
1153     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154     case $ac_user_opts in
1155       *"
1156 "with_$ac_useropt"
1157 "*) ;;
1158       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1159          ac_unrecognized_sep=', ';;
1160     esac
1161     eval with_$ac_useropt=no ;;
1162
1163   --x)
1164     # Obsolete; use --with-x.
1165     with_x=yes ;;
1166
1167   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1168   | --x-incl | --x-inc | --x-in | --x-i)
1169     ac_prev=x_includes ;;
1170   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1171   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1172     x_includes=$ac_optarg ;;
1173
1174   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1175   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1176     ac_prev=x_libraries ;;
1177   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1178   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1179     x_libraries=$ac_optarg ;;
1180
1181   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1182 Try \`$0 --help' for more information"
1183     ;;
1184
1185   *=*)
1186     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1187     # Reject names that are not valid shell variable names.
1188     case $ac_envvar in #(
1189       '' | [0-9]* | *[!_$as_cr_alnum]* )
1190       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1191     esac
1192     eval $ac_envvar=\$ac_optarg
1193     export $ac_envvar ;;
1194
1195   *)
1196     # FIXME: should be removed in autoconf 3.0.
1197     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1198     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1199       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1200     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1201     ;;
1202
1203   esac
1204 done
1205
1206 if test -n "$ac_prev"; then
1207   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1208   as_fn_error $? "missing argument to $ac_option"
1209 fi
1210
1211 if test -n "$ac_unrecognized_opts"; then
1212   case $enable_option_checking in
1213     no) ;;
1214     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1215     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1216   esac
1217 fi
1218
1219 # Check all directory arguments for consistency.
1220 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1221                 datadir sysconfdir sharedstatedir localstatedir includedir \
1222                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1223                 libdir localedir mandir
1224 do
1225   eval ac_val=\$$ac_var
1226   # Remove trailing slashes.
1227   case $ac_val in
1228     */ )
1229       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1230       eval $ac_var=\$ac_val;;
1231   esac
1232   # Be sure to have absolute directory names.
1233   case $ac_val in
1234     [\\/$]* | ?:[\\/]* )  continue;;
1235     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1236   esac
1237   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1238 done
1239
1240 # There might be people who depend on the old broken behavior: `$host'
1241 # used to hold the argument of --host etc.
1242 # FIXME: To remove some day.
1243 build=$build_alias
1244 host=$host_alias
1245 target=$target_alias
1246
1247 # FIXME: To remove some day.
1248 if test "x$host_alias" != x; then
1249   if test "x$build_alias" = x; then
1250     cross_compiling=maybe
1251   elif test "x$build_alias" != "x$host_alias"; then
1252     cross_compiling=yes
1253   fi
1254 fi
1255
1256 ac_tool_prefix=
1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1258
1259 test "$silent" = yes && exec 6>/dev/null
1260
1261
1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di=`ls -di .` &&
1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1265   as_fn_error $? "working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267   as_fn_error $? "pwd does not report name of working directory"
1268
1269
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272   ac_srcdir_defaulted=yes
1273   # Try the directory containing this script, then the parent directory.
1274   ac_confdir=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276          X"$as_myself" : 'X\(//\)[^/]' \| \
1277          X"$as_myself" : 'X\(//\)$' \| \
1278          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281             s//\1/
1282             q
1283           }
1284           /^X\(\/\/\)[^/].*/{
1285             s//\1/
1286             q
1287           }
1288           /^X\(\/\/\)$/{
1289             s//\1/
1290             q
1291           }
1292           /^X\(\/\).*/{
1293             s//\1/
1294             q
1295           }
1296           s/.*/./; q'`
1297   srcdir=$ac_confdir
1298   if test ! -r "$srcdir/$ac_unique_file"; then
1299     srcdir=..
1300   fi
1301 else
1302   ac_srcdir_defaulted=no
1303 fi
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1306   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1307 fi
1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1309 ac_abs_confdir=`(
1310         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1311         pwd)`
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1314   srcdir=.
1315 fi
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1319 case $srcdir in
1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1321 esac
1322 for ac_var in $ac_precious_vars; do
1323   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1324   eval ac_env_${ac_var}_value=\$${ac_var}
1325   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1326   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1327 done
1328
1329 #
1330 # Report the --help message.
1331 #
1332 if test "$ac_init_help" = "long"; then
1333   # Omit some internal or obsolete options to make the list less imposing.
1334   # This message is too long to be a string in the A/UX 3.1 sh.
1335   cat <<_ACEOF
1336 \`configure' configures fuse 2.9.6 to adapt to many kinds of systems.
1337
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1339
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE.  See below for descriptions of some of the useful variables.
1342
1343 Defaults for the options are specified in brackets.
1344
1345 Configuration:
1346   -h, --help              display this help and exit
1347       --help=short        display options specific to this package
1348       --help=recursive    display the short help of all the included packages
1349   -V, --version           display version information and exit
1350   -q, --quiet, --silent   do not print \`checking ...' messages
1351       --cache-file=FILE   cache test results in FILE [disabled]
1352   -C, --config-cache      alias for \`--cache-file=config.cache'
1353   -n, --no-create         do not create output files
1354       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1355
1356 Installation directories:
1357   --prefix=PREFIX         install architecture-independent files in PREFIX
1358                           [$ac_default_prefix]
1359   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1360                           [PREFIX]
1361
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1366
1367 For better control, use the options below.
1368
1369 Fine tuning of the installation directories:
1370   --bindir=DIR            user executables [EPREFIX/bin]
1371   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1372   --libexecdir=DIR        program executables [EPREFIX/libexec]
1373   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1374   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1375   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1376   --libdir=DIR            object code libraries [EPREFIX/lib]
1377   --includedir=DIR        C header files [PREFIX/include]
1378   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1379   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1380   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1381   --infodir=DIR           info documentation [DATAROOTDIR/info]
1382   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1383   --mandir=DIR            man documentation [DATAROOTDIR/man]
1384   --docdir=DIR            documentation root [DATAROOTDIR/doc/fuse]
1385   --htmldir=DIR           html documentation [DOCDIR]
1386   --dvidir=DIR            dvi documentation [DOCDIR]
1387   --pdfdir=DIR            pdf documentation [DOCDIR]
1388   --psdir=DIR             ps documentation [DOCDIR]
1389 _ACEOF
1390
1391   cat <<\_ACEOF
1392
1393 Program names:
1394   --program-prefix=PREFIX            prepend PREFIX to installed program names
1395   --program-suffix=SUFFIX            append SUFFIX to installed program names
1396   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1397
1398 System types:
1399   --build=BUILD     configure for building on BUILD [guessed]
1400   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1401   --target=TARGET   configure for building compilers for TARGET [HOST]
1402 _ACEOF
1403 fi
1404
1405 if test -n "$ac_init_help"; then
1406   case $ac_init_help in
1407      short | recursive ) echo "Configuration of fuse 2.9.6:";;
1408    esac
1409   cat <<\_ACEOF
1410
1411 Optional Features:
1412   --disable-option-checking  ignore unrecognized --enable/--with options
1413   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1414   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1415   --enable-silent-rules   less verbose build output (undo: "make V=1")
1416   --disable-silent-rules  verbose build output (undo: "make V=0")
1417   --enable-shared[=PKGS]  build shared libraries [default=yes]
1418   --enable-static[=PKGS]  build static libraries [default=yes]
1419   --enable-fast-install[=PKGS]
1420                           optimize for fast installation [default=yes]
1421   --enable-dependency-tracking
1422                           do not reject slow dependency extractors
1423   --disable-dependency-tracking
1424                           speeds up one-time build
1425   --disable-libtool-lock  avoid locking (might break parallel builds)
1426   --enable-lib            Compile with library
1427   --enable-util           Compile with util
1428   --enable-example        Compile with examples
1429   --disable-mtab          Disable and ignore usage of /etc/mtab
1430   --disable-rpath         do not hardcode runtime library paths
1431
1432 Optional Packages:
1433   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1434   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1435   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1436                           both]
1437   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1438   --with-sysroot=DIR Search for dependent libraries within DIR
1439                         (or the compiler's sysroot if not specified).
1440   --with-pkgconfigdir=DIR      pkgconfig file in DIR [LIBDIR/pkgconfig]
1441   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
1442   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1443   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1444   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1445
1446 Some influential environment variables:
1447   CC          C compiler command
1448   CFLAGS      C compiler flags
1449   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1450               nonstandard directory <lib dir>
1451   LIBS        libraries to pass to the linker, e.g. -l<library>
1452   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1453               you have headers in a nonstandard directory <include dir>
1454   CPP         C preprocessor
1455
1456 Use these variables to override the choices made by `configure' or to help
1457 it to find libraries and programs with nonstandard names/locations.
1458
1459 Report bugs to the package provider.
1460 _ACEOF
1461 ac_status=$?
1462 fi
1463
1464 if test "$ac_init_help" = "recursive"; then
1465   # If there are subdirs, report their specific --help.
1466   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1467     test -d "$ac_dir" ||
1468       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1469       continue
1470     ac_builddir=.
1471
1472 case "$ac_dir" in
1473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 *)
1475   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1476   # A ".." for each directory in $ac_dir_suffix.
1477   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1478   case $ac_top_builddir_sub in
1479   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1481   esac ;;
1482 esac
1483 ac_abs_top_builddir=$ac_pwd
1484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1485 # for backward compatibility:
1486 ac_top_builddir=$ac_top_build_prefix
1487
1488 case $srcdir in
1489   .)  # We are building in place.
1490     ac_srcdir=.
1491     ac_top_srcdir=$ac_top_builddir_sub
1492     ac_abs_top_srcdir=$ac_pwd ;;
1493   [\\/]* | ?:[\\/]* )  # Absolute name.
1494     ac_srcdir=$srcdir$ac_dir_suffix;
1495     ac_top_srcdir=$srcdir
1496     ac_abs_top_srcdir=$srcdir ;;
1497   *) # Relative name.
1498     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1499     ac_top_srcdir=$ac_top_build_prefix$srcdir
1500     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1501 esac
1502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1503
1504     cd "$ac_dir" || { ac_status=$?; continue; }
1505     # Check for guested configure.
1506     if test -f "$ac_srcdir/configure.gnu"; then
1507       echo &&
1508       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1509     elif test -f "$ac_srcdir/configure"; then
1510       echo &&
1511       $SHELL "$ac_srcdir/configure" --help=recursive
1512     else
1513       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1514     fi || ac_status=$?
1515     cd "$ac_pwd" || { ac_status=$?; break; }
1516   done
1517 fi
1518
1519 test -n "$ac_init_help" && exit $ac_status
1520 if $ac_init_version; then
1521   cat <<\_ACEOF
1522 fuse configure 2.9.6
1523 generated by GNU Autoconf 2.69
1524
1525 Copyright (C) 2012 Free Software Foundation, Inc.
1526 This configure script is free software; the Free Software Foundation
1527 gives unlimited permission to copy, distribute and modify it.
1528 _ACEOF
1529   exit
1530 fi
1531
1532 ## ------------------------ ##
1533 ## Autoconf initialization. ##
1534 ## ------------------------ ##
1535
1536 # ac_fn_c_try_compile LINENO
1537 # --------------------------
1538 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1539 ac_fn_c_try_compile ()
1540 {
1541   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1542   rm -f conftest.$ac_objext
1543   if { { ac_try="$ac_compile"
1544 case "(($ac_try" in
1545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1546   *) ac_try_echo=$ac_try;;
1547 esac
1548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1549 $as_echo "$ac_try_echo"; } >&5
1550   (eval "$ac_compile") 2>conftest.err
1551   ac_status=$?
1552   if test -s conftest.err; then
1553     grep -v '^ *+' conftest.err >conftest.er1
1554     cat conftest.er1 >&5
1555     mv -f conftest.er1 conftest.err
1556   fi
1557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1558   test $ac_status = 0; } && {
1559          test -z "$ac_c_werror_flag" ||
1560          test ! -s conftest.err
1561        } && test -s conftest.$ac_objext; then :
1562   ac_retval=0
1563 else
1564   $as_echo "$as_me: failed program was:" >&5
1565 sed 's/^/| /' conftest.$ac_ext >&5
1566
1567         ac_retval=1
1568 fi
1569   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1570   as_fn_set_status $ac_retval
1571
1572 } # ac_fn_c_try_compile
1573
1574 # ac_fn_c_try_link LINENO
1575 # -----------------------
1576 # Try to link conftest.$ac_ext, and return whether this succeeded.
1577 ac_fn_c_try_link ()
1578 {
1579   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580   rm -f conftest.$ac_objext conftest$ac_exeext
1581   if { { ac_try="$ac_link"
1582 case "(($ac_try" in
1583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584   *) ac_try_echo=$ac_try;;
1585 esac
1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587 $as_echo "$ac_try_echo"; } >&5
1588   (eval "$ac_link") 2>conftest.err
1589   ac_status=$?
1590   if test -s conftest.err; then
1591     grep -v '^ *+' conftest.err >conftest.er1
1592     cat conftest.er1 >&5
1593     mv -f conftest.er1 conftest.err
1594   fi
1595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596   test $ac_status = 0; } && {
1597          test -z "$ac_c_werror_flag" ||
1598          test ! -s conftest.err
1599        } && test -s conftest$ac_exeext && {
1600          test "$cross_compiling" = yes ||
1601          test -x conftest$ac_exeext
1602        }; then :
1603   ac_retval=0
1604 else
1605   $as_echo "$as_me: failed program was:" >&5
1606 sed 's/^/| /' conftest.$ac_ext >&5
1607
1608         ac_retval=1
1609 fi
1610   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1611   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1612   # interfere with the next link command; also delete a directory that is
1613   # left behind by Apple's compiler.  We do this before executing the actions.
1614   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1615   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616   as_fn_set_status $ac_retval
1617
1618 } # ac_fn_c_try_link
1619
1620 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1621 # -------------------------------------------------------
1622 # Tests whether HEADER exists and can be compiled using the include files in
1623 # INCLUDES, setting the cache variable VAR accordingly.
1624 ac_fn_c_check_header_compile ()
1625 {
1626   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1628 $as_echo_n "checking for $2... " >&6; }
1629 if eval \${$3+:} false; then :
1630   $as_echo_n "(cached) " >&6
1631 else
1632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1633 /* end confdefs.h.  */
1634 $4
1635 #include <$2>
1636 _ACEOF
1637 if ac_fn_c_try_compile "$LINENO"; then :
1638   eval "$3=yes"
1639 else
1640   eval "$3=no"
1641 fi
1642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1643 fi
1644 eval ac_res=\$$3
1645                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1646 $as_echo "$ac_res" >&6; }
1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648
1649 } # ac_fn_c_check_header_compile
1650
1651 # ac_fn_c_try_cpp LINENO
1652 # ----------------------
1653 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1654 ac_fn_c_try_cpp ()
1655 {
1656   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657   if { { ac_try="$ac_cpp conftest.$ac_ext"
1658 case "(($ac_try" in
1659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660   *) ac_try_echo=$ac_try;;
1661 esac
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1665   ac_status=$?
1666   if test -s conftest.err; then
1667     grep -v '^ *+' conftest.err >conftest.er1
1668     cat conftest.er1 >&5
1669     mv -f conftest.er1 conftest.err
1670   fi
1671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672   test $ac_status = 0; } > conftest.i && {
1673          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1674          test ! -s conftest.err
1675        }; then :
1676   ac_retval=0
1677 else
1678   $as_echo "$as_me: failed program was:" >&5
1679 sed 's/^/| /' conftest.$ac_ext >&5
1680
1681     ac_retval=1
1682 fi
1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684   as_fn_set_status $ac_retval
1685
1686 } # ac_fn_c_try_cpp
1687
1688 # ac_fn_c_try_run LINENO
1689 # ----------------------
1690 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1691 # that executables *can* be run.
1692 ac_fn_c_try_run ()
1693 {
1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695   if { { ac_try="$ac_link"
1696 case "(($ac_try" in
1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698   *) ac_try_echo=$ac_try;;
1699 esac
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702   (eval "$ac_link") 2>&5
1703   ac_status=$?
1704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1706   { { case "(($ac_try" in
1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708   *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712   (eval "$ac_try") 2>&5
1713   ac_status=$?
1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715   test $ac_status = 0; }; }; then :
1716   ac_retval=0
1717 else
1718   $as_echo "$as_me: program exited with status $ac_status" >&5
1719        $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1721
1722        ac_retval=$ac_status
1723 fi
1724   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1726   as_fn_set_status $ac_retval
1727
1728 } # ac_fn_c_try_run
1729
1730 # ac_fn_c_check_func LINENO FUNC VAR
1731 # ----------------------------------
1732 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1733 ac_fn_c_check_func ()
1734 {
1735   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1737 $as_echo_n "checking for $2... " >&6; }
1738 if eval \${$3+:} false; then :
1739   $as_echo_n "(cached) " >&6
1740 else
1741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742 /* end confdefs.h.  */
1743 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1745 #define $2 innocuous_$2
1746
1747 /* System header to define __stub macros and hopefully few prototypes,
1748     which can conflict with char $2 (); below.
1749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1750     <limits.h> exists even on freestanding compilers.  */
1751
1752 #ifdef __STDC__
1753 # include <limits.h>
1754 #else
1755 # include <assert.h>
1756 #endif
1757
1758 #undef $2
1759
1760 /* Override any GCC internal prototype to avoid an error.
1761    Use char because int might match the return type of a GCC
1762    builtin and then its argument prototype would still apply.  */
1763 #ifdef __cplusplus
1764 extern "C"
1765 #endif
1766 char $2 ();
1767 /* The GNU C library defines this for functions which it implements
1768     to always fail with ENOSYS.  Some functions are actually named
1769     something starting with __ and the normal name is an alias.  */
1770 #if defined __stub_$2 || defined __stub___$2
1771 choke me
1772 #endif
1773
1774 int
1775 main ()
1776 {
1777 return $2 ();
1778   ;
1779   return 0;
1780 }
1781 _ACEOF
1782 if ac_fn_c_try_link "$LINENO"; then :
1783   eval "$3=yes"
1784 else
1785   eval "$3=no"
1786 fi
1787 rm -f core conftest.err conftest.$ac_objext \
1788     conftest$ac_exeext conftest.$ac_ext
1789 fi
1790 eval ac_res=\$$3
1791                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794
1795 } # ac_fn_c_check_func
1796
1797 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1798 # ----------------------------------------------------
1799 # Tries to find if the field MEMBER exists in type AGGR, after including
1800 # INCLUDES, setting cache variable VAR accordingly.
1801 ac_fn_c_check_member ()
1802 {
1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1805 $as_echo_n "checking for $2.$3... " >&6; }
1806 if eval \${$4+:} false; then :
1807   $as_echo_n "(cached) " >&6
1808 else
1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h.  */
1811 $5
1812 int
1813 main ()
1814 {
1815 static $2 ac_aggr;
1816 if (ac_aggr.$3)
1817 return 0;
1818   ;
1819   return 0;
1820 }
1821 _ACEOF
1822 if ac_fn_c_try_compile "$LINENO"; then :
1823   eval "$4=yes"
1824 else
1825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1826 /* end confdefs.h.  */
1827 $5
1828 int
1829 main ()
1830 {
1831 static $2 ac_aggr;
1832 if (sizeof ac_aggr.$3)
1833 return 0;
1834   ;
1835   return 0;
1836 }
1837 _ACEOF
1838 if ac_fn_c_try_compile "$LINENO"; then :
1839   eval "$4=yes"
1840 else
1841   eval "$4=no"
1842 fi
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1844 fi
1845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 fi
1847 eval ac_res=\$$4
1848                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849 $as_echo "$ac_res" >&6; }
1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851
1852 } # ac_fn_c_check_member
1853 cat >config.log <<_ACEOF
1854 This file contains any messages produced by compilers while
1855 running configure, to aid debugging if configure makes a mistake.
1856
1857 It was created by fuse $as_me 2.9.6, which was
1858 generated by GNU Autoconf 2.69.  Invocation command line was
1859
1860   $ $0 $@
1861
1862 _ACEOF
1863 exec 5>>config.log
1864 {
1865 cat <<_ASUNAME
1866 ## --------- ##
1867 ## Platform. ##
1868 ## --------- ##
1869
1870 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1871 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1872 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1873 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1874 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1875
1876 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1877 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1878
1879 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1880 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1881 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1882 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1883 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1884 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1885 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1886
1887 _ASUNAME
1888
1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 for as_dir in $PATH
1891 do
1892   IFS=$as_save_IFS
1893   test -z "$as_dir" && as_dir=.
1894     $as_echo "PATH: $as_dir"
1895   done
1896 IFS=$as_save_IFS
1897
1898 } >&5
1899
1900 cat >&5 <<_ACEOF
1901
1902
1903 ## ----------- ##
1904 ## Core tests. ##
1905 ## ----------- ##
1906
1907 _ACEOF
1908
1909
1910 # Keep a trace of the command line.
1911 # Strip out --no-create and --no-recursion so they do not pile up.
1912 # Strip out --silent because we don't want to record it for future runs.
1913 # Also quote any args containing shell meta-characters.
1914 # Make two passes to allow for proper duplicate-argument suppression.
1915 ac_configure_args=
1916 ac_configure_args0=
1917 ac_configure_args1=
1918 ac_must_keep_next=false
1919 for ac_pass in 1 2
1920 do
1921   for ac_arg
1922   do
1923     case $ac_arg in
1924     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1925     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1926     | -silent | --silent | --silen | --sile | --sil)
1927       continue ;;
1928     *\'*)
1929       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1930     esac
1931     case $ac_pass in
1932     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1933     2)
1934       as_fn_append ac_configure_args1 " '$ac_arg'"
1935       if test $ac_must_keep_next = true; then
1936         ac_must_keep_next=false # Got value, back to normal.
1937       else
1938         case $ac_arg in
1939           *=* | --config-cache | -C | -disable-* | --disable-* \
1940           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1941           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1942           | -with-* | --with-* | -without-* | --without-* | --x)
1943             case "$ac_configure_args0 " in
1944               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1945             esac
1946             ;;
1947           -* ) ac_must_keep_next=true ;;
1948         esac
1949       fi
1950       as_fn_append ac_configure_args " '$ac_arg'"
1951       ;;
1952     esac
1953   done
1954 done
1955 { ac_configure_args0=; unset ac_configure_args0;}
1956 { ac_configure_args1=; unset ac_configure_args1;}
1957
1958 # When interrupted or exit'd, cleanup temporary files, and complete
1959 # config.log.  We remove comments because anyway the quotes in there
1960 # would cause problems or look ugly.
1961 # WARNING: Use '\'' to represent an apostrophe within the trap.
1962 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1963 trap 'exit_status=$?
1964   # Save into config.log some information that might help in debugging.
1965   {
1966     echo
1967
1968     $as_echo "## ---------------- ##
1969 ## Cache variables. ##
1970 ## ---------------- ##"
1971     echo
1972     # The following way of writing the cache mishandles newlines in values,
1973 (
1974   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1975     eval ac_val=\$$ac_var
1976     case $ac_val in #(
1977     *${as_nl}*)
1978       case $ac_var in #(
1979       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1980 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1981       esac
1982       case $ac_var in #(
1983       _ | IFS | as_nl) ;; #(
1984       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1985       *) { eval $ac_var=; unset $ac_var;} ;;
1986       esac ;;
1987     esac
1988   done
1989   (set) 2>&1 |
1990     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1991     *${as_nl}ac_space=\ *)
1992       sed -n \
1993         "s/'\''/'\''\\\\'\'''\''/g;
1994           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1995       ;; #(
1996     *)
1997       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1998       ;;
1999     esac |
2000     sort
2001 )
2002     echo
2003
2004     $as_echo "## ----------------- ##
2005 ## Output variables. ##
2006 ## ----------------- ##"
2007     echo
2008     for ac_var in $ac_subst_vars
2009     do
2010       eval ac_val=\$$ac_var
2011       case $ac_val in
2012       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2013       esac
2014       $as_echo "$ac_var='\''$ac_val'\''"
2015     done | sort
2016     echo
2017
2018     if test -n "$ac_subst_files"; then
2019       $as_echo "## ------------------- ##
2020 ## File substitutions. ##
2021 ## ------------------- ##"
2022       echo
2023       for ac_var in $ac_subst_files
2024       do
2025         eval ac_val=\$$ac_var
2026         case $ac_val in
2027         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2028         esac
2029         $as_echo "$ac_var='\''$ac_val'\''"
2030       done | sort
2031       echo
2032     fi
2033
2034     if test -s confdefs.h; then
2035       $as_echo "## ----------- ##
2036 ## confdefs.h. ##
2037 ## ----------- ##"
2038       echo
2039       cat confdefs.h
2040       echo
2041     fi
2042     test "$ac_signal" != 0 &&
2043       $as_echo "$as_me: caught signal $ac_signal"
2044     $as_echo "$as_me: exit $exit_status"
2045   } >&5
2046   rm -f core *.core core.conftest.* &&
2047     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2048     exit $exit_status
2049 ' 0
2050 for ac_signal in 1 2 13 15; do
2051   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2052 done
2053 ac_signal=0
2054
2055 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2056 rm -f -r conftest* confdefs.h
2057
2058 $as_echo "/* confdefs.h */" > confdefs.h
2059
2060 # Predefined preprocessor variables.
2061
2062 cat >>confdefs.h <<_ACEOF
2063 #define PACKAGE_NAME "$PACKAGE_NAME"
2064 _ACEOF
2065
2066 cat >>confdefs.h <<_ACEOF
2067 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2068 _ACEOF
2069
2070 cat >>confdefs.h <<_ACEOF
2071 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2072 _ACEOF
2073
2074 cat >>confdefs.h <<_ACEOF
2075 #define PACKAGE_STRING "$PACKAGE_STRING"
2076 _ACEOF
2077
2078 cat >>confdefs.h <<_ACEOF
2079 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2080 _ACEOF
2081
2082 cat >>confdefs.h <<_ACEOF
2083 #define PACKAGE_URL "$PACKAGE_URL"
2084 _ACEOF
2085
2086
2087 # Let the site file select an alternate cache file if it wants to.
2088 # Prefer an explicitly selected file to automatically selected ones.
2089 ac_site_file1=NONE
2090 ac_site_file2=NONE
2091 if test -n "$CONFIG_SITE"; then
2092   # We do not want a PATH search for config.site.
2093   case $CONFIG_SITE in #((
2094     -*)  ac_site_file1=./$CONFIG_SITE;;
2095     */*) ac_site_file1=$CONFIG_SITE;;
2096     *)   ac_site_file1=./$CONFIG_SITE;;
2097   esac
2098 elif test "x$prefix" != xNONE; then
2099   ac_site_file1=$prefix/share/config.site
2100   ac_site_file2=$prefix/etc/config.site
2101 else
2102   ac_site_file1=$ac_default_prefix/share/config.site
2103   ac_site_file2=$ac_default_prefix/etc/config.site
2104 fi
2105 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2106 do
2107   test "x$ac_site_file" = xNONE && continue
2108   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2109     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2110 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2111     sed 's/^/| /' "$ac_site_file" >&5
2112     . "$ac_site_file" \
2113       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2115 as_fn_error $? "failed to load site script $ac_site_file
2116 See \`config.log' for more details" "$LINENO" 5; }
2117   fi
2118 done
2119
2120 if test -r "$cache_file"; then
2121   # Some versions of bash will fail to source /dev/null (special files
2122   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2123   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2124     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2125 $as_echo "$as_me: loading cache $cache_file" >&6;}
2126     case $cache_file in
2127       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2128       *)                      . "./$cache_file";;
2129     esac
2130   fi
2131 else
2132   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2133 $as_echo "$as_me: creating cache $cache_file" >&6;}
2134   >$cache_file
2135 fi
2136
2137 # Check that the precious variables saved in the cache have kept the same
2138 # value.
2139 ac_cache_corrupted=false
2140 for ac_var in $ac_precious_vars; do
2141   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2142   eval ac_new_set=\$ac_env_${ac_var}_set
2143   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2144   eval ac_new_val=\$ac_env_${ac_var}_value
2145   case $ac_old_set,$ac_new_set in
2146     set,)
2147       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2148 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2149       ac_cache_corrupted=: ;;
2150     ,set)
2151       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2152 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2153       ac_cache_corrupted=: ;;
2154     ,);;
2155     *)
2156       if test "x$ac_old_val" != "x$ac_new_val"; then
2157         # differences in whitespace do not lead to failure.
2158         ac_old_val_w=`echo x $ac_old_val`
2159         ac_new_val_w=`echo x $ac_new_val`
2160         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2161           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2162 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2163           ac_cache_corrupted=:
2164         else
2165           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2166 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2167           eval $ac_var=\$ac_old_val
2168         fi
2169         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2170 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2171         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2172 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2173       fi;;
2174   esac
2175   # Pass precious variables to config.status.
2176   if test "$ac_new_set" = set; then
2177     case $ac_new_val in
2178     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2179     *) ac_arg=$ac_var=$ac_new_val ;;
2180     esac
2181     case " $ac_configure_args " in
2182       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2183       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2184     esac
2185   fi
2186 done
2187 if $ac_cache_corrupted; then
2188   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2190   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2191 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2192   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2193 fi
2194 ## -------------------- ##
2195 ## Main body of script. ##
2196 ## -------------------- ##
2197
2198 ac_ext=c
2199 ac_cpp='$CPP $CPPFLAGS'
2200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2203
2204
2205
2206
2207
2208 ac_aux_dir=
2209 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2210   if test -f "$ac_dir/install-sh"; then
2211     ac_aux_dir=$ac_dir
2212     ac_install_sh="$ac_aux_dir/install-sh -c"
2213     break
2214   elif test -f "$ac_dir/install.sh"; then
2215     ac_aux_dir=$ac_dir
2216     ac_install_sh="$ac_aux_dir/install.sh -c"
2217     break
2218   elif test -f "$ac_dir/shtool"; then
2219     ac_aux_dir=$ac_dir
2220     ac_install_sh="$ac_aux_dir/shtool install -c"
2221     break
2222   fi
2223 done
2224 if test -z "$ac_aux_dir"; then
2225   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2226 fi
2227
2228 # These three variables are undocumented and unsupported,
2229 # and are intended to be withdrawn in a future Autoconf release.
2230 # They can cause serious problems if a builder's source tree is in a directory
2231 # whose full name contains unusual characters.
2232 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2233 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2234 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2235
2236
2237 # Make sure we can run config.sub.
2238 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2239   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2240
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2242 $as_echo_n "checking build system type... " >&6; }
2243 if ${ac_cv_build+:} false; then :
2244   $as_echo_n "(cached) " >&6
2245 else
2246   ac_build_alias=$build_alias
2247 test "x$ac_build_alias" = x &&
2248   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2249 test "x$ac_build_alias" = x &&
2250   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2251 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2252   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2253
2254 fi
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2256 $as_echo "$ac_cv_build" >&6; }
2257 case $ac_cv_build in
2258 *-*-*) ;;
2259 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2260 esac
2261 build=$ac_cv_build
2262 ac_save_IFS=$IFS; IFS='-'
2263 set x $ac_cv_build
2264 shift
2265 build_cpu=$1
2266 build_vendor=$2
2267 shift; shift
2268 # Remember, the first character of IFS is used to create $*,
2269 # except with old shells:
2270 build_os=$*
2271 IFS=$ac_save_IFS
2272 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2273
2274
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2276 $as_echo_n "checking host system type... " >&6; }
2277 if ${ac_cv_host+:} false; then :
2278   $as_echo_n "(cached) " >&6
2279 else
2280   if test "x$host_alias" = x; then
2281   ac_cv_host=$ac_cv_build
2282 else
2283   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2284     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2285 fi
2286
2287 fi
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2289 $as_echo "$ac_cv_host" >&6; }
2290 case $ac_cv_host in
2291 *-*-*) ;;
2292 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2293 esac
2294 host=$ac_cv_host
2295 ac_save_IFS=$IFS; IFS='-'
2296 set x $ac_cv_host
2297 shift
2298 host_cpu=$1
2299 host_vendor=$2
2300 shift; shift
2301 # Remember, the first character of IFS is used to create $*,
2302 # except with old shells:
2303 host_os=$*
2304 IFS=$ac_save_IFS
2305 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2306
2307
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2309 $as_echo_n "checking target system type... " >&6; }
2310 if ${ac_cv_target+:} false; then :
2311   $as_echo_n "(cached) " >&6
2312 else
2313   if test "x$target_alias" = x; then
2314   ac_cv_target=$ac_cv_host
2315 else
2316   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2317     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2318 fi
2319
2320 fi
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2322 $as_echo "$ac_cv_target" >&6; }
2323 case $ac_cv_target in
2324 *-*-*) ;;
2325 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2326 esac
2327 target=$ac_cv_target
2328 ac_save_IFS=$IFS; IFS='-'
2329 set x $ac_cv_target
2330 shift
2331 target_cpu=$1
2332 target_vendor=$2
2333 shift; shift
2334 # Remember, the first character of IFS is used to create $*,
2335 # except with old shells:
2336 target_os=$*
2337 IFS=$ac_save_IFS
2338 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2339
2340
2341 # The aliases save the names the user supplied, while $host etc.
2342 # will get canonicalized.
2343 test -n "$target_alias" &&
2344   test "$program_prefix$program_suffix$program_transform_name" = \
2345     NONENONEs,x,x, &&
2346   program_prefix=${target_alias}-
2347 am__api_version='1.14'
2348
2349 # Find a good install program.  We prefer a C program (faster),
2350 # so one script is as good as another.  But avoid the broken or
2351 # incompatible versions:
2352 # SysV /etc/install, /usr/sbin/install
2353 # SunOS /usr/etc/install
2354 # IRIX /sbin/install
2355 # AIX /bin/install
2356 # AmigaOS /C/install, which installs bootblocks on floppy discs
2357 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2360 # OS/2's system install, which has a completely different semantic
2361 # ./install, which can be erroneously created by make from ./install.sh.
2362 # Reject install programs that cannot install multiple files.
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2364 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2365 if test -z "$INSTALL"; then
2366 if ${ac_cv_path_install+:} false; then :
2367   $as_echo_n "(cached) " >&6
2368 else
2369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 for as_dir in $PATH
2371 do
2372   IFS=$as_save_IFS
2373   test -z "$as_dir" && as_dir=.
2374     # Account for people who put trailing slashes in PATH elements.
2375 case $as_dir/ in #((
2376   ./ | .// | /[cC]/* | \
2377   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2378   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2379   /usr/ucb/* ) ;;
2380   *)
2381     # OSF1 and SCO ODT 3.0 have their own names for install.
2382     # Don't use installbsd from OSF since it installs stuff as root
2383     # by default.
2384     for ac_prog in ginstall scoinst install; do
2385       for ac_exec_ext in '' $ac_executable_extensions; do
2386         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2387           if test $ac_prog = install &&
2388             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2389             # AIX install.  It has an incompatible calling convention.
2390             :
2391           elif test $ac_prog = install &&
2392             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2393             # program-specific install script used by HP pwplus--don't use.
2394             :
2395           else
2396             rm -rf conftest.one conftest.two conftest.dir
2397             echo one > conftest.one
2398             echo two > conftest.two
2399             mkdir conftest.dir
2400             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2401               test -s conftest.one && test -s conftest.two &&
2402               test -s conftest.dir/conftest.one &&
2403               test -s conftest.dir/conftest.two
2404             then
2405               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2406               break 3
2407             fi
2408           fi
2409         fi
2410       done
2411     done
2412     ;;
2413 esac
2414
2415   done
2416 IFS=$as_save_IFS
2417
2418 rm -rf conftest.one conftest.two conftest.dir
2419
2420 fi
2421   if test "${ac_cv_path_install+set}" = set; then
2422     INSTALL=$ac_cv_path_install
2423   else
2424     # As a last resort, use the slow shell script.  Don't cache a
2425     # value for INSTALL within a source directory, because that will
2426     # break other packages using the cache if that directory is
2427     # removed, or if the value is a relative name.
2428     INSTALL=$ac_install_sh
2429   fi
2430 fi
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2432 $as_echo "$INSTALL" >&6; }
2433
2434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2435 # It thinks the first close brace ends the variable substitution.
2436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2437
2438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2439
2440 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2441
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2443 $as_echo_n "checking whether build environment is sane... " >&6; }
2444 # Reject unsafe characters in $srcdir or the absolute working directory
2445 # name.  Accept space and tab only in the latter.
2446 am_lf='
2447 '
2448 case `pwd` in
2449   *[\\\"\#\$\&\'\`$am_lf]*)
2450     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2451 esac
2452 case $srcdir in
2453   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2454     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2455 esac
2456
2457 # Do 'set' in a subshell so we don't clobber the current shell's
2458 # arguments.  Must try -L first in case configure is actually a
2459 # symlink; some systems play weird games with the mod time of symlinks
2460 # (eg FreeBSD returns the mod time of the symlink's containing
2461 # directory).
2462 if (
2463    am_has_slept=no
2464    for am_try in 1 2; do
2465      echo "timestamp, slept: $am_has_slept" > conftest.file
2466      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2467      if test "$*" = "X"; then
2468         # -L didn't work.
2469         set X `ls -t "$srcdir/configure" conftest.file`
2470      fi
2471      if test "$*" != "X $srcdir/configure conftest.file" \
2472         && test "$*" != "X conftest.file $srcdir/configure"; then
2473
2474         # If neither matched, then we have a broken ls.  This can happen
2475         # if, for instance, CONFIG_SHELL is bash and it inherits a
2476         # broken ls alias from the environment.  This has actually
2477         # happened.  Such a system could not be considered "sane".
2478         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2479   alias in your environment" "$LINENO" 5
2480      fi
2481      if test "$2" = conftest.file || test $am_try -eq 2; then
2482        break
2483      fi
2484      # Just in case.
2485      sleep 1
2486      am_has_slept=yes
2487    done
2488    test "$2" = conftest.file
2489    )
2490 then
2491    # Ok.
2492    :
2493 else
2494    as_fn_error $? "newly created file is older than distributed files!
2495 Check your system clock" "$LINENO" 5
2496 fi
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2498 $as_echo "yes" >&6; }
2499 # If we didn't sleep, we still need to ensure time stamps of config.status and
2500 # generated files are strictly newer.
2501 am_sleep_pid=
2502 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2503   ( sleep 1 ) &
2504   am_sleep_pid=$!
2505 fi
2506
2507 rm -f conftest.file
2508
2509 test "$program_prefix" != NONE &&
2510   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2511 # Use a double $ so make ignores it.
2512 test "$program_suffix" != NONE &&
2513   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2514 # Double any \ or $.
2515 # By default was `s,x,x', remove it if useless.
2516 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2517 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2518
2519 # Expand $ac_aux_dir to an absolute path.
2520 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2521
2522 if test x"${MISSING+set}" != xset; then
2523   case $am_aux_dir in
2524   *\ * | *\     *)
2525     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2526   *)
2527     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2528   esac
2529 fi
2530 # Use eval to expand $SHELL
2531 if eval "$MISSING --is-lightweight"; then
2532   am_missing_run="$MISSING "
2533 else
2534   am_missing_run=
2535   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2536 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2537 fi
2538
2539 if test x"${install_sh}" != xset; then
2540   case $am_aux_dir in
2541   *\ * | *\     *)
2542     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2543   *)
2544     install_sh="\${SHELL} $am_aux_dir/install-sh"
2545   esac
2546 fi
2547
2548 # Installed binaries are usually stripped using 'strip' when the user
2549 # run "make install-strip".  However 'strip' might not be the right
2550 # tool to use in cross-compilation environments, therefore Automake
2551 # will honor the 'STRIP' environment variable to overrule this program.
2552 if test "$cross_compiling" != no; then
2553   if test -n "$ac_tool_prefix"; then
2554   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2555 set dummy ${ac_tool_prefix}strip; ac_word=$2
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2557 $as_echo_n "checking for $ac_word... " >&6; }
2558 if ${ac_cv_prog_STRIP+:} false; then :
2559   $as_echo_n "(cached) " >&6
2560 else
2561   if test -n "$STRIP"; then
2562   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2563 else
2564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 for as_dir in $PATH
2566 do
2567   IFS=$as_save_IFS
2568   test -z "$as_dir" && as_dir=.
2569     for ac_exec_ext in '' $ac_executable_extensions; do
2570   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2571     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2573     break 2
2574   fi
2575 done
2576   done
2577 IFS=$as_save_IFS
2578
2579 fi
2580 fi
2581 STRIP=$ac_cv_prog_STRIP
2582 if test -n "$STRIP"; then
2583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2584 $as_echo "$STRIP" >&6; }
2585 else
2586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2587 $as_echo "no" >&6; }
2588 fi
2589
2590
2591 fi
2592 if test -z "$ac_cv_prog_STRIP"; then
2593   ac_ct_STRIP=$STRIP
2594   # Extract the first word of "strip", so it can be a program name with args.
2595 set dummy strip; ac_word=$2
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2597 $as_echo_n "checking for $ac_word... " >&6; }
2598 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2599   $as_echo_n "(cached) " >&6
2600 else
2601   if test -n "$ac_ct_STRIP"; then
2602   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2603 else
2604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2605 for as_dir in $PATH
2606 do
2607   IFS=$as_save_IFS
2608   test -z "$as_dir" && as_dir=.
2609     for ac_exec_ext in '' $ac_executable_extensions; do
2610   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2611     ac_cv_prog_ac_ct_STRIP="strip"
2612     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613     break 2
2614   fi
2615 done
2616   done
2617 IFS=$as_save_IFS
2618
2619 fi
2620 fi
2621 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2622 if test -n "$ac_ct_STRIP"; then
2623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2624 $as_echo "$ac_ct_STRIP" >&6; }
2625 else
2626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2627 $as_echo "no" >&6; }
2628 fi
2629
2630   if test "x$ac_ct_STRIP" = x; then
2631     STRIP=":"
2632   else
2633     case $cross_compiling:$ac_tool_warned in
2634 yes:)
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2637 ac_tool_warned=yes ;;
2638 esac
2639     STRIP=$ac_ct_STRIP
2640   fi
2641 else
2642   STRIP="$ac_cv_prog_STRIP"
2643 fi
2644
2645 fi
2646 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2647
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2649 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2650 if test -z "$MKDIR_P"; then
2651   if ${ac_cv_path_mkdir+:} false; then :
2652   $as_echo_n "(cached) " >&6
2653 else
2654   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2656 do
2657   IFS=$as_save_IFS
2658   test -z "$as_dir" && as_dir=.
2659     for ac_prog in mkdir gmkdir; do
2660          for ac_exec_ext in '' $ac_executable_extensions; do
2661            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2662            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2663              'mkdir (GNU coreutils) '* | \
2664              'mkdir (coreutils) '* | \
2665              'mkdir (fileutils) '4.1*)
2666                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2667                break 3;;
2668            esac
2669          done
2670        done
2671   done
2672 IFS=$as_save_IFS
2673
2674 fi
2675
2676   test -d ./--version && rmdir ./--version
2677   if test "${ac_cv_path_mkdir+set}" = set; then
2678     MKDIR_P="$ac_cv_path_mkdir -p"
2679   else
2680     # As a last resort, use the slow shell script.  Don't cache a
2681     # value for MKDIR_P within a source directory, because that will
2682     # break other packages using the cache if that directory is
2683     # removed, or if the value is a relative name.
2684     MKDIR_P="$ac_install_sh -d"
2685   fi
2686 fi
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2688 $as_echo "$MKDIR_P" >&6; }
2689
2690 for ac_prog in gawk mawk nawk awk
2691 do
2692   # Extract the first word of "$ac_prog", so it can be a program name with args.
2693 set dummy $ac_prog; ac_word=$2
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2695 $as_echo_n "checking for $ac_word... " >&6; }
2696 if ${ac_cv_prog_AWK+:} false; then :
2697   $as_echo_n "(cached) " >&6
2698 else
2699   if test -n "$AWK"; then
2700   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2701 else
2702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703 for as_dir in $PATH
2704 do
2705   IFS=$as_save_IFS
2706   test -z "$as_dir" && as_dir=.
2707     for ac_exec_ext in '' $ac_executable_extensions; do
2708   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2709     ac_cv_prog_AWK="$ac_prog"
2710     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2711     break 2
2712   fi
2713 done
2714   done
2715 IFS=$as_save_IFS
2716
2717 fi
2718 fi
2719 AWK=$ac_cv_prog_AWK
2720 if test -n "$AWK"; then
2721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2722 $as_echo "$AWK" >&6; }
2723 else
2724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 $as_echo "no" >&6; }
2726 fi
2727
2728
2729   test -n "$AWK" && break
2730 done
2731
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2733 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2734 set x ${MAKE-make}
2735 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2736 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2737   $as_echo_n "(cached) " >&6
2738 else
2739   cat >conftest.make <<\_ACEOF
2740 SHELL = /bin/sh
2741 all:
2742         @echo '@@@%%%=$(MAKE)=@@@%%%'
2743 _ACEOF
2744 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2745 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2746   *@@@%%%=?*=@@@%%%*)
2747     eval ac_cv_prog_make_${ac_make}_set=yes;;
2748   *)
2749     eval ac_cv_prog_make_${ac_make}_set=no;;
2750 esac
2751 rm -f conftest.make
2752 fi
2753 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755 $as_echo "yes" >&6; }
2756   SET_MAKE=
2757 else
2758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2760   SET_MAKE="MAKE=${MAKE-make}"
2761 fi
2762
2763 rm -rf .tst 2>/dev/null
2764 mkdir .tst 2>/dev/null
2765 if test -d .tst; then
2766   am__leading_dot=.
2767 else
2768   am__leading_dot=_
2769 fi
2770 rmdir .tst 2>/dev/null
2771
2772 # Check whether --enable-silent-rules was given.
2773 if test "${enable_silent_rules+set}" = set; then :
2774   enableval=$enable_silent_rules;
2775 fi
2776
2777 case $enable_silent_rules in # (((
2778   yes) AM_DEFAULT_VERBOSITY=0;;
2779    no) AM_DEFAULT_VERBOSITY=1;;
2780     *) AM_DEFAULT_VERBOSITY=1;;
2781 esac
2782 am_make=${MAKE-make}
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2784 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2785 if ${am_cv_make_support_nested_variables+:} false; then :
2786   $as_echo_n "(cached) " >&6
2787 else
2788   if $as_echo 'TRUE=$(BAR$(V))
2789 BAR0=false
2790 BAR1=true
2791 V=1
2792 am__doit:
2793         @$(TRUE)
2794 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2795   am_cv_make_support_nested_variables=yes
2796 else
2797   am_cv_make_support_nested_variables=no
2798 fi
2799 fi
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2801 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2802 if test $am_cv_make_support_nested_variables = yes; then
2803     AM_V='$(V)'
2804   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2805 else
2806   AM_V=$AM_DEFAULT_VERBOSITY
2807   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2808 fi
2809 AM_BACKSLASH='\'
2810
2811 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2812   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2813   # is not polluted with repeated "-I."
2814   am__isrc=' -I$(srcdir)'
2815   # test to see if srcdir already configured
2816   if test -f $srcdir/config.status; then
2817     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2818   fi
2819 fi
2820
2821 # test whether we have cygpath
2822 if test -z "$CYGPATH_W"; then
2823   if (cygpath --version) >/dev/null 2>/dev/null; then
2824     CYGPATH_W='cygpath -w'
2825   else
2826     CYGPATH_W=echo
2827   fi
2828 fi
2829
2830
2831 # Define the identity of the package.
2832  PACKAGE='fuse'
2833  VERSION='2.9.6'
2834
2835
2836 cat >>confdefs.h <<_ACEOF
2837 #define PACKAGE "$PACKAGE"
2838 _ACEOF
2839
2840
2841 cat >>confdefs.h <<_ACEOF
2842 #define VERSION "$VERSION"
2843 _ACEOF
2844
2845 # Some tools Automake needs.
2846
2847 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2848
2849
2850 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2851
2852
2853 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2854
2855
2856 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2857
2858
2859 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2860
2861 # For better backward compatibility.  To be removed once Automake 1.9.x
2862 # dies out for good.  For more background, see:
2863 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2864 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2865 mkdir_p='$(MKDIR_P)'
2866
2867 # We need awk for the "check" target.  The system "awk" is bad on
2868 # some platforms.
2869 # Always define AMTAR for backward compatibility.  Yes, it's still used
2870 # in the wild :-(  We should find a proper way to deprecate it ...
2871 AMTAR='$${TAR-tar}'
2872
2873
2874 # We'll loop over all known methods to create a tar archive until one works.
2875 _am_tools='gnutar  pax cpio none'
2876
2877 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2878
2879
2880
2881
2882
2883
2884 # POSIX will say in a future version that running "rm -f" with no argument
2885 # is OK; and we want to be able to make that assumption in our Makefile
2886 # recipes.  So use an aggressive probe to check that the usage we want is
2887 # actually supported "in the wild" to an acceptable degree.
2888 # See automake bug#10828.
2889 # To make any issue more visible, cause the running configure to be aborted
2890 # by default if the 'rm' program in use doesn't match our expectations; the
2891 # user can still override this though.
2892 if rm -f && rm -fr && rm -rf; then : OK; else
2893   cat >&2 <<'END'
2894 Oops!
2895
2896 Your 'rm' program seems unable to run without file operands specified
2897 on the command line, even when the '-f' option is present.  This is contrary
2898 to the behaviour of most rm programs out there, and not conforming with
2899 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2900
2901 Please tell bug-automake@gnu.org about your system, including the value
2902 of your $PATH and any error possibly output before this message.  This
2903 can help us improve future automake versions.
2904
2905 END
2906   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2907     echo 'Configuration will proceed anyway, since you have set the' >&2
2908     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2909     echo >&2
2910   else
2911     cat >&2 <<'END'
2912 Aborting the configuration process, to ensure you take notice of the issue.
2913
2914 You can download and install GNU coreutils to get an 'rm' implementation
2915 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2916
2917 If you want to complete the configuration process using your problematic
2918 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2919 to "yes", and re-run configure.
2920
2921 END
2922     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2923   fi
2924 fi
2925
2926 # Check whether --enable-silent-rules was given.
2927 if test "${enable_silent_rules+set}" = set; then :
2928   enableval=$enable_silent_rules;
2929 fi
2930
2931 case $enable_silent_rules in # (((
2932   yes) AM_DEFAULT_VERBOSITY=0;;
2933    no) AM_DEFAULT_VERBOSITY=1;;
2934     *) AM_DEFAULT_VERBOSITY=0;;
2935 esac
2936 am_make=${MAKE-make}
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2938 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2939 if ${am_cv_make_support_nested_variables+:} false; then :
2940   $as_echo_n "(cached) " >&6
2941 else
2942   if $as_echo 'TRUE=$(BAR$(V))
2943 BAR0=false
2944 BAR1=true
2945 V=1
2946 am__doit:
2947         @$(TRUE)
2948 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2949   am_cv_make_support_nested_variables=yes
2950 else
2951   am_cv_make_support_nested_variables=no
2952 fi
2953 fi
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2955 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2956 if test $am_cv_make_support_nested_variables = yes; then
2957     AM_V='$(V)'
2958   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2959 else
2960   AM_V=$AM_DEFAULT_VERBOSITY
2961   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2962 fi
2963 AM_BACKSLASH='\'
2964
2965 ac_config_headers="$ac_config_headers include/config.h"
2966
2967
2968 case `pwd` in
2969   *\ * | *\     *)
2970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2971 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2972 esac
2973
2974
2975
2976 macro_version='2.4.2'
2977 macro_revision='1.3337'
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991 ltmain="$ac_aux_dir/ltmain.sh"
2992
2993 # Backslashify metacharacters that are still active within
2994 # double-quoted strings.
2995 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2996
2997 # Same as above, but do not quote variable references.
2998 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2999
3000 # Sed substitution to delay expansion of an escaped shell variable in a
3001 # double_quote_subst'ed string.
3002 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3003
3004 # Sed substitution to delay expansion of an escaped single quote.
3005 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3006
3007 # Sed substitution to avoid accidental globbing in evaled expressions
3008 no_glob_subst='s/\*/\\\*/g'
3009
3010 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3011 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3012 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3013
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3015 $as_echo_n "checking how to print strings... " >&6; }
3016 # Test print first, because it will be a builtin if present.
3017 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3018    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3019   ECHO='print -r --'
3020 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3021   ECHO='printf %s\n'
3022 else
3023   # Use this function as a fallback that always works.
3024   func_fallback_echo ()
3025   {
3026     eval 'cat <<_LTECHO_EOF
3027 $1
3028 _LTECHO_EOF'
3029   }
3030   ECHO='func_fallback_echo'
3031 fi
3032
3033 # func_echo_all arg...
3034 # Invoke $ECHO with all args, space-separated.
3035 func_echo_all ()
3036 {
3037     $ECHO ""
3038 }
3039
3040 case "$ECHO" in
3041   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3042 $as_echo "printf" >&6; } ;;
3043   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3044 $as_echo "print -r" >&6; } ;;
3045   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3046 $as_echo "cat" >&6; } ;;
3047 esac
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062 DEPDIR="${am__leading_dot}deps"
3063
3064 ac_config_commands="$ac_config_commands depfiles"
3065
3066
3067 am_make=${MAKE-make}
3068 cat > confinc << 'END'
3069 am__doit:
3070         @echo this is the am__doit target
3071 .PHONY: am__doit
3072 END
3073 # If we don't find an include directive, just comment out the code.
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3075 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3076 am__include="#"
3077 am__quote=
3078 _am_result=none
3079 # First try GNU make style include.
3080 echo "include confinc" > confmf
3081 # Ignore all kinds of additional output from 'make'.
3082 case `$am_make -s -f confmf 2> /dev/null` in #(
3083 *the\ am__doit\ target*)
3084   am__include=include
3085   am__quote=
3086   _am_result=GNU
3087   ;;
3088 esac
3089 # Now try BSD make style include.
3090 if test "$am__include" = "#"; then
3091    echo '.include "confinc"' > confmf
3092    case `$am_make -s -f confmf 2> /dev/null` in #(
3093    *the\ am__doit\ target*)
3094      am__include=.include
3095      am__quote="\""
3096      _am_result=BSD
3097      ;;
3098    esac
3099 fi
3100
3101
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3103 $as_echo "$_am_result" >&6; }
3104 rm -f confinc confmf
3105
3106 # Check whether --enable-dependency-tracking was given.
3107 if test "${enable_dependency_tracking+set}" = set; then :
3108   enableval=$enable_dependency_tracking;
3109 fi
3110
3111 if test "x$enable_dependency_tracking" != xno; then
3112   am_depcomp="$ac_aux_dir/depcomp"
3113   AMDEPBACKSLASH='\'
3114   am__nodep='_no'
3115 fi
3116  if test "x$enable_dependency_tracking" != xno; then
3117   AMDEP_TRUE=
3118   AMDEP_FALSE='#'
3119 else
3120   AMDEP_TRUE='#'
3121   AMDEP_FALSE=
3122 fi
3123
3124
3125 ac_ext=c
3126 ac_cpp='$CPP $CPPFLAGS'
3127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3130 if test -n "$ac_tool_prefix"; then
3131   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3132 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_CC+:} false; then :
3136   $as_echo_n "(cached) " >&6
3137 else
3138   if test -n "$CC"; then
3139   ac_cv_prog_CC="$CC" # Let the user override the test.
3140 else
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3143 do
3144   IFS=$as_save_IFS
3145   test -z "$as_dir" && as_dir=.
3146     for ac_exec_ext in '' $ac_executable_extensions; do
3147   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150     break 2
3151   fi
3152 done
3153   done
3154 IFS=$as_save_IFS
3155
3156 fi
3157 fi
3158 CC=$ac_cv_prog_CC
3159 if test -n "$CC"; then
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3162 else
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3165 fi
3166
3167
3168 fi
3169 if test -z "$ac_cv_prog_CC"; then
3170   ac_ct_CC=$CC
3171   # Extract the first word of "gcc", so it can be a program name with args.
3172 set dummy gcc; ac_word=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3176   $as_echo_n "(cached) " >&6
3177 else
3178   if test -n "$ac_ct_CC"; then
3179   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3180 else
3181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3182 for as_dir in $PATH
3183 do
3184   IFS=$as_save_IFS
3185   test -z "$as_dir" && as_dir=.
3186     for ac_exec_ext in '' $ac_executable_extensions; do
3187   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3188     ac_cv_prog_ac_ct_CC="gcc"
3189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3190     break 2
3191   fi
3192 done
3193   done
3194 IFS=$as_save_IFS
3195
3196 fi
3197 fi
3198 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3199 if test -n "$ac_ct_CC"; then
3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3201 $as_echo "$ac_ct_CC" >&6; }
3202 else
3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3205 fi
3206
3207   if test "x$ac_ct_CC" = x; then
3208     CC=""
3209   else
3210     case $cross_compiling:$ac_tool_warned in
3211 yes:)
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3214 ac_tool_warned=yes ;;
3215 esac
3216     CC=$ac_ct_CC
3217   fi
3218 else
3219   CC="$ac_cv_prog_CC"
3220 fi
3221
3222 if test -z "$CC"; then
3223           if test -n "$ac_tool_prefix"; then
3224     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3225 set dummy ${ac_tool_prefix}cc; ac_word=$2
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3227 $as_echo_n "checking for $ac_word... " >&6; }
3228 if ${ac_cv_prog_CC+:} false; then :
3229   $as_echo_n "(cached) " >&6
3230 else
3231   if test -n "$CC"; then
3232   ac_cv_prog_CC="$CC" # Let the user override the test.
3233 else
3234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235 for as_dir in $PATH
3236 do
3237   IFS=$as_save_IFS
3238   test -z "$as_dir" && as_dir=.
3239     for ac_exec_ext in '' $ac_executable_extensions; do
3240   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3241     ac_cv_prog_CC="${ac_tool_prefix}cc"
3242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243     break 2
3244   fi
3245 done
3246   done
3247 IFS=$as_save_IFS
3248
3249 fi
3250 fi
3251 CC=$ac_cv_prog_CC
3252 if test -n "$CC"; then
3253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3254 $as_echo "$CC" >&6; }
3255 else
3256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3257 $as_echo "no" >&6; }
3258 fi
3259
3260
3261   fi
3262 fi
3263 if test -z "$CC"; then
3264   # Extract the first word of "cc", so it can be a program name with args.
3265 set dummy cc; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_CC+:} false; then :
3269   $as_echo_n "(cached) " >&6
3270 else
3271   if test -n "$CC"; then
3272   ac_cv_prog_CC="$CC" # Let the user override the test.
3273 else
3274   ac_prog_rejected=no
3275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276 for as_dir in $PATH
3277 do
3278   IFS=$as_save_IFS
3279   test -z "$as_dir" && as_dir=.
3280     for ac_exec_ext in '' $ac_executable_extensions; do
3281   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3282     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3283        ac_prog_rejected=yes
3284        continue
3285      fi
3286     ac_cv_prog_CC="cc"
3287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3288     break 2
3289   fi
3290 done
3291   done
3292 IFS=$as_save_IFS
3293
3294 if test $ac_prog_rejected = yes; then
3295   # We found a bogon in the path, so make sure we never use it.
3296   set dummy $ac_cv_prog_CC
3297   shift
3298   if test $# != 0; then
3299     # We chose a different compiler from the bogus one.
3300     # However, it has the same basename, so the bogon will be chosen
3301     # first if we set CC to just the basename; use the full file name.
3302     shift
3303     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3304   fi
3305 fi
3306 fi
3307 fi
3308 CC=$ac_cv_prog_CC
3309 if test -n "$CC"; then
3310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3311 $as_echo "$CC" >&6; }
3312 else
3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3315 fi
3316
3317
3318 fi
3319 if test -z "$CC"; then
3320   if test -n "$ac_tool_prefix"; then
3321   for ac_prog in cl.exe
3322   do
3323     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3324 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3326 $as_echo_n "checking for $ac_word... " >&6; }
3327 if ${ac_cv_prog_CC+:} false; then :
3328   $as_echo_n "(cached) " >&6
3329 else
3330   if test -n "$CC"; then
3331   ac_cv_prog_CC="$CC" # Let the user override the test.
3332 else
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3335 do
3336   IFS=$as_save_IFS
3337   test -z "$as_dir" && as_dir=.
3338     for ac_exec_ext in '' $ac_executable_extensions; do
3339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3340     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342     break 2
3343   fi
3344 done
3345   done
3346 IFS=$as_save_IFS
3347
3348 fi
3349 fi
3350 CC=$ac_cv_prog_CC
3351 if test -n "$CC"; then
3352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3353 $as_echo "$CC" >&6; }
3354 else
3355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356 $as_echo "no" >&6; }
3357 fi
3358
3359
3360     test -n "$CC" && break
3361   done
3362 fi
3363 if test -z "$CC"; then
3364   ac_ct_CC=$CC
3365   for ac_prog in cl.exe
3366 do
3367   # Extract the first word of "$ac_prog", so it can be a program name with args.
3368 set dummy $ac_prog; ac_word=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3372   $as_echo_n "(cached) " >&6
3373 else
3374   if test -n "$ac_ct_CC"; then
3375   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3376 else
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3378 for as_dir in $PATH
3379 do
3380   IFS=$as_save_IFS
3381   test -z "$as_dir" && as_dir=.
3382     for ac_exec_ext in '' $ac_executable_extensions; do
3383   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3384     ac_cv_prog_ac_ct_CC="$ac_prog"
3385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3386     break 2
3387   fi
3388 done
3389   done
3390 IFS=$as_save_IFS
3391
3392 fi
3393 fi
3394 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3395 if test -n "$ac_ct_CC"; then
3396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3397 $as_echo "$ac_ct_CC" >&6; }
3398 else
3399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3401 fi
3402
3403
3404   test -n "$ac_ct_CC" && break
3405 done
3406
3407   if test "x$ac_ct_CC" = x; then
3408     CC=""
3409   else
3410     case $cross_compiling:$ac_tool_warned in
3411 yes:)
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3414 ac_tool_warned=yes ;;
3415 esac
3416     CC=$ac_ct_CC
3417   fi
3418 fi
3419
3420 fi
3421
3422
3423 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 as_fn_error $? "no acceptable C compiler found in \$PATH
3426 See \`config.log' for more details" "$LINENO" 5; }
3427
3428 # Provide some information about the compiler.
3429 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3430 set X $ac_compile
3431 ac_compiler=$2
3432 for ac_option in --version -v -V -qversion; do
3433   { { ac_try="$ac_compiler $ac_option >&5"
3434 case "(($ac_try" in
3435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436   *) ac_try_echo=$ac_try;;
3437 esac
3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3439 $as_echo "$ac_try_echo"; } >&5
3440   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3441   ac_status=$?
3442   if test -s conftest.err; then
3443     sed '10a\
3444 ... rest of stderr output deleted ...
3445          10q' conftest.err >conftest.er1
3446     cat conftest.er1 >&5
3447   fi
3448   rm -f conftest.er1 conftest.err
3449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450   test $ac_status = 0; }
3451 done
3452
3453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3454 /* end confdefs.h.  */
3455
3456 int
3457 main ()
3458 {
3459
3460   ;
3461   return 0;
3462 }
3463 _ACEOF
3464 ac_clean_files_save=$ac_clean_files
3465 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3466 # Try to create an executable without -o first, disregard a.out.
3467 # It will help us diagnose broken compilers, and finding out an intuition
3468 # of exeext.
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3470 $as_echo_n "checking whether the C compiler works... " >&6; }
3471 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3472
3473 # The possible output files:
3474 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3475
3476 ac_rmfiles=
3477 for ac_file in $ac_files
3478 do
3479   case $ac_file in
3480     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3481     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3482   esac
3483 done
3484 rm -f $ac_rmfiles
3485
3486 if { { ac_try="$ac_link_default"
3487 case "(($ac_try" in
3488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3489   *) ac_try_echo=$ac_try;;
3490 esac
3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3492 $as_echo "$ac_try_echo"; } >&5
3493   (eval "$ac_link_default") 2>&5
3494   ac_status=$?
3495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3496   test $ac_status = 0; }; then :
3497   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3498 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3499 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3500 # so that the user can short-circuit this test for compilers unknown to
3501 # Autoconf.
3502 for ac_file in $ac_files ''
3503 do
3504   test -f "$ac_file" || continue
3505   case $ac_file in
3506     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3507         ;;
3508     [ab].out )
3509         # We found the default executable, but exeext='' is most
3510         # certainly right.
3511         break;;
3512     *.* )
3513         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3514         then :; else
3515            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3516         fi
3517         # We set ac_cv_exeext here because the later test for it is not
3518         # safe: cross compilers may not add the suffix if given an `-o'
3519         # argument, so we may need to know it at that point already.
3520         # Even if this section looks crufty: it has the advantage of
3521         # actually working.
3522         break;;
3523     * )
3524         break;;
3525   esac
3526 done
3527 test "$ac_cv_exeext" = no && ac_cv_exeext=
3528
3529 else
3530   ac_file=''
3531 fi
3532 if test -z "$ac_file"; then :
3533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3534 $as_echo "no" >&6; }
3535 $as_echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.$ac_ext >&5
3537
3538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3540 as_fn_error 77 "C compiler cannot create executables
3541 See \`config.log' for more details" "$LINENO" 5; }
3542 else
3543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3544 $as_echo "yes" >&6; }
3545 fi
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3547 $as_echo_n "checking for C compiler default output file name... " >&6; }
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3549 $as_echo "$ac_file" >&6; }
3550 ac_exeext=$ac_cv_exeext
3551
3552 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3553 ac_clean_files=$ac_clean_files_save
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3555 $as_echo_n "checking for suffix of executables... " >&6; }
3556 if { { ac_try="$ac_link"
3557 case "(($ac_try" in
3558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3559   *) ac_try_echo=$ac_try;;
3560 esac
3561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3562 $as_echo "$ac_try_echo"; } >&5
3563   (eval "$ac_link") 2>&5
3564   ac_status=$?
3565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3566   test $ac_status = 0; }; then :
3567   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3568 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3569 # work properly (i.e., refer to `conftest.exe'), while it won't with
3570 # `rm'.
3571 for ac_file in conftest.exe conftest conftest.*; do
3572   test -f "$ac_file" || continue
3573   case $ac_file in
3574     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3575     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3576           break;;
3577     * ) break;;
3578   esac
3579 done
3580 else
3581   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3582 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3583 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3584 See \`config.log' for more details" "$LINENO" 5; }
3585 fi
3586 rm -f conftest conftest$ac_cv_exeext
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3588 $as_echo "$ac_cv_exeext" >&6; }
3589
3590 rm -f conftest.$ac_ext
3591 EXEEXT=$ac_cv_exeext
3592 ac_exeext=$EXEEXT
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h.  */
3595 #include <stdio.h>
3596 int
3597 main ()
3598 {
3599 FILE *f = fopen ("conftest.out", "w");
3600  return ferror (f) || fclose (f) != 0;
3601
3602   ;
3603   return 0;
3604 }
3605 _ACEOF
3606 ac_clean_files="$ac_clean_files conftest.out"
3607 # Check that the compiler produces executables we can run.  If not, either
3608 # the compiler is broken, or we cross compile.
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3610 $as_echo_n "checking whether we are cross compiling... " >&6; }
3611 if test "$cross_compiling" != yes; then
3612   { { ac_try="$ac_link"
3613 case "(($ac_try" in
3614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3615   *) ac_try_echo=$ac_try;;
3616 esac
3617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3618 $as_echo "$ac_try_echo"; } >&5
3619   (eval "$ac_link") 2>&5
3620   ac_status=$?
3621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3622   test $ac_status = 0; }
3623   if { ac_try='./conftest$ac_cv_exeext'
3624   { { case "(($ac_try" in
3625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626   *) ac_try_echo=$ac_try;;
3627 esac
3628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629 $as_echo "$ac_try_echo"; } >&5
3630   (eval "$ac_try") 2>&5
3631   ac_status=$?
3632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3633   test $ac_status = 0; }; }; then
3634     cross_compiling=no
3635   else
3636     if test "$cross_compiling" = maybe; then
3637         cross_compiling=yes
3638     else
3639         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3641 as_fn_error $? "cannot run C compiled programs.
3642 If you meant to cross compile, use \`--host'.
3643 See \`config.log' for more details" "$LINENO" 5; }
3644     fi
3645   fi
3646 fi
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3648 $as_echo "$cross_compiling" >&6; }
3649
3650 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3651 ac_clean_files=$ac_clean_files_save
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3653 $as_echo_n "checking for suffix of object files... " >&6; }
3654 if ${ac_cv_objext+:} false; then :
3655   $as_echo_n "(cached) " >&6
3656 else
3657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h.  */
3659
3660 int
3661 main ()
3662 {
3663
3664   ;
3665   return 0;
3666 }
3667 _ACEOF
3668 rm -f conftest.o conftest.obj
3669 if { { ac_try="$ac_compile"
3670 case "(($ac_try" in
3671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3672   *) ac_try_echo=$ac_try;;
3673 esac
3674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3675 $as_echo "$ac_try_echo"; } >&5
3676   (eval "$ac_compile") 2>&5
3677   ac_status=$?
3678   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3679   test $ac_status = 0; }; then :
3680   for ac_file in conftest.o conftest.obj conftest.*; do
3681   test -f "$ac_file" || continue;
3682   case $ac_file in
3683     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3684     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3685        break;;
3686   esac
3687 done
3688 else
3689   $as_echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3691
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error $? "cannot compute suffix of object files: cannot compile
3695 See \`config.log' for more details" "$LINENO" 5; }
3696 fi
3697 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3698 fi
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3700 $as_echo "$ac_cv_objext" >&6; }
3701 OBJEXT=$ac_cv_objext
3702 ac_objext=$OBJEXT
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3704 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3705 if ${ac_cv_c_compiler_gnu+:} false; then :
3706   $as_echo_n "(cached) " >&6
3707 else
3708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h.  */
3710
3711 int
3712 main ()
3713 {
3714 #ifndef __GNUC__
3715        choke me
3716 #endif
3717
3718   ;
3719   return 0;
3720 }
3721 _ACEOF
3722 if ac_fn_c_try_compile "$LINENO"; then :
3723   ac_compiler_gnu=yes
3724 else
3725   ac_compiler_gnu=no
3726 fi
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3729
3730 fi
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3732 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3733 if test $ac_compiler_gnu = yes; then
3734   GCC=yes
3735 else
3736   GCC=
3737 fi
3738 ac_test_CFLAGS=${CFLAGS+set}
3739 ac_save_CFLAGS=$CFLAGS
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3741 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3742 if ${ac_cv_prog_cc_g+:} false; then :
3743   $as_echo_n "(cached) " >&6
3744 else
3745   ac_save_c_werror_flag=$ac_c_werror_flag
3746    ac_c_werror_flag=yes
3747    ac_cv_prog_cc_g=no
3748    CFLAGS="-g"
3749    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h.  */
3751
3752 int
3753 main ()
3754 {
3755
3756   ;
3757   return 0;
3758 }
3759 _ACEOF
3760 if ac_fn_c_try_compile "$LINENO"; then :
3761   ac_cv_prog_cc_g=yes
3762 else
3763   CFLAGS=""
3764       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765 /* end confdefs.h.  */
3766
3767 int
3768 main ()
3769 {
3770
3771   ;
3772   return 0;
3773 }
3774 _ACEOF
3775 if ac_fn_c_try_compile "$LINENO"; then :
3776
3777 else
3778   ac_c_werror_flag=$ac_save_c_werror_flag
3779          CFLAGS="-g"
3780          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781 /* end confdefs.h.  */
3782
3783 int
3784 main ()
3785 {
3786
3787   ;
3788   return 0;
3789 }
3790 _ACEOF
3791 if ac_fn_c_try_compile "$LINENO"; then :
3792   ac_cv_prog_cc_g=yes
3793 fi
3794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3795 fi
3796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797 fi
3798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799    ac_c_werror_flag=$ac_save_c_werror_flag
3800 fi
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3802 $as_echo "$ac_cv_prog_cc_g" >&6; }
3803 if test "$ac_test_CFLAGS" = set; then
3804   CFLAGS=$ac_save_CFLAGS
3805 elif test $ac_cv_prog_cc_g = yes; then
3806   if test "$GCC" = yes; then
3807     CFLAGS="-g -O2"
3808   else
3809     CFLAGS="-g"
3810   fi
3811 else
3812   if test "$GCC" = yes; then
3813     CFLAGS="-O2"
3814   else
3815     CFLAGS=
3816   fi
3817 fi
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3819 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3820 if ${ac_cv_prog_cc_c89+:} false; then :
3821   $as_echo_n "(cached) " >&6
3822 else
3823   ac_cv_prog_cc_c89=no
3824 ac_save_CC=$CC
3825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3826 /* end confdefs.h.  */
3827 #include <stdarg.h>
3828 #include <stdio.h>
3829 struct stat;
3830 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3831 struct buf { int x; };
3832 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3833 static char *e (p, i)
3834      char **p;
3835      int i;
3836 {
3837   return p[i];
3838 }
3839 static char *f (char * (*g) (char **, int), char **p, ...)
3840 {
3841   char *s;
3842   va_list v;
3843   va_start (v,p);
3844   s = g (p, va_arg (v,int));
3845   va_end (v);
3846   return s;
3847 }
3848
3849 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3850    function prototypes and stuff, but not '\xHH' hex character constants.
3851    These don't provoke an error unfortunately, instead are silently treated
3852    as 'x'.  The following induces an error, until -std is added to get
3853    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3854    array size at least.  It's necessary to write '\x00'==0 to get something
3855    that's true only with -std.  */
3856 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3857
3858 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3859    inside strings and character constants.  */
3860 #define FOO(x) 'x'
3861 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3862
3863 int test (int i, double x);
3864 struct s1 {int (*f) (int a);};
3865 struct s2 {int (*f) (double a);};
3866 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3867 int argc;
3868 char **argv;
3869 int
3870 main ()
3871 {
3872 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3873   ;
3874   return 0;
3875 }
3876 _ACEOF
3877 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3878         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3879 do
3880   CC="$ac_save_CC $ac_arg"
3881   if ac_fn_c_try_compile "$LINENO"; then :
3882   ac_cv_prog_cc_c89=$ac_arg
3883 fi
3884 rm -f core conftest.err conftest.$ac_objext
3885   test "x$ac_cv_prog_cc_c89" != "xno" && break
3886 done
3887 rm -f conftest.$ac_ext
3888 CC=$ac_save_CC
3889
3890 fi
3891 # AC_CACHE_VAL
3892 case "x$ac_cv_prog_cc_c89" in
3893   x)
3894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3895 $as_echo "none needed" >&6; } ;;
3896   xno)
3897     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3898 $as_echo "unsupported" >&6; } ;;
3899   *)
3900     CC="$CC $ac_cv_prog_cc_c89"
3901     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3902 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3903 esac
3904 if test "x$ac_cv_prog_cc_c89" != xno; then :
3905
3906 fi
3907
3908 ac_ext=c
3909 ac_cpp='$CPP $CPPFLAGS'
3910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913
3914 ac_ext=c
3915 ac_cpp='$CPP $CPPFLAGS'
3916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3920 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3921 if ${am_cv_prog_cc_c_o+:} false; then :
3922   $as_echo_n "(cached) " >&6
3923 else
3924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h.  */
3926
3927 int
3928 main ()
3929 {
3930
3931   ;
3932   return 0;
3933 }
3934 _ACEOF
3935   # Make sure it works both with $CC and with simple cc.
3936   # Following AC_PROG_CC_C_O, we do the test twice because some
3937   # compilers refuse to overwrite an existing .o file with -o,
3938   # though they will create one.
3939   am_cv_prog_cc_c_o=yes
3940   for am_i in 1 2; do
3941     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3942    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3943    ac_status=$?
3944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945    (exit $ac_status); } \
3946          && test -f conftest2.$ac_objext; then
3947       : OK
3948     else
3949       am_cv_prog_cc_c_o=no
3950       break
3951     fi
3952   done
3953   rm -f core conftest*
3954   unset am_i
3955 fi
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3957 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3958 if test "$am_cv_prog_cc_c_o" != yes; then
3959    # Losing compiler, so override with the script.
3960    # FIXME: It is wrong to rewrite CC.
3961    # But if we don't then we get into trouble of one sort or another.
3962    # A longer-term fix would be to have automake use am__CC in this case,
3963    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3964    CC="$am_aux_dir/compile $CC"
3965 fi
3966 ac_ext=c
3967 ac_cpp='$CPP $CPPFLAGS'
3968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3971
3972
3973 depcc="$CC"   am_compiler_list=
3974
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3976 $as_echo_n "checking dependency style of $depcc... " >&6; }
3977 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3978   $as_echo_n "(cached) " >&6
3979 else
3980   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3981   # We make a subdir and do the tests there.  Otherwise we can end up
3982   # making bogus files that we don't know about and never remove.  For
3983   # instance it was reported that on HP-UX the gcc test will end up
3984   # making a dummy file named 'D' -- because '-MD' means "put the output
3985   # in D".
3986   rm -rf conftest.dir
3987   mkdir conftest.dir
3988   # Copy depcomp to subdir because otherwise we won't find it if we're
3989   # using a relative directory.
3990   cp "$am_depcomp" conftest.dir
3991   cd conftest.dir
3992   # We will build objects and dependencies in a subdirectory because
3993   # it helps to detect inapplicable dependency modes.  For instance
3994   # both Tru64's cc and ICC support -MD to output dependencies as a
3995   # side effect of compilation, but ICC will put the dependencies in
3996   # the current directory while Tru64 will put them in the object
3997   # directory.
3998   mkdir sub
3999
4000   am_cv_CC_dependencies_compiler_type=none
4001   if test "$am_compiler_list" = ""; then
4002      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4003   fi
4004   am__universal=false
4005   case " $depcc " in #(
4006      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4007      esac
4008
4009   for depmode in $am_compiler_list; do
4010     # Setup a source with many dependencies, because some compilers
4011     # like to wrap large dependency lists on column 80 (with \), and
4012     # we should not choose a depcomp mode which is confused by this.
4013     #
4014     # We need to recreate these files for each test, as the compiler may
4015     # overwrite some of them when testing with obscure command lines.
4016     # This happens at least with the AIX C compiler.
4017     : > sub/conftest.c
4018     for i in 1 2 3 4 5 6; do
4019       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4020       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4021       # Solaris 10 /bin/sh.
4022       echo '/* dummy */' > sub/conftst$i.h
4023     done
4024     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4025
4026     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4027     # mode.  It turns out that the SunPro C++ compiler does not properly
4028     # handle '-M -o', and we need to detect this.  Also, some Intel
4029     # versions had trouble with output in subdirs.
4030     am__obj=sub/conftest.${OBJEXT-o}
4031     am__minus_obj="-o $am__obj"
4032     case $depmode in
4033     gcc)
4034       # This depmode causes a compiler race in universal mode.
4035       test "$am__universal" = false || continue
4036       ;;
4037     nosideeffect)
4038       # After this tag, mechanisms are not by side-effect, so they'll
4039       # only be used when explicitly requested.
4040       if test "x$enable_dependency_tracking" = xyes; then
4041         continue
4042       else
4043         break
4044       fi
4045       ;;
4046     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4047       # This compiler won't grok '-c -o', but also, the minuso test has
4048       # not run yet.  These depmodes are late enough in the game, and
4049       # so weak that their functioning should not be impacted.
4050       am__obj=conftest.${OBJEXT-o}
4051       am__minus_obj=
4052       ;;
4053     none) break ;;
4054     esac
4055     if depmode=$depmode \
4056        source=sub/conftest.c object=$am__obj \
4057        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4058        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4059          >/dev/null 2>conftest.err &&
4060        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4061        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4062        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4063        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4064       # icc doesn't choke on unknown options, it will just issue warnings
4065       # or remarks (even with -Werror).  So we grep stderr for any message
4066       # that says an option was ignored or not supported.
4067       # When given -MP, icc 7.0 and 7.1 complain thusly:
4068       #   icc: Command line warning: ignoring option '-M'; no argument required
4069       # The diagnosis changed in icc 8.0:
4070       #   icc: Command line remark: option '-MP' not supported
4071       if (grep 'ignoring option' conftest.err ||
4072           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4073         am_cv_CC_dependencies_compiler_type=$depmode
4074         break
4075       fi
4076     fi
4077   done
4078
4079   cd ..
4080   rm -rf conftest.dir
4081 else
4082   am_cv_CC_dependencies_compiler_type=none
4083 fi
4084
4085 fi
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4087 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4088 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4089
4090  if
4091   test "x$enable_dependency_tracking" != xno \
4092   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4093   am__fastdepCC_TRUE=
4094   am__fastdepCC_FALSE='#'
4095 else
4096   am__fastdepCC_TRUE='#'
4097   am__fastdepCC_FALSE=
4098 fi
4099
4100
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4102 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4103 if ${ac_cv_path_SED+:} false; then :
4104   $as_echo_n "(cached) " >&6
4105 else
4106             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4107      for ac_i in 1 2 3 4 5 6 7; do
4108        ac_script="$ac_script$as_nl$ac_script"
4109      done
4110      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4111      { ac_script=; unset ac_script;}
4112      if test -z "$SED"; then
4113   ac_path_SED_found=false
4114   # Loop through the user's path and test for each of PROGNAME-LIST
4115   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4116 for as_dir in $PATH
4117 do
4118   IFS=$as_save_IFS
4119   test -z "$as_dir" && as_dir=.
4120     for ac_prog in sed gsed; do
4121     for ac_exec_ext in '' $ac_executable_extensions; do
4122       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4123       as_fn_executable_p "$ac_path_SED" || continue
4124 # Check for GNU ac_path_SED and select it if it is found.
4125   # Check for GNU $ac_path_SED
4126 case `"$ac_path_SED" --version 2>&1` in
4127 *GNU*)
4128   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4129 *)
4130   ac_count=0
4131   $as_echo_n 0123456789 >"conftest.in"
4132   while :
4133   do
4134     cat "conftest.in" "conftest.in" >"conftest.tmp"
4135     mv "conftest.tmp" "conftest.in"
4136     cp "conftest.in" "conftest.nl"
4137     $as_echo '' >> "conftest.nl"
4138     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4139     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4140     as_fn_arith $ac_count + 1 && ac_count=$as_val
4141     if test $ac_count -gt ${ac_path_SED_max-0}; then
4142       # Best one so far, save it but keep looking for a better one
4143       ac_cv_path_SED="$ac_path_SED"
4144       ac_path_SED_max=$ac_count
4145     fi
4146     # 10*(2^10) chars as input seems more than enough
4147     test $ac_count -gt 10 && break
4148   done
4149   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4150 esac
4151
4152       $ac_path_SED_found && break 3
4153     done
4154   done
4155   done
4156 IFS=$as_save_IFS
4157   if test -z "$ac_cv_path_SED"; then
4158     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4159   fi
4160 else
4161   ac_cv_path_SED=$SED
4162 fi
4163
4164 fi
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4166 $as_echo "$ac_cv_path_SED" >&6; }
4167  SED="$ac_cv_path_SED"
4168   rm -f conftest.sed
4169
4170 test -z "$SED" && SED=sed
4171 Xsed="$SED -e 1s/^X//"
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4184 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4185 if ${ac_cv_path_GREP+:} false; then :
4186   $as_echo_n "(cached) " >&6
4187 else
4188   if test -z "$GREP"; then
4189   ac_path_GREP_found=false
4190   # Loop through the user's path and test for each of PROGNAME-LIST
4191   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4193 do
4194   IFS=$as_save_IFS
4195   test -z "$as_dir" && as_dir=.
4196     for ac_prog in grep ggrep; do
4197     for ac_exec_ext in '' $ac_executable_extensions; do
4198       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4199       as_fn_executable_p "$ac_path_GREP" || continue
4200 # Check for GNU ac_path_GREP and select it if it is found.
4201   # Check for GNU $ac_path_GREP
4202 case `"$ac_path_GREP" --version 2>&1` in
4203 *GNU*)
4204   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4205 *)
4206   ac_count=0
4207   $as_echo_n 0123456789 >"conftest.in"
4208   while :
4209   do
4210     cat "conftest.in" "conftest.in" >"conftest.tmp"
4211     mv "conftest.tmp" "conftest.in"
4212     cp "conftest.in" "conftest.nl"
4213     $as_echo 'GREP' >> "conftest.nl"
4214     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4215     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4216     as_fn_arith $ac_count + 1 && ac_count=$as_val
4217     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4218       # Best one so far, save it but keep looking for a better one
4219       ac_cv_path_GREP="$ac_path_GREP"
4220       ac_path_GREP_max=$ac_count
4221     fi
4222     # 10*(2^10) chars as input seems more than enough
4223     test $ac_count -gt 10 && break
4224   done
4225   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4226 esac
4227
4228       $ac_path_GREP_found && break 3
4229     done
4230   done
4231   done
4232 IFS=$as_save_IFS
4233   if test -z "$ac_cv_path_GREP"; then
4234     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4235   fi
4236 else
4237   ac_cv_path_GREP=$GREP
4238 fi
4239
4240 fi
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4242 $as_echo "$ac_cv_path_GREP" >&6; }
4243  GREP="$ac_cv_path_GREP"
4244
4245
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4247 $as_echo_n "checking for egrep... " >&6; }
4248 if ${ac_cv_path_EGREP+:} false; then :
4249   $as_echo_n "(cached) " >&6
4250 else
4251   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4252    then ac_cv_path_EGREP="$GREP -E"
4253    else
4254      if test -z "$EGREP"; then
4255   ac_path_EGREP_found=false
4256   # Loop through the user's path and test for each of PROGNAME-LIST
4257   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4259 do
4260   IFS=$as_save_IFS
4261   test -z "$as_dir" && as_dir=.
4262     for ac_prog in egrep; do
4263     for ac_exec_ext in '' $ac_executable_extensions; do
4264       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4265       as_fn_executable_p "$ac_path_EGREP" || continue
4266 # Check for GNU ac_path_EGREP and select it if it is found.
4267   # Check for GNU $ac_path_EGREP
4268 case `"$ac_path_EGREP" --version 2>&1` in
4269 *GNU*)
4270   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4271 *)
4272   ac_count=0
4273   $as_echo_n 0123456789 >"conftest.in"
4274   while :
4275   do
4276     cat "conftest.in" "conftest.in" >"conftest.tmp"
4277     mv "conftest.tmp" "conftest.in"
4278     cp "conftest.in" "conftest.nl"
4279     $as_echo 'EGREP' >> "conftest.nl"
4280     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4281     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4282     as_fn_arith $ac_count + 1 && ac_count=$as_val
4283     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4284       # Best one so far, save it but keep looking for a better one
4285       ac_cv_path_EGREP="$ac_path_EGREP"
4286       ac_path_EGREP_max=$ac_count
4287     fi
4288     # 10*(2^10) chars as input seems more than enough
4289     test $ac_count -gt 10 && break
4290   done
4291   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4292 esac
4293
4294       $ac_path_EGREP_found && break 3
4295     done
4296   done
4297   done
4298 IFS=$as_save_IFS
4299   if test -z "$ac_cv_path_EGREP"; then
4300     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4301   fi
4302 else
4303   ac_cv_path_EGREP=$EGREP
4304 fi
4305
4306    fi
4307 fi
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4309 $as_echo "$ac_cv_path_EGREP" >&6; }
4310  EGREP="$ac_cv_path_EGREP"
4311
4312
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4314 $as_echo_n "checking for fgrep... " >&6; }
4315 if ${ac_cv_path_FGREP+:} false; then :
4316   $as_echo_n "(cached) " >&6
4317 else
4318   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4319    then ac_cv_path_FGREP="$GREP -F"
4320    else
4321      if test -z "$FGREP"; then
4322   ac_path_FGREP_found=false
4323   # Loop through the user's path and test for each of PROGNAME-LIST
4324   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4326 do
4327   IFS=$as_save_IFS
4328   test -z "$as_dir" && as_dir=.
4329     for ac_prog in fgrep; do
4330     for ac_exec_ext in '' $ac_executable_extensions; do
4331       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4332       as_fn_executable_p "$ac_path_FGREP" || continue
4333 # Check for GNU ac_path_FGREP and select it if it is found.
4334   # Check for GNU $ac_path_FGREP
4335 case `"$ac_path_FGREP" --version 2>&1` in
4336 *GNU*)
4337   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4338 *)
4339   ac_count=0
4340   $as_echo_n 0123456789 >"conftest.in"
4341   while :
4342   do
4343     cat "conftest.in" "conftest.in" >"conftest.tmp"
4344     mv "conftest.tmp" "conftest.in"
4345     cp "conftest.in" "conftest.nl"
4346     $as_echo 'FGREP' >> "conftest.nl"
4347     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4348     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4349     as_fn_arith $ac_count + 1 && ac_count=$as_val
4350     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4351       # Best one so far, save it but keep looking for a better one
4352       ac_cv_path_FGREP="$ac_path_FGREP"
4353       ac_path_FGREP_max=$ac_count
4354     fi
4355     # 10*(2^10) chars as input seems more than enough
4356     test $ac_count -gt 10 && break
4357   done
4358   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4359 esac
4360
4361       $ac_path_FGREP_found && break 3
4362     done
4363   done
4364   done
4365 IFS=$as_save_IFS
4366   if test -z "$ac_cv_path_FGREP"; then
4367     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4368   fi
4369 else
4370   ac_cv_path_FGREP=$FGREP
4371 fi
4372
4373    fi
4374 fi
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4376 $as_echo "$ac_cv_path_FGREP" >&6; }
4377  FGREP="$ac_cv_path_FGREP"
4378
4379
4380 test -z "$GREP" && GREP=grep
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400 # Check whether --with-gnu-ld was given.
4401 if test "${with_gnu_ld+set}" = set; then :
4402   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4403 else
4404   with_gnu_ld=no
4405 fi
4406
4407 ac_prog=ld
4408 if test "$GCC" = yes; then
4409   # Check if gcc -print-prog-name=ld gives a path.
4410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4411 $as_echo_n "checking for ld used by $CC... " >&6; }
4412   case $host in
4413   *-*-mingw*)
4414     # gcc leaves a trailing carriage return which upsets mingw
4415     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4416   *)
4417     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4418   esac
4419   case $ac_prog in
4420     # Accept absolute paths.
4421     [\\/]* | ?:[\\/]*)
4422       re_direlt='/[^/][^/]*/\.\./'
4423       # Canonicalize the pathname of ld
4424       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4425       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4426         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4427       done
4428       test -z "$LD" && LD="$ac_prog"
4429       ;;
4430   "")
4431     # If it fails, then pretend we aren't using GCC.
4432     ac_prog=ld
4433     ;;
4434   *)
4435     # If it is relative, then search for the first ld in PATH.
4436     with_gnu_ld=unknown
4437     ;;
4438   esac
4439 elif test "$with_gnu_ld" = yes; then
4440   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4441 $as_echo_n "checking for GNU ld... " >&6; }
4442 else
4443   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4444 $as_echo_n "checking for non-GNU ld... " >&6; }
4445 fi
4446 if ${lt_cv_path_LD+:} false; then :
4447   $as_echo_n "(cached) " >&6
4448 else
4449   if test -z "$LD"; then
4450   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4451   for ac_dir in $PATH; do
4452     IFS="$lt_save_ifs"
4453     test -z "$ac_dir" && ac_dir=.
4454     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4455       lt_cv_path_LD="$ac_dir/$ac_prog"
4456       # Check to see if the program is GNU ld.  I'd rather use --version,
4457       # but apparently some variants of GNU ld only accept -v.
4458       # Break only if it was the GNU/non-GNU ld that we prefer.
4459       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4460       *GNU* | *'with BFD'*)
4461         test "$with_gnu_ld" != no && break
4462         ;;
4463       *)
4464         test "$with_gnu_ld" != yes && break
4465         ;;
4466       esac
4467     fi
4468   done
4469   IFS="$lt_save_ifs"
4470 else
4471   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4472 fi
4473 fi
4474
4475 LD="$lt_cv_path_LD"
4476 if test -n "$LD"; then
4477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4478 $as_echo "$LD" >&6; }
4479 else
4480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4482 fi
4483 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4485 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4486 if ${lt_cv_prog_gnu_ld+:} false; then :
4487   $as_echo_n "(cached) " >&6
4488 else
4489   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4490 case `$LD -v 2>&1 </dev/null` in
4491 *GNU* | *'with BFD'*)
4492   lt_cv_prog_gnu_ld=yes
4493   ;;
4494 *)
4495   lt_cv_prog_gnu_ld=no
4496   ;;
4497 esac
4498 fi
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4500 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4501 with_gnu_ld=$lt_cv_prog_gnu_ld
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4512 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4513 if ${lt_cv_path_NM+:} false; then :
4514   $as_echo_n "(cached) " >&6
4515 else
4516   if test -n "$NM"; then
4517   # Let the user override the test.
4518   lt_cv_path_NM="$NM"
4519 else
4520   lt_nm_to_check="${ac_tool_prefix}nm"
4521   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4522     lt_nm_to_check="$lt_nm_to_check nm"
4523   fi
4524   for lt_tmp_nm in $lt_nm_to_check; do
4525     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4526     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4527       IFS="$lt_save_ifs"
4528       test -z "$ac_dir" && ac_dir=.
4529       tmp_nm="$ac_dir/$lt_tmp_nm"
4530       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4531         # Check to see if the nm accepts a BSD-compat flag.
4532         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4533         #   nm: unknown option "B" ignored
4534         # Tru64's nm complains that /dev/null is an invalid object file
4535         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4536         */dev/null* | *'Invalid file or object type'*)
4537           lt_cv_path_NM="$tmp_nm -B"
4538           break
4539           ;;
4540         *)
4541           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4542           */dev/null*)
4543             lt_cv_path_NM="$tmp_nm -p"
4544             break
4545             ;;
4546           *)
4547             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4548             continue # so that we can try to find one that supports BSD flags
4549             ;;
4550           esac
4551           ;;
4552         esac
4553       fi
4554     done
4555     IFS="$lt_save_ifs"
4556   done
4557   : ${lt_cv_path_NM=no}
4558 fi
4559 fi
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4561 $as_echo "$lt_cv_path_NM" >&6; }
4562 if test "$lt_cv_path_NM" != "no"; then
4563   NM="$lt_cv_path_NM"
4564 else
4565   # Didn't find any BSD compatible name lister, look for dumpbin.
4566   if test -n "$DUMPBIN"; then :
4567     # Let the user override the test.
4568   else
4569     if test -n "$ac_tool_prefix"; then
4570   for ac_prog in dumpbin "link -dump"
4571   do
4572     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4575 $as_echo_n "checking for $ac_word... " >&6; }
4576 if ${ac_cv_prog_DUMPBIN+:} false; then :
4577   $as_echo_n "(cached) " >&6
4578 else
4579   if test -n "$DUMPBIN"; then
4580   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4581 else
4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4583 for as_dir in $PATH
4584 do
4585   IFS=$as_save_IFS
4586   test -z "$as_dir" && as_dir=.
4587     for ac_exec_ext in '' $ac_executable_extensions; do
4588   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4589     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591     break 2
4592   fi
4593 done
4594   done
4595 IFS=$as_save_IFS
4596
4597 fi
4598 fi
4599 DUMPBIN=$ac_cv_prog_DUMPBIN
4600 if test -n "$DUMPBIN"; then
4601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4602 $as_echo "$DUMPBIN" >&6; }
4603 else
4604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4606 fi
4607
4608
4609     test -n "$DUMPBIN" && break
4610   done
4611 fi
4612 if test -z "$DUMPBIN"; then
4613   ac_ct_DUMPBIN=$DUMPBIN
4614   for ac_prog in dumpbin "link -dump"
4615 do
4616   # Extract the first word of "$ac_prog", so it can be a program name with args.
4617 set dummy $ac_prog; ac_word=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4621   $as_echo_n "(cached) " >&6
4622 else
4623   if test -n "$ac_ct_DUMPBIN"; then
4624   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4625 else
4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4627 for as_dir in $PATH
4628 do
4629   IFS=$as_save_IFS
4630   test -z "$as_dir" && as_dir=.
4631     for ac_exec_ext in '' $ac_executable_extensions; do
4632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4633     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635     break 2
4636   fi
4637 done
4638   done
4639 IFS=$as_save_IFS
4640
4641 fi
4642 fi
4643 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4644 if test -n "$ac_ct_DUMPBIN"; then
4645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4646 $as_echo "$ac_ct_DUMPBIN" >&6; }
4647 else
4648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4650 fi
4651
4652
4653   test -n "$ac_ct_DUMPBIN" && break
4654 done
4655
4656   if test "x$ac_ct_DUMPBIN" = x; then
4657     DUMPBIN=":"
4658   else
4659     case $cross_compiling:$ac_tool_warned in
4660 yes:)
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4663 ac_tool_warned=yes ;;
4664 esac
4665     DUMPBIN=$ac_ct_DUMPBIN
4666   fi
4667 fi
4668
4669     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4670     *COFF*)
4671       DUMPBIN="$DUMPBIN -symbols"
4672       ;;
4673     *)
4674       DUMPBIN=:
4675       ;;
4676     esac
4677   fi
4678
4679   if test "$DUMPBIN" != ":"; then
4680     NM="$DUMPBIN"
4681   fi
4682 fi
4683 test -z "$NM" && NM=nm
4684
4685
4686
4687
4688
4689
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4691 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4692 if ${lt_cv_nm_interface+:} false; then :
4693   $as_echo_n "(cached) " >&6
4694 else
4695   lt_cv_nm_interface="BSD nm"
4696   echo "int some_variable = 0;" > conftest.$ac_ext
4697   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4698   (eval "$ac_compile" 2>conftest.err)
4699   cat conftest.err >&5
4700   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4701   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4702   cat conftest.err >&5
4703   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4704   cat conftest.out >&5
4705   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4706     lt_cv_nm_interface="MS dumpbin"
4707   fi
4708   rm -f conftest*
4709 fi
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4711 $as_echo "$lt_cv_nm_interface" >&6; }
4712
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4714 $as_echo_n "checking whether ln -s works... " >&6; }
4715 LN_S=$as_ln_s
4716 if test "$LN_S" = "ln -s"; then
4717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4718 $as_echo "yes" >&6; }
4719 else
4720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4721 $as_echo "no, using $LN_S" >&6; }
4722 fi
4723
4724 # find the maximum length of command line arguments
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4726 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4727 if ${lt_cv_sys_max_cmd_len+:} false; then :
4728   $as_echo_n "(cached) " >&6
4729 else
4730     i=0
4731   teststring="ABCD"
4732
4733   case $build_os in
4734   msdosdjgpp*)
4735     # On DJGPP, this test can blow up pretty badly due to problems in libc
4736     # (any single argument exceeding 2000 bytes causes a buffer overrun
4737     # during glob expansion).  Even if it were fixed, the result of this
4738     # check would be larger than it should be.
4739     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4740     ;;
4741
4742   gnu*)
4743     # Under GNU Hurd, this test is not required because there is
4744     # no limit to the length of command line arguments.
4745     # Libtool will interpret -1 as no limit whatsoever
4746     lt_cv_sys_max_cmd_len=-1;
4747     ;;
4748
4749   cygwin* | mingw* | cegcc*)
4750     # On Win9x/ME, this test blows up -- it succeeds, but takes
4751     # about 5 minutes as the teststring grows exponentially.
4752     # Worse, since 9x/ME are not pre-emptively multitasking,
4753     # you end up with a "frozen" computer, even though with patience
4754     # the test eventually succeeds (with a max line length of 256k).
4755     # Instead, let's just punt: use the minimum linelength reported by
4756     # all of the supported platforms: 8192 (on NT/2K/XP).
4757     lt_cv_sys_max_cmd_len=8192;
4758     ;;
4759
4760   mint*)
4761     # On MiNT this can take a long time and run out of memory.
4762     lt_cv_sys_max_cmd_len=8192;
4763     ;;
4764
4765   amigaos*)
4766     # On AmigaOS with pdksh, this test takes hours, literally.
4767     # So we just punt and use a minimum line length of 8192.
4768     lt_cv_sys_max_cmd_len=8192;
4769     ;;
4770
4771   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4772     # This has been around since 386BSD, at least.  Likely further.
4773     if test -x /sbin/sysctl; then
4774       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4775     elif test -x /usr/sbin/sysctl; then
4776       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4777     else
4778       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4779     fi
4780     # And add a safety zone
4781     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4782     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4783     ;;
4784
4785   interix*)
4786     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4787     lt_cv_sys_max_cmd_len=196608
4788     ;;
4789
4790   os2*)
4791     # The test takes a long time on OS/2.
4792     lt_cv_sys_max_cmd_len=8192
4793     ;;
4794
4795   osf*)
4796     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4797     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4798     # nice to cause kernel panics so lets avoid the loop below.
4799     # First set a reasonable default.
4800     lt_cv_sys_max_cmd_len=16384
4801     #
4802     if test -x /sbin/sysconfig; then
4803       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4804         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4805       esac
4806     fi
4807     ;;
4808   sco3.2v5*)
4809     lt_cv_sys_max_cmd_len=102400
4810     ;;
4811   sysv5* | sco5v6* | sysv4.2uw2*)
4812     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4813     if test -n "$kargmax"; then
4814       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4815     else
4816       lt_cv_sys_max_cmd_len=32768
4817     fi
4818     ;;
4819   *)
4820     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4821     if test -n "$lt_cv_sys_max_cmd_len" && \
4822         test undefined != "$lt_cv_sys_max_cmd_len"; then
4823       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4824       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4825     else
4826       # Make teststring a little bigger before we do anything with it.
4827       # a 1K string should be a reasonable start.
4828       for i in 1 2 3 4 5 6 7 8 ; do
4829         teststring=$teststring$teststring
4830       done
4831       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4832       # If test is not a shell built-in, we'll probably end up computing a
4833       # maximum length that is only half of the actual maximum length, but
4834       # we can't tell.
4835       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4836                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4837               test $i != 17 # 1/2 MB should be enough
4838       do
4839         i=`expr $i + 1`
4840         teststring=$teststring$teststring
4841       done
4842       # Only check the string length outside the loop.
4843       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4844       teststring=
4845       # Add a significant safety factor because C++ compilers can tack on
4846       # massive amounts of additional arguments before passing them to the
4847       # linker.  It appears as though 1/2 is a usable value.
4848       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4849     fi
4850     ;;
4851   esac
4852
4853 fi
4854
4855 if test -n $lt_cv_sys_max_cmd_len ; then
4856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4857 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4858 else
4859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4860 $as_echo "none" >&6; }
4861 fi
4862 max_cmd_len=$lt_cv_sys_max_cmd_len
4863
4864
4865
4866
4867
4868
4869 : ${CP="cp -f"}
4870 : ${MV="mv -f"}
4871 : ${RM="rm -f"}
4872
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4874 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4875 # Try some XSI features
4876 xsi_shell=no
4877 ( _lt_dummy="a/b/c"
4878   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4879       = c,a/b,b/c, \
4880     && eval 'test $(( 1 + 1 )) -eq 2 \
4881     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4882   && xsi_shell=yes
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4884 $as_echo "$xsi_shell" >&6; }
4885
4886
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4888 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4889 lt_shell_append=no
4890 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4891     >/dev/null 2>&1 \
4892   && lt_shell_append=yes
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4894 $as_echo "$lt_shell_append" >&6; }
4895
4896
4897 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4898   lt_unset=unset
4899 else
4900   lt_unset=false
4901 fi
4902
4903
4904
4905
4906
4907 # test EBCDIC or ASCII
4908 case `echo X|tr X '\101'` in
4909  A) # ASCII based system
4910     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4911   lt_SP2NL='tr \040 \012'
4912   lt_NL2SP='tr \015\012 \040\040'
4913   ;;
4914  *) # EBCDIC based system
4915   lt_SP2NL='tr \100 \n'
4916   lt_NL2SP='tr \r\n \100\100'
4917   ;;
4918 esac
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4929 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4930 if ${lt_cv_to_host_file_cmd+:} false; then :
4931   $as_echo_n "(cached) " >&6
4932 else
4933   case $host in
4934   *-*-mingw* )
4935     case $build in
4936       *-*-mingw* ) # actually msys
4937         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4938         ;;
4939       *-*-cygwin* )
4940         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4941         ;;
4942       * ) # otherwise, assume *nix
4943         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4944         ;;
4945     esac
4946     ;;
4947   *-*-cygwin* )
4948     case $build in
4949       *-*-mingw* ) # actually msys
4950         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4951         ;;
4952       *-*-cygwin* )
4953         lt_cv_to_host_file_cmd=func_convert_file_noop
4954         ;;
4955       * ) # otherwise, assume *nix
4956         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4957         ;;
4958     esac
4959     ;;
4960   * ) # unhandled hosts (and "normal" native builds)
4961     lt_cv_to_host_file_cmd=func_convert_file_noop
4962     ;;
4963 esac
4964
4965 fi
4966
4967 to_host_file_cmd=$lt_cv_to_host_file_cmd
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4969 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4970
4971
4972
4973
4974
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4976 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4977 if ${lt_cv_to_tool_file_cmd+:} false; then :
4978   $as_echo_n "(cached) " >&6
4979 else
4980   #assume ordinary cross tools, or native build.
4981 lt_cv_to_tool_file_cmd=func_convert_file_noop
4982 case $host in
4983   *-*-mingw* )
4984     case $build in
4985       *-*-mingw* ) # actually msys
4986         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4987         ;;
4988     esac
4989     ;;
4990 esac
4991
4992 fi
4993
4994 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4996 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4997
4998
4999
5000
5001
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5003 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5004 if ${lt_cv_ld_reload_flag+:} false; then :
5005   $as_echo_n "(cached) " >&6
5006 else
5007   lt_cv_ld_reload_flag='-r'
5008 fi
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5010 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5011 reload_flag=$lt_cv_ld_reload_flag
5012 case $reload_flag in
5013 "" | " "*) ;;
5014 *) reload_flag=" $reload_flag" ;;
5015 esac
5016 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5017 case $host_os in
5018   cygwin* | mingw* | pw32* | cegcc*)
5019     if test "$GCC" != yes; then
5020       reload_cmds=false
5021     fi
5022     ;;
5023   darwin*)
5024     if test "$GCC" = yes; then
5025       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5026     else
5027       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5028     fi
5029     ;;
5030 esac
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040 if test -n "$ac_tool_prefix"; then
5041   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5042 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_OBJDUMP+:} false; then :
5046   $as_echo_n "(cached) " >&6
5047 else
5048   if test -n "$OBJDUMP"; then
5049   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5050 else
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5053 do
5054   IFS=$as_save_IFS
5055   test -z "$as_dir" && as_dir=.
5056     for ac_exec_ext in '' $ac_executable_extensions; do
5057   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060     break 2
5061   fi
5062 done
5063   done
5064 IFS=$as_save_IFS
5065
5066 fi
5067 fi
5068 OBJDUMP=$ac_cv_prog_OBJDUMP
5069 if test -n "$OBJDUMP"; then
5070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5071 $as_echo "$OBJDUMP" >&6; }
5072 else
5073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5075 fi
5076
5077
5078 fi
5079 if test -z "$ac_cv_prog_OBJDUMP"; then
5080   ac_ct_OBJDUMP=$OBJDUMP
5081   # Extract the first word of "objdump", so it can be a program name with args.
5082 set dummy objdump; ac_word=$2
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5084 $as_echo_n "checking for $ac_word... " >&6; }
5085 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5086   $as_echo_n "(cached) " >&6
5087 else
5088   if test -n "$ac_ct_OBJDUMP"; then
5089   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5090 else
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5093 do
5094   IFS=$as_save_IFS
5095   test -z "$as_dir" && as_dir=.
5096     for ac_exec_ext in '' $ac_executable_extensions; do
5097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5098     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100     break 2
5101   fi
5102 done
5103   done
5104 IFS=$as_save_IFS
5105
5106 fi
5107 fi
5108 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5109 if test -n "$ac_ct_OBJDUMP"; then
5110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5111 $as_echo "$ac_ct_OBJDUMP" >&6; }
5112 else
5113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5114 $as_echo "no" >&6; }
5115 fi
5116
5117   if test "x$ac_ct_OBJDUMP" = x; then
5118     OBJDUMP="false"
5119   else
5120     case $cross_compiling:$ac_tool_warned in
5121 yes:)
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5124 ac_tool_warned=yes ;;
5125 esac
5126     OBJDUMP=$ac_ct_OBJDUMP
5127   fi
5128 else
5129   OBJDUMP="$ac_cv_prog_OBJDUMP"
5130 fi
5131
5132 test -z "$OBJDUMP" && OBJDUMP=objdump
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5143 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5144 if ${lt_cv_deplibs_check_method+:} false; then :
5145   $as_echo_n "(cached) " >&6
5146 else
5147   lt_cv_file_magic_cmd='$MAGIC_CMD'
5148 lt_cv_file_magic_test_file=
5149 lt_cv_deplibs_check_method='unknown'
5150 # Need to set the preceding variable on all platforms that support
5151 # interlibrary dependencies.
5152 # 'none' -- dependencies not supported.
5153 # `unknown' -- same as none, but documents that we really don't know.
5154 # 'pass_all' -- all dependencies passed with no checks.
5155 # 'test_compile' -- check by making test program.
5156 # 'file_magic [[regex]]' -- check by looking for files in library path
5157 # which responds to the $file_magic_cmd with a given extended regex.
5158 # If you have `file' or equivalent on your system and you're not sure
5159 # whether `pass_all' will *always* work, you probably want this one.
5160
5161 case $host_os in
5162 aix[4-9]*)
5163   lt_cv_deplibs_check_method=pass_all
5164   ;;
5165
5166 beos*)
5167   lt_cv_deplibs_check_method=pass_all
5168   ;;
5169
5170 bsdi[45]*)
5171   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5172   lt_cv_file_magic_cmd='/usr/bin/file -L'
5173   lt_cv_file_magic_test_file=/shlib/libc.so
5174   ;;
5175
5176 cygwin*)
5177   # func_win32_libid is a shell function defined in ltmain.sh
5178   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5179   lt_cv_file_magic_cmd='func_win32_libid'
5180   ;;
5181
5182 mingw* | pw32*)
5183   # Base MSYS/MinGW do not provide the 'file' command needed by
5184   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5185   # unless we find 'file', for example because we are cross-compiling.
5186   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5187   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5188     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5189     lt_cv_file_magic_cmd='func_win32_libid'
5190   else
5191     # Keep this pattern in sync with the one in func_win32_libid.
5192     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5193     lt_cv_file_magic_cmd='$OBJDUMP -f'
5194   fi
5195   ;;
5196
5197 cegcc*)
5198   # use the weaker test based on 'objdump'. See mingw*.
5199   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5200   lt_cv_file_magic_cmd='$OBJDUMP -f'
5201   ;;
5202
5203 darwin* | rhapsody*)
5204   lt_cv_deplibs_check_method=pass_all
5205   ;;
5206
5207 freebsd* | dragonfly*)
5208   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5209     case $host_cpu in
5210     i*86 )
5211       # Not sure whether the presence of OpenBSD here was a mistake.
5212       # Let's accept both of them until this is cleared up.
5213       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5214       lt_cv_file_magic_cmd=/usr/bin/file
5215       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5216       ;;
5217     esac
5218   else
5219     lt_cv_deplibs_check_method=pass_all
5220   fi
5221   ;;
5222
5223 haiku*)
5224   lt_cv_deplibs_check_method=pass_all
5225   ;;
5226
5227 hpux10.20* | hpux11*)
5228   lt_cv_file_magic_cmd=/usr/bin/file
5229   case $host_cpu in
5230   ia64*)
5231     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5232     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5233     ;;
5234   hppa*64*)
5235     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]'
5236     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5237     ;;
5238   *)
5239     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5240     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5241     ;;
5242   esac
5243   ;;
5244
5245 interix[3-9]*)
5246   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5247   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5248   ;;
5249
5250 irix5* | irix6* | nonstopux*)
5251   case $LD in
5252   *-32|*"-32 ") libmagic=32-bit;;
5253   *-n32|*"-n32 ") libmagic=N32;;
5254   *-64|*"-64 ") libmagic=64-bit;;
5255   *) libmagic=never-match;;
5256   esac
5257   lt_cv_deplibs_check_method=pass_all
5258   ;;
5259
5260 # This must be glibc/ELF.
5261 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5262   lt_cv_deplibs_check_method=pass_all
5263   ;;
5264
5265 netbsd* | netbsdelf*-gnu)
5266   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5267     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5268   else
5269     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5270   fi
5271   ;;
5272
5273 newos6*)
5274   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5275   lt_cv_file_magic_cmd=/usr/bin/file
5276   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5277   ;;
5278
5279 *nto* | *qnx*)
5280   lt_cv_deplibs_check_method=pass_all
5281   ;;
5282
5283 openbsd*)
5284   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5285     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5286   else
5287     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5288   fi
5289   ;;
5290
5291 osf3* | osf4* | osf5*)
5292   lt_cv_deplibs_check_method=pass_all
5293   ;;
5294
5295 rdos*)
5296   lt_cv_deplibs_check_method=pass_all
5297   ;;
5298
5299 solaris*)
5300   lt_cv_deplibs_check_method=pass_all
5301   ;;
5302
5303 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5304   lt_cv_deplibs_check_method=pass_all
5305   ;;
5306
5307 sysv4 | sysv4.3*)
5308   case $host_vendor in
5309   motorola)
5310     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]'
5311     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5312     ;;
5313   ncr)
5314     lt_cv_deplibs_check_method=pass_all
5315     ;;
5316   sequent)
5317     lt_cv_file_magic_cmd='/bin/file'
5318     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5319     ;;
5320   sni)
5321     lt_cv_file_magic_cmd='/bin/file'
5322     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5323     lt_cv_file_magic_test_file=/lib/libc.so
5324     ;;
5325   siemens)
5326     lt_cv_deplibs_check_method=pass_all
5327     ;;
5328   pc)
5329     lt_cv_deplibs_check_method=pass_all
5330     ;;
5331   esac
5332   ;;
5333
5334 tpf*)
5335   lt_cv_deplibs_check_method=pass_all
5336   ;;
5337 esac
5338
5339 fi
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5341 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5342
5343 file_magic_glob=
5344 want_nocaseglob=no
5345 if test "$build" = "$host"; then
5346   case $host_os in
5347   mingw* | pw32*)
5348     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5349       want_nocaseglob=yes
5350     else
5351       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5352     fi
5353     ;;
5354   esac
5355 fi
5356
5357 file_magic_cmd=$lt_cv_file_magic_cmd
5358 deplibs_check_method=$lt_cv_deplibs_check_method
5359 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382 if test -n "$ac_tool_prefix"; then
5383   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5384 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_DLLTOOL+:} false; then :
5388   $as_echo_n "(cached) " >&6
5389 else
5390   if test -n "$DLLTOOL"; then
5391   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5392 else
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 for as_dir in $PATH
5395 do
5396   IFS=$as_save_IFS
5397   test -z "$as_dir" && as_dir=.
5398     for ac_exec_ext in '' $ac_executable_extensions; do
5399   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5400     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402     break 2
5403   fi
5404 done
5405   done
5406 IFS=$as_save_IFS
5407
5408 fi
5409 fi
5410 DLLTOOL=$ac_cv_prog_DLLTOOL
5411 if test -n "$DLLTOOL"; then
5412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5413 $as_echo "$DLLTOOL" >&6; }
5414 else
5415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5417 fi
5418
5419
5420 fi
5421 if test -z "$ac_cv_prog_DLLTOOL"; then
5422   ac_ct_DLLTOOL=$DLLTOOL
5423   # Extract the first word of "dlltool", so it can be a program name with args.
5424 set dummy dlltool; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5428   $as_echo_n "(cached) " >&6
5429 else
5430   if test -n "$ac_ct_DLLTOOL"; then
5431   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5435 do
5436   IFS=$as_save_IFS
5437   test -z "$as_dir" && as_dir=.
5438     for ac_exec_ext in '' $ac_executable_extensions; do
5439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442     break 2
5443   fi
5444 done
5445   done
5446 IFS=$as_save_IFS
5447
5448 fi
5449 fi
5450 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5451 if test -n "$ac_ct_DLLTOOL"; then
5452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5453 $as_echo "$ac_ct_DLLTOOL" >&6; }
5454 else
5455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5457 fi
5458
5459   if test "x$ac_ct_DLLTOOL" = x; then
5460     DLLTOOL="false"
5461   else
5462     case $cross_compiling:$ac_tool_warned in
5463 yes:)
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5466 ac_tool_warned=yes ;;
5467 esac
5468     DLLTOOL=$ac_ct_DLLTOOL
5469   fi
5470 else
5471   DLLTOOL="$ac_cv_prog_DLLTOOL"
5472 fi
5473
5474 test -z "$DLLTOOL" && DLLTOOL=dlltool
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5486 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5487 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5488   $as_echo_n "(cached) " >&6
5489 else
5490   lt_cv_sharedlib_from_linklib_cmd='unknown'
5491
5492 case $host_os in
5493 cygwin* | mingw* | pw32* | cegcc*)
5494   # two different shell functions defined in ltmain.sh
5495   # decide which to use based on capabilities of $DLLTOOL
5496   case `$DLLTOOL --help 2>&1` in
5497   *--identify-strict*)
5498     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5499     ;;
5500   *)
5501     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5502     ;;
5503   esac
5504   ;;
5505 *)
5506   # fallback: assume linklib IS sharedlib
5507   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5508   ;;
5509 esac
5510
5511 fi
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5513 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5514 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5515 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5516
5517
5518
5519
5520
5521
5522
5523
5524 if test -n "$ac_tool_prefix"; then
5525   for ac_prog in ar
5526   do
5527     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_AR+:} false; then :
5532   $as_echo_n "(cached) " >&6
5533 else
5534   if test -n "$AR"; then
5535   ac_cv_prog_AR="$AR" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5539 do
5540   IFS=$as_save_IFS
5541   test -z "$as_dir" && as_dir=.
5542     for ac_exec_ext in '' $ac_executable_extensions; do
5543   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5544     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546     break 2
5547   fi
5548 done
5549   done
5550 IFS=$as_save_IFS
5551
5552 fi
5553 fi
5554 AR=$ac_cv_prog_AR
5555 if test -n "$AR"; then
5556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5557 $as_echo "$AR" >&6; }
5558 else
5559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5561 fi
5562
5563
5564     test -n "$AR" && break
5565   done
5566 fi
5567 if test -z "$AR"; then
5568   ac_ct_AR=$AR
5569   for ac_prog in ar
5570 do
5571   # Extract the first word of "$ac_prog", so it can be a program name with args.
5572 set dummy $ac_prog; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5576   $as_echo_n "(cached) " >&6
5577 else
5578   if test -n "$ac_ct_AR"; then
5579   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5583 do
5584   IFS=$as_save_IFS
5585   test -z "$as_dir" && as_dir=.
5586     for ac_exec_ext in '' $ac_executable_extensions; do
5587   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588     ac_cv_prog_ac_ct_AR="$ac_prog"
5589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590     break 2
5591   fi
5592 done
5593   done
5594 IFS=$as_save_IFS
5595
5596 fi
5597 fi
5598 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5599 if test -n "$ac_ct_AR"; then
5600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5601 $as_echo "$ac_ct_AR" >&6; }
5602 else
5603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5605 fi
5606
5607
5608   test -n "$ac_ct_AR" && break
5609 done
5610
5611   if test "x$ac_ct_AR" = x; then
5612     AR="false"
5613   else
5614     case $cross_compiling:$ac_tool_warned in
5615 yes:)
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5618 ac_tool_warned=yes ;;
5619 esac
5620     AR=$ac_ct_AR
5621   fi
5622 fi
5623
5624 : ${AR=ar}
5625 : ${AR_FLAGS=cru}
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5638 $as_echo_n "checking for archiver @FILE support... " >&6; }
5639 if ${lt_cv_ar_at_file+:} false; then :
5640   $as_echo_n "(cached) " >&6
5641 else
5642   lt_cv_ar_at_file=no
5643    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h.  */
5645
5646 int
5647 main ()
5648 {
5649
5650   ;
5651   return 0;
5652 }
5653 _ACEOF
5654 if ac_fn_c_try_compile "$LINENO"; then :
5655   echo conftest.$ac_objext > conftest.lst
5656       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5657       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5658   (eval $lt_ar_try) 2>&5
5659   ac_status=$?
5660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5661   test $ac_status = 0; }
5662       if test "$ac_status" -eq 0; then
5663         # Ensure the archiver fails upon bogus file names.
5664         rm -f conftest.$ac_objext libconftest.a
5665         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5666   (eval $lt_ar_try) 2>&5
5667   ac_status=$?
5668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5669   test $ac_status = 0; }
5670         if test "$ac_status" -ne 0; then
5671           lt_cv_ar_at_file=@
5672         fi
5673       fi
5674       rm -f conftest.* libconftest.a
5675
5676 fi
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678
5679 fi
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5681 $as_echo "$lt_cv_ar_at_file" >&6; }
5682
5683 if test "x$lt_cv_ar_at_file" = xno; then
5684   archiver_list_spec=
5685 else
5686   archiver_list_spec=$lt_cv_ar_at_file
5687 fi
5688
5689
5690
5691
5692
5693
5694
5695 if test -n "$ac_tool_prefix"; then
5696   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5697 set dummy ${ac_tool_prefix}strip; ac_word=$2
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699 $as_echo_n "checking for $ac_word... " >&6; }
5700 if ${ac_cv_prog_STRIP+:} false; then :
5701   $as_echo_n "(cached) " >&6
5702 else
5703   if test -n "$STRIP"; then
5704   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5705 else
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 for as_dir in $PATH
5708 do
5709   IFS=$as_save_IFS
5710   test -z "$as_dir" && as_dir=.
5711     for ac_exec_ext in '' $ac_executable_extensions; do
5712   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5715     break 2
5716   fi
5717 done
5718   done
5719 IFS=$as_save_IFS
5720
5721 fi
5722 fi
5723 STRIP=$ac_cv_prog_STRIP
5724 if test -n "$STRIP"; then
5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5726 $as_echo "$STRIP" >&6; }
5727 else
5728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5730 fi
5731
5732
5733 fi
5734 if test -z "$ac_cv_prog_STRIP"; then
5735   ac_ct_STRIP=$STRIP
5736   # Extract the first word of "strip", so it can be a program name with args.
5737 set dummy strip; ac_word=$2
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739 $as_echo_n "checking for $ac_word... " >&6; }
5740 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5741   $as_echo_n "(cached) " >&6
5742 else
5743   if test -n "$ac_ct_STRIP"; then
5744   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5745 else
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in $PATH
5748 do
5749   IFS=$as_save_IFS
5750   test -z "$as_dir" && as_dir=.
5751     for ac_exec_ext in '' $ac_executable_extensions; do
5752   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753     ac_cv_prog_ac_ct_STRIP="strip"
5754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755     break 2
5756   fi
5757 done
5758   done
5759 IFS=$as_save_IFS
5760
5761 fi
5762 fi
5763 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5764 if test -n "$ac_ct_STRIP"; then
5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5766 $as_echo "$ac_ct_STRIP" >&6; }
5767 else
5768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769 $as_echo "no" >&6; }
5770 fi
5771
5772   if test "x$ac_ct_STRIP" = x; then
5773     STRIP=":"
5774   else
5775     case $cross_compiling:$ac_tool_warned in
5776 yes:)
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5779 ac_tool_warned=yes ;;
5780 esac
5781     STRIP=$ac_ct_STRIP
5782   fi
5783 else
5784   STRIP="$ac_cv_prog_STRIP"
5785 fi
5786
5787 test -z "$STRIP" && STRIP=:
5788
5789
5790
5791
5792
5793
5794 if test -n "$ac_tool_prefix"; then
5795   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5796 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5798 $as_echo_n "checking for $ac_word... " >&6; }
5799 if ${ac_cv_prog_RANLIB+:} false; then :
5800   $as_echo_n "(cached) " >&6
5801 else
5802   if test -n "$RANLIB"; then
5803   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5804 else
5805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5806 for as_dir in $PATH
5807 do
5808   IFS=$as_save_IFS
5809   test -z "$as_dir" && as_dir=.
5810     for ac_exec_ext in '' $ac_executable_extensions; do
5811   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5812     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5814     break 2
5815   fi
5816 done
5817   done
5818 IFS=$as_save_IFS
5819
5820 fi
5821 fi
5822 RANLIB=$ac_cv_prog_RANLIB
5823 if test -n "$RANLIB"; then
5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5825 $as_echo "$RANLIB" >&6; }
5826 else
5827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; }
5829 fi
5830
5831
5832 fi
5833 if test -z "$ac_cv_prog_RANLIB"; then
5834   ac_ct_RANLIB=$RANLIB
5835   # Extract the first word of "ranlib", so it can be a program name with args.
5836 set dummy ranlib; ac_word=$2
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5838 $as_echo_n "checking for $ac_word... " >&6; }
5839 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5840   $as_echo_n "(cached) " >&6
5841 else
5842   if test -n "$ac_ct_RANLIB"; then
5843   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5844 else
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in $PATH
5847 do
5848   IFS=$as_save_IFS
5849   test -z "$as_dir" && as_dir=.
5850     for ac_exec_ext in '' $ac_executable_extensions; do
5851   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852     ac_cv_prog_ac_ct_RANLIB="ranlib"
5853     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5854     break 2
5855   fi
5856 done
5857   done
5858 IFS=$as_save_IFS
5859
5860 fi
5861 fi
5862 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5863 if test -n "$ac_ct_RANLIB"; then
5864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5865 $as_echo "$ac_ct_RANLIB" >&6; }
5866 else
5867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5868 $as_echo "no" >&6; }
5869 fi
5870
5871   if test "x$ac_ct_RANLIB" = x; then
5872     RANLIB=":"
5873   else
5874     case $cross_compiling:$ac_tool_warned in
5875 yes:)
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5878 ac_tool_warned=yes ;;
5879 esac
5880     RANLIB=$ac_ct_RANLIB
5881   fi
5882 else
5883   RANLIB="$ac_cv_prog_RANLIB"
5884 fi
5885
5886 test -z "$RANLIB" && RANLIB=:
5887
5888
5889
5890
5891
5892
5893 # Determine commands to create old-style static archives.
5894 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5895 old_postinstall_cmds='chmod 644 $oldlib'
5896 old_postuninstall_cmds=
5897
5898 if test -n "$RANLIB"; then
5899   case $host_os in
5900   openbsd*)
5901     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5902     ;;
5903   *)
5904     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5905     ;;
5906   esac
5907   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5908 fi
5909
5910 case $host_os in
5911   darwin*)
5912     lock_old_archive_extraction=yes ;;
5913   *)
5914     lock_old_archive_extraction=no ;;
5915 esac
5916
5917
5918
5919
5920
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 # If no C compiler was specified, use CC.
5956 LTCC=${LTCC-"$CC"}
5957
5958 # If no C compiler flags were specified, use CFLAGS.
5959 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5960
5961 # Allow CC to be a program name with arguments.
5962 compiler=$CC
5963
5964
5965 # Check for command to grab the raw symbol name followed by C symbol from nm.
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5967 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5968 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5969   $as_echo_n "(cached) " >&6
5970 else
5971
5972 # These are sane defaults that work on at least a few old systems.
5973 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5974
5975 # Character class describing NM global symbol codes.
5976 symcode='[BCDEGRST]'
5977
5978 # Regexp to match symbols that can be accessed directly from C.
5979 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5980
5981 # Define system-specific variables.
5982 case $host_os in
5983 aix*)
5984   symcode='[BCDT]'
5985   ;;
5986 cygwin* | mingw* | pw32* | cegcc*)
5987   symcode='[ABCDGISTW]'
5988   ;;
5989 hpux*)
5990   if test "$host_cpu" = ia64; then
5991     symcode='[ABCDEGRST]'
5992   fi
5993   ;;
5994 irix* | nonstopux*)
5995   symcode='[BCDEGRST]'
5996   ;;
5997 osf*)
5998   symcode='[BCDEGQRST]'
5999   ;;
6000 solaris*)
6001   symcode='[BDRT]'
6002   ;;
6003 sco3.2v5*)
6004   symcode='[DT]'
6005   ;;
6006 sysv4.2uw2*)
6007   symcode='[DT]'
6008   ;;
6009 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6010   symcode='[ABDT]'
6011   ;;
6012 sysv4)
6013   symcode='[DFNSTU]'
6014   ;;
6015 esac
6016
6017 # If we're using GNU nm, then use its standard symbol codes.
6018 case `$NM -V 2>&1` in
6019 *GNU* | *'with BFD'*)
6020   symcode='[ABCDGIRSTW]' ;;
6021 esac
6022
6023 # Transform an extracted symbol line into a proper C declaration.
6024 # Some systems (esp. on ia64) link data and code symbols differently,
6025 # so use this general approach.
6026 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6027
6028 # Transform an extracted symbol line into symbol name and symbol address
6029 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6030 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6031
6032 # Handle CRLF in mingw tool chain
6033 opt_cr=
6034 case $build_os in
6035 mingw*)
6036   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6037   ;;
6038 esac
6039
6040 # Try without a prefix underscore, then with it.
6041 for ac_symprfx in "" "_"; do
6042
6043   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6044   symxfrm="\\1 $ac_symprfx\\2 \\2"
6045
6046   # Write the raw and C identifiers.
6047   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6048     # Fake it for dumpbin and say T for any non-static function
6049     # and D for any global variable.
6050     # Also find C++ and __fastcall symbols from MSVC++,
6051     # which start with @ or ?.
6052     lt_cv_sys_global_symbol_pipe="$AWK '"\
6053 "     {last_section=section; section=\$ 3};"\
6054 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6055 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6056 "     \$ 0!~/External *\|/{next};"\
6057 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6058 "     {if(hide[section]) next};"\
6059 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6060 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6061 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6062 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6063 "     ' prfx=^$ac_symprfx"
6064   else
6065     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6066   fi
6067   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6068
6069   # Check to see that the pipe works correctly.
6070   pipe_works=no
6071
6072   rm -f conftest*
6073   cat > conftest.$ac_ext <<_LT_EOF
6074 #ifdef __cplusplus
6075 extern "C" {
6076 #endif
6077 char nm_test_var;
6078 void nm_test_func(void);
6079 void nm_test_func(void){}
6080 #ifdef __cplusplus
6081 }
6082 #endif
6083 int main(){nm_test_var='a';nm_test_func();return(0);}
6084 _LT_EOF
6085
6086   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6087   (eval $ac_compile) 2>&5
6088   ac_status=$?
6089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6090   test $ac_status = 0; }; then
6091     # Now try to grab the symbols.
6092     nlist=conftest.nm
6093     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6094   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6095   ac_status=$?
6096   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6097   test $ac_status = 0; } && test -s "$nlist"; then
6098       # Try sorting and uniquifying the output.
6099       if sort "$nlist" | uniq > "$nlist"T; then
6100         mv -f "$nlist"T "$nlist"
6101       else
6102         rm -f "$nlist"T
6103       fi
6104
6105       # Make sure that we snagged all the symbols we need.
6106       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6107         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6108           cat <<_LT_EOF > conftest.$ac_ext
6109 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6110 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6111 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6112    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6113 # define LT_DLSYM_CONST
6114 #elif defined(__osf__)
6115 /* This system does not cope well with relocations in const data.  */
6116 # define LT_DLSYM_CONST
6117 #else
6118 # define LT_DLSYM_CONST const
6119 #endif
6120
6121 #ifdef __cplusplus
6122 extern "C" {
6123 #endif
6124
6125 _LT_EOF
6126           # Now generate the symbol file.
6127           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6128
6129           cat <<_LT_EOF >> conftest.$ac_ext
6130
6131 /* The mapping between symbol names and symbols.  */
6132 LT_DLSYM_CONST struct {
6133   const char *name;
6134   void       *address;
6135 }
6136 lt__PROGRAM__LTX_preloaded_symbols[] =
6137 {
6138   { "@PROGRAM@", (void *) 0 },
6139 _LT_EOF
6140           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6141           cat <<\_LT_EOF >> conftest.$ac_ext
6142   {0, (void *) 0}
6143 };
6144
6145 /* This works around a problem in FreeBSD linker */
6146 #ifdef FREEBSD_WORKAROUND
6147 static const void *lt_preloaded_setup() {
6148   return lt__PROGRAM__LTX_preloaded_symbols;
6149 }
6150 #endif
6151
6152 #ifdef __cplusplus
6153 }
6154 #endif
6155 _LT_EOF
6156           # Now try linking the two files.
6157           mv conftest.$ac_objext conftstm.$ac_objext
6158           lt_globsym_save_LIBS=$LIBS
6159           lt_globsym_save_CFLAGS=$CFLAGS
6160           LIBS="conftstm.$ac_objext"
6161           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6162           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6163   (eval $ac_link) 2>&5
6164   ac_status=$?
6165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6166   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6167             pipe_works=yes
6168           fi
6169           LIBS=$lt_globsym_save_LIBS
6170           CFLAGS=$lt_globsym_save_CFLAGS
6171         else
6172           echo "cannot find nm_test_func in $nlist" >&5
6173         fi
6174       else
6175         echo "cannot find nm_test_var in $nlist" >&5
6176       fi
6177     else
6178       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6179     fi
6180   else
6181     echo "$progname: failed program was:" >&5
6182     cat conftest.$ac_ext >&5
6183   fi
6184   rm -rf conftest* conftst*
6185
6186   # Do not use the global_symbol_pipe unless it works.
6187   if test "$pipe_works" = yes; then
6188     break
6189   else
6190     lt_cv_sys_global_symbol_pipe=
6191   fi
6192 done
6193
6194 fi
6195
6196 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6197   lt_cv_sys_global_symbol_to_cdecl=
6198 fi
6199 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6201 $as_echo "failed" >&6; }
6202 else
6203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6204 $as_echo "ok" >&6; }
6205 fi
6206
6207 # Response file support.
6208 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6209   nm_file_list_spec='@'
6210 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6211   nm_file_list_spec='@'
6212 fi
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6241 $as_echo_n "checking for sysroot... " >&6; }
6242
6243 # Check whether --with-sysroot was given.
6244 if test "${with_sysroot+set}" = set; then :
6245   withval=$with_sysroot;
6246 else
6247   with_sysroot=no
6248 fi
6249
6250
6251 lt_sysroot=
6252 case ${with_sysroot} in #(
6253  yes)
6254    if test "$GCC" = yes; then
6255      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6256    fi
6257    ;; #(
6258  /*)
6259    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6260    ;; #(
6261  no|'')
6262    ;; #(
6263  *)
6264    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6265 $as_echo "${with_sysroot}" >&6; }
6266    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6267    ;;
6268 esac
6269
6270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6271 $as_echo "${lt_sysroot:-no}" >&6; }
6272
6273
6274
6275
6276
6277 # Check whether --enable-libtool-lock was given.
6278 if test "${enable_libtool_lock+set}" = set; then :
6279   enableval=$enable_libtool_lock;
6280 fi
6281
6282 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6283
6284 # Some flags need to be propagated to the compiler or linker for good
6285 # libtool support.
6286 case $host in
6287 ia64-*-hpux*)
6288   # Find out which ABI we are using.
6289   echo 'int i;' > conftest.$ac_ext
6290   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6291   (eval $ac_compile) 2>&5
6292   ac_status=$?
6293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6294   test $ac_status = 0; }; then
6295     case `/usr/bin/file conftest.$ac_objext` in
6296       *ELF-32*)
6297         HPUX_IA64_MODE="32"
6298         ;;
6299       *ELF-64*)
6300         HPUX_IA64_MODE="64"
6301         ;;
6302     esac
6303   fi
6304   rm -rf conftest*
6305   ;;
6306 *-*-irix6*)
6307   # Find out which ABI we are using.
6308   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6309   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6310   (eval $ac_compile) 2>&5
6311   ac_status=$?
6312   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6313   test $ac_status = 0; }; then
6314     if test "$lt_cv_prog_gnu_ld" = yes; then
6315       case `/usr/bin/file conftest.$ac_objext` in
6316         *32-bit*)
6317           LD="${LD-ld} -melf32bsmip"
6318           ;;
6319         *N32*)
6320           LD="${LD-ld} -melf32bmipn32"
6321           ;;
6322         *64-bit*)
6323           LD="${LD-ld} -melf64bmip"
6324         ;;
6325       esac
6326     else
6327       case `/usr/bin/file conftest.$ac_objext` in
6328         *32-bit*)
6329           LD="${LD-ld} -32"
6330           ;;
6331         *N32*)
6332           LD="${LD-ld} -n32"
6333           ;;
6334         *64-bit*)
6335           LD="${LD-ld} -64"
6336           ;;
6337       esac
6338     fi
6339   fi
6340   rm -rf conftest*
6341   ;;
6342
6343 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6344 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6345   # Find out which ABI we are using.
6346   echo 'int i;' > conftest.$ac_ext
6347   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6348   (eval $ac_compile) 2>&5
6349   ac_status=$?
6350   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6351   test $ac_status = 0; }; then
6352     case `/usr/bin/file conftest.o` in
6353       *32-bit*)
6354         case $host in
6355           x86_64-*kfreebsd*-gnu)
6356             LD="${LD-ld} -m elf_i386_fbsd"
6357             ;;
6358           x86_64-*linux*)
6359             case `/usr/bin/file conftest.o` in
6360               *x86-64*)
6361                 LD="${LD-ld} -m elf32_x86_64"
6362                 ;;
6363               *)
6364                 LD="${LD-ld} -m elf_i386"
6365                 ;;
6366             esac
6367             ;;
6368           powerpc64le-*)
6369             LD="${LD-ld} -m elf32lppclinux"
6370             ;;
6371           powerpc64-*)
6372             LD="${LD-ld} -m elf32ppclinux"
6373             ;;
6374           s390x-*linux*)
6375             LD="${LD-ld} -m elf_s390"
6376             ;;
6377           sparc64-*linux*)
6378             LD="${LD-ld} -m elf32_sparc"
6379             ;;
6380         esac
6381         ;;
6382       *64-bit*)
6383         case $host in
6384           x86_64-*kfreebsd*-gnu)
6385             LD="${LD-ld} -m elf_x86_64_fbsd"
6386             ;;
6387           x86_64-*linux*)
6388             LD="${LD-ld} -m elf_x86_64"
6389             ;;
6390           powerpcle-*)
6391             LD="${LD-ld} -m elf64lppc"
6392             ;;
6393           powerpc-*)
6394             LD="${LD-ld} -m elf64ppc"
6395             ;;
6396           s390*-*linux*|s390*-*tpf*)
6397             LD="${LD-ld} -m elf64_s390"
6398             ;;
6399           sparc*-*linux*)
6400             LD="${LD-ld} -m elf64_sparc"
6401             ;;
6402         esac
6403         ;;
6404     esac
6405   fi
6406   rm -rf conftest*
6407   ;;
6408
6409 *-*-sco3.2v5*)
6410   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6411   SAVE_CFLAGS="$CFLAGS"
6412   CFLAGS="$CFLAGS -belf"
6413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6414 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6415 if ${lt_cv_cc_needs_belf+:} false; then :
6416   $as_echo_n "(cached) " >&6
6417 else
6418   ac_ext=c
6419 ac_cpp='$CPP $CPPFLAGS'
6420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6423
6424      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6425 /* end confdefs.h.  */
6426
6427 int
6428 main ()
6429 {
6430
6431   ;
6432   return 0;
6433 }
6434 _ACEOF
6435 if ac_fn_c_try_link "$LINENO"; then :
6436   lt_cv_cc_needs_belf=yes
6437 else
6438   lt_cv_cc_needs_belf=no
6439 fi
6440 rm -f core conftest.err conftest.$ac_objext \
6441     conftest$ac_exeext conftest.$ac_ext
6442      ac_ext=c
6443 ac_cpp='$CPP $CPPFLAGS'
6444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6447
6448 fi
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6450 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6451   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6452     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6453     CFLAGS="$SAVE_CFLAGS"
6454   fi
6455   ;;
6456 *-*solaris*)
6457   # Find out which ABI we are using.
6458   echo 'int i;' > conftest.$ac_ext
6459   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6460   (eval $ac_compile) 2>&5
6461   ac_status=$?
6462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6463   test $ac_status = 0; }; then
6464     case `/usr/bin/file conftest.o` in
6465     *64-bit*)
6466       case $lt_cv_prog_gnu_ld in
6467       yes*)
6468         case $host in
6469         i?86-*-solaris*)
6470           LD="${LD-ld} -m elf_x86_64"
6471           ;;
6472         sparc*-*-solaris*)
6473           LD="${LD-ld} -m elf64_sparc"
6474           ;;
6475         esac
6476         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6477         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6478           LD="${LD-ld}_sol2"
6479         fi
6480         ;;
6481       *)
6482         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6483           LD="${LD-ld} -64"
6484         fi
6485         ;;
6486       esac
6487       ;;
6488     esac
6489   fi
6490   rm -rf conftest*
6491   ;;
6492 esac
6493
6494 need_locks="$enable_libtool_lock"
6495
6496 if test -n "$ac_tool_prefix"; then
6497   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6498 set dummy ${ac_tool_prefix}mt; ac_word=$2
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500 $as_echo_n "checking for $ac_word... " >&6; }
6501 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6502   $as_echo_n "(cached) " >&6
6503 else
6504   if test -n "$MANIFEST_TOOL"; then
6505   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6506 else
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 for as_dir in $PATH
6509 do
6510   IFS=$as_save_IFS
6511   test -z "$as_dir" && as_dir=.
6512     for ac_exec_ext in '' $ac_executable_extensions; do
6513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6514     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6516     break 2
6517   fi
6518 done
6519   done
6520 IFS=$as_save_IFS
6521
6522 fi
6523 fi
6524 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6525 if test -n "$MANIFEST_TOOL"; then
6526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6527 $as_echo "$MANIFEST_TOOL" >&6; }
6528 else
6529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6531 fi
6532
6533
6534 fi
6535 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6536   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6537   # Extract the first word of "mt", so it can be a program name with args.
6538 set dummy mt; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6542   $as_echo_n "(cached) " >&6
6543 else
6544   if test -n "$ac_ct_MANIFEST_TOOL"; then
6545   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6549 do
6550   IFS=$as_save_IFS
6551   test -z "$as_dir" && as_dir=.
6552     for ac_exec_ext in '' $ac_executable_extensions; do
6553   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6554     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6555     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556     break 2
6557   fi
6558 done
6559   done
6560 IFS=$as_save_IFS
6561
6562 fi
6563 fi
6564 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6565 if test -n "$ac_ct_MANIFEST_TOOL"; then
6566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6567 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6568 else
6569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6571 fi
6572
6573   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6574     MANIFEST_TOOL=":"
6575   else
6576     case $cross_compiling:$ac_tool_warned in
6577 yes:)
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6580 ac_tool_warned=yes ;;
6581 esac
6582     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6583   fi
6584 else
6585   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6586 fi
6587
6588 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6590 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6591 if ${lt_cv_path_mainfest_tool+:} false; then :
6592   $as_echo_n "(cached) " >&6
6593 else
6594   lt_cv_path_mainfest_tool=no
6595   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6596   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6597   cat conftest.err >&5
6598   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6599     lt_cv_path_mainfest_tool=yes
6600   fi
6601   rm -f conftest*
6602 fi
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6604 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6605 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6606   MANIFEST_TOOL=:
6607 fi
6608
6609
6610
6611
6612
6613
6614   case $host_os in
6615     rhapsody* | darwin*)
6616     if test -n "$ac_tool_prefix"; then
6617   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6618 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6622   $as_echo_n "(cached) " >&6
6623 else
6624   if test -n "$DSYMUTIL"; then
6625   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6629 do
6630   IFS=$as_save_IFS
6631   test -z "$as_dir" && as_dir=.
6632     for ac_exec_ext in '' $ac_executable_extensions; do
6633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636     break 2
6637   fi
6638 done
6639   done
6640 IFS=$as_save_IFS
6641
6642 fi
6643 fi
6644 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6645 if test -n "$DSYMUTIL"; then
6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6647 $as_echo "$DSYMUTIL" >&6; }
6648 else
6649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6651 fi
6652
6653
6654 fi
6655 if test -z "$ac_cv_prog_DSYMUTIL"; then
6656   ac_ct_DSYMUTIL=$DSYMUTIL
6657   # Extract the first word of "dsymutil", so it can be a program name with args.
6658 set dummy dsymutil; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6662   $as_echo_n "(cached) " >&6
6663 else
6664   if test -n "$ac_ct_DSYMUTIL"; then
6665   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6666 else
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668 for as_dir in $PATH
6669 do
6670   IFS=$as_save_IFS
6671   test -z "$as_dir" && as_dir=.
6672     for ac_exec_ext in '' $ac_executable_extensions; do
6673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6674     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6676     break 2
6677   fi
6678 done
6679   done
6680 IFS=$as_save_IFS
6681
6682 fi
6683 fi
6684 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6685 if test -n "$ac_ct_DSYMUTIL"; then
6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6687 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6688 else
6689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6691 fi
6692
6693   if test "x$ac_ct_DSYMUTIL" = x; then
6694     DSYMUTIL=":"
6695   else
6696     case $cross_compiling:$ac_tool_warned in
6697 yes:)
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned=yes ;;
6701 esac
6702     DSYMUTIL=$ac_ct_DSYMUTIL
6703   fi
6704 else
6705   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6706 fi
6707
6708     if test -n "$ac_tool_prefix"; then
6709   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6710 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+:} false; then :
6714   $as_echo_n "(cached) " >&6
6715 else
6716   if test -n "$NMEDIT"; then
6717   ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
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 NMEDIT=$ac_cv_prog_NMEDIT
6737 if test -n "$NMEDIT"; then
6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6739 $as_echo "$NMEDIT" >&6; }
6740 else
6741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 $as_echo "no" >&6; }
6743 fi
6744
6745
6746 fi
6747 if test -z "$ac_cv_prog_NMEDIT"; then
6748   ac_ct_NMEDIT=$NMEDIT
6749   # Extract the first word of "nmedit", so it can be a program name with args.
6750 set dummy nmedit; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 $as_echo_n "checking for $ac_word... " >&6; }
6753 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6754   $as_echo_n "(cached) " >&6
6755 else
6756   if test -n "$ac_ct_NMEDIT"; then
6757   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6758 else
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 for as_dir in $PATH
6761 do
6762   IFS=$as_save_IFS
6763   test -z "$as_dir" && as_dir=.
6764     for ac_exec_ext in '' $ac_executable_extensions; do
6765   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6766     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6768     break 2
6769   fi
6770 done
6771   done
6772 IFS=$as_save_IFS
6773
6774 fi
6775 fi
6776 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6777 if test -n "$ac_ct_NMEDIT"; then
6778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6779 $as_echo "$ac_ct_NMEDIT" >&6; }
6780 else
6781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 $as_echo "no" >&6; }
6783 fi
6784
6785   if test "x$ac_ct_NMEDIT" = x; then
6786     NMEDIT=":"
6787   else
6788     case $cross_compiling:$ac_tool_warned in
6789 yes:)
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6792 ac_tool_warned=yes ;;
6793 esac
6794     NMEDIT=$ac_ct_NMEDIT
6795   fi
6796 else
6797   NMEDIT="$ac_cv_prog_NMEDIT"
6798 fi
6799
6800     if test -n "$ac_tool_prefix"; then
6801   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6802 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6804 $as_echo_n "checking for $ac_word... " >&6; }
6805 if ${ac_cv_prog_LIPO+:} false; then :
6806   $as_echo_n "(cached) " >&6
6807 else
6808   if test -n "$LIPO"; then
6809   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6810 else
6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 for as_dir in $PATH
6813 do
6814   IFS=$as_save_IFS
6815   test -z "$as_dir" && as_dir=.
6816     for ac_exec_ext in '' $ac_executable_extensions; do
6817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6818     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6820     break 2
6821   fi
6822 done
6823   done
6824 IFS=$as_save_IFS
6825
6826 fi
6827 fi
6828 LIPO=$ac_cv_prog_LIPO
6829 if test -n "$LIPO"; then
6830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6831 $as_echo "$LIPO" >&6; }
6832 else
6833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6834 $as_echo "no" >&6; }
6835 fi
6836
6837
6838 fi
6839 if test -z "$ac_cv_prog_LIPO"; then
6840   ac_ct_LIPO=$LIPO
6841   # Extract the first word of "lipo", so it can be a program name with args.
6842 set dummy lipo; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6846   $as_echo_n "(cached) " >&6
6847 else
6848   if test -n "$ac_ct_LIPO"; then
6849   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6850 else
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 for as_dir in $PATH
6853 do
6854   IFS=$as_save_IFS
6855   test -z "$as_dir" && as_dir=.
6856     for ac_exec_ext in '' $ac_executable_extensions; do
6857   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858     ac_cv_prog_ac_ct_LIPO="lipo"
6859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6860     break 2
6861   fi
6862 done
6863   done
6864 IFS=$as_save_IFS
6865
6866 fi
6867 fi
6868 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6869 if test -n "$ac_ct_LIPO"; then
6870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6871 $as_echo "$ac_ct_LIPO" >&6; }
6872 else
6873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 $as_echo "no" >&6; }
6875 fi
6876
6877   if test "x$ac_ct_LIPO" = x; then
6878     LIPO=":"
6879   else
6880     case $cross_compiling:$ac_tool_warned in
6881 yes:)
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6884 ac_tool_warned=yes ;;
6885 esac
6886     LIPO=$ac_ct_LIPO
6887   fi
6888 else
6889   LIPO="$ac_cv_prog_LIPO"
6890 fi
6891
6892     if test -n "$ac_tool_prefix"; then
6893   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6894 set dummy ${ac_tool_prefix}otool; ac_word=$2
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6896 $as_echo_n "checking for $ac_word... " >&6; }
6897 if ${ac_cv_prog_OTOOL+:} false; then :
6898   $as_echo_n "(cached) " >&6
6899 else
6900   if test -n "$OTOOL"; then
6901   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6902 else
6903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 for as_dir in $PATH
6905 do
6906   IFS=$as_save_IFS
6907   test -z "$as_dir" && as_dir=.
6908     for ac_exec_ext in '' $ac_executable_extensions; do
6909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6910     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912     break 2
6913   fi
6914 done
6915   done
6916 IFS=$as_save_IFS
6917
6918 fi
6919 fi
6920 OTOOL=$ac_cv_prog_OTOOL
6921 if test -n "$OTOOL"; then
6922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6923 $as_echo "$OTOOL" >&6; }
6924 else
6925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6926 $as_echo "no" >&6; }
6927 fi
6928
6929
6930 fi
6931 if test -z "$ac_cv_prog_OTOOL"; then
6932   ac_ct_OTOOL=$OTOOL
6933   # Extract the first word of "otool", so it can be a program name with args.
6934 set dummy otool; ac_word=$2
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6936 $as_echo_n "checking for $ac_word... " >&6; }
6937 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6938   $as_echo_n "(cached) " >&6
6939 else
6940   if test -n "$ac_ct_OTOOL"; then
6941   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6942 else
6943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944 for as_dir in $PATH
6945 do
6946   IFS=$as_save_IFS
6947   test -z "$as_dir" && as_dir=.
6948     for ac_exec_ext in '' $ac_executable_extensions; do
6949   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6950     ac_cv_prog_ac_ct_OTOOL="otool"
6951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6952     break 2
6953   fi
6954 done
6955   done
6956 IFS=$as_save_IFS
6957
6958 fi
6959 fi
6960 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6961 if test -n "$ac_ct_OTOOL"; then
6962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6963 $as_echo "$ac_ct_OTOOL" >&6; }
6964 else
6965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966 $as_echo "no" >&6; }
6967 fi
6968
6969   if test "x$ac_ct_OTOOL" = x; then
6970     OTOOL=":"
6971   else
6972     case $cross_compiling:$ac_tool_warned in
6973 yes:)
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6976 ac_tool_warned=yes ;;
6977 esac
6978     OTOOL=$ac_ct_OTOOL
6979   fi
6980 else
6981   OTOOL="$ac_cv_prog_OTOOL"
6982 fi
6983
6984     if test -n "$ac_tool_prefix"; then
6985   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6986 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6988 $as_echo_n "checking for $ac_word... " >&6; }
6989 if ${ac_cv_prog_OTOOL64+:} false; then :
6990   $as_echo_n "(cached) " >&6
6991 else
6992   if test -n "$OTOOL64"; then
6993   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6994 else
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 for as_dir in $PATH
6997 do
6998   IFS=$as_save_IFS
6999   test -z "$as_dir" && as_dir=.
7000     for ac_exec_ext in '' $ac_executable_extensions; do
7001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7002     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7004     break 2
7005   fi
7006 done
7007   done
7008 IFS=$as_save_IFS
7009
7010 fi
7011 fi
7012 OTOOL64=$ac_cv_prog_OTOOL64
7013 if test -n "$OTOOL64"; then
7014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7015 $as_echo "$OTOOL64" >&6; }
7016 else
7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7018 $as_echo "no" >&6; }
7019 fi
7020
7021
7022 fi
7023 if test -z "$ac_cv_prog_OTOOL64"; then
7024   ac_ct_OTOOL64=$OTOOL64
7025   # Extract the first word of "otool64", so it can be a program name with args.
7026 set dummy otool64; ac_word=$2
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7028 $as_echo_n "checking for $ac_word... " >&6; }
7029 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7030   $as_echo_n "(cached) " >&6
7031 else
7032   if test -n "$ac_ct_OTOOL64"; then
7033   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7034 else
7035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036 for as_dir in $PATH
7037 do
7038   IFS=$as_save_IFS
7039   test -z "$as_dir" && as_dir=.
7040     for ac_exec_ext in '' $ac_executable_extensions; do
7041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7042     ac_cv_prog_ac_ct_OTOOL64="otool64"
7043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7044     break 2
7045   fi
7046 done
7047   done
7048 IFS=$as_save_IFS
7049
7050 fi
7051 fi
7052 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7053 if test -n "$ac_ct_OTOOL64"; then
7054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7055 $as_echo "$ac_ct_OTOOL64" >&6; }
7056 else
7057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7058 $as_echo "no" >&6; }
7059 fi
7060
7061   if test "x$ac_ct_OTOOL64" = x; then
7062     OTOOL64=":"
7063   else
7064     case $cross_compiling:$ac_tool_warned in
7065 yes:)
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7068 ac_tool_warned=yes ;;
7069 esac
7070     OTOOL64=$ac_ct_OTOOL64
7071   fi
7072 else
7073   OTOOL64="$ac_cv_prog_OTOOL64"
7074 fi
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7103 $as_echo_n "checking for -single_module linker flag... " >&6; }
7104 if ${lt_cv_apple_cc_single_mod+:} false; then :
7105   $as_echo_n "(cached) " >&6
7106 else
7107   lt_cv_apple_cc_single_mod=no
7108       if test -z "${LT_MULTI_MODULE}"; then
7109         # By default we will add the -single_module flag. You can override
7110         # by either setting the environment variable LT_MULTI_MODULE
7111         # non-empty at configure time, or by adding -multi_module to the
7112         # link flags.
7113         rm -rf libconftest.dylib*
7114         echo "int foo(void){return 1;}" > conftest.c
7115         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7116 -dynamiclib -Wl,-single_module conftest.c" >&5
7117         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7118           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7119         _lt_result=$?
7120         # If there is a non-empty error log, and "single_module"
7121         # appears in it, assume the flag caused a linker warning
7122         if test -s conftest.err && $GREP single_module conftest.err; then
7123           cat conftest.err >&5
7124         # Otherwise, if the output was created with a 0 exit code from
7125         # the compiler, it worked.
7126         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7127           lt_cv_apple_cc_single_mod=yes
7128         else
7129           cat conftest.err >&5
7130         fi
7131         rm -rf libconftest.dylib*
7132         rm -f conftest.*
7133       fi
7134 fi
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7136 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7137
7138     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7139 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7140 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7141   $as_echo_n "(cached) " >&6
7142 else
7143   lt_cv_ld_exported_symbols_list=no
7144       save_LDFLAGS=$LDFLAGS
7145       echo "_main" > conftest.sym
7146       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7148 /* end confdefs.h.  */
7149
7150 int
7151 main ()
7152 {
7153
7154   ;
7155   return 0;
7156 }
7157 _ACEOF
7158 if ac_fn_c_try_link "$LINENO"; then :
7159   lt_cv_ld_exported_symbols_list=yes
7160 else
7161   lt_cv_ld_exported_symbols_list=no
7162 fi
7163 rm -f core conftest.err conftest.$ac_objext \
7164     conftest$ac_exeext conftest.$ac_ext
7165         LDFLAGS="$save_LDFLAGS"
7166
7167 fi
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7169 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7170
7171     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7172 $as_echo_n "checking for -force_load linker flag... " >&6; }
7173 if ${lt_cv_ld_force_load+:} false; then :
7174   $as_echo_n "(cached) " >&6
7175 else
7176   lt_cv_ld_force_load=no
7177       cat > conftest.c << _LT_EOF
7178 int forced_loaded() { return 2;}
7179 _LT_EOF
7180       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7181       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7182       echo "$AR cru libconftest.a conftest.o" >&5
7183       $AR cru libconftest.a conftest.o 2>&5
7184       echo "$RANLIB libconftest.a" >&5
7185       $RANLIB libconftest.a 2>&5
7186       cat > conftest.c << _LT_EOF
7187 int main() { return 0;}
7188 _LT_EOF
7189       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7190       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7191       _lt_result=$?
7192       if test -s conftest.err && $GREP force_load conftest.err; then
7193         cat conftest.err >&5
7194       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7195         lt_cv_ld_force_load=yes
7196       else
7197         cat conftest.err >&5
7198       fi
7199         rm -f conftest.err libconftest.a conftest conftest.c
7200         rm -rf conftest.dSYM
7201
7202 fi
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7204 $as_echo "$lt_cv_ld_force_load" >&6; }
7205     case $host_os in
7206     rhapsody* | darwin1.[012])
7207       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7208     darwin1.*)
7209       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7210     darwin*) # darwin 5.x on
7211       # if running on 10.5 or later, the deployment target defaults
7212       # to the OS version, if on x86, and 10.4, the deployment
7213       # target defaults to 10.4. Don't you love it?
7214       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7215         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7216           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7217         10.[012]*)
7218           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7219         10.*)
7220           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7221       esac
7222     ;;
7223   esac
7224     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7225       _lt_dar_single_mod='$single_module'
7226     fi
7227     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7228       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7229     else
7230       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7231     fi
7232     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7233       _lt_dsymutil='~$DSYMUTIL $lib || :'
7234     else
7235       _lt_dsymutil=
7236     fi
7237     ;;
7238   esac
7239
7240 ac_ext=c
7241 ac_cpp='$CPP $CPPFLAGS'
7242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7246 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7247 # On Suns, sometimes $CPP names a directory.
7248 if test -n "$CPP" && test -d "$CPP"; then
7249   CPP=
7250 fi
7251 if test -z "$CPP"; then
7252   if ${ac_cv_prog_CPP+:} false; then :
7253   $as_echo_n "(cached) " >&6
7254 else
7255       # Double quotes because CPP needs to be expanded
7256     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7257     do
7258       ac_preproc_ok=false
7259 for ac_c_preproc_warn_flag in '' yes
7260 do
7261   # Use a header file that comes with gcc, so configuring glibc
7262   # with a fresh cross-compiler works.
7263   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7264   # <limits.h> exists even on freestanding compilers.
7265   # On the NeXT, cc -E runs the code through the compiler's parser,
7266   # not just through cpp. "Syntax error" is here to catch this case.
7267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268 /* end confdefs.h.  */
7269 #ifdef __STDC__
7270 # include <limits.h>
7271 #else
7272 # include <assert.h>
7273 #endif
7274                      Syntax error
7275 _ACEOF
7276 if ac_fn_c_try_cpp "$LINENO"; then :
7277
7278 else
7279   # Broken: fails on valid input.
7280 continue
7281 fi
7282 rm -f conftest.err conftest.i conftest.$ac_ext
7283
7284   # OK, works on sane cases.  Now check whether nonexistent headers
7285   # can be detected and how.
7286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h.  */
7288 #include <ac_nonexistent.h>
7289 _ACEOF
7290 if ac_fn_c_try_cpp "$LINENO"; then :
7291   # Broken: success on invalid input.
7292 continue
7293 else
7294   # Passes both tests.
7295 ac_preproc_ok=:
7296 break
7297 fi
7298 rm -f conftest.err conftest.i conftest.$ac_ext
7299
7300 done
7301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7302 rm -f conftest.i conftest.err conftest.$ac_ext
7303 if $ac_preproc_ok; then :
7304   break
7305 fi
7306
7307     done
7308     ac_cv_prog_CPP=$CPP
7309
7310 fi
7311   CPP=$ac_cv_prog_CPP
7312 else
7313   ac_cv_prog_CPP=$CPP
7314 fi
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7316 $as_echo "$CPP" >&6; }
7317 ac_preproc_ok=false
7318 for ac_c_preproc_warn_flag in '' yes
7319 do
7320   # Use a header file that comes with gcc, so configuring glibc
7321   # with a fresh cross-compiler works.
7322   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7323   # <limits.h> exists even on freestanding compilers.
7324   # On the NeXT, cc -E runs the code through the compiler's parser,
7325   # not just through cpp. "Syntax error" is here to catch this case.
7326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7327 /* end confdefs.h.  */
7328 #ifdef __STDC__
7329 # include <limits.h>
7330 #else
7331 # include <assert.h>
7332 #endif
7333                      Syntax error
7334 _ACEOF
7335 if ac_fn_c_try_cpp "$LINENO"; then :
7336
7337 else
7338   # Broken: fails on valid input.
7339 continue
7340 fi
7341 rm -f conftest.err conftest.i conftest.$ac_ext
7342
7343   # OK, works on sane cases.  Now check whether nonexistent headers
7344   # can be detected and how.
7345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7346 /* end confdefs.h.  */
7347 #include <ac_nonexistent.h>
7348 _ACEOF
7349 if ac_fn_c_try_cpp "$LINENO"; then :
7350   # Broken: success on invalid input.
7351 continue
7352 else
7353   # Passes both tests.
7354 ac_preproc_ok=:
7355 break
7356 fi
7357 rm -f conftest.err conftest.i conftest.$ac_ext
7358
7359 done
7360 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7361 rm -f conftest.i conftest.err conftest.$ac_ext
7362 if $ac_preproc_ok; then :
7363
7364 else
7365   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7367 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7368 See \`config.log' for more details" "$LINENO" 5; }
7369 fi
7370
7371 ac_ext=c
7372 ac_cpp='$CPP $CPPFLAGS'
7373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7376
7377
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7379 $as_echo_n "checking for ANSI C header files... " >&6; }
7380 if ${ac_cv_header_stdc+:} false; then :
7381   $as_echo_n "(cached) " >&6
7382 else
7383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7384 /* end confdefs.h.  */
7385 #include <stdlib.h>
7386 #include <stdarg.h>
7387 #include <string.h>
7388 #include <float.h>
7389
7390 int
7391 main ()
7392 {
7393
7394   ;
7395   return 0;
7396 }
7397 _ACEOF
7398 if ac_fn_c_try_compile "$LINENO"; then :
7399   ac_cv_header_stdc=yes
7400 else
7401   ac_cv_header_stdc=no
7402 fi
7403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7404
7405 if test $ac_cv_header_stdc = yes; then
7406   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408 /* end confdefs.h.  */
7409 #include <string.h>
7410
7411 _ACEOF
7412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7413   $EGREP "memchr" >/dev/null 2>&1; then :
7414
7415 else
7416   ac_cv_header_stdc=no
7417 fi
7418 rm -f conftest*
7419
7420 fi
7421
7422 if test $ac_cv_header_stdc = yes; then
7423   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7425 /* end confdefs.h.  */
7426 #include <stdlib.h>
7427
7428 _ACEOF
7429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7430   $EGREP "free" >/dev/null 2>&1; then :
7431
7432 else
7433   ac_cv_header_stdc=no
7434 fi
7435 rm -f conftest*
7436
7437 fi
7438
7439 if test $ac_cv_header_stdc = yes; then
7440   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7441   if test "$cross_compiling" = yes; then :
7442   :
7443 else
7444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h.  */
7446 #include <ctype.h>
7447 #include <stdlib.h>
7448 #if ((' ' & 0x0FF) == 0x020)
7449 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7450 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7451 #else
7452 # define ISLOWER(c) \
7453                    (('a' <= (c) && (c) <= 'i') \
7454                      || ('j' <= (c) && (c) <= 'r') \
7455                      || ('s' <= (c) && (c) <= 'z'))
7456 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7457 #endif
7458
7459 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7460 int
7461 main ()
7462 {
7463   int i;
7464   for (i = 0; i < 256; i++)
7465     if (XOR (islower (i), ISLOWER (i))
7466         || toupper (i) != TOUPPER (i))
7467       return 2;
7468   return 0;
7469 }
7470 _ACEOF
7471 if ac_fn_c_try_run "$LINENO"; then :
7472
7473 else
7474   ac_cv_header_stdc=no
7475 fi
7476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7477   conftest.$ac_objext conftest.beam conftest.$ac_ext
7478 fi
7479
7480 fi
7481 fi
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7483 $as_echo "$ac_cv_header_stdc" >&6; }
7484 if test $ac_cv_header_stdc = yes; then
7485
7486 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7487
7488 fi
7489
7490 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7491 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7492                   inttypes.h stdint.h unistd.h
7493 do :
7494   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7496 "
7497 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7498   cat >>confdefs.h <<_ACEOF
7499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7500 _ACEOF
7501
7502 fi
7503
7504 done
7505
7506
7507 for ac_header in dlfcn.h
7508 do :
7509   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7510 "
7511 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7512   cat >>confdefs.h <<_ACEOF
7513 #define HAVE_DLFCN_H 1
7514 _ACEOF
7515
7516 fi
7517
7518 done
7519
7520
7521
7522
7523
7524 # Set options
7525
7526
7527
7528         enable_dlopen=no
7529
7530
7531   enable_win32_dll=no
7532
7533
7534             # Check whether --enable-shared was given.
7535 if test "${enable_shared+set}" = set; then :
7536   enableval=$enable_shared; p=${PACKAGE-default}
7537     case $enableval in
7538     yes) enable_shared=yes ;;
7539     no) enable_shared=no ;;
7540     *)
7541       enable_shared=no
7542       # Look at the argument we got.  We use all the common list separators.
7543       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7544       for pkg in $enableval; do
7545         IFS="$lt_save_ifs"
7546         if test "X$pkg" = "X$p"; then
7547           enable_shared=yes
7548         fi
7549       done
7550       IFS="$lt_save_ifs"
7551       ;;
7552     esac
7553 else
7554   enable_shared=yes
7555 fi
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565   # Check whether --enable-static was given.
7566 if test "${enable_static+set}" = set; then :
7567   enableval=$enable_static; p=${PACKAGE-default}
7568     case $enableval in
7569     yes) enable_static=yes ;;
7570     no) enable_static=no ;;
7571     *)
7572      enable_static=no
7573       # Look at the argument we got.  We use all the common list separators.
7574       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7575       for pkg in $enableval; do
7576         IFS="$lt_save_ifs"
7577         if test "X$pkg" = "X$p"; then
7578           enable_static=yes
7579         fi
7580       done
7581       IFS="$lt_save_ifs"
7582       ;;
7583     esac
7584 else
7585   enable_static=yes
7586 fi
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597 # Check whether --with-pic was given.
7598 if test "${with_pic+set}" = set; then :
7599   withval=$with_pic; lt_p=${PACKAGE-default}
7600     case $withval in
7601     yes|no) pic_mode=$withval ;;
7602     *)
7603       pic_mode=default
7604       # Look at the argument we got.  We use all the common list separators.
7605       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7606       for lt_pkg in $withval; do
7607         IFS="$lt_save_ifs"
7608         if test "X$lt_pkg" = "X$lt_p"; then
7609           pic_mode=yes
7610         fi
7611       done
7612       IFS="$lt_save_ifs"
7613       ;;
7614     esac
7615 else
7616   pic_mode=default
7617 fi
7618
7619
7620 test -z "$pic_mode" && pic_mode=default
7621
7622
7623
7624
7625
7626
7627
7628   # Check whether --enable-fast-install was given.
7629 if test "${enable_fast_install+set}" = set; then :
7630   enableval=$enable_fast_install; p=${PACKAGE-default}
7631     case $enableval in
7632     yes) enable_fast_install=yes ;;
7633     no) enable_fast_install=no ;;
7634     *)
7635       enable_fast_install=no
7636       # Look at the argument we got.  We use all the common list separators.
7637       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7638       for pkg in $enableval; do
7639         IFS="$lt_save_ifs"
7640         if test "X$pkg" = "X$p"; then
7641           enable_fast_install=yes
7642         fi
7643       done
7644       IFS="$lt_save_ifs"
7645       ;;
7646     esac
7647 else
7648   enable_fast_install=yes
7649 fi
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661 # This can be used to rebuild libtool when needed
7662 LIBTOOL_DEPS="$ltmain"
7663
7664 # Always use our own libtool.
7665 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696 test -z "$LN_S" && LN_S="ln -s"
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711 if test -n "${ZSH_VERSION+set}" ; then
7712    setopt NO_GLOB_SUBST
7713 fi
7714
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7716 $as_echo_n "checking for objdir... " >&6; }
7717 if ${lt_cv_objdir+:} false; then :
7718   $as_echo_n "(cached) " >&6
7719 else
7720   rm -f .libs 2>/dev/null
7721 mkdir .libs 2>/dev/null
7722 if test -d .libs; then
7723   lt_cv_objdir=.libs
7724 else
7725   # MS-DOS does not allow filenames that begin with a dot.
7726   lt_cv_objdir=_libs
7727 fi
7728 rmdir .libs 2>/dev/null
7729 fi
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7731 $as_echo "$lt_cv_objdir" >&6; }
7732 objdir=$lt_cv_objdir
7733
7734
7735
7736
7737
7738 cat >>confdefs.h <<_ACEOF
7739 #define LT_OBJDIR "$lt_cv_objdir/"
7740 _ACEOF
7741
7742
7743
7744
7745 case $host_os in
7746 aix3*)
7747   # AIX sometimes has problems with the GCC collect2 program.  For some
7748   # reason, if we set the COLLECT_NAMES environment variable, the problems
7749   # vanish in a puff of smoke.
7750   if test "X${COLLECT_NAMES+set}" != Xset; then
7751     COLLECT_NAMES=
7752     export COLLECT_NAMES
7753   fi
7754   ;;
7755 esac
7756
7757 # Global variables:
7758 ofile=libtool
7759 can_build_shared=yes
7760
7761 # All known linkers require a `.a' archive for static linking (except MSVC,
7762 # which needs '.lib').
7763 libext=a
7764
7765 with_gnu_ld="$lt_cv_prog_gnu_ld"
7766
7767 old_CC="$CC"
7768 old_CFLAGS="$CFLAGS"
7769
7770 # Set sane defaults for various variables
7771 test -z "$CC" && CC=cc
7772 test -z "$LTCC" && LTCC=$CC
7773 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7774 test -z "$LD" && LD=ld
7775 test -z "$ac_objext" && ac_objext=o
7776
7777 for cc_temp in $compiler""; do
7778   case $cc_temp in
7779     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7780     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7781     \-*) ;;
7782     *) break;;
7783   esac
7784 done
7785 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7786
7787
7788 # Only perform the check for file, if the check method requires it
7789 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7790 case $deplibs_check_method in
7791 file_magic*)
7792   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7793     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7794 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7795 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7796   $as_echo_n "(cached) " >&6
7797 else
7798   case $MAGIC_CMD in
7799 [\\/*] |  ?:[\\/]*)
7800   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7801   ;;
7802 *)
7803   lt_save_MAGIC_CMD="$MAGIC_CMD"
7804   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7805   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7806   for ac_dir in $ac_dummy; do
7807     IFS="$lt_save_ifs"
7808     test -z "$ac_dir" && ac_dir=.
7809     if test -f $ac_dir/${ac_tool_prefix}file; then
7810       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7811       if test -n "$file_magic_test_file"; then
7812         case $deplibs_check_method in
7813         "file_magic "*)
7814           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7815           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7816           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7817             $EGREP "$file_magic_regex" > /dev/null; then
7818             :
7819           else
7820             cat <<_LT_EOF 1>&2
7821
7822 *** Warning: the command libtool uses to detect shared libraries,
7823 *** $file_magic_cmd, produces output that libtool cannot recognize.
7824 *** The result is that libtool may fail to recognize shared libraries
7825 *** as such.  This will affect the creation of libtool libraries that
7826 *** depend on shared libraries, but programs linked with such libtool
7827 *** libraries will work regardless of this problem.  Nevertheless, you
7828 *** may want to report the problem to your system manager and/or to
7829 *** bug-libtool@gnu.org
7830
7831 _LT_EOF
7832           fi ;;
7833         esac
7834       fi
7835       break
7836     fi
7837   done
7838   IFS="$lt_save_ifs"
7839   MAGIC_CMD="$lt_save_MAGIC_CMD"
7840   ;;
7841 esac
7842 fi
7843
7844 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7845 if test -n "$MAGIC_CMD"; then
7846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7847 $as_echo "$MAGIC_CMD" >&6; }
7848 else
7849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7850 $as_echo "no" >&6; }
7851 fi
7852
7853
7854
7855
7856
7857 if test -z "$lt_cv_path_MAGIC_CMD"; then
7858   if test -n "$ac_tool_prefix"; then
7859     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7860 $as_echo_n "checking for file... " >&6; }
7861 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7862   $as_echo_n "(cached) " >&6
7863 else
7864   case $MAGIC_CMD in
7865 [\\/*] |  ?:[\\/]*)
7866   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7867   ;;
7868 *)
7869   lt_save_MAGIC_CMD="$MAGIC_CMD"
7870   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7871   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7872   for ac_dir in $ac_dummy; do
7873     IFS="$lt_save_ifs"
7874     test -z "$ac_dir" && ac_dir=.
7875     if test -f $ac_dir/file; then
7876       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7877       if test -n "$file_magic_test_file"; then
7878         case $deplibs_check_method in
7879         "file_magic "*)
7880           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7881           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7882           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7883             $EGREP "$file_magic_regex" > /dev/null; then
7884             :
7885           else
7886             cat <<_LT_EOF 1>&2
7887
7888 *** Warning: the command libtool uses to detect shared libraries,
7889 *** $file_magic_cmd, produces output that libtool cannot recognize.
7890 *** The result is that libtool may fail to recognize shared libraries
7891 *** as such.  This will affect the creation of libtool libraries that
7892 *** depend on shared libraries, but programs linked with such libtool
7893 *** libraries will work regardless of this problem.  Nevertheless, you
7894 *** may want to report the problem to your system manager and/or to
7895 *** bug-libtool@gnu.org
7896
7897 _LT_EOF
7898           fi ;;
7899         esac
7900       fi
7901       break
7902     fi
7903   done
7904   IFS="$lt_save_ifs"
7905   MAGIC_CMD="$lt_save_MAGIC_CMD"
7906   ;;
7907 esac
7908 fi
7909
7910 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7911 if test -n "$MAGIC_CMD"; then
7912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7913 $as_echo "$MAGIC_CMD" >&6; }
7914 else
7915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7916 $as_echo "no" >&6; }
7917 fi
7918
7919
7920   else
7921     MAGIC_CMD=:
7922   fi
7923 fi
7924
7925   fi
7926   ;;
7927 esac
7928
7929 # Use C for the default configuration in the libtool script
7930
7931 lt_save_CC="$CC"
7932 ac_ext=c
7933 ac_cpp='$CPP $CPPFLAGS'
7934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7937
7938
7939 # Source file extension for C test sources.
7940 ac_ext=c
7941
7942 # Object file extension for compiled C test sources.
7943 objext=o
7944 objext=$objext
7945
7946 # Code to be used in simple compile tests
7947 lt_simple_compile_test_code="int some_variable = 0;"
7948
7949 # Code to be used in simple link tests
7950 lt_simple_link_test_code='int main(){return(0);}'
7951
7952
7953
7954
7955
7956
7957
7958 # If no C compiler was specified, use CC.
7959 LTCC=${LTCC-"$CC"}
7960
7961 # If no C compiler flags were specified, use CFLAGS.
7962 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7963
7964 # Allow CC to be a program name with arguments.
7965 compiler=$CC
7966
7967 # Save the default compiler, since it gets overwritten when the other
7968 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7969 compiler_DEFAULT=$CC
7970
7971 # save warnings/boilerplate of simple test code
7972 ac_outfile=conftest.$ac_objext
7973 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7974 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7975 _lt_compiler_boilerplate=`cat conftest.err`
7976 $RM conftest*
7977
7978 ac_outfile=conftest.$ac_objext
7979 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7980 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7981 _lt_linker_boilerplate=`cat conftest.err`
7982 $RM -r conftest*
7983
7984
7985 ## CAVEAT EMPTOR:
7986 ## There is no encapsulation within the following macros, do not change
7987 ## the running order or otherwise move them around unless you know exactly
7988 ## what you are doing...
7989 if test -n "$compiler"; then
7990
7991 lt_prog_compiler_no_builtin_flag=
7992
7993 if test "$GCC" = yes; then
7994   case $cc_basename in
7995   nvcc*)
7996     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7997   *)
7998     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7999   esac
8000
8001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8002 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8003 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8004   $as_echo_n "(cached) " >&6
8005 else
8006   lt_cv_prog_compiler_rtti_exceptions=no
8007    ac_outfile=conftest.$ac_objext
8008    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8009    lt_compiler_flag="-fno-rtti -fno-exceptions"
8010    # Insert the option either (1) after the last *FLAGS variable, or
8011    # (2) before a word containing "conftest.", or (3) at the end.
8012    # Note that $ac_compile itself does not contain backslashes and begins
8013    # with a dollar sign (not a hyphen), so the echo should work correctly.
8014    # The option is referenced via a variable to avoid confusing sed.
8015    lt_compile=`echo "$ac_compile" | $SED \
8016    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8017    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8018    -e 's:$: $lt_compiler_flag:'`
8019    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8020    (eval "$lt_compile" 2>conftest.err)
8021    ac_status=$?
8022    cat conftest.err >&5
8023    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024    if (exit $ac_status) && test -s "$ac_outfile"; then
8025      # The compiler can only warn and ignore the option if not recognized
8026      # So say no if there are warnings other than the usual output.
8027      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8028      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8029      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8030        lt_cv_prog_compiler_rtti_exceptions=yes
8031      fi
8032    fi
8033    $RM conftest*
8034
8035 fi
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8037 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8038
8039 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8040     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8041 else
8042     :
8043 fi
8044
8045 fi
8046
8047
8048
8049
8050
8051
8052   lt_prog_compiler_wl=
8053 lt_prog_compiler_pic=
8054 lt_prog_compiler_static=
8055
8056
8057   if test "$GCC" = yes; then
8058     lt_prog_compiler_wl='-Wl,'
8059     lt_prog_compiler_static='-static'
8060
8061     case $host_os in
8062       aix*)
8063       # All AIX code is PIC.
8064       if test "$host_cpu" = ia64; then
8065         # AIX 5 now supports IA64 processor
8066         lt_prog_compiler_static='-Bstatic'
8067       fi
8068       ;;
8069
8070     amigaos*)
8071       case $host_cpu in
8072       powerpc)
8073             # see comment about AmigaOS4 .so support
8074             lt_prog_compiler_pic='-fPIC'
8075         ;;
8076       m68k)
8077             # FIXME: we need at least 68020 code to build shared libraries, but
8078             # adding the `-m68020' flag to GCC prevents building anything better,
8079             # like `-m68040'.
8080             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8081         ;;
8082       esac
8083       ;;
8084
8085     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8086       # PIC is the default for these OSes.
8087       ;;
8088
8089     mingw* | cygwin* | pw32* | os2* | cegcc*)
8090       # This hack is so that the source file can tell whether it is being
8091       # built for inclusion in a dll (and should export symbols for example).
8092       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8093       # (--disable-auto-import) libraries
8094       lt_prog_compiler_pic='-DDLL_EXPORT'
8095       ;;
8096
8097     darwin* | rhapsody*)
8098       # PIC is the default on this platform
8099       # Common symbols not allowed in MH_DYLIB files
8100       lt_prog_compiler_pic='-fno-common'
8101       ;;
8102
8103     haiku*)
8104       # PIC is the default for Haiku.
8105       # The "-static" flag exists, but is broken.
8106       lt_prog_compiler_static=
8107       ;;
8108
8109     hpux*)
8110       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8111       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8112       # sets the default TLS model and affects inlining.
8113       case $host_cpu in
8114       hppa*64*)
8115         # +Z the default
8116         ;;
8117       *)
8118         lt_prog_compiler_pic='-fPIC'
8119         ;;
8120       esac
8121       ;;
8122
8123     interix[3-9]*)
8124       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8125       # Instead, we relocate shared libraries at runtime.
8126       ;;
8127
8128     msdosdjgpp*)
8129       # Just because we use GCC doesn't mean we suddenly get shared libraries
8130       # on systems that don't support them.
8131       lt_prog_compiler_can_build_shared=no
8132       enable_shared=no
8133       ;;
8134
8135     *nto* | *qnx*)
8136       # QNX uses GNU C++, but need to define -shared option too, otherwise
8137       # it will coredump.
8138       lt_prog_compiler_pic='-fPIC -shared'
8139       ;;
8140
8141     sysv4*MP*)
8142       if test -d /usr/nec; then
8143         lt_prog_compiler_pic=-Kconform_pic
8144       fi
8145       ;;
8146
8147     *)
8148       lt_prog_compiler_pic='-fPIC'
8149       ;;
8150     esac
8151
8152     case $cc_basename in
8153     nvcc*) # Cuda Compiler Driver 2.2
8154       lt_prog_compiler_wl='-Xlinker '
8155       if test -n "$lt_prog_compiler_pic"; then
8156         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8157       fi
8158       ;;
8159     esac
8160   else
8161     # PORTME Check for flag to pass linker flags through the system compiler.
8162     case $host_os in
8163     aix*)
8164       lt_prog_compiler_wl='-Wl,'
8165       if test "$host_cpu" = ia64; then
8166         # AIX 5 now supports IA64 processor
8167         lt_prog_compiler_static='-Bstatic'
8168       else
8169         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8170       fi
8171       ;;
8172
8173     mingw* | cygwin* | pw32* | os2* | cegcc*)
8174       # This hack is so that the source file can tell whether it is being
8175       # built for inclusion in a dll (and should export symbols for example).
8176       lt_prog_compiler_pic='-DDLL_EXPORT'
8177       ;;
8178
8179     hpux9* | hpux10* | hpux11*)
8180       lt_prog_compiler_wl='-Wl,'
8181       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8182       # not for PA HP-UX.
8183       case $host_cpu in
8184       hppa*64*|ia64*)
8185         # +Z the default
8186         ;;
8187       *)
8188         lt_prog_compiler_pic='+Z'
8189         ;;
8190       esac
8191       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8192       lt_prog_compiler_static='${wl}-a ${wl}archive'
8193       ;;
8194
8195     irix5* | irix6* | nonstopux*)
8196       lt_prog_compiler_wl='-Wl,'
8197       # PIC (with -KPIC) is the default.
8198       lt_prog_compiler_static='-non_shared'
8199       ;;
8200
8201     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8202       case $cc_basename in
8203       # old Intel for x86_64 which still supported -KPIC.
8204       ecc*)
8205         lt_prog_compiler_wl='-Wl,'
8206         lt_prog_compiler_pic='-KPIC'
8207         lt_prog_compiler_static='-static'
8208         ;;
8209       # icc used to be incompatible with GCC.
8210       # ICC 10 doesn't accept -KPIC any more.
8211       icc* | ifort*)
8212         lt_prog_compiler_wl='-Wl,'
8213         lt_prog_compiler_pic='-fPIC'
8214         lt_prog_compiler_static='-static'
8215         ;;
8216       # Lahey Fortran 8.1.
8217       lf95*)
8218         lt_prog_compiler_wl='-Wl,'
8219         lt_prog_compiler_pic='--shared'
8220         lt_prog_compiler_static='--static'
8221         ;;
8222       nagfor*)
8223         # NAG Fortran compiler
8224         lt_prog_compiler_wl='-Wl,-Wl,,'
8225         lt_prog_compiler_pic='-PIC'
8226         lt_prog_compiler_static='-Bstatic'
8227         ;;
8228       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8229         # Portland Group compilers (*not* the Pentium gcc compiler,
8230         # which looks to be a dead project)
8231         lt_prog_compiler_wl='-Wl,'
8232         lt_prog_compiler_pic='-fpic'
8233         lt_prog_compiler_static='-Bstatic'
8234         ;;
8235       ccc*)
8236         lt_prog_compiler_wl='-Wl,'
8237         # All Alpha code is PIC.
8238         lt_prog_compiler_static='-non_shared'
8239         ;;
8240       xl* | bgxl* | bgf* | mpixl*)
8241         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8242         lt_prog_compiler_wl='-Wl,'
8243         lt_prog_compiler_pic='-qpic'
8244         lt_prog_compiler_static='-qstaticlink'
8245         ;;
8246       *)
8247         case `$CC -V 2>&1 | sed 5q` in
8248         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8249           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8250           lt_prog_compiler_pic='-KPIC'
8251           lt_prog_compiler_static='-Bstatic'
8252           lt_prog_compiler_wl=''
8253           ;;
8254         *Sun\ F* | *Sun*Fortran*)
8255           lt_prog_compiler_pic='-KPIC'
8256           lt_prog_compiler_static='-Bstatic'
8257           lt_prog_compiler_wl='-Qoption ld '
8258           ;;
8259         *Sun\ C*)
8260           # Sun C 5.9
8261           lt_prog_compiler_pic='-KPIC'
8262           lt_prog_compiler_static='-Bstatic'
8263           lt_prog_compiler_wl='-Wl,'
8264           ;;
8265         *Intel*\ [CF]*Compiler*)
8266           lt_prog_compiler_wl='-Wl,'
8267           lt_prog_compiler_pic='-fPIC'
8268           lt_prog_compiler_static='-static'
8269           ;;
8270         *Portland\ Group*)
8271           lt_prog_compiler_wl='-Wl,'
8272           lt_prog_compiler_pic='-fpic'
8273           lt_prog_compiler_static='-Bstatic'
8274           ;;
8275         esac
8276         ;;
8277       esac
8278       ;;
8279
8280     newsos6)
8281       lt_prog_compiler_pic='-KPIC'
8282       lt_prog_compiler_static='-Bstatic'
8283       ;;
8284
8285     *nto* | *qnx*)
8286       # QNX uses GNU C++, but need to define -shared option too, otherwise
8287       # it will coredump.
8288       lt_prog_compiler_pic='-fPIC -shared'
8289       ;;
8290
8291     osf3* | osf4* | osf5*)
8292       lt_prog_compiler_wl='-Wl,'
8293       # All OSF/1 code is PIC.
8294       lt_prog_compiler_static='-non_shared'
8295       ;;
8296
8297     rdos*)
8298       lt_prog_compiler_static='-non_shared'
8299       ;;
8300
8301     solaris*)
8302       lt_prog_compiler_pic='-KPIC'
8303       lt_prog_compiler_static='-Bstatic'
8304       case $cc_basename in
8305       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8306         lt_prog_compiler_wl='-Qoption ld ';;
8307       *)
8308         lt_prog_compiler_wl='-Wl,';;
8309       esac
8310       ;;
8311
8312     sunos4*)
8313       lt_prog_compiler_wl='-Qoption ld '
8314       lt_prog_compiler_pic='-PIC'
8315       lt_prog_compiler_static='-Bstatic'
8316       ;;
8317
8318     sysv4 | sysv4.2uw2* | sysv4.3*)
8319       lt_prog_compiler_wl='-Wl,'
8320       lt_prog_compiler_pic='-KPIC'
8321       lt_prog_compiler_static='-Bstatic'
8322       ;;
8323
8324     sysv4*MP*)
8325       if test -d /usr/nec ;then
8326         lt_prog_compiler_pic='-Kconform_pic'
8327         lt_prog_compiler_static='-Bstatic'
8328       fi
8329       ;;
8330
8331     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8332       lt_prog_compiler_wl='-Wl,'
8333       lt_prog_compiler_pic='-KPIC'
8334       lt_prog_compiler_static='-Bstatic'
8335       ;;
8336
8337     unicos*)
8338       lt_prog_compiler_wl='-Wl,'
8339       lt_prog_compiler_can_build_shared=no
8340       ;;
8341
8342     uts4*)
8343       lt_prog_compiler_pic='-pic'
8344       lt_prog_compiler_static='-Bstatic'
8345       ;;
8346
8347     *)
8348       lt_prog_compiler_can_build_shared=no
8349       ;;
8350     esac
8351   fi
8352
8353 case $host_os in
8354   # For platforms which do not support PIC, -DPIC is meaningless:
8355   *djgpp*)
8356     lt_prog_compiler_pic=
8357     ;;
8358   *)
8359     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8360     ;;
8361 esac
8362
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8364 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8365 if ${lt_cv_prog_compiler_pic+:} false; then :
8366   $as_echo_n "(cached) " >&6
8367 else
8368   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8369 fi
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8371 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8372 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8373
8374 #
8375 # Check to make sure the PIC flag actually works.
8376 #
8377 if test -n "$lt_prog_compiler_pic"; then
8378   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8379 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8380 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8381   $as_echo_n "(cached) " >&6
8382 else
8383   lt_cv_prog_compiler_pic_works=no
8384    ac_outfile=conftest.$ac_objext
8385    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8386    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8387    # Insert the option either (1) after the last *FLAGS variable, or
8388    # (2) before a word containing "conftest.", or (3) at the end.
8389    # Note that $ac_compile itself does not contain backslashes and begins
8390    # with a dollar sign (not a hyphen), so the echo should work correctly.
8391    # The option is referenced via a variable to avoid confusing sed.
8392    lt_compile=`echo "$ac_compile" | $SED \
8393    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8394    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8395    -e 's:$: $lt_compiler_flag:'`
8396    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8397    (eval "$lt_compile" 2>conftest.err)
8398    ac_status=$?
8399    cat conftest.err >&5
8400    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401    if (exit $ac_status) && test -s "$ac_outfile"; then
8402      # The compiler can only warn and ignore the option if not recognized
8403      # So say no if there are warnings other than the usual output.
8404      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8405      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8406      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8407        lt_cv_prog_compiler_pic_works=yes
8408      fi
8409    fi
8410    $RM conftest*
8411
8412 fi
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8414 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8415
8416 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8417     case $lt_prog_compiler_pic in
8418      "" | " "*) ;;
8419      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8420      esac
8421 else
8422     lt_prog_compiler_pic=
8423      lt_prog_compiler_can_build_shared=no
8424 fi
8425
8426 fi
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438 #
8439 # Check to make sure the static flag actually works.
8440 #
8441 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8443 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8444 if ${lt_cv_prog_compiler_static_works+:} false; then :
8445   $as_echo_n "(cached) " >&6
8446 else
8447   lt_cv_prog_compiler_static_works=no
8448    save_LDFLAGS="$LDFLAGS"
8449    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8450    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8451    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8452      # The linker can only warn and ignore the option if not recognized
8453      # So say no if there are warnings
8454      if test -s conftest.err; then
8455        # Append any errors to the config.log.
8456        cat conftest.err 1>&5
8457        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8458        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8459        if diff conftest.exp conftest.er2 >/dev/null; then
8460          lt_cv_prog_compiler_static_works=yes
8461        fi
8462      else
8463        lt_cv_prog_compiler_static_works=yes
8464      fi
8465    fi
8466    $RM -r conftest*
8467    LDFLAGS="$save_LDFLAGS"
8468
8469 fi
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8471 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8472
8473 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8474     :
8475 else
8476     lt_prog_compiler_static=
8477 fi
8478
8479
8480
8481
8482
8483
8484
8485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8486 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8487 if ${lt_cv_prog_compiler_c_o+:} false; then :
8488   $as_echo_n "(cached) " >&6
8489 else
8490   lt_cv_prog_compiler_c_o=no
8491    $RM -r conftest 2>/dev/null
8492    mkdir conftest
8493    cd conftest
8494    mkdir out
8495    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8496
8497    lt_compiler_flag="-o out/conftest2.$ac_objext"
8498    # Insert the option either (1) after the last *FLAGS variable, or
8499    # (2) before a word containing "conftest.", or (3) at the end.
8500    # Note that $ac_compile itself does not contain backslashes and begins
8501    # with a dollar sign (not a hyphen), so the echo should work correctly.
8502    lt_compile=`echo "$ac_compile" | $SED \
8503    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8504    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8505    -e 's:$: $lt_compiler_flag:'`
8506    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8507    (eval "$lt_compile" 2>out/conftest.err)
8508    ac_status=$?
8509    cat out/conftest.err >&5
8510    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8512    then
8513      # The compiler can only warn and ignore the option if not recognized
8514      # So say no if there are warnings
8515      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8516      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8517      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8518        lt_cv_prog_compiler_c_o=yes
8519      fi
8520    fi
8521    chmod u+w . 2>&5
8522    $RM conftest*
8523    # SGI C++ compiler will create directory out/ii_files/ for
8524    # template instantiation
8525    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8526    $RM out/* && rmdir out
8527    cd ..
8528    $RM -r conftest
8529    $RM conftest*
8530
8531 fi
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8533 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8534
8535
8536
8537
8538
8539
8540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8541 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8542 if ${lt_cv_prog_compiler_c_o+:} false; then :
8543   $as_echo_n "(cached) " >&6
8544 else
8545   lt_cv_prog_compiler_c_o=no
8546    $RM -r conftest 2>/dev/null
8547    mkdir conftest
8548    cd conftest
8549    mkdir out
8550    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8551
8552    lt_compiler_flag="-o out/conftest2.$ac_objext"
8553    # Insert the option either (1) after the last *FLAGS variable, or
8554    # (2) before a word containing "conftest.", or (3) at the end.
8555    # Note that $ac_compile itself does not contain backslashes and begins
8556    # with a dollar sign (not a hyphen), so the echo should work correctly.
8557    lt_compile=`echo "$ac_compile" | $SED \
8558    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8559    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8560    -e 's:$: $lt_compiler_flag:'`
8561    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8562    (eval "$lt_compile" 2>out/conftest.err)
8563    ac_status=$?
8564    cat out/conftest.err >&5
8565    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8567    then
8568      # The compiler can only warn and ignore the option if not recognized
8569      # So say no if there are warnings
8570      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8571      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8572      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8573        lt_cv_prog_compiler_c_o=yes
8574      fi
8575    fi
8576    chmod u+w . 2>&5
8577    $RM conftest*
8578    # SGI C++ compiler will create directory out/ii_files/ for
8579    # template instantiation
8580    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8581    $RM out/* && rmdir out
8582    cd ..
8583    $RM -r conftest
8584    $RM conftest*
8585
8586 fi
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8588 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8589
8590
8591
8592
8593 hard_links="nottested"
8594 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8595   # do not overwrite the value of need_locks provided by the user
8596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8597 $as_echo_n "checking if we can lock with hard links... " >&6; }
8598   hard_links=yes
8599   $RM conftest*
8600   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8601   touch conftest.a
8602   ln conftest.a conftest.b 2>&5 || hard_links=no
8603   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8605 $as_echo "$hard_links" >&6; }
8606   if test "$hard_links" = no; then
8607     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8608 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8609     need_locks=warn
8610   fi
8611 else
8612   need_locks=no
8613 fi
8614
8615
8616
8617
8618
8619
8620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8621 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8622
8623   runpath_var=
8624   allow_undefined_flag=
8625   always_export_symbols=no
8626   archive_cmds=
8627   archive_expsym_cmds=
8628   compiler_needs_object=no
8629   enable_shared_with_static_runtimes=no
8630   export_dynamic_flag_spec=
8631   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8632   hardcode_automatic=no
8633   hardcode_direct=no
8634   hardcode_direct_absolute=no
8635   hardcode_libdir_flag_spec=
8636   hardcode_libdir_separator=
8637   hardcode_minus_L=no
8638   hardcode_shlibpath_var=unsupported
8639   inherit_rpath=no
8640   link_all_deplibs=unknown
8641   module_cmds=
8642   module_expsym_cmds=
8643   old_archive_from_new_cmds=
8644   old_archive_from_expsyms_cmds=
8645   thread_safe_flag_spec=
8646   whole_archive_flag_spec=
8647   # include_expsyms should be a list of space-separated symbols to be *always*
8648   # included in the symbol list
8649   include_expsyms=
8650   # exclude_expsyms can be an extended regexp of symbols to exclude
8651   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8652   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8653   # as well as any symbol that contains `d'.
8654   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8655   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8656   # platforms (ab)use it in PIC code, but their linkers get confused if
8657   # the symbol is explicitly referenced.  Since portable code cannot
8658   # rely on this symbol name, it's probably fine to never include it in
8659   # preloaded symbol tables.
8660   # Exclude shared library initialization/finalization symbols.
8661   extract_expsyms_cmds=
8662
8663   case $host_os in
8664   cygwin* | mingw* | pw32* | cegcc*)
8665     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8666     # When not using gcc, we currently assume that we are using
8667     # Microsoft Visual C++.
8668     if test "$GCC" != yes; then
8669       with_gnu_ld=no
8670     fi
8671     ;;
8672   interix*)
8673     # we just hope/assume this is gcc and not c89 (= MSVC++)
8674     with_gnu_ld=yes
8675     ;;
8676   openbsd*)
8677     with_gnu_ld=no
8678     ;;
8679   linux* | k*bsd*-gnu | gnu*)
8680     link_all_deplibs=no
8681     ;;
8682   esac
8683
8684   ld_shlibs=yes
8685
8686   # On some targets, GNU ld is compatible enough with the native linker
8687   # that we're better off using the native interface for both.
8688   lt_use_gnu_ld_interface=no
8689   if test "$with_gnu_ld" = yes; then
8690     case $host_os in
8691       aix*)
8692         # The AIX port of GNU ld has always aspired to compatibility
8693         # with the native linker.  However, as the warning in the GNU ld
8694         # block says, versions before 2.19.5* couldn't really create working
8695         # shared libraries, regardless of the interface used.
8696         case `$LD -v 2>&1` in
8697           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8698           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8699           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8700           *)
8701             lt_use_gnu_ld_interface=yes
8702             ;;
8703         esac
8704         ;;
8705       *)
8706         lt_use_gnu_ld_interface=yes
8707         ;;
8708     esac
8709   fi
8710
8711   if test "$lt_use_gnu_ld_interface" = yes; then
8712     # If archive_cmds runs LD, not CC, wlarc should be empty
8713     wlarc='${wl}'
8714
8715     # Set some defaults for GNU ld with shared library support. These
8716     # are reset later if shared libraries are not supported. Putting them
8717     # here allows them to be overridden if necessary.
8718     runpath_var=LD_RUN_PATH
8719     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8720     export_dynamic_flag_spec='${wl}--export-dynamic'
8721     # ancient GNU ld didn't support --whole-archive et. al.
8722     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8723       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8724     else
8725       whole_archive_flag_spec=
8726     fi
8727     supports_anon_versioning=no
8728     case `$LD -v 2>&1` in
8729       *GNU\ gold*) supports_anon_versioning=yes ;;
8730       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8731       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8732       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8733       *\ 2.11.*) ;; # other 2.11 versions
8734       *) supports_anon_versioning=yes ;;
8735     esac
8736
8737     # See if GNU ld supports shared libraries.
8738     case $host_os in
8739     aix[3-9]*)
8740       # On AIX/PPC, the GNU linker is very broken
8741       if test "$host_cpu" != ia64; then
8742         ld_shlibs=no
8743         cat <<_LT_EOF 1>&2
8744
8745 *** Warning: the GNU linker, at least up to release 2.19, is reported
8746 *** to be unable to reliably create shared libraries on AIX.
8747 *** Therefore, libtool is disabling shared libraries support.  If you
8748 *** really care for shared libraries, you may want to install binutils
8749 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8750 *** You will then need to restart the configuration process.
8751
8752 _LT_EOF
8753       fi
8754       ;;
8755
8756     amigaos*)
8757       case $host_cpu in
8758       powerpc)
8759             # see comment about AmigaOS4 .so support
8760             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8761             archive_expsym_cmds=''
8762         ;;
8763       m68k)
8764             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)'
8765             hardcode_libdir_flag_spec='-L$libdir'
8766             hardcode_minus_L=yes
8767         ;;
8768       esac
8769       ;;
8770
8771     beos*)
8772       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8773         allow_undefined_flag=unsupported
8774         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8775         # support --undefined.  This deserves some investigation.  FIXME
8776         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8777       else
8778         ld_shlibs=no
8779       fi
8780       ;;
8781
8782     cygwin* | mingw* | pw32* | cegcc*)
8783       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8784       # as there is no search path for DLLs.
8785       hardcode_libdir_flag_spec='-L$libdir'
8786       export_dynamic_flag_spec='${wl}--export-all-symbols'
8787       allow_undefined_flag=unsupported
8788       always_export_symbols=no
8789       enable_shared_with_static_runtimes=yes
8790       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'
8791       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8792
8793       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8794         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8795         # If the export-symbols file already is a .def file (1st line
8796         # is EXPORTS), use it as is; otherwise, prepend...
8797         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8798           cp $export_symbols $output_objdir/$soname.def;
8799         else
8800           echo EXPORTS > $output_objdir/$soname.def;
8801           cat $export_symbols >> $output_objdir/$soname.def;
8802         fi~
8803         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8804       else
8805         ld_shlibs=no
8806       fi
8807       ;;
8808
8809     haiku*)
8810       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8811       link_all_deplibs=yes
8812       ;;
8813
8814     interix[3-9]*)
8815       hardcode_direct=no
8816       hardcode_shlibpath_var=no
8817       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8818       export_dynamic_flag_spec='${wl}-E'
8819       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8820       # Instead, shared libraries are loaded at an image base (0x10000000 by
8821       # default) and relocated if they conflict, which is a slow very memory
8822       # consuming and fragmenting process.  To avoid this, we pick a random,
8823       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8824       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8825       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8826       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'
8827       ;;
8828
8829     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8830       tmp_diet=no
8831       if test "$host_os" = linux-dietlibc; then
8832         case $cc_basename in
8833           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8834         esac
8835       fi
8836       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8837          && test "$tmp_diet" = no
8838       then
8839         tmp_addflag=' $pic_flag'
8840         tmp_sharedflag='-shared'
8841         case $cc_basename,$host_cpu in
8842         pgcc*)                          # Portland Group C compiler
8843           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'
8844           tmp_addflag=' $pic_flag'
8845           ;;
8846         pgf77* | pgf90* | pgf95* | pgfortran*)
8847                                         # Portland Group f77 and f90 compilers
8848           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'
8849           tmp_addflag=' $pic_flag -Mnomain' ;;
8850         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8851           tmp_addflag=' -i_dynamic' ;;
8852         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8853           tmp_addflag=' -i_dynamic -nofor_main' ;;
8854         ifc* | ifort*)                  # Intel Fortran compiler
8855           tmp_addflag=' -nofor_main' ;;
8856         lf95*)                          # Lahey Fortran 8.1
8857           whole_archive_flag_spec=
8858           tmp_sharedflag='--shared' ;;
8859         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8860           tmp_sharedflag='-qmkshrobj'
8861           tmp_addflag= ;;
8862         nvcc*)  # Cuda Compiler Driver 2.2
8863           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'
8864           compiler_needs_object=yes
8865           ;;
8866         esac
8867         case `$CC -V 2>&1 | sed 5q` in
8868         *Sun\ C*)                       # Sun C 5.9
8869           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'
8870           compiler_needs_object=yes
8871           tmp_sharedflag='-G' ;;
8872         *Sun\ F*)                       # Sun Fortran 8.3
8873           tmp_sharedflag='-G' ;;
8874         esac
8875         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8876
8877         if test "x$supports_anon_versioning" = xyes; then
8878           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8879             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8880             echo "local: *; };" >> $output_objdir/$libname.ver~
8881             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8882         fi
8883
8884         case $cc_basename in
8885         xlf* | bgf* | bgxlf* | mpixlf*)
8886           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8887           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8888           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8889           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8890           if test "x$supports_anon_versioning" = xyes; then
8891             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8892               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8893               echo "local: *; };" >> $output_objdir/$libname.ver~
8894               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8895           fi
8896           ;;
8897         esac
8898       else
8899         ld_shlibs=no
8900       fi
8901       ;;
8902
8903     netbsd* | netbsdelf*-gnu)
8904       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8905         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8906         wlarc=
8907       else
8908         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8909         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8910       fi
8911       ;;
8912
8913     solaris*)
8914       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8915         ld_shlibs=no
8916         cat <<_LT_EOF 1>&2
8917
8918 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8919 *** create shared libraries on Solaris systems.  Therefore, libtool
8920 *** is disabling shared libraries support.  We urge you to upgrade GNU
8921 *** binutils to release 2.9.1 or newer.  Another option is to modify
8922 *** your PATH or compiler configuration so that the native linker is
8923 *** used, and then restart.
8924
8925 _LT_EOF
8926       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8927         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8928         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8929       else
8930         ld_shlibs=no
8931       fi
8932       ;;
8933
8934     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8935       case `$LD -v 2>&1` in
8936         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8937         ld_shlibs=no
8938         cat <<_LT_EOF 1>&2
8939
8940 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8941 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8942 *** is disabling shared libraries support.  We urge you to upgrade GNU
8943 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8944 *** your PATH or compiler configuration so that the native linker is
8945 *** used, and then restart.
8946
8947 _LT_EOF
8948         ;;
8949         *)
8950           # For security reasons, it is highly recommended that you always
8951           # use absolute paths for naming shared libraries, and exclude the
8952           # DT_RUNPATH tag from executables and libraries.  But doing so
8953           # requires that you compile everything twice, which is a pain.
8954           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8955             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8956             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8957             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8958           else
8959             ld_shlibs=no
8960           fi
8961         ;;
8962       esac
8963       ;;
8964
8965     sunos4*)
8966       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8967       wlarc=
8968       hardcode_direct=yes
8969       hardcode_shlibpath_var=no
8970       ;;
8971
8972     *)
8973       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8974         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8975         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8976       else
8977         ld_shlibs=no
8978       fi
8979       ;;
8980     esac
8981
8982     if test "$ld_shlibs" = no; then
8983       runpath_var=
8984       hardcode_libdir_flag_spec=
8985       export_dynamic_flag_spec=
8986       whole_archive_flag_spec=
8987     fi
8988   else
8989     # PORTME fill in a description of your system's linker (not GNU ld)
8990     case $host_os in
8991     aix3*)
8992       allow_undefined_flag=unsupported
8993       always_export_symbols=yes
8994       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'
8995       # Note: this linker hardcodes the directories in LIBPATH if there
8996       # are no directories specified by -L.
8997       hardcode_minus_L=yes
8998       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8999         # Neither direct hardcoding nor static linking is supported with a
9000         # broken collect2.
9001         hardcode_direct=unsupported
9002       fi
9003       ;;
9004
9005     aix[4-9]*)
9006       if test "$host_cpu" = ia64; then
9007         # On IA64, the linker does run time linking by default, so we don't
9008         # have to do anything special.
9009         aix_use_runtimelinking=no
9010         exp_sym_flag='-Bexport'
9011         no_entry_flag=""
9012       else
9013         # If we're using GNU nm, then we don't want the "-C" option.
9014         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9015         # Also, AIX nm treats weak defined symbols like other global
9016         # defined symbols, whereas GNU nm marks them as "W".
9017         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9018           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9019         else
9020           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9021         fi
9022         aix_use_runtimelinking=no
9023
9024         # Test if we are trying to use run time linking or normal
9025         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9026         # need to do runtime linking.
9027         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9028           for ld_flag in $LDFLAGS; do
9029           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9030             aix_use_runtimelinking=yes
9031             break
9032           fi
9033           done
9034           ;;
9035         esac
9036
9037         exp_sym_flag='-bexport'
9038         no_entry_flag='-bnoentry'
9039       fi
9040
9041       # When large executables or shared objects are built, AIX ld can
9042       # have problems creating the table of contents.  If linking a library
9043       # or program results in "error TOC overflow" add -mminimal-toc to
9044       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9045       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9046
9047       archive_cmds=''
9048       hardcode_direct=yes
9049       hardcode_direct_absolute=yes
9050       hardcode_libdir_separator=':'
9051       link_all_deplibs=yes
9052       file_list_spec='${wl}-f,'
9053
9054       if test "$GCC" = yes; then
9055         case $host_os in aix4.[012]|aix4.[012].*)
9056         # We only want to do this on AIX 4.2 and lower, the check
9057         # below for broken collect2 doesn't work under 4.3+
9058           collect2name=`${CC} -print-prog-name=collect2`
9059           if test -f "$collect2name" &&
9060            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9061           then
9062           # We have reworked collect2
9063           :
9064           else
9065           # We have old collect2
9066           hardcode_direct=unsupported
9067           # It fails to find uninstalled libraries when the uninstalled
9068           # path is not listed in the libpath.  Setting hardcode_minus_L
9069           # to unsupported forces relinking
9070           hardcode_minus_L=yes
9071           hardcode_libdir_flag_spec='-L$libdir'
9072           hardcode_libdir_separator=
9073           fi
9074           ;;
9075         esac
9076         shared_flag='-shared'
9077         if test "$aix_use_runtimelinking" = yes; then
9078           shared_flag="$shared_flag "'${wl}-G'
9079         fi
9080         link_all_deplibs=no
9081       else
9082         # not using gcc
9083         if test "$host_cpu" = ia64; then
9084         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9085         # chokes on -Wl,-G. The following line is correct:
9086           shared_flag='-G'
9087         else
9088           if test "$aix_use_runtimelinking" = yes; then
9089             shared_flag='${wl}-G'
9090           else
9091             shared_flag='${wl}-bM:SRE'
9092           fi
9093         fi
9094       fi
9095
9096       export_dynamic_flag_spec='${wl}-bexpall'
9097       # It seems that -bexpall does not export symbols beginning with
9098       # underscore (_), so it is better to generate a list of symbols to export.
9099       always_export_symbols=yes
9100       if test "$aix_use_runtimelinking" = yes; then
9101         # Warning - without using the other runtime loading flags (-brtl),
9102         # -berok will link without error, but may produce a broken library.
9103         allow_undefined_flag='-berok'
9104         # Determine the default libpath from the value encoded in an
9105         # empty executable.
9106         if test "${lt_cv_aix_libpath+set}" = set; then
9107   aix_libpath=$lt_cv_aix_libpath
9108 else
9109   if ${lt_cv_aix_libpath_+:} false; then :
9110   $as_echo_n "(cached) " >&6
9111 else
9112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h.  */
9114
9115 int
9116 main ()
9117 {
9118
9119   ;
9120   return 0;
9121 }
9122 _ACEOF
9123 if ac_fn_c_try_link "$LINENO"; then :
9124
9125   lt_aix_libpath_sed='
9126       /Import File Strings/,/^$/ {
9127           /^0/ {
9128               s/^0  *\([^ ]*\) *$/\1/
9129               p
9130           }
9131       }'
9132   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9133   # Check for a 64-bit object if we didn't find anything.
9134   if test -z "$lt_cv_aix_libpath_"; then
9135     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9136   fi
9137 fi
9138 rm -f core conftest.err conftest.$ac_objext \
9139     conftest$ac_exeext conftest.$ac_ext
9140   if test -z "$lt_cv_aix_libpath_"; then
9141     lt_cv_aix_libpath_="/usr/lib:/lib"
9142   fi
9143
9144 fi
9145
9146   aix_libpath=$lt_cv_aix_libpath_
9147 fi
9148
9149         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9150         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9151       else
9152         if test "$host_cpu" = ia64; then
9153           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9154           allow_undefined_flag="-z nodefs"
9155           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"
9156         else
9157          # Determine the default libpath from the value encoded in an
9158          # empty executable.
9159          if test "${lt_cv_aix_libpath+set}" = set; then
9160   aix_libpath=$lt_cv_aix_libpath
9161 else
9162   if ${lt_cv_aix_libpath_+:} false; then :
9163   $as_echo_n "(cached) " >&6
9164 else
9165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9166 /* end confdefs.h.  */
9167
9168 int
9169 main ()
9170 {
9171
9172   ;
9173   return 0;
9174 }
9175 _ACEOF
9176 if ac_fn_c_try_link "$LINENO"; then :
9177
9178   lt_aix_libpath_sed='
9179       /Import File Strings/,/^$/ {
9180           /^0/ {
9181               s/^0  *\([^ ]*\) *$/\1/
9182               p
9183           }
9184       }'
9185   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9186   # Check for a 64-bit object if we didn't find anything.
9187   if test -z "$lt_cv_aix_libpath_"; then
9188     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9189   fi
9190 fi
9191 rm -f core conftest.err conftest.$ac_objext \
9192     conftest$ac_exeext conftest.$ac_ext
9193   if test -z "$lt_cv_aix_libpath_"; then
9194     lt_cv_aix_libpath_="/usr/lib:/lib"
9195   fi
9196
9197 fi
9198
9199   aix_libpath=$lt_cv_aix_libpath_
9200 fi
9201
9202          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9203           # Warning - without using the other run time loading flags,
9204           # -berok will link without error, but may produce a broken library.
9205           no_undefined_flag=' ${wl}-bernotok'
9206           allow_undefined_flag=' ${wl}-berok'
9207           if test "$with_gnu_ld" = yes; then
9208             # We only use this code for GNU lds that support --whole-archive.
9209             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9210           else
9211             # Exported symbols can be pulled into shared objects from archives
9212             whole_archive_flag_spec='$convenience'
9213           fi
9214           archive_cmds_need_lc=yes
9215           # This is similar to how AIX traditionally builds its shared libraries.
9216           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9217         fi
9218       fi
9219       ;;
9220
9221     amigaos*)
9222       case $host_cpu in
9223       powerpc)
9224             # see comment about AmigaOS4 .so support
9225             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226             archive_expsym_cmds=''
9227         ;;
9228       m68k)
9229             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)'
9230             hardcode_libdir_flag_spec='-L$libdir'
9231             hardcode_minus_L=yes
9232         ;;
9233       esac
9234       ;;
9235
9236     bsdi[45]*)
9237       export_dynamic_flag_spec=-rdynamic
9238       ;;
9239
9240     cygwin* | mingw* | pw32* | cegcc*)
9241       # When not using gcc, we currently assume that we are using
9242       # Microsoft Visual C++.
9243       # hardcode_libdir_flag_spec is actually meaningless, as there is
9244       # no search path for DLLs.
9245       case $cc_basename in
9246       cl*)
9247         # Native MSVC
9248         hardcode_libdir_flag_spec=' '
9249         allow_undefined_flag=unsupported
9250         always_export_symbols=yes
9251         file_list_spec='@'
9252         # Tell ltmain to make .lib files, not .a files.
9253         libext=lib
9254         # Tell ltmain to make .dll files, not .so files.
9255         shrext_cmds=".dll"
9256         # FIXME: Setting linknames here is a bad hack.
9257         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9258         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9259             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9260           else
9261             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9262           fi~
9263           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9264           linknames='
9265         # The linker will not automatically build a static lib if we build a DLL.
9266         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9267         enable_shared_with_static_runtimes=yes
9268         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9269         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9270         # Don't use ranlib
9271         old_postinstall_cmds='chmod 644 $oldlib'
9272         postlink_cmds='lt_outputfile="@OUTPUT@"~
9273           lt_tool_outputfile="@TOOL_OUTPUT@"~
9274           case $lt_outputfile in
9275             *.exe|*.EXE) ;;
9276             *)
9277               lt_outputfile="$lt_outputfile.exe"
9278               lt_tool_outputfile="$lt_tool_outputfile.exe"
9279               ;;
9280           esac~
9281           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9282             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9283             $RM "$lt_outputfile.manifest";
9284           fi'
9285         ;;
9286       *)
9287         # Assume MSVC wrapper
9288         hardcode_libdir_flag_spec=' '
9289         allow_undefined_flag=unsupported
9290         # Tell ltmain to make .lib files, not .a files.
9291         libext=lib
9292         # Tell ltmain to make .dll files, not .so files.
9293         shrext_cmds=".dll"
9294         # FIXME: Setting linknames here is a bad hack.
9295         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9296         # The linker will automatically build a .lib file if we build a DLL.
9297         old_archive_from_new_cmds='true'
9298         # FIXME: Should let the user specify the lib program.
9299         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9300         enable_shared_with_static_runtimes=yes
9301         ;;
9302       esac
9303       ;;
9304
9305     darwin* | rhapsody*)
9306
9307
9308   archive_cmds_need_lc=no
9309   hardcode_direct=no
9310   hardcode_automatic=yes
9311   hardcode_shlibpath_var=unsupported
9312   if test "$lt_cv_ld_force_load" = "yes"; then
9313     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\"`'
9314
9315   else
9316     whole_archive_flag_spec=''
9317   fi
9318   link_all_deplibs=yes
9319   allow_undefined_flag="$_lt_dar_allow_undefined"
9320   case $cc_basename in
9321      ifort*) _lt_dar_can_shared=yes ;;
9322      *) _lt_dar_can_shared=$GCC ;;
9323   esac
9324   if test "$_lt_dar_can_shared" = "yes"; then
9325     output_verbose_link_cmd=func_echo_all
9326     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9327     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9328     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}"
9329     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}"
9330
9331   else
9332   ld_shlibs=no
9333   fi
9334
9335       ;;
9336
9337     dgux*)
9338       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9339       hardcode_libdir_flag_spec='-L$libdir'
9340       hardcode_shlibpath_var=no
9341       ;;
9342
9343     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9344     # support.  Future versions do this automatically, but an explicit c++rt0.o
9345     # does not break anything, and helps significantly (at the cost of a little
9346     # extra space).
9347     freebsd2.2*)
9348       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9349       hardcode_libdir_flag_spec='-R$libdir'
9350       hardcode_direct=yes
9351       hardcode_shlibpath_var=no
9352       ;;
9353
9354     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9355     freebsd2.*)
9356       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9357       hardcode_direct=yes
9358       hardcode_minus_L=yes
9359       hardcode_shlibpath_var=no
9360       ;;
9361
9362     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9363     freebsd* | dragonfly*)
9364       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9365       hardcode_libdir_flag_spec='-R$libdir'
9366       hardcode_direct=yes
9367       hardcode_shlibpath_var=no
9368       ;;
9369
9370     hpux9*)
9371       if test "$GCC" = yes; then
9372         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9373       else
9374         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9375       fi
9376       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9377       hardcode_libdir_separator=:
9378       hardcode_direct=yes
9379
9380       # hardcode_minus_L: Not really in the search PATH,
9381       # but as the default location of the library.
9382       hardcode_minus_L=yes
9383       export_dynamic_flag_spec='${wl}-E'
9384       ;;
9385
9386     hpux10*)
9387       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9388         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9389       else
9390         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9391       fi
9392       if test "$with_gnu_ld" = no; then
9393         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9394         hardcode_libdir_separator=:
9395         hardcode_direct=yes
9396         hardcode_direct_absolute=yes
9397         export_dynamic_flag_spec='${wl}-E'
9398         # hardcode_minus_L: Not really in the search PATH,
9399         # but as the default location of the library.
9400         hardcode_minus_L=yes
9401       fi
9402       ;;
9403
9404     hpux11*)
9405       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9406         case $host_cpu in
9407         hppa*64*)
9408           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9409           ;;
9410         ia64*)
9411           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9412           ;;
9413         *)
9414           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9415           ;;
9416         esac
9417       else
9418         case $host_cpu in
9419         hppa*64*)
9420           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9421           ;;
9422         ia64*)
9423           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9424           ;;
9425         *)
9426
9427           # Older versions of the 11.00 compiler do not understand -b yet
9428           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9429           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9430 $as_echo_n "checking if $CC understands -b... " >&6; }
9431 if ${lt_cv_prog_compiler__b+:} false; then :
9432   $as_echo_n "(cached) " >&6
9433 else
9434   lt_cv_prog_compiler__b=no
9435    save_LDFLAGS="$LDFLAGS"
9436    LDFLAGS="$LDFLAGS -b"
9437    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9438    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9439      # The linker can only warn and ignore the option if not recognized
9440      # So say no if there are warnings
9441      if test -s conftest.err; then
9442        # Append any errors to the config.log.
9443        cat conftest.err 1>&5
9444        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9445        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9446        if diff conftest.exp conftest.er2 >/dev/null; then
9447          lt_cv_prog_compiler__b=yes
9448        fi
9449      else
9450        lt_cv_prog_compiler__b=yes
9451      fi
9452    fi
9453    $RM -r conftest*
9454    LDFLAGS="$save_LDFLAGS"
9455
9456 fi
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9458 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9459
9460 if test x"$lt_cv_prog_compiler__b" = xyes; then
9461     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9462 else
9463     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9464 fi
9465
9466           ;;
9467         esac
9468       fi
9469       if test "$with_gnu_ld" = no; then
9470         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9471         hardcode_libdir_separator=:
9472
9473         case $host_cpu in
9474         hppa*64*|ia64*)
9475           hardcode_direct=no
9476           hardcode_shlibpath_var=no
9477           ;;
9478         *)
9479           hardcode_direct=yes
9480           hardcode_direct_absolute=yes
9481           export_dynamic_flag_spec='${wl}-E'
9482
9483           # hardcode_minus_L: Not really in the search PATH,
9484           # but as the default location of the library.
9485           hardcode_minus_L=yes
9486           ;;
9487         esac
9488       fi
9489       ;;
9490
9491     irix5* | irix6* | nonstopux*)
9492       if test "$GCC" = yes; then
9493         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'
9494         # Try to use the -exported_symbol ld option, if it does not
9495         # work, assume that -exports_file does not work either and
9496         # implicitly export all symbols.
9497         # This should be the same for all languages, so no per-tag cache variable.
9498         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9499 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9500 if ${lt_cv_irix_exported_symbol+:} false; then :
9501   $as_echo_n "(cached) " >&6
9502 else
9503   save_LDFLAGS="$LDFLAGS"
9504            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9505            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9506 /* end confdefs.h.  */
9507 int foo (void) { return 0; }
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510   lt_cv_irix_exported_symbol=yes
9511 else
9512   lt_cv_irix_exported_symbol=no
9513 fi
9514 rm -f core conftest.err conftest.$ac_objext \
9515     conftest$ac_exeext conftest.$ac_ext
9516            LDFLAGS="$save_LDFLAGS"
9517 fi
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9519 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9520         if test "$lt_cv_irix_exported_symbol" = yes; then
9521           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'
9522         fi
9523       else
9524         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'
9525         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'
9526       fi
9527       archive_cmds_need_lc='no'
9528       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9529       hardcode_libdir_separator=:
9530       inherit_rpath=yes
9531       link_all_deplibs=yes
9532       ;;
9533
9534     netbsd* | netbsdelf*-gnu)
9535       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9536         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9537       else
9538         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9539       fi
9540       hardcode_libdir_flag_spec='-R$libdir'
9541       hardcode_direct=yes
9542       hardcode_shlibpath_var=no
9543       ;;
9544
9545     newsos6)
9546       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9547       hardcode_direct=yes
9548       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9549       hardcode_libdir_separator=:
9550       hardcode_shlibpath_var=no
9551       ;;
9552
9553     *nto* | *qnx*)
9554       ;;
9555
9556     openbsd*)
9557       if test -f /usr/libexec/ld.so; then
9558         hardcode_direct=yes
9559         hardcode_shlibpath_var=no
9560         hardcode_direct_absolute=yes
9561         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9562           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9563           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9564           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9565           export_dynamic_flag_spec='${wl}-E'
9566         else
9567           case $host_os in
9568            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9569              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9570              hardcode_libdir_flag_spec='-R$libdir'
9571              ;;
9572            *)
9573              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9574              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9575              ;;
9576           esac
9577         fi
9578       else
9579         ld_shlibs=no
9580       fi
9581       ;;
9582
9583     os2*)
9584       hardcode_libdir_flag_spec='-L$libdir'
9585       hardcode_minus_L=yes
9586       allow_undefined_flag=unsupported
9587       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9588       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9589       ;;
9590
9591     osf3*)
9592       if test "$GCC" = yes; then
9593         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9594         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'
9595       else
9596         allow_undefined_flag=' -expect_unresolved \*'
9597         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'
9598       fi
9599       archive_cmds_need_lc='no'
9600       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9601       hardcode_libdir_separator=:
9602       ;;
9603
9604     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9605       if test "$GCC" = yes; then
9606         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9607         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'
9608         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9609       else
9610         allow_undefined_flag=' -expect_unresolved \*'
9611         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'
9612         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~
9613         $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'
9614
9615         # Both c and cxx compiler support -rpath directly
9616         hardcode_libdir_flag_spec='-rpath $libdir'
9617       fi
9618       archive_cmds_need_lc='no'
9619       hardcode_libdir_separator=:
9620       ;;
9621
9622     solaris*)
9623       no_undefined_flag=' -z defs'
9624       if test "$GCC" = yes; then
9625         wlarc='${wl}'
9626         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9627         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9628           $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'
9629       else
9630         case `$CC -V 2>&1` in
9631         *"Compilers 5.0"*)
9632           wlarc=''
9633           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9634           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9635           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9636           ;;
9637         *)
9638           wlarc='${wl}'
9639           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9640           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9641           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9642           ;;
9643         esac
9644       fi
9645       hardcode_libdir_flag_spec='-R$libdir'
9646       hardcode_shlibpath_var=no
9647       case $host_os in
9648       solaris2.[0-5] | solaris2.[0-5].*) ;;
9649       *)
9650         # The compiler driver will combine and reorder linker options,
9651         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9652         # but is careful enough not to reorder.
9653         # Supported since Solaris 2.6 (maybe 2.5.1?)
9654         if test "$GCC" = yes; then
9655           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9656         else
9657           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9658         fi
9659         ;;
9660       esac
9661       link_all_deplibs=yes
9662       ;;
9663
9664     sunos4*)
9665       if test "x$host_vendor" = xsequent; then
9666         # Use $CC to link under sequent, because it throws in some extra .o
9667         # files that make .init and .fini sections work.
9668         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9669       else
9670         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9671       fi
9672       hardcode_libdir_flag_spec='-L$libdir'
9673       hardcode_direct=yes
9674       hardcode_minus_L=yes
9675       hardcode_shlibpath_var=no
9676       ;;
9677
9678     sysv4)
9679       case $host_vendor in
9680         sni)
9681           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9682           hardcode_direct=yes # is this really true???
9683         ;;
9684         siemens)
9685           ## LD is ld it makes a PLAMLIB
9686           ## CC just makes a GrossModule.
9687           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9688           reload_cmds='$CC -r -o $output$reload_objs'
9689           hardcode_direct=no
9690         ;;
9691         motorola)
9692           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9693           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9694         ;;
9695       esac
9696       runpath_var='LD_RUN_PATH'
9697       hardcode_shlibpath_var=no
9698       ;;
9699
9700     sysv4.3*)
9701       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9702       hardcode_shlibpath_var=no
9703       export_dynamic_flag_spec='-Bexport'
9704       ;;
9705
9706     sysv4*MP*)
9707       if test -d /usr/nec; then
9708         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9709         hardcode_shlibpath_var=no
9710         runpath_var=LD_RUN_PATH
9711         hardcode_runpath_var=yes
9712         ld_shlibs=yes
9713       fi
9714       ;;
9715
9716     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9717       no_undefined_flag='${wl}-z,text'
9718       archive_cmds_need_lc=no
9719       hardcode_shlibpath_var=no
9720       runpath_var='LD_RUN_PATH'
9721
9722       if test "$GCC" = yes; then
9723         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9725       else
9726         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9727         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9728       fi
9729       ;;
9730
9731     sysv5* | sco3.2v5* | sco5v6*)
9732       # Note: We can NOT use -z defs as we might desire, because we do not
9733       # link with -lc, and that would cause any symbols used from libc to
9734       # always be unresolved, which means just about no library would
9735       # ever link correctly.  If we're not using GNU ld we use -z text
9736       # though, which does catch some bad symbols but isn't as heavy-handed
9737       # as -z defs.
9738       no_undefined_flag='${wl}-z,text'
9739       allow_undefined_flag='${wl}-z,nodefs'
9740       archive_cmds_need_lc=no
9741       hardcode_shlibpath_var=no
9742       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9743       hardcode_libdir_separator=':'
9744       link_all_deplibs=yes
9745       export_dynamic_flag_spec='${wl}-Bexport'
9746       runpath_var='LD_RUN_PATH'
9747
9748       if test "$GCC" = yes; then
9749         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9750         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9751       else
9752         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9753         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9754       fi
9755       ;;
9756
9757     uts4*)
9758       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9759       hardcode_libdir_flag_spec='-L$libdir'
9760       hardcode_shlibpath_var=no
9761       ;;
9762
9763     *)
9764       ld_shlibs=no
9765       ;;
9766     esac
9767
9768     if test x$host_vendor = xsni; then
9769       case $host in
9770       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9771         export_dynamic_flag_spec='${wl}-Blargedynsym'
9772         ;;
9773       esac
9774     fi
9775   fi
9776
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9778 $as_echo "$ld_shlibs" >&6; }
9779 test "$ld_shlibs" = no && can_build_shared=no
9780
9781 with_gnu_ld=$with_gnu_ld
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797 #
9798 # Do we need to explicitly link libc?
9799 #
9800 case "x$archive_cmds_need_lc" in
9801 x|xyes)
9802   # Assume -lc should be added
9803   archive_cmds_need_lc=yes
9804
9805   if test "$enable_shared" = yes && test "$GCC" = yes; then
9806     case $archive_cmds in
9807     *'~'*)
9808       # FIXME: we may have to deal with multi-command sequences.
9809       ;;
9810     '$CC '*)
9811       # Test whether the compiler implicitly links with -lc since on some
9812       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9813       # to ld, don't add -lc before -lgcc.
9814       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9815 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9816 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9817   $as_echo_n "(cached) " >&6
9818 else
9819   $RM conftest*
9820         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9821
9822         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9823   (eval $ac_compile) 2>&5
9824   ac_status=$?
9825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9826   test $ac_status = 0; } 2>conftest.err; then
9827           soname=conftest
9828           lib=conftest
9829           libobjs=conftest.$ac_objext
9830           deplibs=
9831           wl=$lt_prog_compiler_wl
9832           pic_flag=$lt_prog_compiler_pic
9833           compiler_flags=-v
9834           linker_flags=-v
9835           verstring=
9836           output_objdir=.
9837           libname=conftest
9838           lt_save_allow_undefined_flag=$allow_undefined_flag
9839           allow_undefined_flag=
9840           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9841   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9842   ac_status=$?
9843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9844   test $ac_status = 0; }
9845           then
9846             lt_cv_archive_cmds_need_lc=no
9847           else
9848             lt_cv_archive_cmds_need_lc=yes
9849           fi
9850           allow_undefined_flag=$lt_save_allow_undefined_flag
9851         else
9852           cat conftest.err 1>&5
9853         fi
9854         $RM conftest*
9855
9856 fi
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9858 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9859       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9860       ;;
9861     esac
9862   fi
9863   ;;
9864 esac
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10018 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10019
10020 if test "$GCC" = yes; then
10021   case $host_os in
10022     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10023     *) lt_awk_arg="/^libraries:/" ;;
10024   esac
10025   case $host_os in
10026     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10027     *) lt_sed_strip_eq="s,=/,/,g" ;;
10028   esac
10029   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10030   case $lt_search_path_spec in
10031   *\;*)
10032     # if the path contains ";" then we assume it to be the separator
10033     # otherwise default to the standard path separator (i.e. ":") - it is
10034     # assumed that no part of a normal pathname contains ";" but that should
10035     # okay in the real world where ";" in dirpaths is itself problematic.
10036     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10037     ;;
10038   *)
10039     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10040     ;;
10041   esac
10042   # Ok, now we have the path, separated by spaces, we can step through it
10043   # and add multilib dir if necessary.
10044   lt_tmp_lt_search_path_spec=
10045   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10046   for lt_sys_path in $lt_search_path_spec; do
10047     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10048       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10049     else
10050       test -d "$lt_sys_path" && \
10051         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10052     fi
10053   done
10054   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10055 BEGIN {RS=" "; FS="/|\n";} {
10056   lt_foo="";
10057   lt_count=0;
10058   for (lt_i = NF; lt_i > 0; lt_i--) {
10059     if ($lt_i != "" && $lt_i != ".") {
10060       if ($lt_i == "..") {
10061         lt_count++;
10062       } else {
10063         if (lt_count == 0) {
10064           lt_foo="/" $lt_i lt_foo;
10065         } else {
10066           lt_count--;
10067         }
10068       }
10069     }
10070   }
10071   if (lt_foo != "") { lt_freq[lt_foo]++; }
10072   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10073 }'`
10074   # AWK program above erroneously prepends '/' to C:/dos/paths
10075   # for these hosts.
10076   case $host_os in
10077     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10078       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10079   esac
10080   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10081 else
10082   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10083 fi
10084 library_names_spec=
10085 libname_spec='lib$name'
10086 soname_spec=
10087 shrext_cmds=".so"
10088 postinstall_cmds=
10089 postuninstall_cmds=
10090 finish_cmds=
10091 finish_eval=
10092 shlibpath_var=
10093 shlibpath_overrides_runpath=unknown
10094 version_type=none
10095 dynamic_linker="$host_os ld.so"
10096 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10097 need_lib_prefix=unknown
10098 hardcode_into_libs=no
10099
10100 # when you set need_version to no, make sure it does not cause -set_version
10101 # flags to be left without arguments
10102 need_version=unknown
10103
10104 case $host_os in
10105 aix3*)
10106   version_type=linux # correct to gnu/linux during the next big refactor
10107   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10108   shlibpath_var=LIBPATH
10109
10110   # AIX 3 has no versioning support, so we append a major version to the name.
10111   soname_spec='${libname}${release}${shared_ext}$major'
10112   ;;
10113
10114 aix[4-9]*)
10115   version_type=linux # correct to gnu/linux during the next big refactor
10116   need_lib_prefix=no
10117   need_version=no
10118   hardcode_into_libs=yes
10119   if test "$host_cpu" = ia64; then
10120     # AIX 5 supports IA64
10121     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10122     shlibpath_var=LD_LIBRARY_PATH
10123   else
10124     # With GCC up to 2.95.x, collect2 would create an import file
10125     # for dependence libraries.  The import file would start with
10126     # the line `#! .'.  This would cause the generated library to
10127     # depend on `.', always an invalid library.  This was fixed in
10128     # development snapshots of GCC prior to 3.0.
10129     case $host_os in
10130       aix4 | aix4.[01] | aix4.[01].*)
10131       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10132            echo ' yes '
10133            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10134         :
10135       else
10136         can_build_shared=no
10137       fi
10138       ;;
10139     esac
10140     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10141     # soname into executable. Probably we can add versioning support to
10142     # collect2, so additional links can be useful in future.
10143     if test "$aix_use_runtimelinking" = yes; then
10144       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10145       # instead of lib<name>.a to let people know that these are not
10146       # typical AIX shared libraries.
10147       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10148     else
10149       # We preserve .a as extension for shared libraries through AIX4.2
10150       # and later when we are not doing run time linking.
10151       library_names_spec='${libname}${release}.a $libname.a'
10152       soname_spec='${libname}${release}${shared_ext}$major'
10153     fi
10154     shlibpath_var=LIBPATH
10155   fi
10156   ;;
10157
10158 amigaos*)
10159   case $host_cpu in
10160   powerpc)
10161     # Since July 2007 AmigaOS4 officially supports .so libraries.
10162     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10163     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10164     ;;
10165   m68k)
10166     library_names_spec='$libname.ixlibrary $libname.a'
10167     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10168     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10169     ;;
10170   esac
10171   ;;
10172
10173 beos*)
10174   library_names_spec='${libname}${shared_ext}'
10175   dynamic_linker="$host_os ld.so"
10176   shlibpath_var=LIBRARY_PATH
10177   ;;
10178
10179 bsdi[45]*)
10180   version_type=linux # correct to gnu/linux during the next big refactor
10181   need_version=no
10182   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10183   soname_spec='${libname}${release}${shared_ext}$major'
10184   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10185   shlibpath_var=LD_LIBRARY_PATH
10186   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10187   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10188   # the default ld.so.conf also contains /usr/contrib/lib and
10189   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10190   # libtool to hard-code these into programs
10191   ;;
10192
10193 cygwin* | mingw* | pw32* | cegcc*)
10194   version_type=windows
10195   shrext_cmds=".dll"
10196   need_version=no
10197   need_lib_prefix=no
10198
10199   case $GCC,$cc_basename in
10200   yes,*)
10201     # gcc
10202     library_names_spec='$libname.dll.a'
10203     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10204     postinstall_cmds='base_file=`basename \${file}`~
10205       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10206       dldir=$destdir/`dirname \$dlpath`~
10207       test -d \$dldir || mkdir -p \$dldir~
10208       $install_prog $dir/$dlname \$dldir/$dlname~
10209       chmod a+x \$dldir/$dlname~
10210       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10211         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10212       fi'
10213     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10214       dlpath=$dir/\$dldll~
10215        $RM \$dlpath'
10216     shlibpath_overrides_runpath=yes
10217
10218     case $host_os in
10219     cygwin*)
10220       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10221       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10222
10223       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10224       ;;
10225     mingw* | cegcc*)
10226       # MinGW DLLs use traditional 'lib' prefix
10227       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10228       ;;
10229     pw32*)
10230       # pw32 DLLs use 'pw' prefix rather than 'lib'
10231       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10232       ;;
10233     esac
10234     dynamic_linker='Win32 ld.exe'
10235     ;;
10236
10237   *,cl*)
10238     # Native MSVC
10239     libname_spec='$name'
10240     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10241     library_names_spec='${libname}.dll.lib'
10242
10243     case $build_os in
10244     mingw*)
10245       sys_lib_search_path_spec=
10246       lt_save_ifs=$IFS
10247       IFS=';'
10248       for lt_path in $LIB
10249       do
10250         IFS=$lt_save_ifs
10251         # Let DOS variable expansion print the short 8.3 style file name.
10252         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10253         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10254       done
10255       IFS=$lt_save_ifs
10256       # Convert to MSYS style.
10257       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10258       ;;
10259     cygwin*)
10260       # Convert to unix form, then to dos form, then back to unix form
10261       # but this time dos style (no spaces!) so that the unix form looks
10262       # like /cygdrive/c/PROGRA~1:/cygdr...
10263       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10264       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10265       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10266       ;;
10267     *)
10268       sys_lib_search_path_spec="$LIB"
10269       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10270         # It is most probably a Windows format PATH.
10271         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10272       else
10273         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10274       fi
10275       # FIXME: find the short name or the path components, as spaces are
10276       # common. (e.g. "Program Files" -> "PROGRA~1")
10277       ;;
10278     esac
10279
10280     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10281     postinstall_cmds='base_file=`basename \${file}`~
10282       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10283       dldir=$destdir/`dirname \$dlpath`~
10284       test -d \$dldir || mkdir -p \$dldir~
10285       $install_prog $dir/$dlname \$dldir/$dlname'
10286     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10287       dlpath=$dir/\$dldll~
10288        $RM \$dlpath'
10289     shlibpath_overrides_runpath=yes
10290     dynamic_linker='Win32 link.exe'
10291     ;;
10292
10293   *)
10294     # Assume MSVC wrapper
10295     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10296     dynamic_linker='Win32 ld.exe'
10297     ;;
10298   esac
10299   # FIXME: first we should search . and the directory the executable is in
10300   shlibpath_var=PATH
10301   ;;
10302
10303 darwin* | rhapsody*)
10304   dynamic_linker="$host_os dyld"
10305   version_type=darwin
10306   need_lib_prefix=no
10307   need_version=no
10308   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10309   soname_spec='${libname}${release}${major}$shared_ext'
10310   shlibpath_overrides_runpath=yes
10311   shlibpath_var=DYLD_LIBRARY_PATH
10312   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10313
10314   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10315   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10316   ;;
10317
10318 dgux*)
10319   version_type=linux # correct to gnu/linux during the next big refactor
10320   need_lib_prefix=no
10321   need_version=no
10322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10323   soname_spec='${libname}${release}${shared_ext}$major'
10324   shlibpath_var=LD_LIBRARY_PATH
10325   ;;
10326
10327 freebsd* | dragonfly*)
10328   # DragonFly does not have aout.  When/if they implement a new
10329   # versioning mechanism, adjust this.
10330   if test -x /usr/bin/objformat; then
10331     objformat=`/usr/bin/objformat`
10332   else
10333     case $host_os in
10334     freebsd[23].*) objformat=aout ;;
10335     *) objformat=elf ;;
10336     esac
10337   fi
10338   version_type=freebsd-$objformat
10339   case $version_type in
10340     freebsd-elf*)
10341       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10342       need_version=no
10343       need_lib_prefix=no
10344       ;;
10345     freebsd-*)
10346       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10347       need_version=yes
10348       ;;
10349   esac
10350   shlibpath_var=LD_LIBRARY_PATH
10351   case $host_os in
10352   freebsd2.*)
10353     shlibpath_overrides_runpath=yes
10354     ;;
10355   freebsd3.[01]* | freebsdelf3.[01]*)
10356     shlibpath_overrides_runpath=yes
10357     hardcode_into_libs=yes
10358     ;;
10359   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10360   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10361     shlibpath_overrides_runpath=no
10362     hardcode_into_libs=yes
10363     ;;
10364   *) # from 4.6 on, and DragonFly
10365     shlibpath_overrides_runpath=yes
10366     hardcode_into_libs=yes
10367     ;;
10368   esac
10369   ;;
10370
10371 haiku*)
10372   version_type=linux # correct to gnu/linux during the next big refactor
10373   need_lib_prefix=no
10374   need_version=no
10375   dynamic_linker="$host_os runtime_loader"
10376   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10377   soname_spec='${libname}${release}${shared_ext}$major'
10378   shlibpath_var=LIBRARY_PATH
10379   shlibpath_overrides_runpath=yes
10380   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10381   hardcode_into_libs=yes
10382   ;;
10383
10384 hpux9* | hpux10* | hpux11*)
10385   # Give a soname corresponding to the major version so that dld.sl refuses to
10386   # link against other versions.
10387   version_type=sunos
10388   need_lib_prefix=no
10389   need_version=no
10390   case $host_cpu in
10391   ia64*)
10392     shrext_cmds='.so'
10393     hardcode_into_libs=yes
10394     dynamic_linker="$host_os dld.so"
10395     shlibpath_var=LD_LIBRARY_PATH
10396     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10398     soname_spec='${libname}${release}${shared_ext}$major'
10399     if test "X$HPUX_IA64_MODE" = X32; then
10400       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10401     else
10402       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10403     fi
10404     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10405     ;;
10406   hppa*64*)
10407     shrext_cmds='.sl'
10408     hardcode_into_libs=yes
10409     dynamic_linker="$host_os dld.sl"
10410     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10411     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10412     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10413     soname_spec='${libname}${release}${shared_ext}$major'
10414     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10415     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10416     ;;
10417   *)
10418     shrext_cmds='.sl'
10419     dynamic_linker="$host_os dld.sl"
10420     shlibpath_var=SHLIB_PATH
10421     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10422     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10423     soname_spec='${libname}${release}${shared_ext}$major'
10424     ;;
10425   esac
10426   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10427   postinstall_cmds='chmod 555 $lib'
10428   # or fails outright, so override atomically:
10429   install_override_mode=555
10430   ;;
10431
10432 interix[3-9]*)
10433   version_type=linux # correct to gnu/linux during the next big refactor
10434   need_lib_prefix=no
10435   need_version=no
10436   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10437   soname_spec='${libname}${release}${shared_ext}$major'
10438   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10439   shlibpath_var=LD_LIBRARY_PATH
10440   shlibpath_overrides_runpath=no
10441   hardcode_into_libs=yes
10442   ;;
10443
10444 irix5* | irix6* | nonstopux*)
10445   case $host_os in
10446     nonstopux*) version_type=nonstopux ;;
10447     *)
10448         if test "$lt_cv_prog_gnu_ld" = yes; then
10449                 version_type=linux # correct to gnu/linux during the next big refactor
10450         else
10451                 version_type=irix
10452         fi ;;
10453   esac
10454   need_lib_prefix=no
10455   need_version=no
10456   soname_spec='${libname}${release}${shared_ext}$major'
10457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10458   case $host_os in
10459   irix5* | nonstopux*)
10460     libsuff= shlibsuff=
10461     ;;
10462   *)
10463     case $LD in # libtool.m4 will add one of these switches to LD
10464     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10465       libsuff= shlibsuff= libmagic=32-bit;;
10466     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10467       libsuff=32 shlibsuff=N32 libmagic=N32;;
10468     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10469       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10470     *) libsuff= shlibsuff= libmagic=never-match;;
10471     esac
10472     ;;
10473   esac
10474   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10475   shlibpath_overrides_runpath=no
10476   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10477   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10478   hardcode_into_libs=yes
10479   ;;
10480
10481 # No shared lib support for Linux oldld, aout, or coff.
10482 linux*oldld* | linux*aout* | linux*coff*)
10483   dynamic_linker=no
10484   ;;
10485
10486 # This must be glibc/ELF.
10487 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10488   version_type=linux # correct to gnu/linux during the next big refactor
10489   need_lib_prefix=no
10490   need_version=no
10491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10492   soname_spec='${libname}${release}${shared_ext}$major'
10493   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10494   shlibpath_var=LD_LIBRARY_PATH
10495   shlibpath_overrides_runpath=no
10496
10497   # Some binutils ld are patched to set DT_RUNPATH
10498   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10499   $as_echo_n "(cached) " >&6
10500 else
10501   lt_cv_shlibpath_overrides_runpath=no
10502     save_LDFLAGS=$LDFLAGS
10503     save_libdir=$libdir
10504     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10505          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10506     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h.  */
10508
10509 int
10510 main ()
10511 {
10512
10513   ;
10514   return 0;
10515 }
10516 _ACEOF
10517 if ac_fn_c_try_link "$LINENO"; then :
10518   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10519   lt_cv_shlibpath_overrides_runpath=yes
10520 fi
10521 fi
10522 rm -f core conftest.err conftest.$ac_objext \
10523     conftest$ac_exeext conftest.$ac_ext
10524     LDFLAGS=$save_LDFLAGS
10525     libdir=$save_libdir
10526
10527 fi
10528
10529   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10530
10531   # This implies no fast_install, which is unacceptable.
10532   # Some rework will be needed to allow for fast_install
10533   # before this can be enabled.
10534   hardcode_into_libs=yes
10535
10536   # Append ld.so.conf contents to the search path
10537   if test -f /etc/ld.so.conf; then
10538     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' ' '`
10539     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10540   fi
10541
10542   # We used to test for /lib/ld.so.1 and disable shared libraries on
10543   # powerpc, because MkLinux only supported shared libraries with the
10544   # GNU dynamic linker.  Since this was broken with cross compilers,
10545   # most powerpc-linux boxes support dynamic linking these days and
10546   # people can always --disable-shared, the test was removed, and we
10547   # assume the GNU/Linux dynamic linker is in use.
10548   dynamic_linker='GNU/Linux ld.so'
10549   ;;
10550
10551 netbsdelf*-gnu)
10552   version_type=linux
10553   need_lib_prefix=no
10554   need_version=no
10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10556   soname_spec='${libname}${release}${shared_ext}$major'
10557   shlibpath_var=LD_LIBRARY_PATH
10558   shlibpath_overrides_runpath=no
10559   hardcode_into_libs=yes
10560   dynamic_linker='NetBSD ld.elf_so'
10561   ;;
10562
10563 netbsd*)
10564   version_type=sunos
10565   need_lib_prefix=no
10566   need_version=no
10567   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10568     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10569     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10570     dynamic_linker='NetBSD (a.out) ld.so'
10571   else
10572     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10573     soname_spec='${libname}${release}${shared_ext}$major'
10574     dynamic_linker='NetBSD ld.elf_so'
10575   fi
10576   shlibpath_var=LD_LIBRARY_PATH
10577   shlibpath_overrides_runpath=yes
10578   hardcode_into_libs=yes
10579   ;;
10580
10581 newsos6)
10582   version_type=linux # correct to gnu/linux during the next big refactor
10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584   shlibpath_var=LD_LIBRARY_PATH
10585   shlibpath_overrides_runpath=yes
10586   ;;
10587
10588 *nto* | *qnx*)
10589   version_type=qnx
10590   need_lib_prefix=no
10591   need_version=no
10592   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10593   soname_spec='${libname}${release}${shared_ext}$major'
10594   shlibpath_var=LD_LIBRARY_PATH
10595   shlibpath_overrides_runpath=no
10596   hardcode_into_libs=yes
10597   dynamic_linker='ldqnx.so'
10598   ;;
10599
10600 openbsd*)
10601   version_type=sunos
10602   sys_lib_dlsearch_path_spec="/usr/lib"
10603   need_lib_prefix=no
10604   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10605   case $host_os in
10606     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10607     *)                          need_version=no  ;;
10608   esac
10609   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10610   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10611   shlibpath_var=LD_LIBRARY_PATH
10612   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10613     case $host_os in
10614       openbsd2.[89] | openbsd2.[89].*)
10615         shlibpath_overrides_runpath=no
10616         ;;
10617       *)
10618         shlibpath_overrides_runpath=yes
10619         ;;
10620       esac
10621   else
10622     shlibpath_overrides_runpath=yes
10623   fi
10624   ;;
10625
10626 os2*)
10627   libname_spec='$name'
10628   shrext_cmds=".dll"
10629   need_lib_prefix=no
10630   library_names_spec='$libname${shared_ext} $libname.a'
10631   dynamic_linker='OS/2 ld.exe'
10632   shlibpath_var=LIBPATH
10633   ;;
10634
10635 osf3* | osf4* | osf5*)
10636   version_type=osf
10637   need_lib_prefix=no
10638   need_version=no
10639   soname_spec='${libname}${release}${shared_ext}$major'
10640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10641   shlibpath_var=LD_LIBRARY_PATH
10642   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10643   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10644   ;;
10645
10646 rdos*)
10647   dynamic_linker=no
10648   ;;
10649
10650 solaris*)
10651   version_type=linux # correct to gnu/linux during the next big refactor
10652   need_lib_prefix=no
10653   need_version=no
10654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10655   soname_spec='${libname}${release}${shared_ext}$major'
10656   shlibpath_var=LD_LIBRARY_PATH
10657   shlibpath_overrides_runpath=yes
10658   hardcode_into_libs=yes
10659   # ldd complains unless libraries are executable
10660   postinstall_cmds='chmod +x $lib'
10661   ;;
10662
10663 sunos4*)
10664   version_type=sunos
10665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10666   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10667   shlibpath_var=LD_LIBRARY_PATH
10668   shlibpath_overrides_runpath=yes
10669   if test "$with_gnu_ld" = yes; then
10670     need_lib_prefix=no
10671   fi
10672   need_version=yes
10673   ;;
10674
10675 sysv4 | sysv4.3*)
10676   version_type=linux # correct to gnu/linux during the next big refactor
10677   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678   soname_spec='${libname}${release}${shared_ext}$major'
10679   shlibpath_var=LD_LIBRARY_PATH
10680   case $host_vendor in
10681     sni)
10682       shlibpath_overrides_runpath=no
10683       need_lib_prefix=no
10684       runpath_var=LD_RUN_PATH
10685       ;;
10686     siemens)
10687       need_lib_prefix=no
10688       ;;
10689     motorola)
10690       need_lib_prefix=no
10691       need_version=no
10692       shlibpath_overrides_runpath=no
10693       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10694       ;;
10695   esac
10696   ;;
10697
10698 sysv4*MP*)
10699   if test -d /usr/nec ;then
10700     version_type=linux # correct to gnu/linux during the next big refactor
10701     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10702     soname_spec='$libname${shared_ext}.$major'
10703     shlibpath_var=LD_LIBRARY_PATH
10704   fi
10705   ;;
10706
10707 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10708   version_type=freebsd-elf
10709   need_lib_prefix=no
10710   need_version=no
10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10712   soname_spec='${libname}${release}${shared_ext}$major'
10713   shlibpath_var=LD_LIBRARY_PATH
10714   shlibpath_overrides_runpath=yes
10715   hardcode_into_libs=yes
10716   if test "$with_gnu_ld" = yes; then
10717     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10718   else
10719     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10720     case $host_os in
10721       sco3.2v5*)
10722         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10723         ;;
10724     esac
10725   fi
10726   sys_lib_dlsearch_path_spec='/usr/lib'
10727   ;;
10728
10729 tpf*)
10730   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10731   version_type=linux # correct to gnu/linux during the next big refactor
10732   need_lib_prefix=no
10733   need_version=no
10734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735   shlibpath_var=LD_LIBRARY_PATH
10736   shlibpath_overrides_runpath=no
10737   hardcode_into_libs=yes
10738   ;;
10739
10740 uts4*)
10741   version_type=linux # correct to gnu/linux during the next big refactor
10742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743   soname_spec='${libname}${release}${shared_ext}$major'
10744   shlibpath_var=LD_LIBRARY_PATH
10745   ;;
10746
10747 *)
10748   dynamic_linker=no
10749   ;;
10750 esac
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10752 $as_echo "$dynamic_linker" >&6; }
10753 test "$dynamic_linker" = no && can_build_shared=no
10754
10755 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10756 if test "$GCC" = yes; then
10757   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10758 fi
10759
10760 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10761   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10762 fi
10763 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10764   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10765 fi
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10859 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10860 hardcode_action=
10861 if test -n "$hardcode_libdir_flag_spec" ||
10862    test -n "$runpath_var" ||
10863    test "X$hardcode_automatic" = "Xyes" ; then
10864
10865   # We can hardcode non-existent directories.
10866   if test "$hardcode_direct" != no &&
10867      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10868      # have to relink, otherwise we might link with an installed library
10869      # when we should be linking with a yet-to-be-installed one
10870      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10871      test "$hardcode_minus_L" != no; then
10872     # Linking always hardcodes the temporary library directory.
10873     hardcode_action=relink
10874   else
10875     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10876     hardcode_action=immediate
10877   fi
10878 else
10879   # We cannot hardcode anything, or else we can only hardcode existing
10880   # directories.
10881   hardcode_action=unsupported
10882 fi
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10884 $as_echo "$hardcode_action" >&6; }
10885
10886 if test "$hardcode_action" = relink ||
10887    test "$inherit_rpath" = yes; then
10888   # Fast installation is not supported
10889   enable_fast_install=no
10890 elif test "$shlibpath_overrides_runpath" = yes ||
10891      test "$enable_shared" = no; then
10892   # Fast installation is not necessary
10893   enable_fast_install=needless
10894 fi
10895
10896
10897
10898
10899
10900
10901   if test "x$enable_dlopen" != xyes; then
10902   enable_dlopen=unknown
10903   enable_dlopen_self=unknown
10904   enable_dlopen_self_static=unknown
10905 else
10906   lt_cv_dlopen=no
10907   lt_cv_dlopen_libs=
10908
10909   case $host_os in
10910   beos*)
10911     lt_cv_dlopen="load_add_on"
10912     lt_cv_dlopen_libs=
10913     lt_cv_dlopen_self=yes
10914     ;;
10915
10916   mingw* | pw32* | cegcc*)
10917     lt_cv_dlopen="LoadLibrary"
10918     lt_cv_dlopen_libs=
10919     ;;
10920
10921   cygwin*)
10922     lt_cv_dlopen="dlopen"
10923     lt_cv_dlopen_libs=
10924     ;;
10925
10926   darwin*)
10927   # if libdl is installed we need to link against it
10928     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10929 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10930 if ${ac_cv_lib_dl_dlopen+:} false; then :
10931   $as_echo_n "(cached) " >&6
10932 else
10933   ac_check_lib_save_LIBS=$LIBS
10934 LIBS="-ldl  $LIBS"
10935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h.  */
10937
10938 /* Override any GCC internal prototype to avoid an error.
10939    Use char because int might match the return type of a GCC
10940    builtin and then its argument prototype would still apply.  */
10941 #ifdef __cplusplus
10942 extern "C"
10943 #endif
10944 char dlopen ();
10945 int
10946 main ()
10947 {
10948 return dlopen ();
10949   ;
10950   return 0;
10951 }
10952 _ACEOF
10953 if ac_fn_c_try_link "$LINENO"; then :
10954   ac_cv_lib_dl_dlopen=yes
10955 else
10956   ac_cv_lib_dl_dlopen=no
10957 fi
10958 rm -f core conftest.err conftest.$ac_objext \
10959     conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10961 fi
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10963 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10964 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10965   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10966 else
10967
10968     lt_cv_dlopen="dyld"
10969     lt_cv_dlopen_libs=
10970     lt_cv_dlopen_self=yes
10971
10972 fi
10973
10974     ;;
10975
10976   *)
10977     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10978 if test "x$ac_cv_func_shl_load" = xyes; then :
10979   lt_cv_dlopen="shl_load"
10980 else
10981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10982 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10983 if ${ac_cv_lib_dld_shl_load+:} false; then :
10984   $as_echo_n "(cached) " >&6
10985 else
10986   ac_check_lib_save_LIBS=$LIBS
10987 LIBS="-ldld  $LIBS"
10988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10989 /* end confdefs.h.  */
10990
10991 /* Override any GCC internal prototype to avoid an error.
10992    Use char because int might match the return type of a GCC
10993    builtin and then its argument prototype would still apply.  */
10994 #ifdef __cplusplus
10995 extern "C"
10996 #endif
10997 char shl_load ();
10998 int
10999 main ()
11000 {
11001 return shl_load ();
11002   ;
11003   return 0;
11004 }
11005 _ACEOF
11006 if ac_fn_c_try_link "$LINENO"; then :
11007   ac_cv_lib_dld_shl_load=yes
11008 else
11009   ac_cv_lib_dld_shl_load=no
11010 fi
11011 rm -f core conftest.err conftest.$ac_objext \
11012     conftest$ac_exeext conftest.$ac_ext
11013 LIBS=$ac_check_lib_save_LIBS
11014 fi
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11016 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11017 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11018   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11019 else
11020   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11021 if test "x$ac_cv_func_dlopen" = xyes; then :
11022   lt_cv_dlopen="dlopen"
11023 else
11024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11025 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11026 if ${ac_cv_lib_dl_dlopen+:} false; then :
11027   $as_echo_n "(cached) " >&6
11028 else
11029   ac_check_lib_save_LIBS=$LIBS
11030 LIBS="-ldl  $LIBS"
11031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032 /* end confdefs.h.  */
11033
11034 /* Override any GCC internal prototype to avoid an error.
11035    Use char because int might match the return type of a GCC
11036    builtin and then its argument prototype would still apply.  */
11037 #ifdef __cplusplus
11038 extern "C"
11039 #endif
11040 char dlopen ();
11041 int
11042 main ()
11043 {
11044 return dlopen ();
11045   ;
11046   return 0;
11047 }
11048 _ACEOF
11049 if ac_fn_c_try_link "$LINENO"; then :
11050   ac_cv_lib_dl_dlopen=yes
11051 else
11052   ac_cv_lib_dl_dlopen=no
11053 fi
11054 rm -f core conftest.err conftest.$ac_objext \
11055     conftest$ac_exeext conftest.$ac_ext
11056 LIBS=$ac_check_lib_save_LIBS
11057 fi
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11059 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11060 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11061   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11062 else
11063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11064 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11065 if ${ac_cv_lib_svld_dlopen+:} false; then :
11066   $as_echo_n "(cached) " >&6
11067 else
11068   ac_check_lib_save_LIBS=$LIBS
11069 LIBS="-lsvld  $LIBS"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h.  */
11072
11073 /* Override any GCC internal prototype to avoid an error.
11074    Use char because int might match the return type of a GCC
11075    builtin and then its argument prototype would still apply.  */
11076 #ifdef __cplusplus
11077 extern "C"
11078 #endif
11079 char dlopen ();
11080 int
11081 main ()
11082 {
11083 return dlopen ();
11084   ;
11085   return 0;
11086 }
11087 _ACEOF
11088 if ac_fn_c_try_link "$LINENO"; then :
11089   ac_cv_lib_svld_dlopen=yes
11090 else
11091   ac_cv_lib_svld_dlopen=no
11092 fi
11093 rm -f core conftest.err conftest.$ac_objext \
11094     conftest$ac_exeext conftest.$ac_ext
11095 LIBS=$ac_check_lib_save_LIBS
11096 fi
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11098 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11099 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11100   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11101 else
11102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11103 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11104 if ${ac_cv_lib_dld_dld_link+:} false; then :
11105   $as_echo_n "(cached) " >&6
11106 else
11107   ac_check_lib_save_LIBS=$LIBS
11108 LIBS="-ldld  $LIBS"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h.  */
11111
11112 /* Override any GCC internal prototype to avoid an error.
11113    Use char because int might match the return type of a GCC
11114    builtin and then its argument prototype would still apply.  */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char dld_link ();
11119 int
11120 main ()
11121 {
11122 return dld_link ();
11123   ;
11124   return 0;
11125 }
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11128   ac_cv_lib_dld_dld_link=yes
11129 else
11130   ac_cv_lib_dld_dld_link=no
11131 fi
11132 rm -f core conftest.err conftest.$ac_objext \
11133     conftest$ac_exeext conftest.$ac_ext
11134 LIBS=$ac_check_lib_save_LIBS
11135 fi
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11137 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11138 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11139   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11140 fi
11141
11142
11143 fi
11144
11145
11146 fi
11147
11148
11149 fi
11150
11151
11152 fi
11153
11154
11155 fi
11156
11157     ;;
11158   esac
11159
11160   if test "x$lt_cv_dlopen" != xno; then
11161     enable_dlopen=yes
11162   else
11163     enable_dlopen=no
11164   fi
11165
11166   case $lt_cv_dlopen in
11167   dlopen)
11168     save_CPPFLAGS="$CPPFLAGS"
11169     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11170
11171     save_LDFLAGS="$LDFLAGS"
11172     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11173
11174     save_LIBS="$LIBS"
11175     LIBS="$lt_cv_dlopen_libs $LIBS"
11176
11177     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11178 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11179 if ${lt_cv_dlopen_self+:} false; then :
11180   $as_echo_n "(cached) " >&6
11181 else
11182           if test "$cross_compiling" = yes; then :
11183   lt_cv_dlopen_self=cross
11184 else
11185   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11186   lt_status=$lt_dlunknown
11187   cat > conftest.$ac_ext <<_LT_EOF
11188 #line $LINENO "configure"
11189 #include "confdefs.h"
11190
11191 #if HAVE_DLFCN_H
11192 #include <dlfcn.h>
11193 #endif
11194
11195 #include <stdio.h>
11196
11197 #ifdef RTLD_GLOBAL
11198 #  define LT_DLGLOBAL           RTLD_GLOBAL
11199 #else
11200 #  ifdef DL_GLOBAL
11201 #    define LT_DLGLOBAL         DL_GLOBAL
11202 #  else
11203 #    define LT_DLGLOBAL         0
11204 #  endif
11205 #endif
11206
11207 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11208    find out it does not work in some platform. */
11209 #ifndef LT_DLLAZY_OR_NOW
11210 #  ifdef RTLD_LAZY
11211 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11212 #  else
11213 #    ifdef DL_LAZY
11214 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11215 #    else
11216 #      ifdef RTLD_NOW
11217 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11218 #      else
11219 #        ifdef DL_NOW
11220 #          define LT_DLLAZY_OR_NOW      DL_NOW
11221 #        else
11222 #          define LT_DLLAZY_OR_NOW      0
11223 #        endif
11224 #      endif
11225 #    endif
11226 #  endif
11227 #endif
11228
11229 /* When -fvisbility=hidden is used, assume the code has been annotated
11230    correspondingly for the symbols needed.  */
11231 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11232 int fnord () __attribute__((visibility("default")));
11233 #endif
11234
11235 int fnord () { return 42; }
11236 int main ()
11237 {
11238   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11239   int status = $lt_dlunknown;
11240
11241   if (self)
11242     {
11243       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11244       else
11245         {
11246           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11247           else puts (dlerror ());
11248         }
11249       /* dlclose (self); */
11250     }
11251   else
11252     puts (dlerror ());
11253
11254   return status;
11255 }
11256 _LT_EOF
11257   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11258   (eval $ac_link) 2>&5
11259   ac_status=$?
11260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11261   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11262     (./conftest; exit; ) >&5 2>/dev/null
11263     lt_status=$?
11264     case x$lt_status in
11265       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11266       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11267       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11268     esac
11269   else :
11270     # compilation failed
11271     lt_cv_dlopen_self=no
11272   fi
11273 fi
11274 rm -fr conftest*
11275
11276
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11279 $as_echo "$lt_cv_dlopen_self" >&6; }
11280
11281     if test "x$lt_cv_dlopen_self" = xyes; then
11282       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11283       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11284 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11285 if ${lt_cv_dlopen_self_static+:} false; then :
11286   $as_echo_n "(cached) " >&6
11287 else
11288           if test "$cross_compiling" = yes; then :
11289   lt_cv_dlopen_self_static=cross
11290 else
11291   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11292   lt_status=$lt_dlunknown
11293   cat > conftest.$ac_ext <<_LT_EOF
11294 #line $LINENO "configure"
11295 #include "confdefs.h"
11296
11297 #if HAVE_DLFCN_H
11298 #include <dlfcn.h>
11299 #endif
11300
11301 #include <stdio.h>
11302
11303 #ifdef RTLD_GLOBAL
11304 #  define LT_DLGLOBAL           RTLD_GLOBAL
11305 #else
11306 #  ifdef DL_GLOBAL
11307 #    define LT_DLGLOBAL         DL_GLOBAL
11308 #  else
11309 #    define LT_DLGLOBAL         0
11310 #  endif
11311 #endif
11312
11313 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11314    find out it does not work in some platform. */
11315 #ifndef LT_DLLAZY_OR_NOW
11316 #  ifdef RTLD_LAZY
11317 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11318 #  else
11319 #    ifdef DL_LAZY
11320 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11321 #    else
11322 #      ifdef RTLD_NOW
11323 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11324 #      else
11325 #        ifdef DL_NOW
11326 #          define LT_DLLAZY_OR_NOW      DL_NOW
11327 #        else
11328 #          define LT_DLLAZY_OR_NOW      0
11329 #        endif
11330 #      endif
11331 #    endif
11332 #  endif
11333 #endif
11334
11335 /* When -fvisbility=hidden is used, assume the code has been annotated
11336    correspondingly for the symbols needed.  */
11337 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11338 int fnord () __attribute__((visibility("default")));
11339 #endif
11340
11341 int fnord () { return 42; }
11342 int main ()
11343 {
11344   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11345   int status = $lt_dlunknown;
11346
11347   if (self)
11348     {
11349       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11350       else
11351         {
11352           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11353           else puts (dlerror ());
11354         }
11355       /* dlclose (self); */
11356     }
11357   else
11358     puts (dlerror ());
11359
11360   return status;
11361 }
11362 _LT_EOF
11363   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11364   (eval $ac_link) 2>&5
11365   ac_status=$?
11366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11367   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11368     (./conftest; exit; ) >&5 2>/dev/null
11369     lt_status=$?
11370     case x$lt_status in
11371       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11372       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11373       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11374     esac
11375   else :
11376     # compilation failed
11377     lt_cv_dlopen_self_static=no
11378   fi
11379 fi
11380 rm -fr conftest*
11381
11382
11383 fi
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11385 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11386     fi
11387
11388     CPPFLAGS="$save_CPPFLAGS"
11389     LDFLAGS="$save_LDFLAGS"
11390     LIBS="$save_LIBS"
11391     ;;
11392   esac
11393
11394   case $lt_cv_dlopen_self in
11395   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11396   *) enable_dlopen_self=unknown ;;
11397   esac
11398
11399   case $lt_cv_dlopen_self_static in
11400   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11401   *) enable_dlopen_self_static=unknown ;;
11402   esac
11403 fi
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421 striplib=
11422 old_striplib=
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11424 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11425 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11426   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11427   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11429 $as_echo "yes" >&6; }
11430 else
11431 # FIXME - insert some real tests, host_os isn't really good enough
11432   case $host_os in
11433   darwin*)
11434     if test -n "$STRIP" ; then
11435       striplib="$STRIP -x"
11436       old_striplib="$STRIP -S"
11437       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11438 $as_echo "yes" >&6; }
11439     else
11440       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11441 $as_echo "no" >&6; }
11442     fi
11443     ;;
11444   *)
11445     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11446 $as_echo "no" >&6; }
11447     ;;
11448   esac
11449 fi
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462   # Report which library types will actually be built
11463   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11464 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11466 $as_echo "$can_build_shared" >&6; }
11467
11468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11469 $as_echo_n "checking whether to build shared libraries... " >&6; }
11470   test "$can_build_shared" = "no" && enable_shared=no
11471
11472   # On AIX, shared libraries and static libraries use the same namespace, and
11473   # are all built from PIC.
11474   case $host_os in
11475   aix3*)
11476     test "$enable_shared" = yes && enable_static=no
11477     if test -n "$RANLIB"; then
11478       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11479       postinstall_cmds='$RANLIB $lib'
11480     fi
11481     ;;
11482
11483   aix[4-9]*)
11484     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11485       test "$enable_shared" = yes && enable_static=no
11486     fi
11487     ;;
11488   esac
11489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11490 $as_echo "$enable_shared" >&6; }
11491
11492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11493 $as_echo_n "checking whether to build static libraries... " >&6; }
11494   # Make sure either enable_shared or enable_static is yes.
11495   test "$enable_shared" = yes || enable_static=yes
11496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11497 $as_echo "$enable_static" >&6; }
11498
11499
11500
11501
11502 fi
11503 ac_ext=c
11504 ac_cpp='$CPP $CPPFLAGS'
11505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11508
11509 CC="$lt_save_CC"
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525         ac_config_commands="$ac_config_commands libtool"
11526
11527
11528
11529
11530 # Only expand once:
11531
11532
11533 ac_ext=c
11534 ac_cpp='$CPP $CPPFLAGS'
11535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11538 if test -n "$ac_tool_prefix"; then
11539   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11540 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11542 $as_echo_n "checking for $ac_word... " >&6; }
11543 if ${ac_cv_prog_CC+:} false; then :
11544   $as_echo_n "(cached) " >&6
11545 else
11546   if test -n "$CC"; then
11547   ac_cv_prog_CC="$CC" # Let the user override the test.
11548 else
11549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11550 for as_dir in $PATH
11551 do
11552   IFS=$as_save_IFS
11553   test -z "$as_dir" && as_dir=.
11554     for ac_exec_ext in '' $ac_executable_extensions; do
11555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11556     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11558     break 2
11559   fi
11560 done
11561   done
11562 IFS=$as_save_IFS
11563
11564 fi
11565 fi
11566 CC=$ac_cv_prog_CC
11567 if test -n "$CC"; then
11568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11569 $as_echo "$CC" >&6; }
11570 else
11571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11572 $as_echo "no" >&6; }
11573 fi
11574
11575
11576 fi
11577 if test -z "$ac_cv_prog_CC"; then
11578   ac_ct_CC=$CC
11579   # Extract the first word of "gcc", so it can be a program name with args.
11580 set dummy gcc; ac_word=$2
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11582 $as_echo_n "checking for $ac_word... " >&6; }
11583 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11584   $as_echo_n "(cached) " >&6
11585 else
11586   if test -n "$ac_ct_CC"; then
11587   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11588 else
11589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11590 for as_dir in $PATH
11591 do
11592   IFS=$as_save_IFS
11593   test -z "$as_dir" && as_dir=.
11594     for ac_exec_ext in '' $ac_executable_extensions; do
11595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11596     ac_cv_prog_ac_ct_CC="gcc"
11597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11598     break 2
11599   fi
11600 done
11601   done
11602 IFS=$as_save_IFS
11603
11604 fi
11605 fi
11606 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11607 if test -n "$ac_ct_CC"; then
11608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11609 $as_echo "$ac_ct_CC" >&6; }
11610 else
11611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11612 $as_echo "no" >&6; }
11613 fi
11614
11615   if test "x$ac_ct_CC" = x; then
11616     CC=""
11617   else
11618     case $cross_compiling:$ac_tool_warned in
11619 yes:)
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11622 ac_tool_warned=yes ;;
11623 esac
11624     CC=$ac_ct_CC
11625   fi
11626 else
11627   CC="$ac_cv_prog_CC"
11628 fi
11629
11630 if test -z "$CC"; then
11631           if test -n "$ac_tool_prefix"; then
11632     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11633 set dummy ${ac_tool_prefix}cc; ac_word=$2
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11635 $as_echo_n "checking for $ac_word... " >&6; }
11636 if ${ac_cv_prog_CC+:} false; then :
11637   $as_echo_n "(cached) " >&6
11638 else
11639   if test -n "$CC"; then
11640   ac_cv_prog_CC="$CC" # Let the user override the test.
11641 else
11642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643 for as_dir in $PATH
11644 do
11645   IFS=$as_save_IFS
11646   test -z "$as_dir" && as_dir=.
11647     for ac_exec_ext in '' $ac_executable_extensions; do
11648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11649     ac_cv_prog_CC="${ac_tool_prefix}cc"
11650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651     break 2
11652   fi
11653 done
11654   done
11655 IFS=$as_save_IFS
11656
11657 fi
11658 fi
11659 CC=$ac_cv_prog_CC
11660 if test -n "$CC"; then
11661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11662 $as_echo "$CC" >&6; }
11663 else
11664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11665 $as_echo "no" >&6; }
11666 fi
11667
11668
11669   fi
11670 fi
11671 if test -z "$CC"; then
11672   # Extract the first word of "cc", so it can be a program name with args.
11673 set dummy cc; ac_word=$2
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 $as_echo_n "checking for $ac_word... " >&6; }
11676 if ${ac_cv_prog_CC+:} false; then :
11677   $as_echo_n "(cached) " >&6
11678 else
11679   if test -n "$CC"; then
11680   ac_cv_prog_CC="$CC" # Let the user override the test.
11681 else
11682   ac_prog_rejected=no
11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $PATH
11685 do
11686   IFS=$as_save_IFS
11687   test -z "$as_dir" && as_dir=.
11688     for ac_exec_ext in '' $ac_executable_extensions; do
11689   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11690     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11691        ac_prog_rejected=yes
11692        continue
11693      fi
11694     ac_cv_prog_CC="cc"
11695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11696     break 2
11697   fi
11698 done
11699   done
11700 IFS=$as_save_IFS
11701
11702 if test $ac_prog_rejected = yes; then
11703   # We found a bogon in the path, so make sure we never use it.
11704   set dummy $ac_cv_prog_CC
11705   shift
11706   if test $# != 0; then
11707     # We chose a different compiler from the bogus one.
11708     # However, it has the same basename, so the bogon will be chosen
11709     # first if we set CC to just the basename; use the full file name.
11710     shift
11711     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11712   fi
11713 fi
11714 fi
11715 fi
11716 CC=$ac_cv_prog_CC
11717 if test -n "$CC"; then
11718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11719 $as_echo "$CC" >&6; }
11720 else
11721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11722 $as_echo "no" >&6; }
11723 fi
11724
11725
11726 fi
11727 if test -z "$CC"; then
11728   if test -n "$ac_tool_prefix"; then
11729   for ac_prog in cl.exe
11730   do
11731     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11734 $as_echo_n "checking for $ac_word... " >&6; }
11735 if ${ac_cv_prog_CC+:} false; then :
11736   $as_echo_n "(cached) " >&6
11737 else
11738   if test -n "$CC"; then
11739   ac_cv_prog_CC="$CC" # Let the user override the test.
11740 else
11741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11742 for as_dir in $PATH
11743 do
11744   IFS=$as_save_IFS
11745   test -z "$as_dir" && as_dir=.
11746     for ac_exec_ext in '' $ac_executable_extensions; do
11747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11748     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11750     break 2
11751   fi
11752 done
11753   done
11754 IFS=$as_save_IFS
11755
11756 fi
11757 fi
11758 CC=$ac_cv_prog_CC
11759 if test -n "$CC"; then
11760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11761 $as_echo "$CC" >&6; }
11762 else
11763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11764 $as_echo "no" >&6; }
11765 fi
11766
11767
11768     test -n "$CC" && break
11769   done
11770 fi
11771 if test -z "$CC"; then
11772   ac_ct_CC=$CC
11773   for ac_prog in cl.exe
11774 do
11775   # Extract the first word of "$ac_prog", so it can be a program name with args.
11776 set dummy $ac_prog; ac_word=$2
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11778 $as_echo_n "checking for $ac_word... " >&6; }
11779 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11780   $as_echo_n "(cached) " >&6
11781 else
11782   if test -n "$ac_ct_CC"; then
11783   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11784 else
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11787 do
11788   IFS=$as_save_IFS
11789   test -z "$as_dir" && as_dir=.
11790     for ac_exec_ext in '' $ac_executable_extensions; do
11791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792     ac_cv_prog_ac_ct_CC="$ac_prog"
11793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11794     break 2
11795   fi
11796 done
11797   done
11798 IFS=$as_save_IFS
11799
11800 fi
11801 fi
11802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11803 if test -n "$ac_ct_CC"; then
11804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11805 $as_echo "$ac_ct_CC" >&6; }
11806 else
11807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808 $as_echo "no" >&6; }
11809 fi
11810
11811
11812   test -n "$ac_ct_CC" && break
11813 done
11814
11815   if test "x$ac_ct_CC" = x; then
11816     CC=""
11817   else
11818     case $cross_compiling:$ac_tool_warned in
11819 yes:)
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11822 ac_tool_warned=yes ;;
11823 esac
11824     CC=$ac_ct_CC
11825   fi
11826 fi
11827
11828 fi
11829
11830
11831 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11833 as_fn_error $? "no acceptable C compiler found in \$PATH
11834 See \`config.log' for more details" "$LINENO" 5; }
11835
11836 # Provide some information about the compiler.
11837 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11838 set X $ac_compile
11839 ac_compiler=$2
11840 for ac_option in --version -v -V -qversion; do
11841   { { ac_try="$ac_compiler $ac_option >&5"
11842 case "(($ac_try" in
11843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11844   *) ac_try_echo=$ac_try;;
11845 esac
11846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11847 $as_echo "$ac_try_echo"; } >&5
11848   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11849   ac_status=$?
11850   if test -s conftest.err; then
11851     sed '10a\
11852 ... rest of stderr output deleted ...
11853          10q' conftest.err >conftest.er1
11854     cat conftest.er1 >&5
11855   fi
11856   rm -f conftest.er1 conftest.err
11857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11858   test $ac_status = 0; }
11859 done
11860
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11862 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11863 if ${ac_cv_c_compiler_gnu+:} false; then :
11864   $as_echo_n "(cached) " >&6
11865 else
11866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h.  */
11868
11869 int
11870 main ()
11871 {
11872 #ifndef __GNUC__
11873        choke me
11874 #endif
11875
11876   ;
11877   return 0;
11878 }
11879 _ACEOF
11880 if ac_fn_c_try_compile "$LINENO"; then :
11881   ac_compiler_gnu=yes
11882 else
11883   ac_compiler_gnu=no
11884 fi
11885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11887
11888 fi
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11890 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11891 if test $ac_compiler_gnu = yes; then
11892   GCC=yes
11893 else
11894   GCC=
11895 fi
11896 ac_test_CFLAGS=${CFLAGS+set}
11897 ac_save_CFLAGS=$CFLAGS
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11899 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11900 if ${ac_cv_prog_cc_g+:} false; then :
11901   $as_echo_n "(cached) " >&6
11902 else
11903   ac_save_c_werror_flag=$ac_c_werror_flag
11904    ac_c_werror_flag=yes
11905    ac_cv_prog_cc_g=no
11906    CFLAGS="-g"
11907    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h.  */
11909
11910 int
11911 main ()
11912 {
11913
11914   ;
11915   return 0;
11916 }
11917 _ACEOF
11918 if ac_fn_c_try_compile "$LINENO"; then :
11919   ac_cv_prog_cc_g=yes
11920 else
11921   CFLAGS=""
11922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11923 /* end confdefs.h.  */
11924
11925 int
11926 main ()
11927 {
11928
11929   ;
11930   return 0;
11931 }
11932 _ACEOF
11933 if ac_fn_c_try_compile "$LINENO"; then :
11934
11935 else
11936   ac_c_werror_flag=$ac_save_c_werror_flag
11937          CFLAGS="-g"
11938          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h.  */
11940
11941 int
11942 main ()
11943 {
11944
11945   ;
11946   return 0;
11947 }
11948 _ACEOF
11949 if ac_fn_c_try_compile "$LINENO"; then :
11950   ac_cv_prog_cc_g=yes
11951 fi
11952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11953 fi
11954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11955 fi
11956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11957    ac_c_werror_flag=$ac_save_c_werror_flag
11958 fi
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11960 $as_echo "$ac_cv_prog_cc_g" >&6; }
11961 if test "$ac_test_CFLAGS" = set; then
11962   CFLAGS=$ac_save_CFLAGS
11963 elif test $ac_cv_prog_cc_g = yes; then
11964   if test "$GCC" = yes; then
11965     CFLAGS="-g -O2"
11966   else
11967     CFLAGS="-g"
11968   fi
11969 else
11970   if test "$GCC" = yes; then
11971     CFLAGS="-O2"
11972   else
11973     CFLAGS=
11974   fi
11975 fi
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11977 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11978 if ${ac_cv_prog_cc_c89+:} false; then :
11979   $as_echo_n "(cached) " >&6
11980 else
11981   ac_cv_prog_cc_c89=no
11982 ac_save_CC=$CC
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h.  */
11985 #include <stdarg.h>
11986 #include <stdio.h>
11987 struct stat;
11988 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11989 struct buf { int x; };
11990 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11991 static char *e (p, i)
11992      char **p;
11993      int i;
11994 {
11995   return p[i];
11996 }
11997 static char *f (char * (*g) (char **, int), char **p, ...)
11998 {
11999   char *s;
12000   va_list v;
12001   va_start (v,p);
12002   s = g (p, va_arg (v,int));
12003   va_end (v);
12004   return s;
12005 }
12006
12007 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12008    function prototypes and stuff, but not '\xHH' hex character constants.
12009    These don't provoke an error unfortunately, instead are silently treated
12010    as 'x'.  The following induces an error, until -std is added to get
12011    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12012    array size at least.  It's necessary to write '\x00'==0 to get something
12013    that's true only with -std.  */
12014 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12015
12016 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12017    inside strings and character constants.  */
12018 #define FOO(x) 'x'
12019 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12020
12021 int test (int i, double x);
12022 struct s1 {int (*f) (int a);};
12023 struct s2 {int (*f) (double a);};
12024 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12025 int argc;
12026 char **argv;
12027 int
12028 main ()
12029 {
12030 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12031   ;
12032   return 0;
12033 }
12034 _ACEOF
12035 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12036         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12037 do
12038   CC="$ac_save_CC $ac_arg"
12039   if ac_fn_c_try_compile "$LINENO"; then :
12040   ac_cv_prog_cc_c89=$ac_arg
12041 fi
12042 rm -f core conftest.err conftest.$ac_objext
12043   test "x$ac_cv_prog_cc_c89" != "xno" && break
12044 done
12045 rm -f conftest.$ac_ext
12046 CC=$ac_save_CC
12047
12048 fi
12049 # AC_CACHE_VAL
12050 case "x$ac_cv_prog_cc_c89" in
12051   x)
12052     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12053 $as_echo "none needed" >&6; } ;;
12054   xno)
12055     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12056 $as_echo "unsupported" >&6; } ;;
12057   *)
12058     CC="$CC $ac_cv_prog_cc_c89"
12059     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12060 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12061 esac
12062 if test "x$ac_cv_prog_cc_c89" != xno; then :
12063
12064 fi
12065
12066 ac_ext=c
12067 ac_cpp='$CPP $CPPFLAGS'
12068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12071
12072 ac_ext=c
12073 ac_cpp='$CPP $CPPFLAGS'
12074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12078 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12079 if ${am_cv_prog_cc_c_o+:} false; then :
12080   $as_echo_n "(cached) " >&6
12081 else
12082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083 /* end confdefs.h.  */
12084
12085 int
12086 main ()
12087 {
12088
12089   ;
12090   return 0;
12091 }
12092 _ACEOF
12093   # Make sure it works both with $CC and with simple cc.
12094   # Following AC_PROG_CC_C_O, we do the test twice because some
12095   # compilers refuse to overwrite an existing .o file with -o,
12096   # though they will create one.
12097   am_cv_prog_cc_c_o=yes
12098   for am_i in 1 2; do
12099     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12100    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12101    ac_status=$?
12102    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12103    (exit $ac_status); } \
12104          && test -f conftest2.$ac_objext; then
12105       : OK
12106     else
12107       am_cv_prog_cc_c_o=no
12108       break
12109     fi
12110   done
12111   rm -f core conftest*
12112   unset am_i
12113 fi
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12115 $as_echo "$am_cv_prog_cc_c_o" >&6; }
12116 if test "$am_cv_prog_cc_c_o" != yes; then
12117    # Losing compiler, so override with the script.
12118    # FIXME: It is wrong to rewrite CC.
12119    # But if we don't then we get into trouble of one sort or another.
12120    # A longer-term fix would be to have automake use am__CC in this case,
12121    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12122    CC="$am_aux_dir/compile $CC"
12123 fi
12124 ac_ext=c
12125 ac_cpp='$CPP $CPPFLAGS'
12126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12129
12130
12131 depcc="$CC"   am_compiler_list=
12132
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12134 $as_echo_n "checking dependency style of $depcc... " >&6; }
12135 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12136   $as_echo_n "(cached) " >&6
12137 else
12138   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12139   # We make a subdir and do the tests there.  Otherwise we can end up
12140   # making bogus files that we don't know about and never remove.  For
12141   # instance it was reported that on HP-UX the gcc test will end up
12142   # making a dummy file named 'D' -- because '-MD' means "put the output
12143   # in D".
12144   rm -rf conftest.dir
12145   mkdir conftest.dir
12146   # Copy depcomp to subdir because otherwise we won't find it if we're
12147   # using a relative directory.
12148   cp "$am_depcomp" conftest.dir
12149   cd conftest.dir
12150   # We will build objects and dependencies in a subdirectory because
12151   # it helps to detect inapplicable dependency modes.  For instance
12152   # both Tru64's cc and ICC support -MD to output dependencies as a
12153   # side effect of compilation, but ICC will put the dependencies in
12154   # the current directory while Tru64 will put them in the object
12155   # directory.
12156   mkdir sub
12157
12158   am_cv_CC_dependencies_compiler_type=none
12159   if test "$am_compiler_list" = ""; then
12160      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12161   fi
12162   am__universal=false
12163   case " $depcc " in #(
12164      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12165      esac
12166
12167   for depmode in $am_compiler_list; do
12168     # Setup a source with many dependencies, because some compilers
12169     # like to wrap large dependency lists on column 80 (with \), and
12170     # we should not choose a depcomp mode which is confused by this.
12171     #
12172     # We need to recreate these files for each test, as the compiler may
12173     # overwrite some of them when testing with obscure command lines.
12174     # This happens at least with the AIX C compiler.
12175     : > sub/conftest.c
12176     for i in 1 2 3 4 5 6; do
12177       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12178       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12179       # Solaris 10 /bin/sh.
12180       echo '/* dummy */' > sub/conftst$i.h
12181     done
12182     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12183
12184     # We check with '-c' and '-o' for the sake of the "dashmstdout"
12185     # mode.  It turns out that the SunPro C++ compiler does not properly
12186     # handle '-M -o', and we need to detect this.  Also, some Intel
12187     # versions had trouble with output in subdirs.
12188     am__obj=sub/conftest.${OBJEXT-o}
12189     am__minus_obj="-o $am__obj"
12190     case $depmode in
12191     gcc)
12192       # This depmode causes a compiler race in universal mode.
12193       test "$am__universal" = false || continue
12194       ;;
12195     nosideeffect)
12196       # After this tag, mechanisms are not by side-effect, so they'll
12197       # only be used when explicitly requested.
12198       if test "x$enable_dependency_tracking" = xyes; then
12199         continue
12200       else
12201         break
12202       fi
12203       ;;
12204     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12205       # This compiler won't grok '-c -o', but also, the minuso test has
12206       # not run yet.  These depmodes are late enough in the game, and
12207       # so weak that their functioning should not be impacted.
12208       am__obj=conftest.${OBJEXT-o}
12209       am__minus_obj=
12210       ;;
12211     none) break ;;
12212     esac
12213     if depmode=$depmode \
12214        source=sub/conftest.c object=$am__obj \
12215        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12216        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12217          >/dev/null 2>conftest.err &&
12218        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12219        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12220        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12221        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12222       # icc doesn't choke on unknown options, it will just issue warnings
12223       # or remarks (even with -Werror).  So we grep stderr for any message
12224       # that says an option was ignored or not supported.
12225       # When given -MP, icc 7.0 and 7.1 complain thusly:
12226       #   icc: Command line warning: ignoring option '-M'; no argument required
12227       # The diagnosis changed in icc 8.0:
12228       #   icc: Command line remark: option '-MP' not supported
12229       if (grep 'ignoring option' conftest.err ||
12230           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12231         am_cv_CC_dependencies_compiler_type=$depmode
12232         break
12233       fi
12234     fi
12235   done
12236
12237   cd ..
12238   rm -rf conftest.dir
12239 else
12240   am_cv_CC_dependencies_compiler_type=none
12241 fi
12242
12243 fi
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12245 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12246 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12247
12248  if
12249   test "x$enable_dependency_tracking" != xno \
12250   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12251   am__fastdepCC_TRUE=
12252   am__fastdepCC_FALSE='#'
12253 else
12254   am__fastdepCC_TRUE='#'
12255   am__fastdepCC_FALSE=
12256 fi
12257
12258
12259
12260
12261
12262 case $target_os in
12263      *linux*)   arch=linux;;
12264      *netbsd*)  arch=netbsd;;
12265      *bsd*)     arch=bsd;;
12266      *)         arch=unknown;;
12267 esac
12268
12269 if test "$ac_env_CFLAGS_set" != set; then
12270         CFLAGS="-Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing"
12271 fi
12272
12273 # Check whether --enable-lib was given.
12274 if test "${enable_lib+set}" = set; then :
12275   enableval=$enable_lib;
12276 fi
12277
12278 # Check whether --enable-util was given.
12279 if test "${enable_util+set}" = set; then :
12280   enableval=$enable_util;
12281 fi
12282
12283 # Check whether --enable-example was given.
12284 if test "${enable_example+set}" = set; then :
12285   enableval=$enable_example;
12286 fi
12287
12288 # Check whether --enable-mtab was given.
12289 if test "${enable_mtab+set}" = set; then :
12290   enableval=$enable_mtab;
12291 fi
12292
12293
12294
12295 # Check whether --with-pkgconfigdir was given.
12296 if test "${with_pkgconfigdir+set}" = set; then :
12297   withval=$with_pkgconfigdir; pkgconfigdir=$withval
12298 else
12299   pkgconfigdir='${libdir}/pkgconfig'
12300 fi
12301
12302
12303
12304 subdirs2="include"
12305
12306 if test "$enable_lib" != "no"; then
12307         subdirs2="$subdirs2 lib";
12308 fi
12309 if test "$arch" = linux -a "$enable_util" != "no"; then
12310         subdirs2="$subdirs2 util";
12311 fi
12312 if test "$enable_example" != "no"; then
12313         subdirs2="$subdirs2 example";
12314 fi
12315 if test "$enable_mtab" = "no"; then
12316
12317 $as_echo "#define IGNORE_MTAB 1" >>confdefs.h
12318
12319 fi
12320
12321 for ac_func in fork setxattr fdatasync splice vmsplice utimensat
12322 do :
12323   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12324 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12325 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12326   cat >>confdefs.h <<_ACEOF
12327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12328 _ACEOF
12329
12330 fi
12331 done
12332
12333 for ac_func in posix_fallocate
12334 do :
12335   ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
12336 if test "x$ac_cv_func_posix_fallocate" = xyes; then :
12337   cat >>confdefs.h <<_ACEOF
12338 #define HAVE_POSIX_FALLOCATE 1
12339 _ACEOF
12340
12341 fi
12342 done
12343
12344 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
12345 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
12346
12347 cat >>confdefs.h <<_ACEOF
12348 #define HAVE_STRUCT_STAT_ST_ATIM 1
12349 _ACEOF
12350
12351
12352 fi
12353
12354 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
12355 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
12356
12357 cat >>confdefs.h <<_ACEOF
12358 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
12359 _ACEOF
12360
12361
12362 fi
12363
12364
12365 LIBS=
12366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
12367 $as_echo_n "checking for library containing dlopen... " >&6; }
12368 if ${ac_cv_search_dlopen+:} false; then :
12369   $as_echo_n "(cached) " >&6
12370 else
12371   ac_func_search_save_LIBS=$LIBS
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h.  */
12374
12375 /* Override any GCC internal prototype to avoid an error.
12376    Use char because int might match the return type of a GCC
12377    builtin and then its argument prototype would still apply.  */
12378 #ifdef __cplusplus
12379 extern "C"
12380 #endif
12381 char dlopen ();
12382 int
12383 main ()
12384 {
12385 return dlopen ();
12386   ;
12387   return 0;
12388 }
12389 _ACEOF
12390 for ac_lib in '' dl; do
12391   if test -z "$ac_lib"; then
12392     ac_res="none required"
12393   else
12394     ac_res=-l$ac_lib
12395     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12396   fi
12397   if ac_fn_c_try_link "$LINENO"; then :
12398   ac_cv_search_dlopen=$ac_res
12399 fi
12400 rm -f core conftest.err conftest.$ac_objext \
12401     conftest$ac_exeext
12402   if ${ac_cv_search_dlopen+:} false; then :
12403   break
12404 fi
12405 done
12406 if ${ac_cv_search_dlopen+:} false; then :
12407
12408 else
12409   ac_cv_search_dlopen=no
12410 fi
12411 rm conftest.$ac_ext
12412 LIBS=$ac_func_search_save_LIBS
12413 fi
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
12415 $as_echo "$ac_cv_search_dlopen" >&6; }
12416 ac_res=$ac_cv_search_dlopen
12417 if test "$ac_res" != no; then :
12418   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12419
12420 fi
12421
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
12423 $as_echo_n "checking for library containing clock_gettime... " >&6; }
12424 if ${ac_cv_search_clock_gettime+:} false; then :
12425   $as_echo_n "(cached) " >&6
12426 else
12427   ac_func_search_save_LIBS=$LIBS
12428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12429 /* end confdefs.h.  */
12430
12431 /* Override any GCC internal prototype to avoid an error.
12432    Use char because int might match the return type of a GCC
12433    builtin and then its argument prototype would still apply.  */
12434 #ifdef __cplusplus
12435 extern "C"
12436 #endif
12437 char clock_gettime ();
12438 int
12439 main ()
12440 {
12441 return clock_gettime ();
12442   ;
12443   return 0;
12444 }
12445 _ACEOF
12446 for ac_lib in '' rt; do
12447   if test -z "$ac_lib"; then
12448     ac_res="none required"
12449   else
12450     ac_res=-l$ac_lib
12451     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12452   fi
12453   if ac_fn_c_try_link "$LINENO"; then :
12454   ac_cv_search_clock_gettime=$ac_res
12455 fi
12456 rm -f core conftest.err conftest.$ac_objext \
12457     conftest$ac_exeext
12458   if ${ac_cv_search_clock_gettime+:} false; then :
12459   break
12460 fi
12461 done
12462 if ${ac_cv_search_clock_gettime+:} false; then :
12463
12464 else
12465   ac_cv_search_clock_gettime=no
12466 fi
12467 rm conftest.$ac_ext
12468 LIBS=$ac_func_search_save_LIBS
12469 fi
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
12471 $as_echo "$ac_cv_search_clock_gettime" >&6; }
12472 ac_res=$ac_cv_search_clock_gettime
12473 if test "$ac_res" != no; then :
12474   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12475
12476 fi
12477
12478 libfuse_libs=$LIBS
12479 LIBS=
12480
12481 # Check whether --with-libiconv-prefix was given.
12482 if test "${with_libiconv_prefix+set}" = set; then :
12483   withval=$with_libiconv_prefix;
12484     for dir in `echo "$withval" | tr : ' '`; do
12485       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
12486       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
12487     done
12488
12489 fi
12490
12491
12492       if test "X$prefix" = "XNONE"; then
12493     acl_final_prefix="$ac_default_prefix"
12494   else
12495     acl_final_prefix="$prefix"
12496   fi
12497   if test "X$exec_prefix" = "XNONE"; then
12498     acl_final_exec_prefix='${prefix}'
12499   else
12500     acl_final_exec_prefix="$exec_prefix"
12501   fi
12502   acl_save_prefix="$prefix"
12503   prefix="$acl_final_prefix"
12504   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12505   prefix="$acl_save_prefix"
12506
12507
12508
12509 # Check whether --with-gnu-ld was given.
12510 if test "${with_gnu_ld+set}" = set; then :
12511   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12512 else
12513   with_gnu_ld=no
12514 fi
12515
12516 # Prepare PATH_SEPARATOR.
12517 # The user is always right.
12518 if test "${PATH_SEPARATOR+set}" != set; then
12519   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
12520   # contains only /bin. Note that ksh looks also at the FPATH variable,
12521   # so we have to set that as well for the test.
12522   PATH_SEPARATOR=:
12523   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
12524     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
12525            || PATH_SEPARATOR=';'
12526        }
12527 fi
12528
12529 ac_prog=ld
12530 if test "$GCC" = yes; then
12531   # Check if gcc -print-prog-name=ld gives a path.
12532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12533 $as_echo_n "checking for ld used by $CC... " >&6; }
12534   case $host in
12535   *-*-mingw*)
12536     # gcc leaves a trailing carriage return which upsets mingw
12537     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12538   *)
12539     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12540   esac
12541   case $ac_prog in
12542     # Accept absolute paths.
12543     [\\/]* | ?:[\\/]*)
12544       re_direlt='/[^/][^/]*/\.\./'
12545       # Canonicalize the pathname of ld
12546       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
12547       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
12548         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12549       done
12550       test -z "$LD" && LD="$ac_prog"
12551       ;;
12552   "")
12553     # If it fails, then pretend we aren't using GCC.
12554     ac_prog=ld
12555     ;;
12556   *)
12557     # If it is relative, then search for the first ld in PATH.
12558     with_gnu_ld=unknown
12559     ;;
12560   esac
12561 elif test "$with_gnu_ld" = yes; then
12562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12563 $as_echo_n "checking for GNU ld... " >&6; }
12564 else
12565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12566 $as_echo_n "checking for non-GNU ld... " >&6; }
12567 fi
12568 if ${acl_cv_path_LD+:} false; then :
12569   $as_echo_n "(cached) " >&6
12570 else
12571   if test -z "$LD"; then
12572   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12573   for ac_dir in $PATH; do
12574     IFS="$acl_save_ifs"
12575     test -z "$ac_dir" && ac_dir=.
12576     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12577       acl_cv_path_LD="$ac_dir/$ac_prog"
12578       # Check to see if the program is GNU ld.  I'd rather use --version,
12579       # but apparently some variants of GNU ld only accept -v.
12580       # Break only if it was the GNU/non-GNU ld that we prefer.
12581       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
12582       *GNU* | *'with BFD'*)
12583         test "$with_gnu_ld" != no && break
12584         ;;
12585       *)
12586         test "$with_gnu_ld" != yes && break
12587         ;;
12588       esac
12589     fi
12590   done
12591   IFS="$acl_save_ifs"
12592 else
12593   acl_cv_path_LD="$LD" # Let the user override the test with a path.
12594 fi
12595 fi
12596
12597 LD="$acl_cv_path_LD"
12598 if test -n "$LD"; then
12599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12600 $as_echo "$LD" >&6; }
12601 else
12602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12603 $as_echo "no" >&6; }
12604 fi
12605 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12607 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12608 if ${acl_cv_prog_gnu_ld+:} false; then :
12609   $as_echo_n "(cached) " >&6
12610 else
12611   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12612 case `$LD -v 2>&1 </dev/null` in
12613 *GNU* | *'with BFD'*)
12614   acl_cv_prog_gnu_ld=yes
12615   ;;
12616 *)
12617   acl_cv_prog_gnu_ld=no
12618   ;;
12619 esac
12620 fi
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12622 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12623 with_gnu_ld=$acl_cv_prog_gnu_ld
12624
12625
12626
12627
12628                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12629 $as_echo_n "checking for shared library run path origin... " >&6; }
12630 if ${acl_cv_rpath+:} false; then :
12631   $as_echo_n "(cached) " >&6
12632 else
12633
12634     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12635     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12636     . ./conftest.sh
12637     rm -f ./conftest.sh
12638     acl_cv_rpath=done
12639
12640 fi
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12642 $as_echo "$acl_cv_rpath" >&6; }
12643   wl="$acl_cv_wl"
12644   acl_libext="$acl_cv_libext"
12645   acl_shlibext="$acl_cv_shlibext"
12646   acl_libname_spec="$acl_cv_libname_spec"
12647   acl_library_names_spec="$acl_cv_library_names_spec"
12648   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12649   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12650   acl_hardcode_direct="$acl_cv_hardcode_direct"
12651   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12652     # Check whether --enable-rpath was given.
12653 if test "${enable_rpath+set}" = set; then :
12654   enableval=$enable_rpath; :
12655 else
12656   enable_rpath=yes
12657 fi
12658
12659
12660
12661
12662   acl_libdirstem=lib
12663   acl_libdirstem2=
12664   case "$host_os" in
12665     solaris*)
12666                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
12667 $as_echo_n "checking for 64-bit host... " >&6; }
12668 if ${gl_cv_solaris_64bit+:} false; then :
12669   $as_echo_n "(cached) " >&6
12670 else
12671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12672 /* end confdefs.h.  */
12673
12674 #ifdef _LP64
12675 sixtyfour bits
12676 #endif
12677
12678 _ACEOF
12679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12680   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
12681   gl_cv_solaris_64bit=yes
12682 else
12683   gl_cv_solaris_64bit=no
12684 fi
12685 rm -f conftest*
12686
12687
12688 fi
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
12690 $as_echo "$gl_cv_solaris_64bit" >&6; }
12691       if test $gl_cv_solaris_64bit = yes; then
12692         acl_libdirstem=lib/64
12693         case "$host_cpu" in
12694           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
12695           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
12696         esac
12697       fi
12698       ;;
12699     *)
12700       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12701       if test -n "$searchpath"; then
12702         acl_save_IFS="${IFS=    }"; IFS=":"
12703         for searchdir in $searchpath; do
12704           if test -d "$searchdir"; then
12705             case "$searchdir" in
12706               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12707               */../ | */.. )
12708                 # Better ignore directories of this form. They are misleading.
12709                 ;;
12710               *) searchdir=`cd "$searchdir" && pwd`
12711                  case "$searchdir" in
12712                    */lib64 ) acl_libdirstem=lib64 ;;
12713                  esac ;;
12714             esac
12715           fi
12716         done
12717         IFS="$acl_save_IFS"
12718       fi
12719       ;;
12720   esac
12721   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734     use_additional=yes
12735
12736   acl_save_prefix="$prefix"
12737   prefix="$acl_final_prefix"
12738   acl_save_exec_prefix="$exec_prefix"
12739   exec_prefix="$acl_final_exec_prefix"
12740
12741     eval additional_includedir=\"$includedir\"
12742     eval additional_libdir=\"$libdir\"
12743
12744   exec_prefix="$acl_save_exec_prefix"
12745   prefix="$acl_save_prefix"
12746
12747
12748 # Check whether --with-libiconv-prefix was given.
12749 if test "${with_libiconv_prefix+set}" = set; then :
12750   withval=$with_libiconv_prefix;
12751     if test "X$withval" = "Xno"; then
12752       use_additional=no
12753     else
12754       if test "X$withval" = "X"; then
12755
12756   acl_save_prefix="$prefix"
12757   prefix="$acl_final_prefix"
12758   acl_save_exec_prefix="$exec_prefix"
12759   exec_prefix="$acl_final_exec_prefix"
12760
12761           eval additional_includedir=\"$includedir\"
12762           eval additional_libdir=\"$libdir\"
12763
12764   exec_prefix="$acl_save_exec_prefix"
12765   prefix="$acl_save_prefix"
12766
12767       else
12768         additional_includedir="$withval/include"
12769         additional_libdir="$withval/$acl_libdirstem"
12770         if test "$acl_libdirstem2" != "$acl_libdirstem" \
12771            && ! test -d "$withval/$acl_libdirstem"; then
12772           additional_libdir="$withval/$acl_libdirstem2"
12773         fi
12774       fi
12775     fi
12776
12777 fi
12778
12779       LIBICONV=
12780   LTLIBICONV=
12781   INCICONV=
12782   LIBICONV_PREFIX=
12783       HAVE_LIBICONV=
12784   rpathdirs=
12785   ltrpathdirs=
12786   names_already_handled=
12787   names_next_round='iconv '
12788   while test -n "$names_next_round"; do
12789     names_this_round="$names_next_round"
12790     names_next_round=
12791     for name in $names_this_round; do
12792       already_handled=
12793       for n in $names_already_handled; do
12794         if test "$n" = "$name"; then
12795           already_handled=yes
12796           break
12797         fi
12798       done
12799       if test -z "$already_handled"; then
12800         names_already_handled="$names_already_handled $name"
12801                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
12802         eval value=\"\$HAVE_LIB$uppername\"
12803         if test -n "$value"; then
12804           if test "$value" = yes; then
12805             eval value=\"\$LIB$uppername\"
12806             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12807             eval value=\"\$LTLIB$uppername\"
12808             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12809           else
12810                                     :
12811           fi
12812         else
12813                               found_dir=
12814           found_la=
12815           found_so=
12816           found_a=
12817           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
12818           if test -n "$acl_shlibext"; then
12819             shrext=".$acl_shlibext"             # typically: shrext=.so
12820           else
12821             shrext=
12822           fi
12823           if test $use_additional = yes; then
12824             dir="$additional_libdir"
12825                                     if test -n "$acl_shlibext"; then
12826               if test -f "$dir/$libname$shrext"; then
12827                 found_dir="$dir"
12828                 found_so="$dir/$libname$shrext"
12829               else
12830                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12831                   ver=`(cd "$dir" && \
12832                         for f in "$libname$shrext".*; do echo "$f"; done \
12833                         | sed -e "s,^$libname$shrext\\\\.,," \
12834                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12835                         | sed 1q ) 2>/dev/null`
12836                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12837                     found_dir="$dir"
12838                     found_so="$dir/$libname$shrext.$ver"
12839                   fi
12840                 else
12841                   eval library_names=\"$acl_library_names_spec\"
12842                   for f in $library_names; do
12843                     if test -f "$dir/$f"; then
12844                       found_dir="$dir"
12845                       found_so="$dir/$f"
12846                       break
12847                     fi
12848                   done
12849                 fi
12850               fi
12851             fi
12852                         if test "X$found_dir" = "X"; then
12853               if test -f "$dir/$libname.$acl_libext"; then
12854                 found_dir="$dir"
12855                 found_a="$dir/$libname.$acl_libext"
12856               fi
12857             fi
12858             if test "X$found_dir" != "X"; then
12859               if test -f "$dir/$libname.la"; then
12860                 found_la="$dir/$libname.la"
12861               fi
12862             fi
12863           fi
12864           if test "X$found_dir" = "X"; then
12865             for x in $LDFLAGS $LTLIBICONV; do
12866
12867   acl_save_prefix="$prefix"
12868   prefix="$acl_final_prefix"
12869   acl_save_exec_prefix="$exec_prefix"
12870   exec_prefix="$acl_final_exec_prefix"
12871   eval x=\"$x\"
12872   exec_prefix="$acl_save_exec_prefix"
12873   prefix="$acl_save_prefix"
12874
12875               case "$x" in
12876                 -L*)
12877                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12878                                     if test -n "$acl_shlibext"; then
12879                     if test -f "$dir/$libname$shrext"; then
12880                       found_dir="$dir"
12881                       found_so="$dir/$libname$shrext"
12882                     else
12883                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12884                         ver=`(cd "$dir" && \
12885                               for f in "$libname$shrext".*; do echo "$f"; done \
12886                               | sed -e "s,^$libname$shrext\\\\.,," \
12887                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12888                               | sed 1q ) 2>/dev/null`
12889                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12890                           found_dir="$dir"
12891                           found_so="$dir/$libname$shrext.$ver"
12892                         fi
12893                       else
12894                         eval library_names=\"$acl_library_names_spec\"
12895                         for f in $library_names; do
12896                           if test -f "$dir/$f"; then
12897                             found_dir="$dir"
12898                             found_so="$dir/$f"
12899                             break
12900                           fi
12901                         done
12902                       fi
12903                     fi
12904                   fi
12905                                     if test "X$found_dir" = "X"; then
12906                     if test -f "$dir/$libname.$acl_libext"; then
12907                       found_dir="$dir"
12908                       found_a="$dir/$libname.$acl_libext"
12909                     fi
12910                   fi
12911                   if test "X$found_dir" != "X"; then
12912                     if test -f "$dir/$libname.la"; then
12913                       found_la="$dir/$libname.la"
12914                     fi
12915                   fi
12916                   ;;
12917               esac
12918               if test "X$found_dir" != "X"; then
12919                 break
12920               fi
12921             done
12922           fi
12923           if test "X$found_dir" != "X"; then
12924                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12925             if test "X$found_so" != "X"; then
12926                                                         if test "$enable_rpath" = no \
12927                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
12928                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
12929                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12930               else
12931                                                                                 haveit=
12932                 for x in $ltrpathdirs; do
12933                   if test "X$x" = "X$found_dir"; then
12934                     haveit=yes
12935                     break
12936                   fi
12937                 done
12938                 if test -z "$haveit"; then
12939                   ltrpathdirs="$ltrpathdirs $found_dir"
12940                 fi
12941                                 if test "$acl_hardcode_direct" = yes; then
12942                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12943                 else
12944                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12945                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12946                                                             haveit=
12947                     for x in $rpathdirs; do
12948                       if test "X$x" = "X$found_dir"; then
12949                         haveit=yes
12950                         break
12951                       fi
12952                     done
12953                     if test -z "$haveit"; then
12954                       rpathdirs="$rpathdirs $found_dir"
12955                     fi
12956                   else
12957                                                                                 haveit=
12958                     for x in $LDFLAGS $LIBICONV; do
12959
12960   acl_save_prefix="$prefix"
12961   prefix="$acl_final_prefix"
12962   acl_save_exec_prefix="$exec_prefix"
12963   exec_prefix="$acl_final_exec_prefix"
12964   eval x=\"$x\"
12965   exec_prefix="$acl_save_exec_prefix"
12966   prefix="$acl_save_prefix"
12967
12968                       if test "X$x" = "X-L$found_dir"; then
12969                         haveit=yes
12970                         break
12971                       fi
12972                     done
12973                     if test -z "$haveit"; then
12974                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12975                     fi
12976                     if test "$acl_hardcode_minus_L" != no; then
12977                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12978                     else
12979                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12980                     fi
12981                   fi
12982                 fi
12983               fi
12984             else
12985               if test "X$found_a" != "X"; then
12986                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12987               else
12988                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12989               fi
12990             fi
12991                         additional_includedir=
12992             case "$found_dir" in
12993               */$acl_libdirstem | */$acl_libdirstem/)
12994                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12995                 if test "$name" = 'iconv'; then
12996                   LIBICONV_PREFIX="$basedir"
12997                 fi
12998                 additional_includedir="$basedir/include"
12999                 ;;
13000               */$acl_libdirstem2 | */$acl_libdirstem2/)
13001                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
13002                 if test "$name" = 'iconv'; then
13003                   LIBICONV_PREFIX="$basedir"
13004                 fi
13005                 additional_includedir="$basedir/include"
13006                 ;;
13007             esac
13008             if test "X$additional_includedir" != "X"; then
13009                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
13010                 haveit=
13011                 if test "X$additional_includedir" = "X/usr/local/include"; then
13012                   if test -n "$GCC"; then
13013                     case $host_os in
13014                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13015                     esac
13016                   fi
13017                 fi
13018                 if test -z "$haveit"; then
13019                   for x in $CPPFLAGS $INCICONV; do
13020
13021   acl_save_prefix="$prefix"
13022   prefix="$acl_final_prefix"
13023   acl_save_exec_prefix="$exec_prefix"
13024   exec_prefix="$acl_final_exec_prefix"
13025   eval x=\"$x\"
13026   exec_prefix="$acl_save_exec_prefix"
13027   prefix="$acl_save_prefix"
13028
13029                     if test "X$x" = "X-I$additional_includedir"; then
13030                       haveit=yes
13031                       break
13032                     fi
13033                   done
13034                   if test -z "$haveit"; then
13035                     if test -d "$additional_includedir"; then
13036                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13037                     fi
13038                   fi
13039                 fi
13040               fi
13041             fi
13042                         if test -n "$found_la"; then
13043                                                         save_libdir="$libdir"
13044               case "$found_la" in
13045                 */* | *\\*) . "$found_la" ;;
13046                 *) . "./$found_la" ;;
13047               esac
13048               libdir="$save_libdir"
13049                             for dep in $dependency_libs; do
13050                 case "$dep" in
13051                   -L*)
13052                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13053                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
13054                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
13055                       haveit=
13056                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
13057                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
13058                         if test -n "$GCC"; then
13059                           case $host_os in
13060                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13061                           esac
13062                         fi
13063                       fi
13064                       if test -z "$haveit"; then
13065                         haveit=
13066                         for x in $LDFLAGS $LIBICONV; do
13067
13068   acl_save_prefix="$prefix"
13069   prefix="$acl_final_prefix"
13070   acl_save_exec_prefix="$exec_prefix"
13071   exec_prefix="$acl_final_exec_prefix"
13072   eval x=\"$x\"
13073   exec_prefix="$acl_save_exec_prefix"
13074   prefix="$acl_save_prefix"
13075
13076                           if test "X$x" = "X-L$additional_libdir"; then
13077                             haveit=yes
13078                             break
13079                           fi
13080                         done
13081                         if test -z "$haveit"; then
13082                           if test -d "$additional_libdir"; then
13083                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13084                           fi
13085                         fi
13086                         haveit=
13087                         for x in $LDFLAGS $LTLIBICONV; do
13088
13089   acl_save_prefix="$prefix"
13090   prefix="$acl_final_prefix"
13091   acl_save_exec_prefix="$exec_prefix"
13092   exec_prefix="$acl_final_exec_prefix"
13093   eval x=\"$x\"
13094   exec_prefix="$acl_save_exec_prefix"
13095   prefix="$acl_save_prefix"
13096
13097                           if test "X$x" = "X-L$additional_libdir"; then
13098                             haveit=yes
13099                             break
13100                           fi
13101                         done
13102                         if test -z "$haveit"; then
13103                           if test -d "$additional_libdir"; then
13104                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13105                           fi
13106                         fi
13107                       fi
13108                     fi
13109                     ;;
13110                   -R*)
13111                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
13112                     if test "$enable_rpath" != no; then
13113                                                                   haveit=
13114                       for x in $rpathdirs; do
13115                         if test "X$x" = "X$dir"; then
13116                           haveit=yes
13117                           break
13118                         fi
13119                       done
13120                       if test -z "$haveit"; then
13121                         rpathdirs="$rpathdirs $dir"
13122                       fi
13123                                                                   haveit=
13124                       for x in $ltrpathdirs; do
13125                         if test "X$x" = "X$dir"; then
13126                           haveit=yes
13127                           break
13128                         fi
13129                       done
13130                       if test -z "$haveit"; then
13131                         ltrpathdirs="$ltrpathdirs $dir"
13132                       fi
13133                     fi
13134                     ;;
13135                   -l*)
13136                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13137                     ;;
13138                   *.la)
13139                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13140                     ;;
13141                   *)
13142                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13143                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13144                     ;;
13145                 esac
13146               done
13147             fi
13148           else
13149                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13150             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13151           fi
13152         fi
13153       fi
13154     done
13155   done
13156   if test "X$rpathdirs" != "X"; then
13157     if test -n "$acl_hardcode_libdir_separator"; then
13158                         alldirs=
13159       for found_dir in $rpathdirs; do
13160         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13161       done
13162             acl_save_libdir="$libdir"
13163       libdir="$alldirs"
13164       eval flag=\"$acl_hardcode_libdir_flag_spec\"
13165       libdir="$acl_save_libdir"
13166       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13167     else
13168             for found_dir in $rpathdirs; do
13169         acl_save_libdir="$libdir"
13170         libdir="$found_dir"
13171         eval flag=\"$acl_hardcode_libdir_flag_spec\"
13172         libdir="$acl_save_libdir"
13173         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13174       done
13175     fi
13176   fi
13177   if test "X$ltrpathdirs" != "X"; then
13178             for found_dir in $ltrpathdirs; do
13179       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13180     done
13181   fi
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194           am_save_CPPFLAGS="$CPPFLAGS"
13195
13196   for element in $INCICONV; do
13197     haveit=
13198     for x in $CPPFLAGS; do
13199
13200   acl_save_prefix="$prefix"
13201   prefix="$acl_final_prefix"
13202   acl_save_exec_prefix="$exec_prefix"
13203   exec_prefix="$acl_final_exec_prefix"
13204   eval x=\"$x\"
13205   exec_prefix="$acl_save_exec_prefix"
13206   prefix="$acl_save_prefix"
13207
13208       if test "X$x" = "X$element"; then
13209         haveit=yes
13210         break
13211       fi
13212     done
13213     if test -z "$haveit"; then
13214       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13215     fi
13216   done
13217
13218
13219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13220 $as_echo_n "checking for iconv... " >&6; }
13221 if ${am_cv_func_iconv+:} false; then :
13222   $as_echo_n "(cached) " >&6
13223 else
13224
13225     am_cv_func_iconv="no, consider installing GNU libiconv"
13226     am_cv_lib_iconv=no
13227     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13228 /* end confdefs.h.  */
13229
13230 #include <stdlib.h>
13231 #include <iconv.h>
13232
13233 int
13234 main ()
13235 {
13236 iconv_t cd = iconv_open("","");
13237            iconv(cd,NULL,NULL,NULL,NULL);
13238            iconv_close(cd);
13239   ;
13240   return 0;
13241 }
13242 _ACEOF
13243 if ac_fn_c_try_link "$LINENO"; then :
13244   am_cv_func_iconv=yes
13245 fi
13246 rm -f core conftest.err conftest.$ac_objext \
13247     conftest$ac_exeext conftest.$ac_ext
13248     if test "$am_cv_func_iconv" != yes; then
13249       am_save_LIBS="$LIBS"
13250       LIBS="$LIBS $LIBICONV"
13251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h.  */
13253
13254 #include <stdlib.h>
13255 #include <iconv.h>
13256
13257 int
13258 main ()
13259 {
13260 iconv_t cd = iconv_open("","");
13261              iconv(cd,NULL,NULL,NULL,NULL);
13262              iconv_close(cd);
13263   ;
13264   return 0;
13265 }
13266 _ACEOF
13267 if ac_fn_c_try_link "$LINENO"; then :
13268   am_cv_lib_iconv=yes
13269         am_cv_func_iconv=yes
13270 fi
13271 rm -f core conftest.err conftest.$ac_objext \
13272     conftest$ac_exeext conftest.$ac_ext
13273       LIBS="$am_save_LIBS"
13274     fi
13275
13276 fi
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13278 $as_echo "$am_cv_func_iconv" >&6; }
13279   if test "$am_cv_func_iconv" = yes; then
13280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13281 $as_echo_n "checking for working iconv... " >&6; }
13282 if ${am_cv_func_iconv_works+:} false; then :
13283   $as_echo_n "(cached) " >&6
13284 else
13285
13286                   am_save_LIBS="$LIBS"
13287       if test $am_cv_lib_iconv = yes; then
13288         LIBS="$LIBS $LIBICONV"
13289       fi
13290       if test "$cross_compiling" = yes; then :
13291
13292          case "$host_os" in
13293            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13294            *)            am_cv_func_iconv_works="guessing yes" ;;
13295          esac
13296
13297 else
13298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h.  */
13300
13301 #include <iconv.h>
13302 #include <string.h>
13303 int main ()
13304 {
13305   int result = 0;
13306   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13307      returns.  */
13308   {
13309     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13310     if (cd_utf8_to_88591 != (iconv_t)(-1))
13311       {
13312         static const char input[] = "\342\202\254"; /* EURO SIGN */
13313         char buf[10];
13314         const char *inptr = input;
13315         size_t inbytesleft = strlen (input);
13316         char *outptr = buf;
13317         size_t outbytesleft = sizeof (buf);
13318         size_t res = iconv (cd_utf8_to_88591,
13319                             (char **) &inptr, &inbytesleft,
13320                             &outptr, &outbytesleft);
13321         if (res == 0)
13322           result |= 1;
13323         iconv_close (cd_utf8_to_88591);
13324       }
13325   }
13326   /* Test against Solaris 10 bug: Failures are not distinguishable from
13327      successful returns.  */
13328   {
13329     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
13330     if (cd_ascii_to_88591 != (iconv_t)(-1))
13331       {
13332         static const char input[] = "\263";
13333         char buf[10];
13334         const char *inptr = input;
13335         size_t inbytesleft = strlen (input);
13336         char *outptr = buf;
13337         size_t outbytesleft = sizeof (buf);
13338         size_t res = iconv (cd_ascii_to_88591,
13339                             (char **) &inptr, &inbytesleft,
13340                             &outptr, &outbytesleft);
13341         if (res == 0)
13342           result |= 2;
13343         iconv_close (cd_ascii_to_88591);
13344       }
13345   }
13346   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
13347   {
13348     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
13349     if (cd_88591_to_utf8 != (iconv_t)(-1))
13350       {
13351         static const char input[] = "\304";
13352         static char buf[2] = { (char)0xDE, (char)0xAD };
13353         const char *inptr = input;
13354         size_t inbytesleft = 1;
13355         char *outptr = buf;
13356         size_t outbytesleft = 1;
13357         size_t res = iconv (cd_88591_to_utf8,
13358                             (char **) &inptr, &inbytesleft,
13359                             &outptr, &outbytesleft);
13360         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
13361           result |= 4;
13362         iconv_close (cd_88591_to_utf8);
13363       }
13364   }
13365 #if 0 /* This bug could be worked around by the caller.  */
13366   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
13367   {
13368     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13369     if (cd_88591_to_utf8 != (iconv_t)(-1))
13370       {
13371         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13372         char buf[50];
13373         const char *inptr = input;
13374         size_t inbytesleft = strlen (input);
13375         char *outptr = buf;
13376         size_t outbytesleft = sizeof (buf);
13377         size_t res = iconv (cd_88591_to_utf8,
13378                             (char **) &inptr, &inbytesleft,
13379                             &outptr, &outbytesleft);
13380         if ((int)res > 0)
13381           result |= 8;
13382         iconv_close (cd_88591_to_utf8);
13383       }
13384   }
13385 #endif
13386   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13387      provided.  */
13388   if (/* Try standardized names.  */
13389       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13390       /* Try IRIX, OSF/1 names.  */
13391       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13392       /* Try AIX names.  */
13393       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13394       /* Try HP-UX names.  */
13395       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13396     result |= 16;
13397   return result;
13398 }
13399 _ACEOF
13400 if ac_fn_c_try_run "$LINENO"; then :
13401   am_cv_func_iconv_works=yes
13402 else
13403   am_cv_func_iconv_works=no
13404 fi
13405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13406   conftest.$ac_objext conftest.beam conftest.$ac_ext
13407 fi
13408
13409       LIBS="$am_save_LIBS"
13410
13411 fi
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13413 $as_echo "$am_cv_func_iconv_works" >&6; }
13414     case "$am_cv_func_iconv_works" in
13415       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13416       *)   am_func_iconv=yes ;;
13417     esac
13418   else
13419     am_func_iconv=no am_cv_lib_iconv=no
13420   fi
13421   if test "$am_func_iconv" = yes; then
13422
13423 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13424
13425   fi
13426   if test "$am_cv_lib_iconv" = yes; then
13427     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13428 $as_echo_n "checking how to link with libiconv... " >&6; }
13429     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13430 $as_echo "$LIBICONV" >&6; }
13431   else
13432             CPPFLAGS="$am_save_CPPFLAGS"
13433     LIBICONV=
13434     LTLIBICONV=
13435   fi
13436
13437
13438
13439   if test "$am_cv_func_iconv" = yes; then
13440     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13441 $as_echo_n "checking for iconv declaration... " >&6; }
13442     if ${am_cv_proto_iconv+:} false; then :
13443   $as_echo_n "(cached) " >&6
13444 else
13445
13446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13447 /* end confdefs.h.  */
13448
13449 #include <stdlib.h>
13450 #include <iconv.h>
13451 extern
13452 #ifdef __cplusplus
13453 "C"
13454 #endif
13455 #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
13456 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
13457 #else
13458 size_t iconv();
13459 #endif
13460
13461 int
13462 main ()
13463 {
13464
13465   ;
13466   return 0;
13467 }
13468 _ACEOF
13469 if ac_fn_c_try_compile "$LINENO"; then :
13470   am_cv_proto_iconv_arg1=""
13471 else
13472   am_cv_proto_iconv_arg1="const"
13473 fi
13474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13475       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);"
13476 fi
13477
13478     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13479     { $as_echo "$as_me:${as_lineno-$LINENO}: result:
13480          $am_cv_proto_iconv" >&5
13481 $as_echo "
13482          $am_cv_proto_iconv" >&6; }
13483
13484 cat >>confdefs.h <<_ACEOF
13485 #define ICONV_CONST $am_cv_proto_iconv_arg1
13486 _ACEOF
13487
13488
13489   fi
13490
13491 libfuse_libs=$libfuse_libs $LTLIBICONV
13492  if test "$am_cv_func_iconv" = yes; then
13493   ICONV_TRUE=
13494   ICONV_FALSE='#'
13495 else
13496   ICONV_TRUE='#'
13497   ICONV_FALSE=
13498 fi
13499
13500
13501
13502 if test -z "$MOUNT_FUSE_PATH"; then
13503         MOUNT_FUSE_PATH=/sbin
13504         { $as_echo "$as_me:${as_lineno-$LINENO}: MOUNT_FUSE_PATH env var not set, using default $MOUNT_FUSE_PATH" >&5
13505 $as_echo "$as_me: MOUNT_FUSE_PATH env var not set, using default $MOUNT_FUSE_PATH" >&6;}
13506 fi
13507
13508 if test -z "$UDEV_RULES_PATH"; then
13509         UDEV_RULES_PATH=/etc/udev/rules.d
13510         { $as_echo "$as_me:${as_lineno-$LINENO}: UDEV_RULES_PATH env var not set, using default $UDEV_RULES_PATH" >&5
13511 $as_echo "$as_me: UDEV_RULES_PATH env var not set, using default $UDEV_RULES_PATH" >&6;}
13512 fi
13513
13514 if test -z "$INIT_D_PATH"; then
13515         INIT_D_PATH=/etc/init.d
13516         { $as_echo "$as_me:${as_lineno-$LINENO}: INIT_D_PATH env var not set, using default $INIT_D_PATH" >&5
13517 $as_echo "$as_me: INIT_D_PATH env var not set, using default $INIT_D_PATH" >&6;}
13518 fi
13519
13520
13521
13522
13523  if test "$arch" = linux; then
13524   LINUX_TRUE=
13525   LINUX_FALSE='#'
13526 else
13527   LINUX_TRUE='#'
13528   LINUX_FALSE=
13529 fi
13530
13531  if test "$arch" = netbsd; then
13532   NETBSD_TRUE=
13533   NETBSD_FALSE='#'
13534 else
13535   NETBSD_TRUE='#'
13536   NETBSD_FALSE=
13537 fi
13538
13539  if test "$arch" = bsd; then
13540   BSD_TRUE=
13541   BSD_FALSE='#'
13542 else
13543   BSD_TRUE='#'
13544   BSD_FALSE=
13545 fi
13546
13547
13548 util_linux_ok=yes
13549 if test "$arch" = linux -a "$cross_compiling" != "yes"; then
13550         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if umount supports --fake --no-canonicalize" >&5
13551 $as_echo_n "checking if umount supports --fake --no-canonicalize... " >&6; }
13552         # exit code of umount is 1 if option is unrecognised, 2 otherwise
13553         umount --fake --no-canonicalize > /dev/null 2>&1
13554         if test $? != 1; then
13555                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13556 $as_echo "yes" >&6; }
13557         else
13558                 firstline=`umount --fake --no-canonicalize 2>&1 | head -1`
13559                 if test "$firstline" = 'umount: only root can use "--fake" option'; then
13560                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13561 $as_echo "yes" >&6; }
13562                 else
13563                         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $firstline" >&5
13564 $as_echo "$firstline" >&6; }
13565                         util_linux_ok=no
13566                 fi
13567         fi
13568 fi
13569
13570 ac_config_files="$ac_config_files fuse.pc Makefile lib/Makefile util/Makefile example/Makefile include/Makefile doc/Makefile"
13571
13572 cat >confcache <<\_ACEOF
13573 # This file is a shell script that caches the results of configure
13574 # tests run on this system so they can be shared between configure
13575 # scripts and configure runs, see configure's option --config-cache.
13576 # It is not useful on other systems.  If it contains results you don't
13577 # want to keep, you may remove or edit it.
13578 #
13579 # config.status only pays attention to the cache file if you give it
13580 # the --recheck option to rerun configure.
13581 #
13582 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13583 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13584 # following values.
13585
13586 _ACEOF
13587
13588 # The following way of writing the cache mishandles newlines in values,
13589 # but we know of no workaround that is simple, portable, and efficient.
13590 # So, we kill variables containing newlines.
13591 # Ultrix sh set writes to stderr and can't be redirected directly,
13592 # and sets the high bit in the cache file unless we assign to the vars.
13593 (
13594   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13595     eval ac_val=\$$ac_var
13596     case $ac_val in #(
13597     *${as_nl}*)
13598       case $ac_var in #(
13599       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13600 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13601       esac
13602       case $ac_var in #(
13603       _ | IFS | as_nl) ;; #(
13604       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13605       *) { eval $ac_var=; unset $ac_var;} ;;
13606       esac ;;
13607     esac
13608   done
13609
13610   (set) 2>&1 |
13611     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13612     *${as_nl}ac_space=\ *)
13613       # `set' does not quote correctly, so add quotes: double-quote
13614       # substitution turns \\\\ into \\, and sed turns \\ into \.
13615       sed -n \
13616         "s/'/'\\\\''/g;
13617           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13618       ;; #(
13619     *)
13620       # `set' quotes correctly as required by POSIX, so do not add quotes.
13621       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13622       ;;
13623     esac |
13624     sort
13625 ) |
13626   sed '
13627      /^ac_cv_env_/b end
13628      t clear
13629      :clear
13630      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13631      t end
13632      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13633      :end' >>confcache
13634 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13635   if test -w "$cache_file"; then
13636     if test "x$cache_file" != "x/dev/null"; then
13637       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13638 $as_echo "$as_me: updating cache $cache_file" >&6;}
13639       if test ! -f "$cache_file" || test -h "$cache_file"; then
13640         cat confcache >"$cache_file"
13641       else
13642         case $cache_file in #(
13643         */* | ?:*)
13644           mv -f confcache "$cache_file"$$ &&
13645           mv -f "$cache_file"$$ "$cache_file" ;; #(
13646         *)
13647           mv -f confcache "$cache_file" ;;
13648         esac
13649       fi
13650     fi
13651   else
13652     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13653 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13654   fi
13655 fi
13656 rm -f confcache
13657
13658 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13659 # Let make expand exec_prefix.
13660 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13661
13662 DEFS=-DHAVE_CONFIG_H
13663
13664 ac_libobjs=
13665 ac_ltlibobjs=
13666 U=
13667 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13668   # 1. Remove the extension, and $U if already installed.
13669   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13670   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13671   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13672   #    will be set to the directory where LIBOBJS objects are built.
13673   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13674   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13675 done
13676 LIBOBJS=$ac_libobjs
13677
13678 LTLIBOBJS=$ac_ltlibobjs
13679
13680
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13682 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13683    if test -n "$am_sleep_pid"; then
13684      # Hide warnings about reused PIDs.
13685      wait $am_sleep_pid 2>/dev/null
13686    fi
13687    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13688 $as_echo "done" >&6; }
13689  if test -n "$EXEEXT"; then
13690   am__EXEEXT_TRUE=
13691   am__EXEEXT_FALSE='#'
13692 else
13693   am__EXEEXT_TRUE='#'
13694   am__EXEEXT_FALSE=
13695 fi
13696
13697 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13698   as_fn_error $? "conditional \"AMDEP\" was never defined.
13699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13700 fi
13701 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13702   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13704 fi
13705 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13706   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13708 fi
13709 if test -z "${ICONV_TRUE}" && test -z "${ICONV_FALSE}"; then
13710   as_fn_error $? "conditional \"ICONV\" was never defined.
13711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13712 fi
13713 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
13714   as_fn_error $? "conditional \"LINUX\" was never defined.
13715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13716 fi
13717 if test -z "${NETBSD_TRUE}" && test -z "${NETBSD_FALSE}"; then
13718   as_fn_error $? "conditional \"NETBSD\" was never defined.
13719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13720 fi
13721 if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
13722   as_fn_error $? "conditional \"BSD\" was never defined.
13723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13724 fi
13725
13726 : "${CONFIG_STATUS=./config.status}"
13727 ac_write_fail=0
13728 ac_clean_files_save=$ac_clean_files
13729 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13731 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13732 as_write_fail=0
13733 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13734 #! $SHELL
13735 # Generated by $as_me.
13736 # Run this file to recreate the current configuration.
13737 # Compiler output produced by configure, useful for debugging
13738 # configure, is in config.log if it exists.
13739
13740 debug=false
13741 ac_cs_recheck=false
13742 ac_cs_silent=false
13743
13744 SHELL=\${CONFIG_SHELL-$SHELL}
13745 export SHELL
13746 _ASEOF
13747 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13748 ## -------------------- ##
13749 ## M4sh Initialization. ##
13750 ## -------------------- ##
13751
13752 # Be more Bourne compatible
13753 DUALCASE=1; export DUALCASE # for MKS sh
13754 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13755   emulate sh
13756   NULLCMD=:
13757   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13758   # is contrary to our usage.  Disable this feature.
13759   alias -g '${1+"$@"}'='"$@"'
13760   setopt NO_GLOB_SUBST
13761 else
13762   case `(set -o) 2>/dev/null` in #(
13763   *posix*) :
13764     set -o posix ;; #(
13765   *) :
13766      ;;
13767 esac
13768 fi
13769
13770
13771 as_nl='
13772 '
13773 export as_nl
13774 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13775 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13776 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13777 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13778 # Prefer a ksh shell builtin over an external printf program on Solaris,
13779 # but without wasting forks for bash or zsh.
13780 if test -z "$BASH_VERSION$ZSH_VERSION" \
13781     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13782   as_echo='print -r --'
13783   as_echo_n='print -rn --'
13784 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13785   as_echo='printf %s\n'
13786   as_echo_n='printf %s'
13787 else
13788   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13789     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13790     as_echo_n='/usr/ucb/echo -n'
13791   else
13792     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13793     as_echo_n_body='eval
13794       arg=$1;
13795       case $arg in #(
13796       *"$as_nl"*)
13797         expr "X$arg" : "X\\(.*\\)$as_nl";
13798         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13799       esac;
13800       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13801     '
13802     export as_echo_n_body
13803     as_echo_n='sh -c $as_echo_n_body as_echo'
13804   fi
13805   export as_echo_body
13806   as_echo='sh -c $as_echo_body as_echo'
13807 fi
13808
13809 # The user is always right.
13810 if test "${PATH_SEPARATOR+set}" != set; then
13811   PATH_SEPARATOR=:
13812   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13813     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13814       PATH_SEPARATOR=';'
13815   }
13816 fi
13817
13818
13819 # IFS
13820 # We need space, tab and new line, in precisely that order.  Quoting is
13821 # there to prevent editors from complaining about space-tab.
13822 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13823 # splitting by setting IFS to empty value.)
13824 IFS=" ""        $as_nl"
13825
13826 # Find who we are.  Look in the path if we contain no directory separator.
13827 as_myself=
13828 case $0 in #((
13829   *[\\/]* ) as_myself=$0 ;;
13830   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13831 for as_dir in $PATH
13832 do
13833   IFS=$as_save_IFS
13834   test -z "$as_dir" && as_dir=.
13835     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13836   done
13837 IFS=$as_save_IFS
13838
13839      ;;
13840 esac
13841 # We did not find ourselves, most probably we were run as `sh COMMAND'
13842 # in which case we are not to be found in the path.
13843 if test "x$as_myself" = x; then
13844   as_myself=$0
13845 fi
13846 if test ! -f "$as_myself"; then
13847   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13848   exit 1
13849 fi
13850
13851 # Unset variables that we do not need and which cause bugs (e.g. in
13852 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13853 # suppresses any "Segmentation fault" message there.  '((' could
13854 # trigger a bug in pdksh 5.2.14.
13855 for as_var in BASH_ENV ENV MAIL MAILPATH
13856 do eval test x\${$as_var+set} = xset \
13857   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13858 done
13859 PS1='$ '
13860 PS2='> '
13861 PS4='+ '
13862
13863 # NLS nuisances.
13864 LC_ALL=C
13865 export LC_ALL
13866 LANGUAGE=C
13867 export LANGUAGE
13868
13869 # CDPATH.
13870 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13871
13872
13873 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13874 # ----------------------------------------
13875 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13876 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13877 # script with STATUS, using 1 if that was 0.
13878 as_fn_error ()
13879 {
13880   as_status=$1; test $as_status -eq 0 && as_status=1
13881   if test "$4"; then
13882     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13883     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13884   fi
13885   $as_echo "$as_me: error: $2" >&2
13886   as_fn_exit $as_status
13887 } # as_fn_error
13888
13889
13890 # as_fn_set_status STATUS
13891 # -----------------------
13892 # Set $? to STATUS, without forking.
13893 as_fn_set_status ()
13894 {
13895   return $1
13896 } # as_fn_set_status
13897
13898 # as_fn_exit STATUS
13899 # -----------------
13900 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13901 as_fn_exit ()
13902 {
13903   set +e
13904   as_fn_set_status $1
13905   exit $1
13906 } # as_fn_exit
13907
13908 # as_fn_unset VAR
13909 # ---------------
13910 # Portably unset VAR.
13911 as_fn_unset ()
13912 {
13913   { eval $1=; unset $1;}
13914 }
13915 as_unset=as_fn_unset
13916 # as_fn_append VAR VALUE
13917 # ----------------------
13918 # Append the text in VALUE to the end of the definition contained in VAR. Take
13919 # advantage of any shell optimizations that allow amortized linear growth over
13920 # repeated appends, instead of the typical quadratic growth present in naive
13921 # implementations.
13922 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13923   eval 'as_fn_append ()
13924   {
13925     eval $1+=\$2
13926   }'
13927 else
13928   as_fn_append ()
13929   {
13930     eval $1=\$$1\$2
13931   }
13932 fi # as_fn_append
13933
13934 # as_fn_arith ARG...
13935 # ------------------
13936 # Perform arithmetic evaluation on the ARGs, and store the result in the
13937 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13938 # must be portable across $(()) and expr.
13939 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13940   eval 'as_fn_arith ()
13941   {
13942     as_val=$(( $* ))
13943   }'
13944 else
13945   as_fn_arith ()
13946   {
13947     as_val=`expr "$@" || test $? -eq 1`
13948   }
13949 fi # as_fn_arith
13950
13951
13952 if expr a : '\(a\)' >/dev/null 2>&1 &&
13953    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13954   as_expr=expr
13955 else
13956   as_expr=false
13957 fi
13958
13959 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13960   as_basename=basename
13961 else
13962   as_basename=false
13963 fi
13964
13965 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13966   as_dirname=dirname
13967 else
13968   as_dirname=false
13969 fi
13970
13971 as_me=`$as_basename -- "$0" ||
13972 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13973          X"$0" : 'X\(//\)$' \| \
13974          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13975 $as_echo X/"$0" |
13976     sed '/^.*\/\([^/][^/]*\)\/*$/{
13977             s//\1/
13978             q
13979           }
13980           /^X\/\(\/\/\)$/{
13981             s//\1/
13982             q
13983           }
13984           /^X\/\(\/\).*/{
13985             s//\1/
13986             q
13987           }
13988           s/.*/./; q'`
13989
13990 # Avoid depending upon Character Ranges.
13991 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13992 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13993 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13994 as_cr_digits='0123456789'
13995 as_cr_alnum=$as_cr_Letters$as_cr_digits
13996
13997 ECHO_C= ECHO_N= ECHO_T=
13998 case `echo -n x` in #(((((
13999 -n*)
14000   case `echo 'xy\c'` in
14001   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14002   xy)  ECHO_C='\c';;
14003   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14004        ECHO_T=' ';;
14005   esac;;
14006 *)
14007   ECHO_N='-n';;
14008 esac
14009
14010 rm -f conf$$ conf$$.exe conf$$.file
14011 if test -d conf$$.dir; then
14012   rm -f conf$$.dir/conf$$.file
14013 else
14014   rm -f conf$$.dir
14015   mkdir conf$$.dir 2>/dev/null
14016 fi
14017 if (echo >conf$$.file) 2>/dev/null; then
14018   if ln -s conf$$.file conf$$ 2>/dev/null; then
14019     as_ln_s='ln -s'
14020     # ... but there are two gotchas:
14021     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14022     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14023     # In both cases, we have to default to `cp -pR'.
14024     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14025       as_ln_s='cp -pR'
14026   elif ln conf$$.file conf$$ 2>/dev/null; then
14027     as_ln_s=ln
14028   else
14029     as_ln_s='cp -pR'
14030   fi
14031 else
14032   as_ln_s='cp -pR'
14033 fi
14034 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14035 rmdir conf$$.dir 2>/dev/null
14036
14037
14038 # as_fn_mkdir_p
14039 # -------------
14040 # Create "$as_dir" as a directory, including parents if necessary.
14041 as_fn_mkdir_p ()
14042 {
14043
14044   case $as_dir in #(
14045   -*) as_dir=./$as_dir;;
14046   esac
14047   test -d "$as_dir" || eval $as_mkdir_p || {
14048     as_dirs=
14049     while :; do
14050       case $as_dir in #(
14051       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14052       *) as_qdir=$as_dir;;
14053       esac
14054       as_dirs="'$as_qdir' $as_dirs"
14055       as_dir=`$as_dirname -- "$as_dir" ||
14056 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14057          X"$as_dir" : 'X\(//\)[^/]' \| \
14058          X"$as_dir" : 'X\(//\)$' \| \
14059          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14060 $as_echo X"$as_dir" |
14061     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14062             s//\1/
14063             q
14064           }
14065           /^X\(\/\/\)[^/].*/{
14066             s//\1/
14067             q
14068           }
14069           /^X\(\/\/\)$/{
14070             s//\1/
14071             q
14072           }
14073           /^X\(\/\).*/{
14074             s//\1/
14075             q
14076           }
14077           s/.*/./; q'`
14078       test -d "$as_dir" && break
14079     done
14080     test -z "$as_dirs" || eval "mkdir $as_dirs"
14081   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14082
14083
14084 } # as_fn_mkdir_p
14085 if mkdir -p . 2>/dev/null; then
14086   as_mkdir_p='mkdir -p "$as_dir"'
14087 else
14088   test -d ./-p && rmdir ./-p
14089   as_mkdir_p=false
14090 fi
14091
14092
14093 # as_fn_executable_p FILE
14094 # -----------------------
14095 # Test if FILE is an executable regular file.
14096 as_fn_executable_p ()
14097 {
14098   test -f "$1" && test -x "$1"
14099 } # as_fn_executable_p
14100 as_test_x='test -x'
14101 as_executable_p=as_fn_executable_p
14102
14103 # Sed expression to map a string onto a valid CPP name.
14104 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14105
14106 # Sed expression to map a string onto a valid variable name.
14107 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14108
14109
14110 exec 6>&1
14111 ## ----------------------------------- ##
14112 ## Main body of $CONFIG_STATUS script. ##
14113 ## ----------------------------------- ##
14114 _ASEOF
14115 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14116
14117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14118 # Save the log message, to keep $0 and so on meaningful, and to
14119 # report actual input values of CONFIG_FILES etc. instead of their
14120 # values after options handling.
14121 ac_log="
14122 This file was extended by fuse $as_me 2.9.6, which was
14123 generated by GNU Autoconf 2.69.  Invocation command line was
14124
14125   CONFIG_FILES    = $CONFIG_FILES
14126   CONFIG_HEADERS  = $CONFIG_HEADERS
14127   CONFIG_LINKS    = $CONFIG_LINKS
14128   CONFIG_COMMANDS = $CONFIG_COMMANDS
14129   $ $0 $@
14130
14131 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14132 "
14133
14134 _ACEOF
14135
14136 case $ac_config_files in *"
14137 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14138 esac
14139
14140 case $ac_config_headers in *"
14141 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14142 esac
14143
14144
14145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14146 # Files that config.status was made for.
14147 config_files="$ac_config_files"
14148 config_headers="$ac_config_headers"
14149 config_commands="$ac_config_commands"
14150
14151 _ACEOF
14152
14153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14154 ac_cs_usage="\
14155 \`$as_me' instantiates files and other configuration actions
14156 from templates according to the current configuration.  Unless the files
14157 and actions are specified as TAGs, all are instantiated by default.
14158
14159 Usage: $0 [OPTION]... [TAG]...
14160
14161   -h, --help       print this help, then exit
14162   -V, --version    print version number and configuration settings, then exit
14163       --config     print configuration, then exit
14164   -q, --quiet, --silent
14165                    do not print progress messages
14166   -d, --debug      don't remove temporary files
14167       --recheck    update $as_me by reconfiguring in the same conditions
14168       --file=FILE[:TEMPLATE]
14169                    instantiate the configuration file FILE
14170       --header=FILE[:TEMPLATE]
14171                    instantiate the configuration header FILE
14172
14173 Configuration files:
14174 $config_files
14175
14176 Configuration headers:
14177 $config_headers
14178
14179 Configuration commands:
14180 $config_commands
14181
14182 Report bugs to the package provider."
14183
14184 _ACEOF
14185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14186 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14187 ac_cs_version="\\
14188 fuse config.status 2.9.6
14189 configured by $0, generated by GNU Autoconf 2.69,
14190   with options \\"\$ac_cs_config\\"
14191
14192 Copyright (C) 2012 Free Software Foundation, Inc.
14193 This config.status script is free software; the Free Software Foundation
14194 gives unlimited permission to copy, distribute and modify it."
14195
14196 ac_pwd='$ac_pwd'
14197 srcdir='$srcdir'
14198 INSTALL='$INSTALL'
14199 MKDIR_P='$MKDIR_P'
14200 AWK='$AWK'
14201 test -n "\$AWK" || AWK=awk
14202 _ACEOF
14203
14204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14205 # The default lists apply if the user does not specify any file.
14206 ac_need_defaults=:
14207 while test $# != 0
14208 do
14209   case $1 in
14210   --*=?*)
14211     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14212     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14213     ac_shift=:
14214     ;;
14215   --*=)
14216     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14217     ac_optarg=
14218     ac_shift=:
14219     ;;
14220   *)
14221     ac_option=$1
14222     ac_optarg=$2
14223     ac_shift=shift
14224     ;;
14225   esac
14226
14227   case $ac_option in
14228   # Handling of the options.
14229   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14230     ac_cs_recheck=: ;;
14231   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14232     $as_echo "$ac_cs_version"; exit ;;
14233   --config | --confi | --conf | --con | --co | --c )
14234     $as_echo "$ac_cs_config"; exit ;;
14235   --debug | --debu | --deb | --de | --d | -d )
14236     debug=: ;;
14237   --file | --fil | --fi | --f )
14238     $ac_shift
14239     case $ac_optarg in
14240     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14241     '') as_fn_error $? "missing file argument" ;;
14242     esac
14243     as_fn_append CONFIG_FILES " '$ac_optarg'"
14244     ac_need_defaults=false;;
14245   --header | --heade | --head | --hea )
14246     $ac_shift
14247     case $ac_optarg in
14248     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14249     esac
14250     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14251     ac_need_defaults=false;;
14252   --he | --h)
14253     # Conflict between --help and --header
14254     as_fn_error $? "ambiguous option: \`$1'
14255 Try \`$0 --help' for more information.";;
14256   --help | --hel | -h )
14257     $as_echo "$ac_cs_usage"; exit ;;
14258   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14259   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14260     ac_cs_silent=: ;;
14261
14262   # This is an error.
14263   -*) as_fn_error $? "unrecognized option: \`$1'
14264 Try \`$0 --help' for more information." ;;
14265
14266   *) as_fn_append ac_config_targets " $1"
14267      ac_need_defaults=false ;;
14268
14269   esac
14270   shift
14271 done
14272
14273 ac_configure_extra_args=
14274
14275 if $ac_cs_silent; then
14276   exec 6>/dev/null
14277   ac_configure_extra_args="$ac_configure_extra_args --silent"
14278 fi
14279
14280 _ACEOF
14281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14282 if \$ac_cs_recheck; then
14283   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14284   shift
14285   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14286   CONFIG_SHELL='$SHELL'
14287   export CONFIG_SHELL
14288   exec "\$@"
14289 fi
14290
14291 _ACEOF
14292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14293 exec 5>>config.log
14294 {
14295   echo
14296   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14297 ## Running $as_me. ##
14298 _ASBOX
14299   $as_echo "$ac_log"
14300 } >&5
14301
14302 _ACEOF
14303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14304 #
14305 # INIT-COMMANDS
14306 #
14307 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14308
14309
14310 # The HP-UX ksh and POSIX shell print the target directory to stdout
14311 # if CDPATH is set.
14312 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14313
14314 sed_quote_subst='$sed_quote_subst'
14315 double_quote_subst='$double_quote_subst'
14316 delay_variable_subst='$delay_variable_subst'
14317 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14318 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14319 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14320 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14321 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14322 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14323 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14324 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14325 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14326 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14327 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14328 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14329 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14330 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14331 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14332 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14333 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14334 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14335 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14336 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14337 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14338 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14339 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14340 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14341 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14342 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14343 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14344 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14345 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14346 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14347 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14348 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14349 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14350 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14351 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14352 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14353 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14354 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14355 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14356 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14357 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14358 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14359 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14360 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14361 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14362 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14363 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14364 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14365 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14366 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14367 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14368 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14369 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14370 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14371 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14372 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14373 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"`'
14374 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14375 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14376 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14377 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14378 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14379 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14380 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14381 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14382 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14383 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14384 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14385 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14386 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14387 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14388 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14389 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14390 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14391 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14392 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14393 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14394 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14395 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14396 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14397 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14398 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14399 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14400 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14401 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14402 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14403 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14404 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14405 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14406 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14407 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14408 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14409 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14410 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14411 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14412 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14413 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14414 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14415 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14416 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14417 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14418 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14419 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14420 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14421 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14422 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14423 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14424 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14425 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14426 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14427 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14428 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14429 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14430 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14431 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14432 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14433 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14434 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14435 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14436 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14437 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14438 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14439 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14440 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14441 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14442 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14443 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14444 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14445 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14446 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14447
14448 LTCC='$LTCC'
14449 LTCFLAGS='$LTCFLAGS'
14450 compiler='$compiler_DEFAULT'
14451
14452 # A function that is used when there is no print builtin or printf.
14453 func_fallback_echo ()
14454 {
14455   eval 'cat <<_LTECHO_EOF
14456 \$1
14457 _LTECHO_EOF'
14458 }
14459
14460 # Quote evaled strings.
14461 for var in SHELL \
14462 ECHO \
14463 PATH_SEPARATOR \
14464 SED \
14465 GREP \
14466 EGREP \
14467 FGREP \
14468 LD \
14469 NM \
14470 LN_S \
14471 lt_SP2NL \
14472 lt_NL2SP \
14473 reload_flag \
14474 OBJDUMP \
14475 deplibs_check_method \
14476 file_magic_cmd \
14477 file_magic_glob \
14478 want_nocaseglob \
14479 DLLTOOL \
14480 sharedlib_from_linklib_cmd \
14481 AR \
14482 AR_FLAGS \
14483 archiver_list_spec \
14484 STRIP \
14485 RANLIB \
14486 CC \
14487 CFLAGS \
14488 compiler \
14489 lt_cv_sys_global_symbol_pipe \
14490 lt_cv_sys_global_symbol_to_cdecl \
14491 lt_cv_sys_global_symbol_to_c_name_address \
14492 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14493 nm_file_list_spec \
14494 lt_prog_compiler_no_builtin_flag \
14495 lt_prog_compiler_pic \
14496 lt_prog_compiler_wl \
14497 lt_prog_compiler_static \
14498 lt_cv_prog_compiler_c_o \
14499 need_locks \
14500 MANIFEST_TOOL \
14501 DSYMUTIL \
14502 NMEDIT \
14503 LIPO \
14504 OTOOL \
14505 OTOOL64 \
14506 shrext_cmds \
14507 export_dynamic_flag_spec \
14508 whole_archive_flag_spec \
14509 compiler_needs_object \
14510 with_gnu_ld \
14511 allow_undefined_flag \
14512 no_undefined_flag \
14513 hardcode_libdir_flag_spec \
14514 hardcode_libdir_separator \
14515 exclude_expsyms \
14516 include_expsyms \
14517 file_list_spec \
14518 variables_saved_for_relink \
14519 libname_spec \
14520 library_names_spec \
14521 soname_spec \
14522 install_override_mode \
14523 finish_eval \
14524 old_striplib \
14525 striplib; do
14526     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14527     *[\\\\\\\`\\"\\\$]*)
14528       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14529       ;;
14530     *)
14531       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14532       ;;
14533     esac
14534 done
14535
14536 # Double-quote double-evaled strings.
14537 for var in reload_cmds \
14538 old_postinstall_cmds \
14539 old_postuninstall_cmds \
14540 old_archive_cmds \
14541 extract_expsyms_cmds \
14542 old_archive_from_new_cmds \
14543 old_archive_from_expsyms_cmds \
14544 archive_cmds \
14545 archive_expsym_cmds \
14546 module_cmds \
14547 module_expsym_cmds \
14548 export_symbols_cmds \
14549 prelink_cmds \
14550 postlink_cmds \
14551 postinstall_cmds \
14552 postuninstall_cmds \
14553 finish_cmds \
14554 sys_lib_search_path_spec \
14555 sys_lib_dlsearch_path_spec; do
14556     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14557     *[\\\\\\\`\\"\\\$]*)
14558       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14559       ;;
14560     *)
14561       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14562       ;;
14563     esac
14564 done
14565
14566 ac_aux_dir='$ac_aux_dir'
14567 xsi_shell='$xsi_shell'
14568 lt_shell_append='$lt_shell_append'
14569
14570 # See if we are running on zsh, and set the options which allow our
14571 # commands through without removal of \ escapes INIT.
14572 if test -n "\${ZSH_VERSION+set}" ; then
14573    setopt NO_GLOB_SUBST
14574 fi
14575
14576
14577     PACKAGE='$PACKAGE'
14578     VERSION='$VERSION'
14579     TIMESTAMP='$TIMESTAMP'
14580     RM='$RM'
14581     ofile='$ofile'
14582
14583
14584
14585
14586 _ACEOF
14587
14588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14589
14590 # Handling of arguments.
14591 for ac_config_target in $ac_config_targets
14592 do
14593   case $ac_config_target in
14594     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
14595     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14596     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14597     "fuse.pc") CONFIG_FILES="$CONFIG_FILES fuse.pc" ;;
14598     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14599     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14600     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
14601     "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
14602     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14603     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14604
14605   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14606   esac
14607 done
14608
14609
14610 # If the user did not use the arguments to specify the items to instantiate,
14611 # then the envvar interface is used.  Set only those that are not.
14612 # We use the long form for the default assignment because of an extremely
14613 # bizarre bug on SunOS 4.1.3.
14614 if $ac_need_defaults; then
14615   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14616   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14617   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14618 fi
14619
14620 # Have a temporary directory for convenience.  Make it in the build tree
14621 # simply because there is no reason against having it here, and in addition,
14622 # creating and moving files from /tmp can sometimes cause problems.
14623 # Hook for its removal unless debugging.
14624 # Note that there is a small window in which the directory will not be cleaned:
14625 # after its creation but before its name has been assigned to `$tmp'.
14626 $debug ||
14627 {
14628   tmp= ac_tmp=
14629   trap 'exit_status=$?
14630   : "${ac_tmp:=$tmp}"
14631   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14632 ' 0
14633   trap 'as_fn_exit 1' 1 2 13 15
14634 }
14635 # Create a (secure) tmp directory for tmp files.
14636
14637 {
14638   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14639   test -d "$tmp"
14640 }  ||
14641 {
14642   tmp=./conf$$-$RANDOM
14643   (umask 077 && mkdir "$tmp")
14644 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14645 ac_tmp=$tmp
14646
14647 # Set up the scripts for CONFIG_FILES section.
14648 # No need to generate them if there are no CONFIG_FILES.
14649 # This happens for instance with `./config.status config.h'.
14650 if test -n "$CONFIG_FILES"; then
14651
14652
14653 ac_cr=`echo X | tr X '\015'`
14654 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14655 # But we know of no other shell where ac_cr would be empty at this
14656 # point, so we can use a bashism as a fallback.
14657 if test "x$ac_cr" = x; then
14658   eval ac_cr=\$\'\\r\'
14659 fi
14660 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14661 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14662   ac_cs_awk_cr='\\r'
14663 else
14664   ac_cs_awk_cr=$ac_cr
14665 fi
14666
14667 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14668 _ACEOF
14669
14670
14671 {
14672   echo "cat >conf$$subs.awk <<_ACEOF" &&
14673   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14674   echo "_ACEOF"
14675 } >conf$$subs.sh ||
14676   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14677 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14678 ac_delim='%!_!# '
14679 for ac_last_try in false false false false false :; do
14680   . ./conf$$subs.sh ||
14681     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14682
14683   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14684   if test $ac_delim_n = $ac_delim_num; then
14685     break
14686   elif $ac_last_try; then
14687     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14688   else
14689     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14690   fi
14691 done
14692 rm -f conf$$subs.sh
14693
14694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14695 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14696 _ACEOF
14697 sed -n '
14698 h
14699 s/^/S["/; s/!.*/"]=/
14700 p
14701 g
14702 s/^[^!]*!//
14703 :repl
14704 t repl
14705 s/'"$ac_delim"'$//
14706 t delim
14707 :nl
14708 h
14709 s/\(.\{148\}\)..*/\1/
14710 t more1
14711 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14712 p
14713 n
14714 b repl
14715 :more1
14716 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14717 p
14718 g
14719 s/.\{148\}//
14720 t nl
14721 :delim
14722 h
14723 s/\(.\{148\}\)..*/\1/
14724 t more2
14725 s/["\\]/\\&/g; s/^/"/; s/$/"/
14726 p
14727 b
14728 :more2
14729 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14730 p
14731 g
14732 s/.\{148\}//
14733 t delim
14734 ' <conf$$subs.awk | sed '
14735 /^[^""]/{
14736   N
14737   s/\n//
14738 }
14739 ' >>$CONFIG_STATUS || ac_write_fail=1
14740 rm -f conf$$subs.awk
14741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14742 _ACAWK
14743 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14744   for (key in S) S_is_set[key] = 1
14745   FS = "\a"
14746
14747 }
14748 {
14749   line = $ 0
14750   nfields = split(line, field, "@")
14751   substed = 0
14752   len = length(field[1])
14753   for (i = 2; i < nfields; i++) {
14754     key = field[i]
14755     keylen = length(key)
14756     if (S_is_set[key]) {
14757       value = S[key]
14758       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14759       len += length(value) + length(field[++i])
14760       substed = 1
14761     } else
14762       len += 1 + keylen
14763   }
14764
14765   print line
14766 }
14767
14768 _ACAWK
14769 _ACEOF
14770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14771 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14772   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14773 else
14774   cat
14775 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14776   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14777 _ACEOF
14778
14779 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14780 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14781 # trailing colons and then remove the whole line if VPATH becomes empty
14782 # (actually we leave an empty line to preserve line numbers).
14783 if test "x$srcdir" = x.; then
14784   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14785 h
14786 s///
14787 s/^/:/
14788 s/[      ]*$/:/
14789 s/:\$(srcdir):/:/g
14790 s/:\${srcdir}:/:/g
14791 s/:@srcdir@:/:/g
14792 s/^:*//
14793 s/:*$//
14794 x
14795 s/\(=[   ]*\).*/\1/
14796 G
14797 s/\n//
14798 s/^[^=]*=[       ]*$//
14799 }'
14800 fi
14801
14802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14803 fi # test -n "$CONFIG_FILES"
14804
14805 # Set up the scripts for CONFIG_HEADERS section.
14806 # No need to generate them if there are no CONFIG_HEADERS.
14807 # This happens for instance with `./config.status Makefile'.
14808 if test -n "$CONFIG_HEADERS"; then
14809 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14810 BEGIN {
14811 _ACEOF
14812
14813 # Transform confdefs.h into an awk script `defines.awk', embedded as
14814 # here-document in config.status, that substitutes the proper values into
14815 # config.h.in to produce config.h.
14816
14817 # Create a delimiter string that does not exist in confdefs.h, to ease
14818 # handling of long lines.
14819 ac_delim='%!_!# '
14820 for ac_last_try in false false :; do
14821   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14822   if test -z "$ac_tt"; then
14823     break
14824   elif $ac_last_try; then
14825     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14826   else
14827     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14828   fi
14829 done
14830
14831 # For the awk script, D is an array of macro values keyed by name,
14832 # likewise P contains macro parameters if any.  Preserve backslash
14833 # newline sequences.
14834
14835 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14836 sed -n '
14837 s/.\{148\}/&'"$ac_delim"'/g
14838 t rset
14839 :rset
14840 s/^[     ]*#[    ]*define[       ][      ]*/ /
14841 t def
14842 d
14843 :def
14844 s/\\$//
14845 t bsnl
14846 s/["\\]/\\&/g
14847 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14848 D["\1"]=" \3"/p
14849 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14850 d
14851 :bsnl
14852 s/["\\]/\\&/g
14853 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14854 D["\1"]=" \3\\\\\\n"\\/p
14855 t cont
14856 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14857 t cont
14858 d
14859 :cont
14860 n
14861 s/.\{148\}/&'"$ac_delim"'/g
14862 t clear
14863 :clear
14864 s/\\$//
14865 t bsnlc
14866 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14867 d
14868 :bsnlc
14869 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14870 b cont
14871 ' <confdefs.h | sed '
14872 s/'"$ac_delim"'/"\\\
14873 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14874
14875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14876   for (key in D) D_is_set[key] = 1
14877   FS = "\a"
14878 }
14879 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14880   line = \$ 0
14881   split(line, arg, " ")
14882   if (arg[1] == "#") {
14883     defundef = arg[2]
14884     mac1 = arg[3]
14885   } else {
14886     defundef = substr(arg[1], 2)
14887     mac1 = arg[2]
14888   }
14889   split(mac1, mac2, "(") #)
14890   macro = mac2[1]
14891   prefix = substr(line, 1, index(line, defundef) - 1)
14892   if (D_is_set[macro]) {
14893     # Preserve the white space surrounding the "#".
14894     print prefix "define", macro P[macro] D[macro]
14895     next
14896   } else {
14897     # Replace #undef with comments.  This is necessary, for example,
14898     # in the case of _POSIX_SOURCE, which is predefined and required
14899     # on some systems where configure will not decide to define it.
14900     if (defundef == "undef") {
14901       print "/*", prefix defundef, macro, "*/"
14902       next
14903     }
14904   }
14905 }
14906 { print }
14907 _ACAWK
14908 _ACEOF
14909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14910   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14911 fi # test -n "$CONFIG_HEADERS"
14912
14913
14914 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14915 shift
14916 for ac_tag
14917 do
14918   case $ac_tag in
14919   :[FHLC]) ac_mode=$ac_tag; continue;;
14920   esac
14921   case $ac_mode$ac_tag in
14922   :[FHL]*:*);;
14923   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14924   :[FH]-) ac_tag=-:-;;
14925   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14926   esac
14927   ac_save_IFS=$IFS
14928   IFS=:
14929   set x $ac_tag
14930   IFS=$ac_save_IFS
14931   shift
14932   ac_file=$1
14933   shift
14934
14935   case $ac_mode in
14936   :L) ac_source=$1;;
14937   :[FH])
14938     ac_file_inputs=
14939     for ac_f
14940     do
14941       case $ac_f in
14942       -) ac_f="$ac_tmp/stdin";;
14943       *) # Look for the file first in the build tree, then in the source tree
14944          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14945          # because $ac_f cannot contain `:'.
14946          test -f "$ac_f" ||
14947            case $ac_f in
14948            [\\/$]*) false;;
14949            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14950            esac ||
14951            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14952       esac
14953       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14954       as_fn_append ac_file_inputs " '$ac_f'"
14955     done
14956
14957     # Let's still pretend it is `configure' which instantiates (i.e., don't
14958     # use $as_me), people would be surprised to read:
14959     #    /* config.h.  Generated by config.status.  */
14960     configure_input='Generated from '`
14961           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14962         `' by configure.'
14963     if test x"$ac_file" != x-; then
14964       configure_input="$ac_file.  $configure_input"
14965       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14966 $as_echo "$as_me: creating $ac_file" >&6;}
14967     fi
14968     # Neutralize special characters interpreted by sed in replacement strings.
14969     case $configure_input in #(
14970     *\&* | *\|* | *\\* )
14971        ac_sed_conf_input=`$as_echo "$configure_input" |
14972        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14973     *) ac_sed_conf_input=$configure_input;;
14974     esac
14975
14976     case $ac_tag in
14977     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14978       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14979     esac
14980     ;;
14981   esac
14982
14983   ac_dir=`$as_dirname -- "$ac_file" ||
14984 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14985          X"$ac_file" : 'X\(//\)[^/]' \| \
14986          X"$ac_file" : 'X\(//\)$' \| \
14987          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14988 $as_echo X"$ac_file" |
14989     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14990             s//\1/
14991             q
14992           }
14993           /^X\(\/\/\)[^/].*/{
14994             s//\1/
14995             q
14996           }
14997           /^X\(\/\/\)$/{
14998             s//\1/
14999             q
15000           }
15001           /^X\(\/\).*/{
15002             s//\1/
15003             q
15004           }
15005           s/.*/./; q'`
15006   as_dir="$ac_dir"; as_fn_mkdir_p
15007   ac_builddir=.
15008
15009 case "$ac_dir" in
15010 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15011 *)
15012   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15013   # A ".." for each directory in $ac_dir_suffix.
15014   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15015   case $ac_top_builddir_sub in
15016   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15017   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15018   esac ;;
15019 esac
15020 ac_abs_top_builddir=$ac_pwd
15021 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15022 # for backward compatibility:
15023 ac_top_builddir=$ac_top_build_prefix
15024
15025 case $srcdir in
15026   .)  # We are building in place.
15027     ac_srcdir=.
15028     ac_top_srcdir=$ac_top_builddir_sub
15029     ac_abs_top_srcdir=$ac_pwd ;;
15030   [\\/]* | ?:[\\/]* )  # Absolute name.
15031     ac_srcdir=$srcdir$ac_dir_suffix;
15032     ac_top_srcdir=$srcdir
15033     ac_abs_top_srcdir=$srcdir ;;
15034   *) # Relative name.
15035     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15036     ac_top_srcdir=$ac_top_build_prefix$srcdir
15037     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15038 esac
15039 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15040
15041
15042   case $ac_mode in
15043   :F)
15044   #
15045   # CONFIG_FILE
15046   #
15047
15048   case $INSTALL in
15049   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15050   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15051   esac
15052   ac_MKDIR_P=$MKDIR_P
15053   case $MKDIR_P in
15054   [\\/$]* | ?:[\\/]* ) ;;
15055   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15056   esac
15057 _ACEOF
15058
15059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15060 # If the template does not know about datarootdir, expand it.
15061 # FIXME: This hack should be removed a few years after 2.60.
15062 ac_datarootdir_hack=; ac_datarootdir_seen=
15063 ac_sed_dataroot='
15064 /datarootdir/ {
15065   p
15066   q
15067 }
15068 /@datadir@/p
15069 /@docdir@/p
15070 /@infodir@/p
15071 /@localedir@/p
15072 /@mandir@/p'
15073 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15074 *datarootdir*) ac_datarootdir_seen=yes;;
15075 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15076   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15077 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15078 _ACEOF
15079 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15080   ac_datarootdir_hack='
15081   s&@datadir@&$datadir&g
15082   s&@docdir@&$docdir&g
15083   s&@infodir@&$infodir&g
15084   s&@localedir@&$localedir&g
15085   s&@mandir@&$mandir&g
15086   s&\\\${datarootdir}&$datarootdir&g' ;;
15087 esac
15088 _ACEOF
15089
15090 # Neutralize VPATH when `$srcdir' = `.'.
15091 # Shell code in configure.ac might set extrasub.
15092 # FIXME: do we really want to maintain this feature?
15093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15094 ac_sed_extra="$ac_vpsub
15095 $extrasub
15096 _ACEOF
15097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15098 :t
15099 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15100 s|@configure_input@|$ac_sed_conf_input|;t t
15101 s&@top_builddir@&$ac_top_builddir_sub&;t t
15102 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15103 s&@srcdir@&$ac_srcdir&;t t
15104 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15105 s&@top_srcdir@&$ac_top_srcdir&;t t
15106 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15107 s&@builddir@&$ac_builddir&;t t
15108 s&@abs_builddir@&$ac_abs_builddir&;t t
15109 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15110 s&@INSTALL@&$ac_INSTALL&;t t
15111 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15112 $ac_datarootdir_hack
15113 "
15114 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15115   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15116
15117 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15118   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15119   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15120       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15121   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15122 which seems to be undefined.  Please make sure it is defined" >&5
15123 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15124 which seems to be undefined.  Please make sure it is defined" >&2;}
15125
15126   rm -f "$ac_tmp/stdin"
15127   case $ac_file in
15128   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15129   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15130   esac \
15131   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15132  ;;
15133   :H)
15134   #
15135   # CONFIG_HEADER
15136   #
15137   if test x"$ac_file" != x-; then
15138     {
15139       $as_echo "/* $configure_input  */" \
15140       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15141     } >"$ac_tmp/config.h" \
15142       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15143     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15144       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15145 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15146     else
15147       rm -f "$ac_file"
15148       mv "$ac_tmp/config.h" "$ac_file" \
15149         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15150     fi
15151   else
15152     $as_echo "/* $configure_input  */" \
15153       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15154       || as_fn_error $? "could not create -" "$LINENO" 5
15155   fi
15156 # Compute "$ac_file"'s index in $config_headers.
15157 _am_arg="$ac_file"
15158 _am_stamp_count=1
15159 for _am_header in $config_headers :; do
15160   case $_am_header in
15161     $_am_arg | $_am_arg:* )
15162       break ;;
15163     * )
15164       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15165   esac
15166 done
15167 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15168 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15169          X"$_am_arg" : 'X\(//\)[^/]' \| \
15170          X"$_am_arg" : 'X\(//\)$' \| \
15171          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15172 $as_echo X"$_am_arg" |
15173     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15174             s//\1/
15175             q
15176           }
15177           /^X\(\/\/\)[^/].*/{
15178             s//\1/
15179             q
15180           }
15181           /^X\(\/\/\)$/{
15182             s//\1/
15183             q
15184           }
15185           /^X\(\/\).*/{
15186             s//\1/
15187             q
15188           }
15189           s/.*/./; q'`/stamp-h$_am_stamp_count
15190  ;;
15191
15192   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15193 $as_echo "$as_me: executing $ac_file commands" >&6;}
15194  ;;
15195   esac
15196
15197
15198   case $ac_file$ac_mode in
15199     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15200   # Older Autoconf quotes --file arguments for eval, but not when files
15201   # are listed without --file.  Let's play safe and only enable the eval
15202   # if we detect the quoting.
15203   case $CONFIG_FILES in
15204   *\'*) eval set x "$CONFIG_FILES" ;;
15205   *)   set x $CONFIG_FILES ;;
15206   esac
15207   shift
15208   for mf
15209   do
15210     # Strip MF so we end up with the name of the file.
15211     mf=`echo "$mf" | sed -e 's/:.*$//'`
15212     # Check whether this is an Automake generated Makefile or not.
15213     # We used to match only the files named 'Makefile.in', but
15214     # some people rename them; so instead we look at the file content.
15215     # Grep'ing the first line is not enough: some people post-process
15216     # each Makefile.in and add a new line on top of each file to say so.
15217     # Grep'ing the whole file is not good either: AIX grep has a line
15218     # limit of 2048, but all sed's we know have understand at least 4000.
15219     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15220       dirpart=`$as_dirname -- "$mf" ||
15221 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15222          X"$mf" : 'X\(//\)[^/]' \| \
15223          X"$mf" : 'X\(//\)$' \| \
15224          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15225 $as_echo X"$mf" |
15226     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15227             s//\1/
15228             q
15229           }
15230           /^X\(\/\/\)[^/].*/{
15231             s//\1/
15232             q
15233           }
15234           /^X\(\/\/\)$/{
15235             s//\1/
15236             q
15237           }
15238           /^X\(\/\).*/{
15239             s//\1/
15240             q
15241           }
15242           s/.*/./; q'`
15243     else
15244       continue
15245     fi
15246     # Extract the definition of DEPDIR, am__include, and am__quote
15247     # from the Makefile without running 'make'.
15248     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15249     test -z "$DEPDIR" && continue
15250     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15251     test -z "$am__include" && continue
15252     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15253     # Find all dependency output files, they are included files with
15254     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15255     # simplest approach to changing $(DEPDIR) to its actual value in the
15256     # expansion.
15257     for file in `sed -n "
15258       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15259          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15260       # Make sure the directory exists.
15261       test -f "$dirpart/$file" && continue
15262       fdir=`$as_dirname -- "$file" ||
15263 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15264          X"$file" : 'X\(//\)[^/]' \| \
15265          X"$file" : 'X\(//\)$' \| \
15266          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15267 $as_echo X"$file" |
15268     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15269             s//\1/
15270             q
15271           }
15272           /^X\(\/\/\)[^/].*/{
15273             s//\1/
15274             q
15275           }
15276           /^X\(\/\/\)$/{
15277             s//\1/
15278             q
15279           }
15280           /^X\(\/\).*/{
15281             s//\1/
15282             q
15283           }
15284           s/.*/./; q'`
15285       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15286       # echo "creating $dirpart/$file"
15287       echo '# dummy' > "$dirpart/$file"
15288     done
15289   done
15290 }
15291  ;;
15292     "libtool":C)
15293
15294     # See if we are running on zsh, and set the options which allow our
15295     # commands through without removal of \ escapes.
15296     if test -n "${ZSH_VERSION+set}" ; then
15297       setopt NO_GLOB_SUBST
15298     fi
15299
15300     cfgfile="${ofile}T"
15301     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15302     $RM "$cfgfile"
15303
15304     cat <<_LT_EOF >> "$cfgfile"
15305 #! $SHELL
15306
15307 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15308 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15309 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15310 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15311 #
15312 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15313 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15314 #                 Foundation, Inc.
15315 #   Written by Gordon Matzigkeit, 1996
15316 #
15317 #   This file is part of GNU Libtool.
15318 #
15319 # GNU Libtool is free software; you can redistribute it and/or
15320 # modify it under the terms of the GNU General Public License as
15321 # published by the Free Software Foundation; either version 2 of
15322 # the License, or (at your option) any later version.
15323 #
15324 # As a special exception to the GNU General Public License,
15325 # if you distribute this file as part of a program or library that
15326 # is built using GNU Libtool, you may include this file under the
15327 # same distribution terms that you use for the rest of that program.
15328 #
15329 # GNU Libtool is distributed in the hope that it will be useful,
15330 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15331 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15332 # GNU General Public License for more details.
15333 #
15334 # You should have received a copy of the GNU General Public License
15335 # along with GNU Libtool; see the file COPYING.  If not, a copy
15336 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15337 # obtained by writing to the Free Software Foundation, Inc.,
15338 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15339
15340
15341 # The names of the tagged configurations supported by this script.
15342 available_tags=""
15343
15344 # ### BEGIN LIBTOOL CONFIG
15345
15346 # Which release of libtool.m4 was used?
15347 macro_version=$macro_version
15348 macro_revision=$macro_revision
15349
15350 # Whether or not to build shared libraries.
15351 build_libtool_libs=$enable_shared
15352
15353 # Whether or not to build static libraries.
15354 build_old_libs=$enable_static
15355
15356 # What type of objects to build.
15357 pic_mode=$pic_mode
15358
15359 # Whether or not to optimize for fast installation.
15360 fast_install=$enable_fast_install
15361
15362 # Shell to use when invoking shell scripts.
15363 SHELL=$lt_SHELL
15364
15365 # An echo program that protects backslashes.
15366 ECHO=$lt_ECHO
15367
15368 # The PATH separator for the build system.
15369 PATH_SEPARATOR=$lt_PATH_SEPARATOR
15370
15371 # The host system.
15372 host_alias=$host_alias
15373 host=$host
15374 host_os=$host_os
15375
15376 # The build system.
15377 build_alias=$build_alias
15378 build=$build
15379 build_os=$build_os
15380
15381 # A sed program that does not truncate output.
15382 SED=$lt_SED
15383
15384 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15385 Xsed="\$SED -e 1s/^X//"
15386
15387 # A grep program that handles long lines.
15388 GREP=$lt_GREP
15389
15390 # An ERE matcher.
15391 EGREP=$lt_EGREP
15392
15393 # A literal string matcher.
15394 FGREP=$lt_FGREP
15395
15396 # A BSD- or MS-compatible name lister.
15397 NM=$lt_NM
15398
15399 # Whether we need soft or hard links.
15400 LN_S=$lt_LN_S
15401
15402 # What is the maximum length of a command?
15403 max_cmd_len=$max_cmd_len
15404
15405 # Object file suffix (normally "o").
15406 objext=$ac_objext
15407
15408 # Executable file suffix (normally "").
15409 exeext=$exeext
15410
15411 # whether the shell understands "unset".
15412 lt_unset=$lt_unset
15413
15414 # turn spaces into newlines.
15415 SP2NL=$lt_lt_SP2NL
15416
15417 # turn newlines into spaces.
15418 NL2SP=$lt_lt_NL2SP
15419
15420 # convert \$build file names to \$host format.
15421 to_host_file_cmd=$lt_cv_to_host_file_cmd
15422
15423 # convert \$build files to toolchain format.
15424 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15425
15426 # An object symbol dumper.
15427 OBJDUMP=$lt_OBJDUMP
15428
15429 # Method to check whether dependent libraries are shared objects.
15430 deplibs_check_method=$lt_deplibs_check_method
15431
15432 # Command to use when deplibs_check_method = "file_magic".
15433 file_magic_cmd=$lt_file_magic_cmd
15434
15435 # How to find potential files when deplibs_check_method = "file_magic".
15436 file_magic_glob=$lt_file_magic_glob
15437
15438 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15439 want_nocaseglob=$lt_want_nocaseglob
15440
15441 # DLL creation program.
15442 DLLTOOL=$lt_DLLTOOL
15443
15444 # Command to associate shared and link libraries.
15445 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15446
15447 # The archiver.
15448 AR=$lt_AR
15449
15450 # Flags to create an archive.
15451 AR_FLAGS=$lt_AR_FLAGS
15452
15453 # How to feed a file listing to the archiver.
15454 archiver_list_spec=$lt_archiver_list_spec
15455
15456 # A symbol stripping program.
15457 STRIP=$lt_STRIP
15458
15459 # Commands used to install an old-style archive.
15460 RANLIB=$lt_RANLIB
15461 old_postinstall_cmds=$lt_old_postinstall_cmds
15462 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15463
15464 # Whether to use a lock for old archive extraction.
15465 lock_old_archive_extraction=$lock_old_archive_extraction
15466
15467 # A C compiler.
15468 LTCC=$lt_CC
15469
15470 # LTCC compiler flags.
15471 LTCFLAGS=$lt_CFLAGS
15472
15473 # Take the output of nm and produce a listing of raw symbols and C names.
15474 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15475
15476 # Transform the output of nm in a proper C declaration.
15477 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15478
15479 # Transform the output of nm in a C name address pair.
15480 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15481
15482 # Transform the output of nm in a C name address pair when lib prefix is needed.
15483 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15484
15485 # Specify filename containing input files for \$NM.
15486 nm_file_list_spec=$lt_nm_file_list_spec
15487
15488 # The root where to search for dependent libraries,and in which our libraries should be installed.
15489 lt_sysroot=$lt_sysroot
15490
15491 # The name of the directory that contains temporary libtool files.
15492 objdir=$objdir
15493
15494 # Used to examine libraries when file_magic_cmd begins with "file".
15495 MAGIC_CMD=$MAGIC_CMD
15496
15497 # Must we lock files when doing compilation?
15498 need_locks=$lt_need_locks
15499
15500 # Manifest tool.
15501 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15502
15503 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15504 DSYMUTIL=$lt_DSYMUTIL
15505
15506 # Tool to change global to local symbols on Mac OS X.
15507 NMEDIT=$lt_NMEDIT
15508
15509 # Tool to manipulate fat objects and archives on Mac OS X.
15510 LIPO=$lt_LIPO
15511
15512 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15513 OTOOL=$lt_OTOOL
15514
15515 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15516 OTOOL64=$lt_OTOOL64
15517
15518 # Old archive suffix (normally "a").
15519 libext=$libext
15520
15521 # Shared library suffix (normally ".so").
15522 shrext_cmds=$lt_shrext_cmds
15523
15524 # The commands to extract the exported symbol list from a shared archive.
15525 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15526
15527 # Variables whose values should be saved in libtool wrapper scripts and
15528 # restored at link time.
15529 variables_saved_for_relink=$lt_variables_saved_for_relink
15530
15531 # Do we need the "lib" prefix for modules?
15532 need_lib_prefix=$need_lib_prefix
15533
15534 # Do we need a version for libraries?
15535 need_version=$need_version
15536
15537 # Library versioning type.
15538 version_type=$version_type
15539
15540 # Shared library runtime path variable.
15541 runpath_var=$runpath_var
15542
15543 # Shared library path variable.
15544 shlibpath_var=$shlibpath_var
15545
15546 # Is shlibpath searched before the hard-coded library search path?
15547 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15548
15549 # Format of library name prefix.
15550 libname_spec=$lt_libname_spec
15551
15552 # List of archive names.  First name is the real one, the rest are links.
15553 # The last name is the one that the linker finds with -lNAME
15554 library_names_spec=$lt_library_names_spec
15555
15556 # The coded name of the library, if different from the real name.
15557 soname_spec=$lt_soname_spec
15558
15559 # Permission mode override for installation of shared libraries.
15560 install_override_mode=$lt_install_override_mode
15561
15562 # Command to use after installation of a shared archive.
15563 postinstall_cmds=$lt_postinstall_cmds
15564
15565 # Command to use after uninstallation of a shared archive.
15566 postuninstall_cmds=$lt_postuninstall_cmds
15567
15568 # Commands used to finish a libtool library installation in a directory.
15569 finish_cmds=$lt_finish_cmds
15570
15571 # As "finish_cmds", except a single script fragment to be evaled but
15572 # not shown.
15573 finish_eval=$lt_finish_eval
15574
15575 # Whether we should hardcode library paths into libraries.
15576 hardcode_into_libs=$hardcode_into_libs
15577
15578 # Compile-time system search path for libraries.
15579 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15580
15581 # Run-time system search path for libraries.
15582 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15583
15584 # Whether dlopen is supported.
15585 dlopen_support=$enable_dlopen
15586
15587 # Whether dlopen of programs is supported.
15588 dlopen_self=$enable_dlopen_self
15589
15590 # Whether dlopen of statically linked programs is supported.
15591 dlopen_self_static=$enable_dlopen_self_static
15592
15593 # Commands to strip libraries.
15594 old_striplib=$lt_old_striplib
15595 striplib=$lt_striplib
15596
15597
15598 # The linker used to build libraries.
15599 LD=$lt_LD
15600
15601 # How to create reloadable object files.
15602 reload_flag=$lt_reload_flag
15603 reload_cmds=$lt_reload_cmds
15604
15605 # Commands used to build an old-style archive.
15606 old_archive_cmds=$lt_old_archive_cmds
15607
15608 # A language specific compiler.
15609 CC=$lt_compiler
15610
15611 # Is the compiler the GNU compiler?
15612 with_gcc=$GCC
15613
15614 # Compiler flag to turn off builtin functions.
15615 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15616
15617 # Additional compiler flags for building library objects.
15618 pic_flag=$lt_lt_prog_compiler_pic
15619
15620 # How to pass a linker flag through the compiler.
15621 wl=$lt_lt_prog_compiler_wl
15622
15623 # Compiler flag to prevent dynamic linking.
15624 link_static_flag=$lt_lt_prog_compiler_static
15625
15626 # Does compiler simultaneously support -c and -o options?
15627 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15628
15629 # Whether or not to add -lc for building shared libraries.
15630 build_libtool_need_lc=$archive_cmds_need_lc
15631
15632 # Whether or not to disallow shared libs when runtime libs are static.
15633 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15634
15635 # Compiler flag to allow reflexive dlopens.
15636 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15637
15638 # Compiler flag to generate shared objects directly from archives.
15639 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15640
15641 # Whether the compiler copes with passing no objects directly.
15642 compiler_needs_object=$lt_compiler_needs_object
15643
15644 # Create an old-style archive from a shared archive.
15645 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15646
15647 # Create a temporary old-style archive to link instead of a shared archive.
15648 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15649
15650 # Commands used to build a shared archive.
15651 archive_cmds=$lt_archive_cmds
15652 archive_expsym_cmds=$lt_archive_expsym_cmds
15653
15654 # Commands used to build a loadable module if different from building
15655 # a shared archive.
15656 module_cmds=$lt_module_cmds
15657 module_expsym_cmds=$lt_module_expsym_cmds
15658
15659 # Whether we are building with GNU ld or not.
15660 with_gnu_ld=$lt_with_gnu_ld
15661
15662 # Flag that allows shared libraries with undefined symbols to be built.
15663 allow_undefined_flag=$lt_allow_undefined_flag
15664
15665 # Flag that enforces no undefined symbols.
15666 no_undefined_flag=$lt_no_undefined_flag
15667
15668 # Flag to hardcode \$libdir into a binary during linking.
15669 # This must work even if \$libdir does not exist
15670 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15671
15672 # Whether we need a single "-rpath" flag with a separated argument.
15673 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15674
15675 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15676 # DIR into the resulting binary.
15677 hardcode_direct=$hardcode_direct
15678
15679 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15680 # DIR into the resulting binary and the resulting library dependency is
15681 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15682 # library is relocated.
15683 hardcode_direct_absolute=$hardcode_direct_absolute
15684
15685 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15686 # into the resulting binary.
15687 hardcode_minus_L=$hardcode_minus_L
15688
15689 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15690 # into the resulting binary.
15691 hardcode_shlibpath_var=$hardcode_shlibpath_var
15692
15693 # Set to "yes" if building a shared library automatically hardcodes DIR
15694 # into the library and all subsequent libraries and executables linked
15695 # against it.
15696 hardcode_automatic=$hardcode_automatic
15697
15698 # Set to yes if linker adds runtime paths of dependent libraries
15699 # to runtime path list.
15700 inherit_rpath=$inherit_rpath
15701
15702 # Whether libtool must link a program against all its dependency libraries.
15703 link_all_deplibs=$link_all_deplibs
15704
15705 # Set to "yes" if exported symbols are required.
15706 always_export_symbols=$always_export_symbols
15707
15708 # The commands to list exported symbols.
15709 export_symbols_cmds=$lt_export_symbols_cmds
15710
15711 # Symbols that should not be listed in the preloaded symbols.
15712 exclude_expsyms=$lt_exclude_expsyms
15713
15714 # Symbols that must always be exported.
15715 include_expsyms=$lt_include_expsyms
15716
15717 # Commands necessary for linking programs (against libraries) with templates.
15718 prelink_cmds=$lt_prelink_cmds
15719
15720 # Commands necessary for finishing linking programs.
15721 postlink_cmds=$lt_postlink_cmds
15722
15723 # Specify filename containing input files.
15724 file_list_spec=$lt_file_list_spec
15725
15726 # How to hardcode a shared library path into an executable.
15727 hardcode_action=$hardcode_action
15728
15729 # ### END LIBTOOL CONFIG
15730
15731 _LT_EOF
15732
15733   case $host_os in
15734   aix3*)
15735     cat <<\_LT_EOF >> "$cfgfile"
15736 # AIX sometimes has problems with the GCC collect2 program.  For some
15737 # reason, if we set the COLLECT_NAMES environment variable, the problems
15738 # vanish in a puff of smoke.
15739 if test "X${COLLECT_NAMES+set}" != Xset; then
15740   COLLECT_NAMES=
15741   export COLLECT_NAMES
15742 fi
15743 _LT_EOF
15744     ;;
15745   esac
15746
15747
15748 ltmain="$ac_aux_dir/ltmain.sh"
15749
15750
15751   # We use sed instead of cat because bash on DJGPP gets confused if
15752   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15753   # text mode, it properly converts lines to CR/LF.  This bash problem
15754   # is reportedly fixed, but why not run on old versions too?
15755   sed '$q' "$ltmain" >> "$cfgfile" \
15756      || (rm -f "$cfgfile"; exit 1)
15757
15758   if test x"$xsi_shell" = xyes; then
15759   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15760 func_dirname ()\
15761 {\
15762 \    case ${1} in\
15763 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15764 \      *  ) func_dirname_result="${3}" ;;\
15765 \    esac\
15766 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15767   && mv -f "$cfgfile.tmp" "$cfgfile" \
15768     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15769 test 0 -eq $? || _lt_function_replace_fail=:
15770
15771
15772   sed -e '/^func_basename ()$/,/^} # func_basename /c\
15773 func_basename ()\
15774 {\
15775 \    func_basename_result="${1##*/}"\
15776 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15777   && mv -f "$cfgfile.tmp" "$cfgfile" \
15778     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15779 test 0 -eq $? || _lt_function_replace_fail=:
15780
15781
15782   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15783 func_dirname_and_basename ()\
15784 {\
15785 \    case ${1} in\
15786 \      */*) func_dirname_result="${1%/*}${2}" ;;\
15787 \      *  ) func_dirname_result="${3}" ;;\
15788 \    esac\
15789 \    func_basename_result="${1##*/}"\
15790 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15791   && mv -f "$cfgfile.tmp" "$cfgfile" \
15792     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15793 test 0 -eq $? || _lt_function_replace_fail=:
15794
15795
15796   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15797 func_stripname ()\
15798 {\
15799 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15800 \    # positional parameters, so assign one to ordinary parameter first.\
15801 \    func_stripname_result=${3}\
15802 \    func_stripname_result=${func_stripname_result#"${1}"}\
15803 \    func_stripname_result=${func_stripname_result%"${2}"}\
15804 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15805   && mv -f "$cfgfile.tmp" "$cfgfile" \
15806     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15807 test 0 -eq $? || _lt_function_replace_fail=:
15808
15809
15810   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15811 func_split_long_opt ()\
15812 {\
15813 \    func_split_long_opt_name=${1%%=*}\
15814 \    func_split_long_opt_arg=${1#*=}\
15815 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15816   && mv -f "$cfgfile.tmp" "$cfgfile" \
15817     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15818 test 0 -eq $? || _lt_function_replace_fail=:
15819
15820
15821   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15822 func_split_short_opt ()\
15823 {\
15824 \    func_split_short_opt_arg=${1#??}\
15825 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15826 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15827   && mv -f "$cfgfile.tmp" "$cfgfile" \
15828     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15829 test 0 -eq $? || _lt_function_replace_fail=:
15830
15831
15832   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15833 func_lo2o ()\
15834 {\
15835 \    case ${1} in\
15836 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15837 \      *)    func_lo2o_result=${1} ;;\
15838 \    esac\
15839 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15840   && mv -f "$cfgfile.tmp" "$cfgfile" \
15841     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15842 test 0 -eq $? || _lt_function_replace_fail=:
15843
15844
15845   sed -e '/^func_xform ()$/,/^} # func_xform /c\
15846 func_xform ()\
15847 {\
15848     func_xform_result=${1%.*}.lo\
15849 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15850   && mv -f "$cfgfile.tmp" "$cfgfile" \
15851     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15852 test 0 -eq $? || _lt_function_replace_fail=:
15853
15854
15855   sed -e '/^func_arith ()$/,/^} # func_arith /c\
15856 func_arith ()\
15857 {\
15858     func_arith_result=$(( $* ))\
15859 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15860   && mv -f "$cfgfile.tmp" "$cfgfile" \
15861     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15862 test 0 -eq $? || _lt_function_replace_fail=:
15863
15864
15865   sed -e '/^func_len ()$/,/^} # func_len /c\
15866 func_len ()\
15867 {\
15868     func_len_result=${#1}\
15869 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15870   && mv -f "$cfgfile.tmp" "$cfgfile" \
15871     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15872 test 0 -eq $? || _lt_function_replace_fail=:
15873
15874 fi
15875
15876 if test x"$lt_shell_append" = xyes; then
15877   sed -e '/^func_append ()$/,/^} # func_append /c\
15878 func_append ()\
15879 {\
15880     eval "${1}+=\\${2}"\
15881 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15882   && mv -f "$cfgfile.tmp" "$cfgfile" \
15883     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15884 test 0 -eq $? || _lt_function_replace_fail=:
15885
15886
15887   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15888 func_append_quoted ()\
15889 {\
15890 \    func_quote_for_eval "${2}"\
15891 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15892 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15893   && mv -f "$cfgfile.tmp" "$cfgfile" \
15894     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15895 test 0 -eq $? || _lt_function_replace_fail=:
15896
15897
15898   # Save a `func_append' function call where possible by direct use of '+='
15899   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15900     && mv -f "$cfgfile.tmp" "$cfgfile" \
15901       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15902   test 0 -eq $? || _lt_function_replace_fail=:
15903 else
15904   # Save a `func_append' function call even when '+=' is not available
15905   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15906     && mv -f "$cfgfile.tmp" "$cfgfile" \
15907       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15908   test 0 -eq $? || _lt_function_replace_fail=:
15909 fi
15910
15911 if test x"$_lt_function_replace_fail" = x":"; then
15912   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15913 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15914 fi
15915
15916
15917    mv -f "$cfgfile" "$ofile" ||
15918     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15919   chmod +x "$ofile"
15920
15921  ;;
15922
15923   esac
15924 done # for ac_tag
15925
15926
15927 as_fn_exit 0
15928 _ACEOF
15929 ac_clean_files=$ac_clean_files_save
15930
15931 test $ac_write_fail = 0 ||
15932   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15933
15934
15935 # configure is writing to config.log, and then calls config.status.
15936 # config.status does its own redirection, appending to config.log.
15937 # Unfortunately, on DOS this fails, as config.log is still kept open
15938 # by configure, so config.status won't be able to write to it; its
15939 # output is simply discarded.  So we exec the FD to /dev/null,
15940 # effectively closing config.log, so it can be properly (re)opened and
15941 # appended to by config.status.  When coming back to configure, we
15942 # need to make the FD available again.
15943 if test "$no_create" != yes; then
15944   ac_cs_success=:
15945   ac_config_status_args=
15946   test "$silent" = yes &&
15947     ac_config_status_args="$ac_config_status_args --quiet"
15948   exec 5>/dev/null
15949   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15950   exec 5>>config.log
15951   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15952   # would make configure fail if this is the last instruction.
15953   $ac_cs_success || as_fn_exit 1
15954 fi
15955 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15956   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15957 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15958 fi
15959
15960
15961 if test "$util_linux_ok" = no; then
15962         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15963 ******************************************************************
15964 * Please install util-linux version 2.18 or later which supports *
15965 * --fake and --no-canonicalize options in mount and umount       *
15966 ******************************************************************" >&5
15967 $as_echo "$as_me: WARNING:
15968 ******************************************************************
15969 * Please install util-linux version 2.18 or later which supports *
15970 * --fake and --no-canonicalize options in mount and umount       *
15971 ******************************************************************" >&2;}
15972 fi